‎2013 May 14 2:29 PM
Hi All
I have used BAPI BAPI_MATERIAL_SAVEDATA to make changes to Material Master and I have the below issue:
When I make changes to a Material, SAP saves the changes Transaction in table CDHDR as 'MM01(BAPI)' or 'MM02(BAPI)'.
Can someone please share with me why is SAP saving as 'MM01(BAPI)' as MM01 is for creating a Material?
I have tried to debug but no luck.
Thanks in advance
Ramo
‎2013 May 14 3:17 PM
Hi Ramo,
You need to use function modules in order to retrieve the data and CHANGEDOCUMENT_READ_HEADERS should get the data that you need.
(Other useful function modules include:
CHANGEDOCUMENT_DISPLAY
CHANGEDOCUMENT_READ
CHANGEDOCUMENT_READ_HEADERS)
The (BAPI) addition is made to show that a user didn't make the change - it makes it easier to find out who/what is changing things.
I hope that helps.