Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

header condition type in BAPI_BILLINGDOC_CREATEMULTIPLE.

$
0
0

@ 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

.


Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>