<?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 Basic Idocs- clarification on their segments in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663521#M293908</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 the following Basic Idoc structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. /DSD/HH_CONTROL01- Control data for hand held interface.&lt;/P&gt;&lt;P&gt;1.1 /DSD/HH_E1CTHD01- Control data header.&lt;/P&gt;&lt;P&gt;1.1.1 /DSD/HH_E1CTAD02- Control idoc- Application data header&lt;/P&gt;&lt;P&gt;1.1.1.1 /DSD/HH_E1CTID03- Control idoc- Application data item&lt;/P&gt;&lt;P&gt;1.1.1.2 /E1WXX01- Segment for customer enhancement to be used as requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;OBSERVATION----&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;1. The basic idoc (1) is found in table EDBAS and description in EDBAST.&lt;/P&gt;&lt;P&gt;2. The segments (1.1.1.2) are in table EDISEGMENT and EDISEGT.&lt;/P&gt;&lt;P&gt;3. All the other structures (1.1), (1.1.1), (1.1.1.1) are found in tables EDISDEF and some in EDISEGMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;QUESTIONS----&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;1.What query can I write to get the above basic idoc structure?&lt;/P&gt;&lt;P&gt;2.How are the relationships mapped among the tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, points will be awarded for your time and answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2006 11:56:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-26T11:56:45Z</dc:date>
    <item>
      <title>Basic Idocs- clarification on their segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663521#M293908</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 the following Basic Idoc structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. /DSD/HH_CONTROL01- Control data for hand held interface.&lt;/P&gt;&lt;P&gt;1.1 /DSD/HH_E1CTHD01- Control data header.&lt;/P&gt;&lt;P&gt;1.1.1 /DSD/HH_E1CTAD02- Control idoc- Application data header&lt;/P&gt;&lt;P&gt;1.1.1.1 /DSD/HH_E1CTID03- Control idoc- Application data item&lt;/P&gt;&lt;P&gt;1.1.1.2 /E1WXX01- Segment for customer enhancement to be used as requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;OBSERVATION----&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;1. The basic idoc (1) is found in table EDBAS and description in EDBAST.&lt;/P&gt;&lt;P&gt;2. The segments (1.1.1.2) are in table EDISEGMENT and EDISEGT.&lt;/P&gt;&lt;P&gt;3. All the other structures (1.1), (1.1.1), (1.1.1.1) are found in tables EDISDEF and some in EDISEGMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;QUESTIONS----&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;1.What query can I write to get the above basic idoc structure?&lt;/P&gt;&lt;P&gt;2.How are the relationships mapped among the tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, points will be awarded for your time and answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 11:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663521#M293908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T11:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Idocs- clarification on their segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663522#M293909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the FM:&lt;/P&gt;&lt;P&gt;IDOC_TYPE_COMPLETE_READ&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>Thu, 26 Oct 2006 12:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663522#M293909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T12:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Idocs- clarification on their segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663523#M293910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , do one thing pick the idoc number if u have one and goto transaction we19 .. give the idoc number and f8 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open the idoc structure ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u will see the records control , data and status records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HH_CONTROL01- Control data for hand held interface.&lt;/P&gt;&lt;P&gt;1.1 /DSD/HH_E1CTHD01- Control data header.&lt;/P&gt;&lt;P&gt;1.1.1 /DSD/HH_E1CTAD02- Control idoc- Application data header&lt;/P&gt;&lt;P&gt;1.1.1.1 /DSD/HH_E1CTID03- Control idoc- Application data item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these all are relating to ur partner system config's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once u open the idoc structure ,, &lt;/P&gt;&lt;P&gt;1 -control interface ,&lt;/P&gt;&lt;P&gt;1.1 means first tag to idoc --&lt;/P&gt;&lt;P&gt;1.1.1 means second tag attached to idoc header ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like that .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.1.1.2 /E1WXX01- Segment for customer enhancement to be used as requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means here the user can enhace the logic or write a code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just open the structure and in we19 and &lt;/P&gt;&lt;P&gt;open the structure ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open the + sign ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on the white portion of line ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will reveal the data ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 13:22:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663523#M293910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Idocs- clarification on their segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663524#M293911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT  ZPGM_BASIC_IDOC_IMPRT_TO_PCNTR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: EDBAS, " Basic types&lt;/P&gt;&lt;P&gt;        IDOCSYN. " Syntax Description for Basic Types&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE IDOCSYN.&lt;/P&gt;&lt;P&gt;DATA: END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT A~IDOCTYP " Basic type&lt;/P&gt;&lt;P&gt;       B~NR      " Sequential Number of Segment in IDoc Type&lt;/P&gt;&lt;P&gt;       B~SEGTYP  " Segment type&lt;/P&gt;&lt;P&gt;       B~PARSEG  " Name of parent segment&lt;/P&gt;&lt;P&gt;       B~PARPNO  " Sequential number of parent segment&lt;/P&gt;&lt;P&gt;       B~PARFLG  " Flag for parent segment: Segment is start of segment&lt;/P&gt;&lt;P&gt;                                                             "  group&lt;/P&gt;&lt;P&gt;       B~MUSTFL  " Flag: Mandatory entry&lt;/P&gt;&lt;P&gt;       B~OCCMIN  " Minimum number of segments in sequence&lt;/P&gt;&lt;P&gt;       B~OCCMAX  " Maximum number of segments in sequence&lt;/P&gt;&lt;P&gt;       B~HLEVEL  " Hierarchy level of IDoc type segment&lt;/P&gt;&lt;P&gt;       INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;       FROM EDBAS AS A INNER JOIN&lt;/P&gt;&lt;P&gt;            IDOCSYN AS B&lt;/P&gt;&lt;P&gt;        ON A&lt;SUB&gt;IDOCTYP EQ B&lt;/SUB&gt;IDOCTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY IDOCTYP NR." Sort the idoctype and according the segment "&lt;/P&gt;&lt;P&gt;                        "number for the right order in the basic idoc&lt;/P&gt;&lt;P&gt;                        "syntax.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  AT NEW IDOCTYP.&lt;/P&gt;&lt;P&gt;      WRITE:/ '***********'.&lt;/P&gt;&lt;P&gt;      WRITE:/1 ITAB-IDOCTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDAT.&lt;/P&gt;&lt;P&gt;     WRITE:/.&lt;/P&gt;&lt;P&gt;     SY-COLNO = 5 + ( ITAB-PARPNO * 2 ). " this displays the segments&lt;/P&gt;&lt;P&gt;                                         "under the respective parent&lt;/P&gt;&lt;P&gt;                                         "segments.&lt;/P&gt;&lt;P&gt;     WRITE AT SY-COLNO ITAB-SEGTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 09:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-idocs-clarification-on-their-segments/m-p/1663524#M293911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T09:23:01Z</dc:date>
    </item>
  </channel>
</rss>

