on 06-06-2023 12:54 PM
Hi,
I got some change request from my client related to inbound MATMAS Idoc, previous developers have used BAPI_MATERIAL_SAVEDATA to create and update the material master from idoc, now I got an enhancement request to update multiple storage location while creating the material which is not possible with BAPI_MATERIAL_SAVEDATA.
I can replace the BAPI_MATERIAL_SAVEDATA with BAPI_MATERIAL_SAVEREPLICA but I need to change almost everything in old code to make structure suite to BAPI_MATERIAL_SAVEREPLICA..
Is there anyway I can achieve the requirement to update multiple storage locations at a time using BAPI_MATERIAL_SAVEDATA
Thanks in advance
Udaykiran
Hello udaykburra
udaykburraNo, that is not possible. BAPI_MATERIAL_SAVEDATA accepts only one record of storage location level data, i.e. STORAGETYPEDATA and STORAGETYPEDATAX input structures. You simply cannot pass multiple storage location level records to the BAPI_MATERIAL_SAVEDATA interface.
You need to call BAPI_MATERIAL_SAVEDATA multiple times, once for each storage location.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply,
I just tried this, its worked
Thanks you so much
Udaykiran
BDC with MMSC will service your purpose and not sure why you are trying with BAPI but wait for other experts to answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
10 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.