Skip to Content
0
Former Member
Sep 28, 2012 at 12:37 PM

Sending Full Master data objects of DEBMAS from change pointer

1630 Views

Hello everyone;

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'.

endloop.
endif.

ENDENHANCEMENT.

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.

Talha