on 04-28-2009 3:18 PM
Hi, experts
I want to create a sale order by using BAPI, but as specific need I want to input the Condition value into order items rather than Condition type.
I have already configure the Condition type that I could input Condition value directly in the front-end by tcode va01. But I still could not input them by using BAPI.
Is there any sample code for the input of table ORDER_CONDITIONS_IN?
My code is as below:
order_conditions_in-itm_number = n.
order_conditions_in-cond_type = t_price_list-kschl.
order_conditions_in-currency = currency.
order_conditions_in-stat_con = 'X'.
order_conditions_in-cond_unit = 'PCS'.
order_conditions_in-condvalue = t_price_list-kbetr.
order_conditions_in-cond_value = t_price_list-kbetr.
order_conditions_in-cond_p_unt = 1.
order_conditions_in-condorigin = 'C'.
order_conditions_in-calctypcon = 'C'.
order_conditions_in-condcntrl = 'E'.
order_conditions_in-condchaman = 'X'.
order_conditions_in-cond_updat = 'X'.
Does any body know?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.