Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO USE BAPI BAPI_BILLINGDOC_CREATEMULTIPLE

former_member617185
Participant
0 Kudos

HI ALL:

I want to create billing num. in t-code 'VF01'. It is just to input a delivery num.

then press zhe 'save' button.

How to use the bapi BAPI_BILLINGDOC_CREATEMULTIPLE, I mean which

variable should be given. Is there any examples.

THANKS FIRST.

3 REPLIES 3

former_member404244
Active Contributor
0 Kudos

Hi,

check the below link..

reward if helpful.

Regards,

nagaraj

0 Kudos

THANK YOU . I HAVE SOLVED THE PROBLEM.

Former Member
0 Kudos

Hi,

Following is the documentation provided by SAP in the BAPI transaction:

Functionality

This method can be used to create billing documents.

As input parameters, you are expected to enter information on the items to be processed in the table BILLING_DATA_IN. This data is processed and produces a batch of billing documents. You also have the option of transferring information for entry in the input structure CREATOR_DATA_IN. If this information is already determined, this is transferred into each billing document header. You can also enter optional conditions for the individual items to be processed in the input table CONDITION_DATA_IN, as well as means of payment information in the table CCARD_DATA_IN.

This method can be used in the simulation run (TESTRUN = 'X') and also in the update run including the update (TESTRUN = ' '). Both execution variants deliver errors that may have occurred back to the output table RETURN. Information on successful processing is sent back in the output table SUCCESS. This output table delivers the document numbers of the billing documents created in particular.

Notes

Required entries :

BILLING_DATA_IN-SALESORG

BILLING_DATA_IN-DISTR_CHAN

BILLING_DATA_IN-DIVISION

BILLING_DATA_IN-DOC_TYPE

BILLING_DATA_IN-ORDBILLTYP

BILLING_DATA_IN-SOLD_TO

BILLING_DATA_IN-ITEM_CATEG

BILLING_DATA_IN-REQ_QTY

BILLING_DATA_IN-SALES_UNIT

BILLING_DATA_IN-CURRENCY

If a material is billed for which a material master needs to be

determined (BILLING_DATA_IN-NO_MATMAST = ' '), you must make the

following entries :

BILLING_DATA_IN-PLANT

BILLING_DATA_IN-MATERIAL

If, on the other hand, a material is billed for which no material

master is to be determined (BILLING_DATA_IN_NO_MATMAST = 'X'), you

must make the following entries :

BILLING_DATA_IN-COUNTRY

BILLING_DATA_IN-MATERIAL

BILLING_DATA_IN-TAXCL_1MAT

COMMIT control :

In the update run (TESTRUN = ' ') the update is carried out by COMMIT

WORK as part of the method available.

I guess using this, you will be able to populate the required things to create the billing documents.

Thanks

Vijay