As a standard behaviour of SRM, currently delivery address in shopping cart is defaulted from attribute (ADDR_SHIPT). But in our case we use cross company purchasing where requisitioners buy for different company codes.
Some times, they forgot to change the default dlivery address and shopping carts are getting created with wrong delivery address.
Is there any way, the we can default the delivery address based on company code selected by the user instead of defaulting from user attribute?
Suggestions would be greatly appreciated.
Am looking for a same solution but instead of delivery address, we are looking for change in invoice recipient address
ADDR_BILLT. For this i have identifed a FM: BBP_GET_BILL_TO_PARTY from which system pulls the defaulted attribute of user profile. Now we are in a change of pulling the attribute defaulted to the company code entered in SC rather than the user's defaulted ADDR_BILLT.
Similarly i guess for your issue you can use the FM: BBP_GET_ORG_SHIPTO_ADDR implementing a enhancement in DOC CHANGE BADI