<?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 Data element Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801765#M1467545</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;Use the FM IDOC_COMPLETE_SEGMENT_READ. You will get desc and feild lenght info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then populate field catalogue manually. inorder to show the descriptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shanmugavel Chnadrasekaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Mar 2010 07:01:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-25T07:01:25Z</dc:date>
    <item>
      <title>IDOC Segment Data element Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801762#M1467542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDNites,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a custom segment for a custom IDOC and the details of this segment has to be shown in the ALV with field headers having the description corresponding to data element used for IDOC segment fields. But when the segments are created as a structure all the data elements are changed to char automatically so my column header descriptions are coming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 12:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801762#M1467542</guid>
      <dc:creator>itabhishek9</dc:creator>
      <dc:date>2010-03-24T12:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segment Data element Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801763#M1467543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek Gupta &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you question is not clear... Explain in clear way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 16:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801763#M1467543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-24T16:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segment Data element Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801764#M1467544</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;Reiterating my question,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever we create an IDOC segment using WE31, a structure gets created in SE11. But this structure doe not contains the data element used in We31. Inspite of that fields are associated with Char types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When these segments are used to display in ALV, the description does not come up as they are associated with char types. I have a lot of segments in my pgm which are displayed in ALV. Is there a simpler way to get the description in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 04:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801764#M1467544</guid>
      <dc:creator>itabhishek9</dc:creator>
      <dc:date>2010-03-25T04:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segment Data element Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801765#M1467545</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;Use the FM IDOC_COMPLETE_SEGMENT_READ. You will get desc and feild lenght info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then populate field catalogue manually. inorder to show the descriptions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shanmugavel Chnadrasekaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 07:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801765#M1467545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T07:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC Segment Data element Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801766#M1467546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's where in the good old days SAP used to generate several dictionary structures. The &amp;lt;b&amp;gt;E1&lt;STRONG&gt;&amp;lt;/b&amp;gt; structure was used for filling the actual IDoc, so had to consist only of character-type fields. However, then there were also corresponding &amp;lt;b&amp;gt;E2&lt;/STRONG&gt;&amp;lt;/b&amp;gt; (segment definition) and &amp;lt;b&amp;gt;E3*&amp;lt;/b&amp;gt; (segment documentation) structures defined, which contained the relevant information. This doesn't happen any longer, but you can see that for example when looking at E1MARAM, E2MARAM does have the information you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, nowadays those (superfluous) additional dictionary structures are no longer generated and segment information field information is stored in table &lt;STRONG&gt;EDSAPPL&lt;/STRONG&gt;. However, in general you're probably better off to utilize a function module (as indicated by previous poster) in case you worry about versioning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, instead of using function module IDOC_COMPLETE_SEGMENT_READ, I'd use &lt;STRONG&gt;SEGMENT_READ_COMPLETE&lt;/STRONG&gt;, because the latter is released. Should you need complete IDoc information use IDOCTYPE_READ_COMPLETE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Mar 2010 07:24:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-segment-data-element-problem/m-p/6801766#M1467546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-25T07:24:08Z</dc:date>
    </item>
  </channel>
</rss>

