cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine sold-to party from ship-to party while creating sales order in VA01?

rego2
Explorer

We would like to change the standard logic so the sold-to customer number is determined from the ship-to party (sold-to assigned to ship-to party in partner functions) while creating sales order via transaction VA01.

This is due to the reason that a lot of ship-to customers will be created and would be assigned to sold-to parties what have "only" 999 lines in the partner functions tab. Also the users would need to select from a huge list while placing the sold-to party during sales order creation.

What we have found among the answers but did not work

We have tried to implement this logic using transaction VOPA but the system does not allow us to change the "source" to "SH" for sold-to party partner function.

We also tried to use user exits V45A0002 and V45A0003 but these exists are only pointing to the first screen of VA01, not on the second screen where customer related information can be inserted.

We found the program MV45AF0A_AG_BESTIMMEN where the system checks if there is an existing ship-to + sold-to assignment and drops an error if the sold-to customer number is not filled, only the ship-to party number on the order creation screen in VA01. Unfortunately it does not find the sold-to customer number based on the ship-to only if the ship-to customer is the sold-to itself (account group 0001).

Thank you in advance for your assistance.

Accepted Solutions (0)

Answers (0)