Skip to Content
avatar image
Former Member

How to update Ship to Mobile Number of sales order (VA02) using bapi or any fm

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

bapi.JPG (38.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 26, 2014 at 08: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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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 .

  • avatar image
    Former Member
    Jan 27, 2015 at 11:24 AM

    Hi,

    I have tried it by passing ADRNR into ADR2 table from VBPA and updating TEL_NUMBER where R3_USER = 3.

    Add comment
    10|10000 characters needed characters exceeded