Sending Full Master data objects of DEBMAS from change pointer
I need to send complete DEBMAS and complete MATMAS idoc to my other system. I'm able to create and send MATMAS and DEBMAS idocs on change but it only sends the changed (delta) data. So I have made an enchancement on FM: CHANGE_POINTERS_READ which is like this:
ENHANCEMENT 1 ZSEND_COMPLETE_IDOCS. "active version
field-symbols <fs_bdcp> type bdcp.
if message_type = 'DEBMAS' or message_type = 'MATMAS'.
loop at change_pointers assigning <fs_bdcp>.
<fs_bdcp>-fldname = 'ALELISTING'.
However this only works for MATMAS. When I change a material in MM02, my idoc is created with complete segments, not only with changed segments. However this enhancement does not work for DEBMAS!?!? Anyone knows why?
I need to find out how to send my DEBMAS idoc completely to my other system.
Thanks in advance.
I have solved it by saving those values to a Z table on the BTE. And Z program to send those datas via BD12 with a job.
Thank you all for your efforts.