<?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: Populating IDoc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556905#M855901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to RBDSEMAT program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else open program for any Tcode BD10, BD12, BD14 u will find the way to deal with sending of IDOC data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2008 04:32:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-18T04:32:17Z</dc:date>
    <item>
      <title>Populating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556904#M855900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one pls provide me with sample code for populating IDoc with segments maintained in hierarchical level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vikas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 04:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556904#M855900</guid>
      <dc:creator>VikasB</dc:creator>
      <dc:date>2008-03-18T04:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Populating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556905#M855901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to RBDSEMAT program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else open program for any Tcode BD10, BD12, BD14 u will find the way to deal with sending of IDOC data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 04:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556905#M855901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T04:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Populating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556906#M855902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas ,&lt;/P&gt;&lt;P&gt;Please fidn the below sample code .&lt;/P&gt;&lt;P&gt;DATA:		C_INVREV_SEGNAME(7) TYPE C VALUE 'Z1INVRV',&lt;/P&gt;&lt;P&gt;		C_INVREV_MESTYPE(6) TYPE C VALUE 'ZINVRV',&lt;/P&gt;&lt;P&gt;		C_INVREV_IDOC_TYPE(8) TYPE C VALUE 'ZINVRV01', &lt;/P&gt;&lt;P&gt;		Z1INVRV LIKE Z1INVRV,&lt;/P&gt;&lt;P&gt;		C_INVREV_DOCTYPE LIKE BKPF-BLART VALUE 'YY',&lt;/P&gt;&lt;P&gt;		IDOC_CONTROL LIKE EDIDC,&lt;/P&gt;&lt;P&gt;		T_COMM_CONTROL LIKE EDIDC OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;		IDOC_DATA LIKE EDIDD OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- Move the document header into a structure&lt;/P&gt;&lt;P&gt;LOOP AT DOC_HEAD_TAB INTO DOC_HEAD.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- Move the document item data into a structure&lt;/P&gt;&lt;P&gt;LOOP AT DOC_ITEM_TAB INTO DOC_ITEM WHERE NOT ( LIFNR IS INITIAL ).&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- Populate the IDoc segment&amp;#146;s field with the required data&lt;/P&gt;&lt;P&gt;CLEAR Z1INVRV.&lt;/P&gt;&lt;P&gt;Z1INVRV-LIFNR = DOC_ITEM-LIFNR.		&amp;#147;Store vendor number for filter&lt;/P&gt;&lt;P&gt;Z1INVRV-XBLNR = DOC_HEAD-XBLNR.		&amp;#147;Billing number&lt;/P&gt;&lt;P&gt;IDOC_DATA-SEGNAM = C_INVREV_SEGNAME.	&amp;#147;Segment name&lt;/P&gt;&lt;P&gt;IDOC_DATA-SDATA = Z1INVRV.			&amp;#147;Segment data&lt;/P&gt;&lt;P&gt;APPEND IDOC_DATA.				&amp;#147;Populate IDoc internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;1.Get the required data &lt;/P&gt;&lt;P&gt;2. fill the all segment and append to the Idoc data internal table Idoc_data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if u have any queries .  I hope this will solve the problem . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Sree M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556906#M855902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Populating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556907#M855903</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;thanks for ur reply.&lt;/P&gt;&lt;P&gt;but again i hv one question that, do we need to do any thing while populating the IDOC when the segments are defined as mandetory segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like what if my internal table do not contains any data and segment is mandetory segment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556907#M855903</guid>
      <dc:creator>VikasB</dc:creator>
      <dc:date>2008-03-18T05:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Populating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556908#M855904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  what if my internal table do not contains any data and   segment is mandetory segment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to fill all the mandatory segments  in the Idoc for this  Please discuss with your  Functional  and Business scenario definitely  will support to fill the Mandatory segments  . Otherwise Idoc will give the Status as Syntax Error .Please ensure whether it is a mandatory or not in &lt;STRONG&gt;WE60&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.I hope so it will resolve ur query .&lt;/P&gt;&lt;P&gt;Rgds &lt;/P&gt;&lt;P&gt;Sree M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 07:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556908#M855904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Populating IDoc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556909#M855905</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;Goto WE60 tcode ,there give ur message and basic type,u will get the documentation of the required segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for mandatory segments u shouls always pass the data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 08:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-idoc/m-p/3556909#M855905</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-03-18T08:04:54Z</dc:date>
    </item>
  </channel>
</rss>

