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

BAPI to upload master data in multiple tables

Former Member
0 Likes
1,472

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,284

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

Read only

Former Member
0 Likes
1,284

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.

Read only

Former Member
0 Likes
1,284

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?

Read only

0 Likes
1,284

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.

Read only

0 Likes
1,284

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?

Read only

0 Likes
1,284

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.

Short Text

Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT

Description

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

Read only

0 Likes
1,284

Thank you somuch Sameena. I will try as you said and will let you know If I found results.