SAP for Retail Discussions
Join conversations about personalization, omnichannel strategies, and operational excellence in retail using SAP for Retail software.
cancel
Showing results for 
Search instead for 
Did you mean: 

Article Change Documents for Custom Fields

Former Member
0 Kudos

Hi,

We have lot of custom fields defined in the article master. When the custom fields are changed through the online transaction, the changes are recorded in the change document tables (CDHDR / CDPOS). If the changes are made through the "BAPI_MATERIAL_MAINTAINDATA_RT" the changes are not getting recorded in the change document tables and hence they cannot be viewed under "Environment -> Display Changes". Lately, this is causing big issues as users are using the custom attributes more seriously now..and we're having issues tracing back the changes...Users do not use online transactions to make the changes..The changes are submitted through the portal which are then submitted through the ARTMAS IDOC which in turn calls the BAPI....

We want to activate the change document functionality through IDOCs/BAPI....Is it configurable or has to be coded somewhere in the BAPI where it generates the custom segments for the custom fields....

Any help would be greatly appreciated

Thanks,

Sri

2 REPLIES 2

eduardo_hinojosa
Active Contributor
0 Kudos

Hi,

Check the domain of your ZZfield. In futher characteristics the flag 'change document' must be on, ie, the value must be 'X' if you want that modifications will be recorden in CDHDR/CDPOS.

I hope this helps you

Regards,

Eduardo

former_member335292
Contributor
0 Kudos

Hi,

You can use txn BD51 in which you can specify "BAPI_MATERIAL_MAINTAINDATA_RT" and use "o" as Input without checking the Dialog allowed option.

I assume that you have already done the relevant settings for the change pointers for message type ARTMAS( BD50) and activate change poiinter for relevant document changes (in Txn BD52 by maintaining the relevant Object - MAT_FULL,Table name - MARA and ZZ fields)

Hope this helps,

Best Regards,

Aram.