‎2014 Mar 13 8:13 AM
Dear all,
Is there any BAPI to update the multiple database tables at a time? I want to update the client data into MARA, A108, KNOP and KNOH tables.
Is there any other procedure to do it? Pleae give me some suggestions to do it.
Thank You In advance..!
Regards,
Praveen
‎2014 Mar 13 8:47 AM
You will have to use different BAPI's for that.
With MARA, I understand you need to update material data records. Check BAPI_MATERIAL_SAVEDATA
For pricing conditions, you can check BAPI_PRICES_CONDITIONS
‎2014 Mar 13 9:03 AM
Hello Praveen,
You can use 'BAPI_MATERIAL_SAVEDATA' to Create and Change Material Master Data
You can change or create the plant data or sales data etc. for the materail and subsequent updates takes place in the tables such as MARA, MARC, MVKE etc.
You can read the function module documentation for the same.
‎2014 Mar 13 9:43 AM
Thank you sameena and alita for your quick reply's.
I know about the BAPI, 'BAPI_MATERIAL_SAVEDATA'..
But I would like to know if any BAPI's are available for A108, KNOP, KNOH and T023T tables?
And how to club all the BAPI's in One program?
‎2014 Mar 13 10:02 AM
What is KNOH and KNOP? I thought you meant KONH and KONP - pricing condition tables and I have already provided BAPI for that
You need to check if your needed tables are updated by BAPI else you can use BDC/LSMW
I did not understand what do you mean by club all BAPI's? You need to call each BAPI in your program if one BAPI does not update all the required tables.
‎2014 Mar 13 10:19 AM
Thank you sameena. Sorry it is KONH and KONP only. If we have the customizing fields in that table(for example MARA), what I need to do? Sorry If I am asking silly questions, Because I am new to BAPI's. I am not able to find the BAPI for TO23T. Coul you please help me on this?
‎2014 Mar 13 10:37 AM
For custom defined field use EXTENSIIONIN table in Tables section of BAPI. Below is the description of that table. Check the long text (green button after short text) available to learn more about it.
Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
You use this structure to transfer the material's customer-defined fields. For information on transferring these fields, see the function module documentation.
I doubt if there is any BAPI for T023T. In that case you need to use BDC
‎2014 Mar 13 10:44 AM
Thank you somuch Sameena. I will try as you said and will let you know If I found results.