Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to modify Ship-to address when adding item into SC

Hello,

I need to modify a Delivery address (ship-to) address of a shopping cart.

I tried to create a implementation of BADI BBP_DOC_CHANGE_BADI, method BBP_SC_CHANGE where I tried to loop at et_partner, searching for ship-to address partner (partner_fct = 00000027)

I updated the building, floor and room fields for this partner

<fs_partner>-building_p = l_usr_addr-building.
<fs_partner>-floor_p    = l_usr_addr-floor.
<fs_partner>-room_no_p  = l_usr_addr-roomnumber.

but it's ignored in Delivery address tab (the data is not shown) until I clear the ADDR_NO field:

CLEAR <fs_partner>-addr_no.

In this case the Delivery address tab displays correct data

But when this shopping cart requires to be approved (ie because of not enough spending limit of the requistioner), the Approver opens the shopping cart, the delivery address is OK. But when he choose Reject (or any kind of edit action), then click on Delivery address tab, all address fields are empty

Please suggest how can modify the Delivery adrress ?

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question