Application Development and Automation 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: 
Read only

Function module to create billing document?

Former Member
0 Likes
4,153

hi ,

please tel me the function module to create billing document using 'Sales and Distribution docu number'(VBELN)..

its very urgent..

thanks in advance..

4 REPLIES 4
Read only

Former Member
0 Likes
1,699

RV_INVOICE_CREATE

Read only

Former Member
0 Likes
1,699

HI,

BAPI_BILLINGDOC_CREATE

Try this

awrd points if useful

Bhupal

Read only

0 Likes
1,699

i checked that function module but there is no provision to pass 'sales and distribution docu number' ( there is no import parameter)..

can you tell me, how to pass this vbeln value to that function module..

Read only

0 Likes
1,699

Hi,

In the fM "BAPI_BILLINGDOC_CREATEMULTIPLE",

In the tables Parametr , u need to pass BILLINGDATAIN which contains the SD docu No (REF_DOC).

The following are the 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

Revrt back if any issues,

regards,

Naveen