02-20-2015 10:04 AM
Hi All,
I got requirement to update the following fields NAME1 NAME2 STRAS NAME3 ORT01 PSTLZ from standard tables ADRC, KNA1, MHNK, MHNKO, REGUH, SADR. Is their any BAPI available for the same.
Also please suggest me if there is any best solution available instead of modifying the tables using MODIFY statement.
Thanks,
Sneha
02-20-2015 3:26 PM
Hi Sneha,
You would use these Bapi functions:
BAPI_CUSTOMER_CHANGEFROMDATA
BAPI_CUSTOMER_CHANGEFROMDATA1
regards,
Kadir
02-20-2015 3:26 PM
Hi Sneha,
You would use these Bapi functions:
BAPI_CUSTOMER_CHANGEFROMDATA
BAPI_CUSTOMER_CHANGEFROMDATA1
regards,
Kadir
02-23-2015 8:14 AM
Hi Kadir,
Thanks for your reply.
I also wanted to update some Z tables which are holding customer related information. Using above BAPI standard tables will be updated. So for updating the Z table I need to write some custom code.
Please suggest me is above approach correct.
Thanks
02-23-2015 10:06 AM
Hi Sneha,
Yes, if customer related information update in Ztable then you need to write some custom code in your custom program .
Regards,
Nilesh Patel
02-23-2015 10:17 AM
For Updating standard tables, SAP has given us BAPI's in case BAPI is not available alternate option in BDC.
For updating z tables you have to write custom code depend upon requirement.
-Regards,
Amol
02-23-2015 10:13 AM
02-23-2015 10:24 AM
Hi all,
Using BAPI's mentioned by Kadir I can be able to update tables KNA1, ADRC. I need to update rest of the tables too which I have mentioned. Can you please provide me any other BAPI so that I can update all the tables.
Thanks,
Sneha
02-23-2015 10:38 AM
Hi Sneha,
I would suggest you to go for modifying tables instead of using Multiple options for each tables you want to update.
As there are BAPI to update KNA1, ADRC
BAPI_CUSTOMER_CHANGEFROMDATA
BAPI_CUSTOMER_CHANGEFROMDATA1.
and you want to update both Z tables too, so you can go for modify statement for each table you wish to update.
Regards,
Ashish Patil
02-23-2015 10:44 AM
02-23-2015 2:16 PM
Hi Sneha,
I would suggest you to go for modifying tables instead of using Multiple options for each tables you want to update.
As there are BAPI to update KNA1, ADRC
BAPI_CUSTOMER_CHANGEFROMDATA
BAPI_CUSTOMER_CHANGEFROMDATA1.
and you want to update both Z tables too, so you can go for modify statement for each table you wish to update.
Regards,
Arif
02-24-2015 7:03 AM
Hi All,
Does any BAPI's available to update MHNK, MHNKO, SADR, REGUH. Please suggest me.
Thanks
02-24-2015 7:12 AM
Thanks to every one for their valuable post but My requirement is suppose I have 3 line item and I need to change on 2nd line item then what will be the approach that I want to know...