Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Address management function module

Former Member
0 Likes
743

Hi,

I am using a standard BAPI, BAPI_SALESORDER_CREATEFROMDAT2. I extended two fileds in BAPIPARNR. And iam calling the standard BAPI and if sales order is created, then i need to update those fileds. Fileds are SORT2 in ADRC and AD_SMTPADR in ADC6. Is there any function module i can call to update the these tables using the customer number.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
639

looks like no function module ->

You can write simple select query...

get the sales order number -> do compare with vbpa table -> vbpa has adrnr -> do compare with adrc -adrnr -> update the address ..

once you update the adrc and it will effect to all other tables.

4 REPLIES 4
Read only

Former Member
0 Likes
640

looks like no function module ->

You can write simple select query...

get the sales order number -> do compare with vbpa table -> vbpa has adrnr -> do compare with adrc -adrnr -> update the address ..

once you update the adrc and it will effect to all other tables.

Read only

0 Likes
639

Thanks Seshu for your quick reply. I can write query it is easy but i am searching for a function module as it is not good to write a query to update standard table.

Read only

ferry_lianto
Active Contributor
0 Likes
639

Hi,

Please try these FM and BAPI.

ADDR_SAVE_INTERN

BAPI_ADDRESSORG_CHANGE

BAPI_BUPA_CENTRAL_CHANGE

Regards,

Ferry Lianto

Read only

0 Likes
639

Thanks Ferry, I am trying those function modules

Regards,

Chandra