Skip to Content
avatar image
Former Member

How to limit the selection of Ship To Party

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...........

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 03, 2008 at 06:52 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    Nov 03, 2008 at 06:37 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 03, 2008 at 06:39 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2008 at 01:24 PM

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

    regds

    Jude

    Add comment
    10|10000 characters needed characters exceeded