Skip to Content
author's profile photo Former Member
Former Member

FM/BAPI to create Invoice for Shipment with particular type

Hi All,

I have a requirement to create Proforma invoice for a shipment with a particular invoice type. Are there any FM's/BAPI's available for this. I checked the FM SD_SHIPMENT_CREATE_INVOICE but this takes the invoice type from config.

Regards,

Nilesh.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2010 at 05:30 PM

    check BAPI, BAPI_BILLINGDOC_CREATEMULTIPLE

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Nilesh,

      I have got a similar process.

      When I create a shipment with one or more deliveries, I have generate an invoice "proforma" in background. I think to do it with a worflow.

      I want a module function or method which allows the grouping of invoice for several deliveries as my customazing for the type invoice standard (financial).

      In final, I want two type invoices for one delivery (type standard (financial) and type "proforma"). In standard customazong SAP allow one type only.

      If you have got an idea... thanks a lot in advance for your feedback.

      Regards.

      Lionel

  • Posted on Apr 23, 2010 at 01:30 PM

    Nilesh,

    Correct BAPI is BAPI_BILLINGDOC_CREATEMULTIPLE, get all delivery and customer information and pass it to parameter BILLINGDATAIN

    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'

    TABLES

    billingdatain = t_billing

    return = t_return

    success = t_success.

    Thanks

    RK

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 14, 2010 at 01:27 PM

    Hello everybody,

    Sorry for commenting on already "closed" thread but I think the answer of the problem is not clearly provided.

    As Nilesh said an additional parameter of table BILLINGDATAIN should be populated in order to create Invoice from Delivery with BAPI_BILLINGDOC_CREATEMULTIPLE. The name of the parameter is REF_DOC_CA and it is part of the include structure BAPIVBRK_APPEND (I wouldn't confirm that it is available before ECC6.0). In this paramter the category of the reference document should be entered (in this case "J" for deliveries).

    I think the thread is far more "complete" now : )

    Edited by: Vladimir Hristozov on Oct 14, 2010 3:28 PM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.