<?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: Idoc Segment adding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361083#M179286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes .. U need to increment the counter .. see the sample code available in the BADI for the method CHANGE_IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES: BEGIN OF e1wbb_customer,&lt;/P&gt;&lt;P&gt;            datab   LIKE sy-datum,&lt;/P&gt;&lt;P&gt;            datbi   LIKE sy-datum,&lt;/P&gt;&lt;P&gt;            message TYPE char16,&lt;/P&gt;&lt;P&gt;          END OF e1wbb_customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: i_edidd TYPE edidd_short,&lt;/P&gt;&lt;P&gt;        i_e1wbb_customer TYPE e1wbb_customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_e1wbb_customer-datab = date_from.&lt;/P&gt;&lt;P&gt;  i_e1wbb_customer-datbi = date_to.&lt;/P&gt;&lt;P&gt;  i_e1wbb_customer-message = 'mysap.com'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_edidd-segnam = 'E1WBB_CUSTOMER'.&lt;/P&gt;&lt;P&gt;  i_edidd-sdata  = i_e1wbb_customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INSERT i_edidd into idoc-idoc_data index edidd_startindex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  ADD 1 TO idoc-seg_counter.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just folllow the above process for the segments that u have added and ur job should be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nishanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 May 2006 17:22:29 GMT</pubDate>
    <dc:creator>nishanthbhandar</dc:creator>
    <dc:date>2006-05-29T17:22:29Z</dc:date>
    <item>
      <title>Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361074#M179277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   i have extended a idoc with few segements and i am trying to add a few segements to the idoc in the BADI how to specify the hirarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361074#M179277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361075#M179278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajani,&lt;/P&gt;&lt;P&gt; Go through the following links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b82a343d711d1893e0000e8323c4f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b82a343d711d1893e0000e8323c4f/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361075#M179278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361076#M179279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai,&lt;/P&gt;&lt;P&gt;    thanks for the reply but the run time how do you insert the new Zsegment because it is giving me the error while creating the IDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chhers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361076#M179279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361077#M179280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which Function module are you working with?&lt;/P&gt;&lt;P&gt;Or which IDOc are you extending??&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:10:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361077#M179280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361078#M179281</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 don't think you can alter a IDOC at runtime, you will have to define the segments in WE31 and add the same in WE30 to the IDOC in whichever hierarchy you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain a little more, what do you want to do in the BADI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361078#M179281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361079#M179282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi,&lt;/P&gt;&lt;P&gt;         i have extended the idoc WBBDLD04 into extended type . now in the runtime for the BADi i am using only the Segements of the BASIC type WBBDLD04 is coming but the segments which i have created in the NEW extended idoc is not coming so how would i build the idoc in that case in the badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361079#M179282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361080#M179283</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;Have you done the assignment of the extended IDOC to the message in WE82?&lt;/P&gt;&lt;P&gt;Are there any other parameters in the BADI, which are pointing to the extended part of the IDOC?&lt;/P&gt;&lt;P&gt;The extended might not be part of the same parameter of the BADI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which BADI is this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;NOte : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:28:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361080#M179283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361081#M179284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt; I don't think you are in the correct badi.&lt;/P&gt;&lt;P&gt;Can you let us know which FM calls your badi??&lt;/P&gt;&lt;P&gt;Or atleast the process code attached to the msg type??&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361081#M179284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361082#M179285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  the BADi name is ASSORTMENTLIST_UPD it is of haiving the idoc data in structure IDOC_INFO when i add any segements should i increase the number of segement counter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 16:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361082#M179285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T16:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Segment adding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361083#M179286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes .. U need to increment the counter .. see the sample code available in the BADI for the method CHANGE_IDOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES: BEGIN OF e1wbb_customer,&lt;/P&gt;&lt;P&gt;            datab   LIKE sy-datum,&lt;/P&gt;&lt;P&gt;            datbi   LIKE sy-datum,&lt;/P&gt;&lt;P&gt;            message TYPE char16,&lt;/P&gt;&lt;P&gt;          END OF e1wbb_customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: i_edidd TYPE edidd_short,&lt;/P&gt;&lt;P&gt;        i_e1wbb_customer TYPE e1wbb_customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_e1wbb_customer-datab = date_from.&lt;/P&gt;&lt;P&gt;  i_e1wbb_customer-datbi = date_to.&lt;/P&gt;&lt;P&gt;  i_e1wbb_customer-message = 'mysap.com'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i_edidd-segnam = 'E1WBB_CUSTOMER'.&lt;/P&gt;&lt;P&gt;  i_edidd-sdata  = i_e1wbb_customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INSERT i_edidd into idoc-idoc_data index edidd_startindex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  ADD 1 TO idoc-seg_counter.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just folllow the above process for the segments that u have added and ur job should be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Nishanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 17:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-adding/m-p/1361083#M179286</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2006-05-29T17:22:29Z</dc:date>
    </item>
  </channel>
</rss>

