<?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 BAPI for VF01 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638752#M1572012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have a requirement to create billing request based on Sales order, I tried BAPI (BAPI_BILLINGDOC_CREATEMULTIPLE).&lt;/P&gt;&lt;P&gt;This bapi create document no for each sales order, But i want one billing request irespective of number of sales order, say some example i have 2 sales order with n number of item, which it has to be create single billing request number, So kindly guide me the same which BAPI i have to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2011 05:57:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-03T05:57:34Z</dc:date>
    <item>
      <title>BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638752#M1572012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I have a requirement to create billing request based on Sales order, I tried BAPI (BAPI_BILLINGDOC_CREATEMULTIPLE).&lt;/P&gt;&lt;P&gt;This bapi create document no for each sales order, But i want one billing request irespective of number of sales order, say some example i have 2 sales order with n number of item, which it has to be create single billing request number, So kindly guide me the same which BAPI i have to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 05:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638752#M1572012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-03T05:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638753#M1572013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RV_INVOICE_CREATE'
            EXPORTING
              invoice_date  = sy-datum
              vbsk_i        = vbsk_i
              with_posting  = 'B'
              id_no_enqueue = 'X'
            IMPORTING
              vbsk_e        = vbsk_i
            TABLES
              xkomfk        = xkomfk
              xkomv         = xkomv
              xthead        = xthead
              xvbfs         = xvbfs
              xvbpa         = xvbpa
              xvbrk         = xvbrk
              xvbrp         = xvbrp
              xvbss         = xvbss.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here internal table &lt;STRONG&gt;xkomfk&lt;/STRONG&gt; will contain ur orders and their line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foe Ex :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;vbsk_i-smart = 'F'.
        vbsk_i-ernam = sy-uname.
        vbsk_i-erdat = sy-datum.
        vbsk_i-uzeit = sy-uzeit.

        LOOP AT it_final INTO wa_final WHERE cb = 'X'.

          wa_xkomfk-vbeln = wa_final-vbeln.
          wa_xkomfk-posnr = wa_final-posnr.
          wa_xkomfk-fkimg = wa_final-lfimg.
          wa_xkomfk-vrkme = wa_final-meins.
          wa_xkomfk-vbtyp = 'J'.

          APPEND wa_xkomfk TO xkomfk.
          CLEAR wa_xkomfk.

        ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 11:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638753#M1572013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-03T11:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638754#M1572014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't use RV_INVOICE_CREATE as the other poster suggested. It won't work either.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need a different BAPI.  If you have multiple documents billing to separate documents, then you have criteria that are causing the documents to split.  Check your billing copy control routines and the specification of the ZUKRI values.  Also check any other fields which would cause the comparision to split: sold-to/payer, region, assignment, address number, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 15:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638754#M1572014</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-03-03T15:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI for VF01</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638755#M1572015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    We are tried to create billing with 2 sales order with same document type , the billing created for both sales document as one billing document, the same thing we are doing in BAPI it create seperate billing document for each sales order. I dont want each billing document, i want one billing document irrespective of number of sales order..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 07:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-for-vf01/m-p/7638755#M1572015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-14T07:16:32Z</dc:date>
    </item>
  </channel>
</rss>

