<?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 Segments in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452156#M214060</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;U can use the statments&lt;/P&gt;&lt;P&gt;Pass the idoc data from EDIDD in int table lit_idoc_data.&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;P&gt;Suppose S69 is parent of S72.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: lv_psgnum TYPE idocdsgnum.&lt;/P&gt;&lt;P&gt;Read lit_idoc_data INTO wa_idoc_data&lt;/P&gt;&lt;P&gt;                         WHERE segnam = lc_s69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      lv_psgnum = wa_idoc_data-segnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLEAR wa_idoc_data.&lt;/P&gt;&lt;P&gt;      Read table lit_idoc_data INTO wa_idoc_data&lt;/P&gt;&lt;P&gt;                           WHERE segnam = lc_s72&lt;/P&gt;&lt;P&gt;                           AND psgnum = lv_psgnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2006 06:28:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-20T06:28:57Z</dc:date>
    <item>
      <title>IDOC Segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452154#M214058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if a segment contains another child segment..then how to track the data in the inbound program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 06:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452154#M214058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T06:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452155#M214059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you can use we02 or we05 for tracking the data in the segments..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 06:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452155#M214059</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-07-20T06:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452156#M214060</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;U can use the statments&lt;/P&gt;&lt;P&gt;Pass the idoc data from EDIDD in int table lit_idoc_data.&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;P&gt;Suppose S69 is parent of S72.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: lv_psgnum TYPE idocdsgnum.&lt;/P&gt;&lt;P&gt;Read lit_idoc_data INTO wa_idoc_data&lt;/P&gt;&lt;P&gt;                         WHERE segnam = lc_s69.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      lv_psgnum = wa_idoc_data-segnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLEAR wa_idoc_data.&lt;/P&gt;&lt;P&gt;      Read table lit_idoc_data INTO wa_idoc_data&lt;/P&gt;&lt;P&gt;                           WHERE segnam = lc_s72&lt;/P&gt;&lt;P&gt;                           AND psgnum = lv_psgnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 06:28:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452156#M214060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T06:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segments</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452157#M214061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Idoc Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Idoc Number   (DOCNUM)&lt;/P&gt;&lt;P&gt;---Segment Number (SEGNUM)&lt;/P&gt;&lt;P&gt;---Segment Name   (SEGNAM)&lt;/P&gt;&lt;P&gt;---Parent Segment Number (PSGNUM ).&lt;/P&gt;&lt;P&gt;---Segment DATA ( SDATA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Segment Number&lt;/P&gt;&lt;P&gt;This is sequential Number Given to very Segment.&lt;/P&gt;&lt;P&gt;irrespective of segment.&lt;/P&gt;&lt;P&gt;if there 100 segments are comming in idoc ;&lt;/P&gt;&lt;P&gt;sequence number will start from 1 t0 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Segment Name&lt;/P&gt;&lt;P&gt;Segment name is the qualifier for the DATA stored in SDATA.&lt;/P&gt;&lt;P&gt;since SDATA is 1000 Char u can store data &lt;/P&gt;&lt;P&gt;independent of segment.&lt;/P&gt;&lt;P&gt;U identify the segment Name and Move the SDATA to the &lt;/P&gt;&lt;P&gt;corresponging Segment Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Parent Segment&lt;/P&gt;&lt;P&gt;It specifies who is the parent of that particular segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;SGNUM&lt;/DEL&gt;&lt;DEL&gt;-PSGNUM&lt;/DEL&gt;--&lt;DEL&gt;SEGNAM&lt;/DEL&gt;--SDATA&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00001&lt;/DEL&gt;---000000&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00002&lt;/DEL&gt;---000000&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00003&lt;/DEL&gt;---000002&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00004&lt;/DEL&gt;---000002&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00005&lt;/DEL&gt;---000004&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00006&lt;/DEL&gt;---000004&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00007&lt;/DEL&gt;---000000&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00008&lt;/DEL&gt;---000000&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00009&lt;/DEL&gt;---000008&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00010&lt;/DEL&gt;---000009&lt;/P&gt;&lt;P&gt;&lt;DEL&gt;00011&lt;/DEL&gt;---000010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means Segement is organised in This Manner&lt;/P&gt;&lt;P&gt;( Condsider Herarchy has parent-child relatioship )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;00001  " At parent Level parent 0&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;00002  " At parent Level parent 0&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;00003    " child of 2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;00004    " child of 2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;00005   " Child of 4&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;00006   " Child of 4&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;00007  " At parent Level parent 0&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;00008  " At parent Level parent 0&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;00009     " Child of 8&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;00010     " Child of 9&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;00011     " Child of 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want know the child of Seg 0002 then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table idoc&lt;/P&gt;&lt;P&gt;where psgnum = 0002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Childs parent segnumber  is always = segment number of parent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2006 07:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segments/m-p/1452157#M214061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-20T07:28:18Z</dc:date>
    </item>
  </channel>
</rss>

