cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit the selection of Ship To Party

Former Member
0 Kudos

I have a Biz Case:

"A" user have 2 Ship to party "B" and "C" in the customer master data, when I create a OR order, I found I can use "D" user as the ship to party(of course, A is sold to party).

So I want to impl this function:

if sold to party is A user in a sales order, ship to party can only be B or C, how to config it?

thanks...........

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Zhang

First, you must create the customer master fo "B" and "C" under Account Group "Ship-to-party",so that they function as Ship-to-party.

Second, go to the customer master of Sold-to-party "A" in change mode VD02, in the Sales Area data > Partner function tab page put "B" and "D" as Ship-to-party.

Delete other Ship-to-prty if any and save it.

Now for Sold-to-party "A", you have two Ship-to-party.

When you will create an Sale order for "A", system will give you a pop-up of Ship-to-party "B" and "C" as you have two SH.

Double click on the SH you want, system will take that.

Former Member
0 Kudos

first, thanks!

but I want to limit the operator to input D user as a Ship to party, and now D user is not in the master data of A user!

BTW: I can not create D user only as a ship to party by 0002 account group, because I may sale material to D user later......

so how to do?

Edited by: jianming zhang on Nov 3, 2008 8:04 AM

Former Member
0 Kudos

Hi Zhang

Add "D" also as a Ship-to-party in the customer master of "A", otherwise sytem will not accept.

When you create an order for "A", system wiil not take the Ship-to-party automatically as there are multiple SH, rather system will give you a pop-up of A list of available SH and you can chhose the required Ship-to-party.

Former Member
0 Kudos

thanks U

You can try it in standard system, if you do not let D as the ship to party in the matser data, you can not select D from popup screen.

YES! it is right!!

but you can cancel the popup screen, and input D as the ship to party in order's overview screen by keyboard

Former Member
0 Kudos

Top

Former Member
0 Kudos

even if you cancel the popup screen, and input D as the ship to party in order's overview screen by keyboard, system doesn't allow. becoz D is not maintained in the masterdata.

Former Member
0 Kudos

even if you cancel the popup screen, and input D as the ship to party in order's overview screen by keyboard, system doesn't allow. becoz D is not maintained in the masterdata.

ARE YOU SURE??? You can test this case in IDES

ian_kehoe
Active Participant
0 Kudos

Hi Zhang,

You are correct. You can enter ship-to D even though it is not maintained. As described in OSS note 380507 the

system will accept every ship-to party which you select manually. The ship-to party doesn't have to be associated

with the sold-to party in the customer master data. It is only required that the selected ship-to party is maintained in the

same sales area.

To get the system to work differently a modification is needed.

Some tips for a modification:

- table TPACHECK (which checks should be performed)

- function modules SD_PARTNER_SINGLE_MODIFY

-> SD_PARTNER_CHECK_BEFORE (error messages)

-> SD_PARTNER_CHECK_AFTER (info and warning messages)

Or another option you may consider userexit in MV45AFZZ (maybe

userexit_save_document or userexit_save_document_prepare).

Hope this helps.

Best regards,

Ian

Answers (3)

Answers (3)

Former Member
0 Kudos

Ask your abapper to create a user exit which fulfils your condition. This way it will check the entries and act accordingly..

regds

Jude

Former Member
0 Kudos

Hi,

In the Cutomer Master of "A" in Sales Area--> Partner Functions put SH (Ship to Party) only as 'B" & "C".

Also maintain the MAster data for B & C with Account Grp as SHip to PArty.

Thanks & Regards,

Hemant Patil

Former Member
0 Kudos

Hi,

If your SP "A" has SH as "B, C, D" defined in customer master then only you can add "D" as SH in your Sales Order with "A" as SP.

So, I believe your SP "A" has "B,C,D" as SH defined. If you don't want "D" in sales order then remove the same from A's master.

Hrishi