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: 

Question with function module / Bapi

Former Member
0 Kudos
89

I am trying to test function module/ Bapi:

BAPI_BILLINGDOC_CREATEMULTIPLE in se37. I gave all the basic parameers required.

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

But when I execute, it says 'Company code not defined' in the error messages. I don't see any company code field in the above structure. What am I doing wrong?

Please give your input.

Thanks,

Krishen

1 ACCEPTED SOLUTION

Former Member
0 Kudos
54

Might be the company code is not defined for the sales organization..

Thanks,

Naren

1 REPLY 1

Former Member
0 Kudos
55

Might be the company code is not defined for the sales organization..

Thanks,

Naren