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_BILLINGDOC_CREATEMULTIPLE condition not created

Former Member
0 Kudos

Hi all,

I am trying to create billing document using BAPI_BILLINGDOC_CREATEMULTIPLE.

But the billing document created without pricing condition. Please check the code below:

it_billingdata_in-salesorg = '1000'.

it_billingdata_in-distr_chan = '10'.

it_billingdata_in-division = '00'.

it_billingdata_in-doc_type = 'L2'.

it_billingdata_in-sold_to = '0000002400'.

it_billingdata_in-plant = '1000'.

it_billingdata_in-price_date = '20070412'.

it_billingdata_in-ref_doc = '0007000075'.

it_billingdata_in-material = '100-100'.

it_billingdata_in-req_qty = '1'.

it_billingdata_in-ref_item = '000010'.

it_billingdata_in-doc_number = '0007000075'.

it_billingdata_in-itm_number = '000010'.

it_billingdata_in-currency = 'EUR'.

append it_billingdata_in.

it_conditiondatain-data_index = '1'.

it_conditiondatain-cond_type = 'PR00'.

it_conditiondatain-cond_value = '120'.

it_conditiondatain-COND_CURR = 'EUR'.

append it_conditiondatain.

call function 'BAPI_BILLINGDOC_CREATEMULTIPLE'

exporting

testrun = ''

tables

billingdatain = it_billingdata_in

conditiondatain = it_conditiondatain

errors = it_errors

return = it_billing_return

success = it_success.

Please Help. Thanks.

4 REPLIES 4

Former Member
0 Kudos

HI

Just go through this link

it will definitely help you

<b>

</b>

if it helps reward with points

Regards Rk

Former Member
0 Kudos

Hi,

Thanks for the reference, but this particular reference is related to item category.

I notice there is no item category in my billing document which created using this BAPI function. I have assigned the item category ‘L2N’ but I have another error which is “The item is not relevant for billing”. For your information, I can create billing with this item category using tcode VF01.

best regards.

0 Kudos

Hi ,

I am also facing the similar problem,

did u got any solution on this?Please suggest me on this.

thanks,

Bhanu Gattu

0 Kudos

Please make sure the pricing type and price source allows new pricing during billing.

IMG: SD > Billing > Billing docs > Copy control