<?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: BAPI for read FI documents in material document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812743#M1126401</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;Here are some methods to find FI document from Material Document:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4005949"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 13:16:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-02T13:16:36Z</dc:date>
    <item>
      <title>BAPI for read FI documents in material document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812741#M1126399</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;with transaction ME23N i can display Material Document and in the tab 'Doc. info' i can display FI Documents if i click on the button. I'm looking for a BAPI to read this FI documents from the material document. &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;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 10:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812741#M1126399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T10:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for read FI documents in material document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812742#M1126400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 13:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812742#M1126400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T13:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for read FI documents in material document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812743#M1126401</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;Here are some methods to find FI document from Material Document:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4005949"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 13:16:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812743#M1126401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for read FI documents in material document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812744#M1126402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean that you need to know what BAPI's a particular transaction uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Find out the package of the transaction.  &lt;/P&gt;&lt;P&gt;Start Va01 go to system --&amp;gt; status.  &lt;/P&gt;&lt;P&gt;Double click on transaction  &lt;/P&gt;&lt;P&gt;Package is VA  &lt;/P&gt;&lt;P&gt;Open this package in SE80  &lt;/P&gt;&lt;P&gt;Open business engineering--&amp;gt;Business object types  &lt;/P&gt;&lt;P&gt;Find the BO which sounds the most appropriate  &lt;/P&gt;&lt;P&gt;I would suggest BUS2032 Sales Order  &lt;/P&gt;&lt;P&gt;Double click.  &lt;/P&gt;&lt;P&gt;Open methods.  &lt;/P&gt;&lt;P&gt;Find the released method with from data or something similar in the name  &lt;/P&gt;&lt;P&gt;, Createfromdat2  &lt;/P&gt;&lt;P&gt;Position the cursor in it and click the program button  &lt;/P&gt;&lt;P&gt;Scroll down to find the bapi used in this method  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this way you can also find out programs and FM's  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Start va01 go to system--&amp;gt;status  &lt;/P&gt;&lt;P&gt;Double click transaction VA01  &lt;/P&gt;&lt;P&gt;Double click on package  &lt;/P&gt;&lt;P&gt;Read the application component. (this is SD-SLS Sales)  &lt;/P&gt;&lt;P&gt;Then open the transaction BAPI  &lt;/P&gt;&lt;P&gt;Sales and distribution&lt;DEL&gt;&amp;gt;Sales&lt;/DEL&gt;&amp;gt;sales order  &lt;/P&gt;&lt;P&gt;createfromdat2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 07:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812744#M1126402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T07:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for read FI documents in material document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812745#M1126403</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;You may use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'AC_DOCUMENT_RECORD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;                i_awtyp  = mawtyp    &lt;/P&gt;&lt;P&gt;                i_awref  = mawref    "Material Document&lt;/P&gt;&lt;P&gt;                i_aworg  = maworg    "Accounting Year-MKPF&lt;/P&gt;&lt;P&gt;                x_dialog = ' '&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;                t_documents = t_documents&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;                 OTHERS       = 01.&lt;/P&gt;&lt;P&gt;where       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mawtyp_rmrp(5) VALUE 'RMRP ',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return all FI documents pertaining to a given material document. In case you are interested in specific ntype of records, then this can be achieved by using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at t_documents.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regqrds,&lt;/P&gt;&lt;P&gt;Raju chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 08:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-read-fi-documents-in-material-document/m-p/4812745#M1126403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T08:49:53Z</dc:date>
    </item>
  </channel>
</rss>

