<?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 Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703689#M626219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please send step by step method to write the exit for extended idoc orders05&lt;/P&gt;&lt;P&gt;i have added to fields under the segment e1edp01.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2007 04:20:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-11T04:20:17Z</dc:date>
    <item>
      <title>Idoc Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703686#M626216</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;   Can any one pls tell me the use of programming in IDOCS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If possible pls give one example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thank u all looking for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 13:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703686#M626216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T13:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703687#M626217</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;&amp;lt;b&amp;gt;Check out this Links for working on Idoc's.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60e2507d11d18ee90000e8366fc2/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60e2507d11d18ee90000e8366fc2/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/d5/edf163dcdc11d1890c0000e8216438/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/d5/edf163dcdc11d1890c0000e8216438/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go thru this prog that is done to populate idoc on the outbound side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZALE_USR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS:   C_DOCTYP TYPE EDIDC-IDOCTP VALUE 'ZUSRDET01', idoc type&lt;/P&gt;&lt;P&gt;             C_SEGNAM TYPE EDIDD-SEGNAM VALUE 'Z1USRDET01', segment type&lt;/P&gt;&lt;P&gt;             C_MESTYP TYPE EDIDC-MESTYP VALUE 'ZUSRDET'. message type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:      IT_ZUSR02 TYPE USR02 OCCURS 10,&lt;/P&gt;&lt;P&gt;             IT_EDIDC TYPE EDIDC OCCURS 0,&lt;/P&gt;&lt;P&gt;             IT_EDIDD TYPE EDIDD OCCURS 0,&lt;/P&gt;&lt;P&gt;             WA_ZUSR02 TYPE USR02,&lt;/P&gt;&lt;P&gt;             WA_EDIDC TYPE EDIDC,&lt;/P&gt;&lt;P&gt;             WA_EDIDD TYPE EDIDD,&lt;/P&gt;&lt;P&gt;             WA_Z1USRDET01 TYPE Z1USRDET01,&lt;/P&gt;&lt;P&gt;             V_OCCMAX TYPE IDOCSYN-OCCMAX,&lt;/P&gt;&lt;P&gt;             V_NBSEG TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            CLEAR WA_ZUSR02.&lt;/P&gt;&lt;P&gt;            CLEAR WA_EDIDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            Save the message type and the basic IDoc type in the control segment.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            MOVE C_MESTYP TO WA_EDIDC-MESTYP.&lt;/P&gt;&lt;P&gt;            MOVE C_DOCTYP TO WA_EDIDC-IDOCTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            Retrieve the maximum number of segments in the basic IDoc type.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            SELECT MIN( OCCMAX )  FROM IDOCSYN  INTO V_OCCMAX  WHERE IDOCTYP EQ C_DOCTYP AND SEGTYP EQ C_SEGNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            Save the whole USR02 table content in the IT_ZUSR02 internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            SELECT * FROM USR02 INTO CORRESPONDING FIELDS OF TABLE IT_ZUSR02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            Create a data segment for each line of IT_ZUSR02.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            LOOP AT IT_ZUSR02 INTO WA_ZUSR02 .&lt;/P&gt;&lt;P&gt;              MOVE-CORRESPONDING WA_ZUSR02  TO WA_Z1USRDET01.&lt;/P&gt;&lt;P&gt;              CLEAR WA_EDIDD.&lt;/P&gt;&lt;P&gt;              MOVE C_SEGNAM TO WA_EDIDD-SEGNAM.&lt;/P&gt;&lt;P&gt;              MOVE WA_Z1USRDET01 TO WA_EDIDD-SDATA.&lt;/P&gt;&lt;P&gt;              APPEND WA_EDIDD TO IT_EDIDD.&lt;/P&gt;&lt;P&gt;              CLEAR WA_ZUSR02.&lt;/P&gt;&lt;P&gt;             CLEAR WA_Z1USRDET01.&lt;/P&gt;&lt;P&gt;            ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           Count the number of data segments.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              DESCRIBE TABLE IT_EDIDD LINES V_NBSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           If the number of data segments exceeds the maximum allowed number,then display an error message.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              IF V_NBSEG GT V_OCCMAX.&lt;/P&gt;&lt;P&gt;              WRITE:/ 'ERROR'.&lt;/P&gt;&lt;P&gt;              ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  master_idoc_control                  = WA_EDIDC&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                OBJ_TYPE                             = ''&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                CHNUM                                = ''&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                tables&lt;/P&gt;&lt;P&gt;                  communication_idoc_control           = IT_EDIDC&lt;/P&gt;&lt;P&gt;                  master_idoc_data                     = IT_EDIDD&lt;/P&gt;&lt;P&gt;               EXCEPTIONS&lt;/P&gt;&lt;P&gt;                 ERROR_IN_IDOC_CONTROL                = 1&lt;/P&gt;&lt;P&gt;                 ERROR_WRITING_IDOC_STATUS            = 2&lt;/P&gt;&lt;P&gt;                 ERROR_IN_IDOC_DATA                   = 3&lt;/P&gt;&lt;P&gt;                 SENDING_LOGICAL_SYSTEM_UNKNOWN       = 4&lt;/P&gt;&lt;P&gt;                 OTHERS                               = 5&lt;/P&gt;&lt;P&gt;                        .&lt;/P&gt;&lt;P&gt;              IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;              ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward points for useful ans&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 14:26:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703687#M626217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T14:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703688#M626218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Idocs are nothing but the data containers,ie they carry data from one system to another system with the help of a medium,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             The 2 mediums that are avialable are 1. ALE&lt;/P&gt;&lt;P&gt;                                                                    2.EDI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the help of these two mediums we exchange the data form on e system and another system.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2007 14:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703688#M626218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-14T14:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Idoc Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703689#M626219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please send step by step method to write the exit for extended idoc orders05&lt;/P&gt;&lt;P&gt;i have added to fields under the segment e1edp01.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 04:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-programming/m-p/2703689#M626219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T04:20:17Z</dc:date>
    </item>
  </channel>
</rss>

