Automate

RE: BAPI - Material Master Classification 

11-13-2020 09:47
Statistics
0 Favorited
84 Views
2 Files
0 Shares
8 Downloads
Attachment(s)
xlsx file
BAPI_OBJCL_CHANGE_MaterialClass_CharAndNumeric.xlsx   24 KB   1 version
Uploaded - 02-17-2023
Txr file
BAPI_OBJCL_CHANGE_MaterialClass_CharAndNumeric.Txr   62 KB   1 version
Uploaded - 02-17-2023

Tags and Keywords

Comments

04-04-2022 12:41

Hi @Ocal Yilmaz and All,
Yes, unfortunately that is the SAP behavior of the BAPI.  So I would suggest doing a GETDETAIL/GET prior to doing the CHANGE.​
FYI,
Sigrid

04-04-2022 12:25

@Sigrid Kok
Hello Sigrid,
I tried using this BAPI_OBJCL_CHANGE to update material master characteristics​ and realized that when updating a material class that has multiple characteristics;
- It deletes the value of prior characteristics in the file, and update the last row. As an example; when passing below data in an excel file:
CLASS A / CHARACTERISTICS -1 as "11111"
CLASS A / CHARACTERISTICS -2 as "22222"
CLASS A / CHARACTERISTICS -3 as "33333"

If I run all 3 rows as part of the same run; it only updates the last one as "33333", and the first 2 rows characteristics values become blank in SAP.

Have you seen this? In the BAPI, I don't see any indication that may drive this behavior but wanted to check with you.

Thanks
Ocal

Related Entries and Links

No Related Resource entered.