‎2007 Jun 20 4:09 PM
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.
‎2007 Jun 20 4:13 PM
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.
‎2007 Jun 20 4:13 PM
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.
‎2007 Jun 20 4:18 PM
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.
‎2007 Jun 20 4:23 PM
Hi,
Please try these FM and BAPI.
ADDR_SAVE_INTERN
BAPI_ADDRESSORG_CHANGE
BAPI_BUPA_CENTRAL_CHANGE
Regards,
Ferry Lianto
‎2007 Jun 20 4:56 PM
Thanks Ferry, I am trying those function modules
Regards,
Chandra