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

Bapi to create biling document

Former Member
0 Likes
366

Hi Experts:

I am using this bapi to created billind doc using delivery number and adding pricing condition.

GT_BILLINGDATAIN-REF_DOC = G_VBELN.

GT_BILLINGDATAIN-REF_DOC_CA = 'J'.

APPEND GT_BILLINGDATAIN.

*item condition type

GT_CONDITIONDATAIN-DATA_INDEX = '1'.

GT_CONDITIONDATAIN-COND_TYPE = 'ZD01'.

GT_CONDITIONDATAIN-COND_VALUE = 15.

GT_CONDITIONDATAIN-COND_CURR = G_CURRENCY.

APPEND GT_CONDITIONDATAIN.

CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'

TABLES

BILLINGDATAIN = GT_BILLINGDATAIN

CONDITIONDATAIN = GT_CONDITIONDATAIN

RETURN = GT_RETURN

SUCCESS = GT_SUCCESS

The invoice gets created but Pricing Condition did not.

Is there anyway you guys help me out.

thanks in advance.

1 REPLY 1
Read only

Former Member
0 Likes
320

for help just reply to this message