12-26-2014 7:12 AM
Hi ABAPer's,
I am facing a silly issue where i have to update ship to Mobile no using XML.(XML Mobile No should update the previous one stored in ship to mobile no).
I am trying it with BAPI BAPI_SALESORDER_CHANGE.
Tried to pass the mobile no in BAPI, But did not found any place for mobile no in bapi.
use some code below but it does not fulfill my req.
its updating telephone 2 data but not mobile.
i know its a wrong code but just tried as a hit and trial method.
CLEAR: wa_partner.
wa_partner-partn_role = 'WE'.
wa_partner-partn_numb = wa_xml-kunnr. "P_SOLD.
wa_partner-telephone2 = lv_mobile.
wa_partner-country = wa_xml-country.
APPEND wa_partner TO partner.
If there is any other method , please let me know.
early responses will be appreciated.
regards,
manish manohar
12-26-2014 8:29 AM
Hi,
you will need to use a function module dedicated for the change of the address like : BAPI_BUPA_ADDRESS_CHANGE
regards
Fred
12-26-2014 9:15 AM
hey,
thanks for your quick response but it doesn't fulfill my requirement.
actually this FM is used to update address details of a business partner and not ship to customer .
01-27-2015 11:24 AM
Hi,
I have tried it by passing ADRNR into ADR2 table from VBPA and updating TEL_NUMBER where R3_USER = 3.