<?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: Creating FI documents in a program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362147#M1234181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you display the source code in SE37, there is a button "function module documentation".&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2009 12:41:07 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2009-03-24T12:41:07Z</dc:date>
    <item>
      <title>Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362135#M1234169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to implement a SAP project for interest calculation, that instead of customer-based it is accounts receivable-based, which pretty much means that all records overdue in table bseg (in this case i use bsad and bsid) have to be included. I have already modified a lot of SAP standards to get the interest indicator to the places customer wants them (va41/42/fb02/fb03 etc.) and while creating the document, the info is written in a special z* table that i've created. So that works mostly, now... I have created a raport that has a selection screen at first and then displays all the data in a ALV grid. I have all the information in that raport that I need to create an invoice.. How do I do that? The invoice should not have a SD document number, but it should have XBLNR - document reference number. I probably have to use a function module, but I can't find the right one, spent the whole yesterday reading forums.... 'rv_invoice_create' I did try to use.. but not really what I'm looking for. Does anyone have any ideas what so ever?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 07:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362135#M1234169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T07:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362136#M1234170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 08:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362136#M1234170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362137#M1234171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try a std. SAP trxn FINT? It calculates the int. on the overdue items &amp;amp; posts a FI doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you can search SDN for further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Amit: It's against forum rules to ask for award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Mar 20, 2009 9:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 08:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362137#M1234171</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-03-20T08:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362138#M1234172</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;Thanks for the answers.&lt;/P&gt;&lt;P&gt;I managed to create an interest invoice with fint, but can't find the invoice anywhere??&lt;/P&gt;&lt;P&gt;Plus FINT creates the interest calculation based on customer information, not as I need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 08:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362138#M1234172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T08:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362139#M1234173</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;have you tried to use standard BAPI for FI posting BAPI_ACC_DOCUMENT_POST or more specific BAPIs like BAPI_ACC_GL_POSTING_POST or BAPI_ACC_BILLING_POST. Check documentation for these BAPI and there are plenty of posts related to these BAPIs on this forum as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 08:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362139#M1234173</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2009-03-20T08:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362140#M1234174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I keep getting an error while using BAPI_ACC_DOCUMENT_POST&lt;/P&gt;&lt;P&gt;Incorrect entry in field OBJ_TYPE: BKPF &amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
doc_header-obj_type   = 'BKPF'.
doc_header-obj_key    = 'test1'.
doc_header-bus_act    = 'RFBU'.
doc_header-username   = sy-uname.
doc_header-doc_date   = ztodat.
doc_header-header_txt = 'test'.
doc_header-comp_code  = '0060'.
doc_header-doc_type   = 'DV'.
doc_header-ref_doc_no = '999999999999'.

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
  EXPORTING
    DOCUMENTHEADER = doc_header
  IMPORTING
     OBJ_TYPE  = obj_type
     OBJ_KEY   = obj_key
     OBJ_SYS   = obj_sys
  TABLES
      CURRENCYAMOUNT = it_ca
      RETURN         = return.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 14:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362140#M1234174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-20T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362141#M1234175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try leaving obj_type and obj_key blank, and likely you will have to pass table "accountgl" and/or "accountreceivable" as well to the BAPI.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 14:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362141#M1234175</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-03-20T14:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362142#M1234176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't make it work.&lt;/P&gt;&lt;P&gt;Is there a demo program for posting DV type documents or has anyone ever done it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 10:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362142#M1234176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-23T10:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362143#M1234177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so..&lt;/P&gt;&lt;P&gt;I think I got the point of this now.&lt;/P&gt;&lt;P&gt;document header is for BKPF table 1 row&lt;/P&gt;&lt;P&gt;accountgl is for BSEG table 2 rows&lt;/P&gt;&lt;P&gt;accountreceivable is for BSID table 1 row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I get them filled up properly, it should work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 15:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362143#M1234177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-23T15:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362144#M1234178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Märten,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should also fill up the CurrencyAmount parameter with an internal table that would have all the amounts you want to assign to both GL accounts and to the A/R line (customer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 16:27:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362144#M1234178</guid>
      <dc:creator>daniel_carvalho</dc:creator>
      <dc:date>2009-03-23T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362145#M1234179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Ok, so..&lt;/P&gt;&lt;P&gt;&amp;gt; I think I got the point of this now.&lt;/P&gt;&lt;P&gt;&amp;gt; document header is for BKPF table 1 row&lt;/P&gt;&lt;P&gt;&amp;gt; accountgl is for BSEG table 2 rows&lt;/P&gt;&lt;P&gt;&amp;gt; accountreceivable is for BSID table 1 row&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; if I get them filled up properly, it should work?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; thanks&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, one "accountgl" per G/L account item, one "accountreceivable" per customer item. It depends how the posted document should look like, from a functional point of view.&lt;/P&gt;&lt;P&gt;This BAPI has an online documentation, with references to yet more documentation, did you check that? Also check the where-used list of that function module in your system for samples of the correct usage.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 16:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362145#M1234179</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-03-23T16:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362146#M1234180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where can I get the online documentation?&lt;/P&gt;&lt;P&gt;I did fill up the currency table, so that should be ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 08:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362146#M1234180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-24T08:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362147#M1234181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you display the source code in SE37, there is a button "function module documentation".&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 12:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362147#M1234181</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-03-24T12:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362148#M1234182</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;Thanks for all the answers.&lt;/P&gt;&lt;P&gt;I used trans. SHDB to generate my own function module, which simulates transaction FB70. It was faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, I will now close this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 08:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362148#M1234182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T08:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362149#M1234183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, using the BAPI would be much more future (i.e. upgrade) proof than creating fragile recordings, but there you go.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362149#M1234183</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-03-26T09:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating FI documents in a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362150#M1234184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;true,&lt;/P&gt;&lt;P&gt;but as I'm little bit in a hurry, I first need to get this worked for testing and then later I will have more time to use the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fi-documents-in-a-program/m-p/5362150#M1234184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:07:30Z</dc:date>
    </item>
  </channel>
</rss>

