<?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 fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036232#M1350164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try transaction code WE31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Aug 2009 11:01:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-01T11:01:37Z</dc:date>
    <item>
      <title>idoc segment fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036228#M1350160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which tcode is used to see the idoc segement fields basically i want to see the orders01 idoc segment fields,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked we60 ,we30 etc but not much use. I want to see the descripton of the fields as well. I mean i want to know which field for sales org , which field for po in sales order etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 19:03:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036228#M1350160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T19:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: idoc segment fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036229#M1350161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;  Check tcode-WE61.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 19:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036229#M1350161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T19:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: idoc segment fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036230#M1350162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks verma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any other tcode which gives the discription of the fields of the segments etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2009 04:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036230#M1350162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-01T04:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: idoc segment fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036231#M1350163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WE61 itself you can find the description of the fields &amp;amp; segments...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2009 06:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036231#M1350163</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2009-08-01T06:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: idoc segment fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036232#M1350164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try transaction code WE31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2009 11:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036232#M1350164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-01T11:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: idoc segment fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036233#M1350165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Here is a brief info to find field segments of an idoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Interpreting an IDoc Segment Info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All IDoc data records are exchanged in a fixed format, regardless of the segment type. The segmentu2019s true structure is stored in R/3u2019s repository as a DDic structure of the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/3 is only interested in the segment name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The segment info tells the IDoc processor how the current segment data is structured and should be interpreted. The information, which is usually the only interest, is the name of the segment EDID4-SEGNAM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Segment name tells the data structure &lt;/P&gt;&lt;P&gt;The segment name corresponds to a data dictionary structure with the same name, which has been created automatically when defining the IDoc segment definition with transaction WE31 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remaining information is only for foreign systems &lt;/P&gt;&lt;P&gt;For most applications, the remaining information in the segment info can be ignored as being redundant. Some older, non-SAP-compliant partners may require it. E.g. the IDoc segment info will also store the unique segment number for systems, which require numeric segment identification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have the segment made up for processing in an ABAP, it is usually wise to move the segment data into a structure, which matches the segment definition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a segment of type e1maram the following coding is commonly used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data in EDID4-SDATA 
TABLES: e1maram.
   . . . 
MOVE edidd-sdata TO e1maram.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can access the fields of the IDoc segment EDIDD-SDATA as fields of the structure e1maram  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data in EDID4-SDATA 
WRITE: e1maram-matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample coding &lt;/P&gt;&lt;P&gt;The following coding sample, shows how you may read a MATMAS IDoc and extract the data for the MARA and MARC segments to some internal variables and tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: tmarc AS STANDARD TABLE OF e1marcm 

            WITH HEADER LINE.

LOOP AT edidd.

   CASE edidd-segnam.

         WHEN 'E1MARAM'.

          MOVE edidd-sdata TO xmara.

         WHEN 'E1MARCM'.

           MOVE edidd-sdata TO tmarc.

          APPEND tmarc.

   ENDCASE.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2009 11:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-fields/m-p/6036233#M1350165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-01T11:20:53Z</dc:date>
    </item>
  </channel>
</rss>

