<?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 How to get structure from Idoc using function module? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-structure-from-idoc-using-function-module/m-p/7879294#M1594646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a function module in order to get the structure of a message type used for iDoc. The aim is to get the data element from the different fields in order to check authority if the data element is BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 07:33:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-26T07:33:53Z</dc:date>
    <item>
      <title>How to get structure from Idoc using function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-structure-from-idoc-using-function-module/m-p/7879294#M1594646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a function module in order to get the structure of a message type used for iDoc. The aim is to get the data element from the different fields in order to check authority if the data element is BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-structure-from-idoc-using-function-module/m-p/7879294#M1594646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T07:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get structure from Idoc using function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-structure-from-idoc-using-function-module/m-p/7879295#M1594647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the FM "IDOC_TYPE_COMPLETE_READ" which will get you the complete details of the IDOC type along with data elements referred for each fields in the segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="qupte"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The aim is to get the data element from the different fields in order to check authority if the data element is BUKRS.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if i understood the above requirement, if you could provide more info on the requirement, i guess you might get better a better solution from the forum. As there are other data elements with different names for company code (just look up *&lt;STRONG&gt;BUKRS&lt;/STRONG&gt;* in SE11 under Data Elements to see what i mean), not sure if you can cover it all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 08:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-structure-from-idoc-using-function-module/m-p/7879295#M1594647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-26T08:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get structure from Idoc using function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-structure-from-idoc-using-function-module/m-p/7879296#M1594648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is probably several ways, one is to determine the IDOC type, e.g. via EDI_DOCTYPS_OF_MESTYP, then you can read the IDOC type segments via IDOCTYPE_READ and finally the segments details via SEGMENT_READ.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 08:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-structure-from-idoc-using-function-module/m-p/7879296#M1594648</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-05-26T08:04:17Z</dc:date>
    </item>
  </channel>
</rss>

