Skip to Content
avatar image
Former Member

Sending Full Master data objects of DEBMAS from change pointer

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 28, 2012 at 12:47 PM

    Hi Talha,

    Why you are not using standard transaction BD10( For Material ) and BD12 ( For Customers )? It should work for you.

    Regards,

    R

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Raymond Giuseppi

      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.

  • avatar image
    Former Member
    Feb 19, 2016 at 05:13 AM

    Talha

    Can you tell me how did you solve the issue. When you said you saved the values to Z table did you save complete Customer master data to Z table ?

    What logic did you implement in Z program ? Did you submit bd12 in Z program?

    Add comment
    10|10000 characters needed characters exceeded