We have a requirement that says whenever the user selects home adress in shopping cart then address should be automatically get updates from the database.
For this i have used BBP_DOC_CHANGE_BADI and used e_partner (output table for the badi) to update the address however only the address number is getting updated and not the whole repective data based on the address number.
for example: gw_partner_sc-ADDR_NO = lw_adrc-ADDRNUMBER.
MODIFY et_partner from gw_partner_sc
In above line the gw_partner_sc is work area of e_partner table and lw_adrc is work area of adrc(adress) table.
Kindly guide if anyone has a solution or had a similar requirement.