2018 Aug 27 8:30 PM
I have a requirement to add additional custom fields to the material master and populate them with data from Material Master Create using BAPI_MATERIAL_SAVEDATA. How do you extend the BAPI_MATERIAL_SAVEDATA structures to include those custom fields?
2018 Aug 27 9:36 PM
See the Documentation of the BAPI, which references reading up on the Documentation of the BAPI-Structure "EXTENSIONIN" of type "BAPIE1PAREX". Also, SAP-KBA 1650360 offers more information.
You need to create an Append Structure for your Custom Fields and add these in the "EXTENSIONIN". Depending on which table the Custom fields refer to, you need to Create an Append Structure of type "BAPI_TE_MARA" / "'BAPI_TE_MAKT" / "BAPI_TE_MLGN" / ...
StackOverflow-Question and Answer : link
See the Documentation of the BAPI, which references reading up on the Documentation of the BAPI-Structure "EXTENSIONIN" of type "BAPIE1PAREX". Also, SAP-KBA 1650360 offers more information.
You need to create an Append Structure for your Custom Fields and add these in the "EXTENSIONIN". Depending on which table the Custom fields refer to, you need to Create an Append Structure of type "BAPI_TE_MARA" / "'BAPI_TE_MAKT" / "BAPI_TE_MLGN" / ...
StackOverflow-Question and Answer : link
2018 Aug 27 9:36 PM
See the Documentation of the BAPI, which references reading up on the Documentation of the BAPI-Structure "EXTENSIONIN" of type "BAPIE1PAREX". Also, SAP-KBA 1650360 offers more information.
You need to create an Append Structure for your Custom Fields and add these in the "EXTENSIONIN". Depending on which table the Custom fields refer to, you need to Create an Append Structure of type "BAPI_TE_MARA" / "'BAPI_TE_MAKT" / "BAPI_TE_MLGN" / ...
StackOverflow-Question and Answer : link
2018 Aug 27 9:38 PM
I just searched in the forum and found this link- https://archive.sap.com/discussions/thread/2000494
And also check documentation of the BAPI( for the Tables - EXTENSIONIN/EXTENSIONINX)
2018 Aug 28 9:19 AM
2018 Sep 24 8:49 PM
Thank you very much for your help. The issue was around the configuration of the fields. They weren't extended through SPRO to allow for updating. Configuration updated and all is fine now.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |