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: 

bapi throwing an error

Former Member
0 Kudos
121

HI All,

Iam using Bapi -- BAPI_BILLINGDOC_CREATE_MULTIPLE to create billing document(invoice) for the sales order.

Iam passing all the necessary information for the bapi. Also it is generating the document but at the same time throwing an error

saying.

Document 90000102 saved (error in account determination).

Due to this, Iam unable to release this document to accounting.

What could be the problem.

Please guide me.

Regards,

Murali

2 REPLIES 2

BH2408
Active Contributor
0 Kudos
71

HI ,

FM is BAPI_BILLINGDOC_CREATEMULTIPLE not BAPI_BILLINGDOC_CREATE_MULTIPLE.

Have u passed the all the required fields...

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

Reagrds,

Bharani

Former Member
0 Kudos
71

Check the error Analysis in Transaction code VF03 -> Menu Option Environment -> Acc.determ.analysis -> Revenue Accounts/Reconcilation Accounts.

Regards

Vinod