<?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: A simple BAPI for VF01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677065#M298574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!!!  does anyone has some example code for my requirement, please??????&lt;/P&gt;&lt;P&gt;i have tried with de code above but i have some problems with it. Please i really need some help....I will be very thankful if somebody could help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance... Andrew.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 12:52:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-28T12:52:38Z</dc:date>
    <item>
      <title>A simple BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677063#M298572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all! this time i'm needing a BAPI for Trx. VF01. An Example would be like this: First i create a salesorder document with Bapi BAPI_SALESORDER_CREATEFROMDAT2. then with this document number i need to create with VF01 the corresponding invoice. I have to put a text in every position of the invoice. I find BAPI_BILLINGDOC_CREATEmultiple. does anyone has an example code for this BAPI? Does anyone has  a better way to please my requirement??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using bapi because i need the Rollback feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance...and as usual, rewarding points for Help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Andrew Argen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Andrew Argen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 19:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677063#M298572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T19:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: A simple BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677064#M298573</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;Check this sample code of creating the billing document using the bapi BAPI_BILLINGDOC_CREATEMULTIPLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_billing-salesorg = vbak-vkorg.&lt;/P&gt;&lt;P&gt;t_billing-DISTR_CHAN = vbak-vtweg.&lt;/P&gt;&lt;P&gt;t_billing-DIVISION = vbak-spart.&lt;/P&gt;&lt;P&gt;t_billing-DOC_TYPE = vbak-auart.&lt;/P&gt;&lt;P&gt;t_billing-ref_doc = vbak-vbeln.&lt;/P&gt;&lt;P&gt;t_billing-ref_item = vbap-posnr.&lt;/P&gt;&lt;P&gt;t_billing-doc_number = vbak-vbeln.&lt;/P&gt;&lt;P&gt;t_billing-ITM_NUMBER = vbap-posnr.&lt;/P&gt;&lt;P&gt;t_billing-ordbilltyp = 'BILLING TYPE'.&lt;/P&gt;&lt;P&gt;t_billing-price_date = sy-datum.&lt;/P&gt;&lt;P&gt;t_billing-ref_doc_ca = vbak-vbtyp.&lt;/P&gt;&lt;P&gt;t_billing-sold_to = vbak-kunnr.&lt;/P&gt;&lt;P&gt;t_billing-material = vbap-matnr.&lt;/P&gt;&lt;P&gt;t_billing-plant = vbap-werks.&lt;/P&gt;&lt;P&gt;APPEND t_billing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;billingdatain = t_billing&lt;/P&gt;&lt;P&gt;return = t_return&lt;/P&gt;&lt;P&gt;success = t_success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 19:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677064#M298573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T19:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: A simple BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677065#M298574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!!!  does anyone has some example code for my requirement, please??????&lt;/P&gt;&lt;P&gt;i have tried with de code above but i have some problems with it. Please i really need some help....I will be very thankful if somebody could help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance... Andrew.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 12:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677065#M298574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: A simple BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677066#M298575</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 can do that with the help of  &amp;lt;b&amp;gt;GN_INVOICE_CREATE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &amp;lt;b&amp;gt;RV_INVOICE_CREATE&amp;lt;/b&amp;gt; Function module. use any one of them and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 12:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677066#M298575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T12:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: A simple BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677067#M298576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Vijay Babu Dudla, the problem is that i need to use de Rollback feature of the Bapis. Can i do something like this with the function modules that you gave me????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for the advice and i promise you will be rewarded for your  amiability, since I am really needing fast aid .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 13:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-simple-bapi-for-vf01/m-p/1677067#M298576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T13:05:38Z</dc:date>
    </item>
  </channel>
</rss>

