Skip to Content
0
Former Member
Nov 25, 2013 at 05:47 AM

header condition type in BAPI_BILLINGDOC_CREATEMULTIPLE.

1209 Views

@ Hi Experts,

I am creating billing document with reference to sales order(multiple sales orders),

and i need to pass header condition type and its value while creating billing through "BAPI_BILLINGDOC_CREATEMULTIPLE".

for that i am passing like this '"t_conditions-DATA_INDEX = 0."

in this case condition type and its value is not appearing billing document



This is my code:


loop at it_vbap into wa_vbap.

t_conditions-DATA_INDEX = 0.

t_conditions-cond_type = 'ZCAS'.

t_conditions-cond_value = '500.0000'.

APPEND t_conditions.


CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'


TABLES

billingdatain = t_billing

CONDITIONDATAIN = t_conditions

return = t_return

success = t_success

.