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

Upload Material Master

Former Member
0 Likes
313

Hi,

I have created a material master program using BAPI BAPI_MATERIAL_SAVEDATA. Inthis program I'm uploading date files for Basic data,

Sales and export data and

Purchase plant and accounting data separately

i.e totally there are 3 files. Through this program each of the files can be uploaded separately or togather. i.e I can upload only basic data first and later I can upload sales and export data or I can also upload basic data and sales data togather. Because inside the program I'm first upload basic data file then sales and export and then purchase, plant and accounting data file.

Now my problem is when I'm uploading only basic data file everything is fine. But when I'm uploading other data files along with basic data file then fields UOM and Dimensions for first record is fine but for other records these two fields are updated with values of first record.

Please help me solve this.

Kindly revert back for any clarification.

Thanks & Regards,

Sriram

1 REPLY 1
Read only

Former Member
0 Likes
281

Hi,

try to Use the below Bapi at a time you can upload material master for multiple plants and sales org..

---Sales and export data and

--Purchase plant and accounting data separately

CALL FUNCTION 'BAPI_MATERIAL_SAVEREPLICA'

Prabhudas