<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fill customer segment using the BD21 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517379#M845975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar issue.  We have extended the MATMAS message type with a new segment for export data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we change the export data in MM02, it creates a change document (standard SAP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet when I run BD21, it does not create a change pointer and fill that custom segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2009 22:01:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-28T22:01:21Z</dc:date>
    <item>
      <title>Fill customer segment using the BD21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517376#M845972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have enhanced the base IDOC MATMAS05 by creating a customer segment. This segment has to be filled whenever the IDOC is transmitted by the BD21. But I don´t know how to enhance the BD21 without changing the standard. Is there an user-exit i can use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be someone can help me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 15:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517376#M845972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T15:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fill customer segment using the BD21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517377#M845973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to enhance your MATMAS Idoc in BD21 in customer-exit EXIT_SAPLMV01_002 (INCLUDE ZXMGVU03).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 17:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517377#M845973</guid>
      <dc:creator>roger_gomez</dc:creator>
      <dc:date>2008-03-05T17:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fill customer segment using the BD21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517378#M845974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger, &lt;/P&gt;&lt;P&gt;Thank you for answer.  I found the INCLUDE and tried to fill my segment with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lw_edidd01   TYPE edidd,
      lw_ZMATFIL TYPE ZMATFIL.
IF message_type EQ 'MATMAS'  AND
   segment_name EQ 'ZMATFIL'.
  
  LOOP AT idoc_data INTO lw_edidd01
                          WHERE segnam EQ 'ZMATFIL'.

          MOVE:  lw_edidd01 to lw_ZMATFIL, 
                 F_MVKE-VKORG TO lw_ZMATFIL-VKORG, 
                 lw_ZMATFIL TO lw_edidd01-sdata. 
          MODIFY: idoc_data FROM lw_edidd01 TRANSPORTING sdata.
  ENDLOOP.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I started the BD21 with "MATMAS"!&lt;/P&gt;&lt;P&gt;But the "move"-statement is never reached because "segment_name " never becomes ZMATFIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the IDOC was created. But when I looked for it in the WE02 it says "EDI Syntax error". Because my segment is marked as necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Christian Dsen on Mar 6, 2008 1:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 10:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517378#M845974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T10:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fill customer segment using the BD21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517379#M845975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar issue.  We have extended the MATMAS message type with a new segment for export data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we change the export data in MM02, it creates a change document (standard SAP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet when I run BD21, it does not create a change pointer and fill that custom segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 22:01:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-customer-segment-using-the-bd21/m-p/3517379#M845975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-28T22:01:21Z</dc:date>
    </item>
  </channel>
</rss>

