12-20-2008 9:31 AM
Hi,
I have sale order it contain two line item .
for
000010) first line item i did its invoice
000020) for second its normal.
now i'm changing net price of (000010) first line item which is invoice through BAPI BAPI_SALESORDER_CHANGE
when i check it i.e first line item its net price become zero.
why ?
when i try same manualy through VA02 its become desable i.e not allowed to change then
why BAPI changing it ?
here is my condition value
it_order_cond_INX-CONDCOINHD = '1'.
CLEAR logic_switch.
logic_switch-cond_handl = 'X'.
logic_switch-pricing = 'C'.
APPEND it_order_cond.
APPEND it_order_cond_inx.
CLEAR it_order_cond.
CLEAR it_order_cond_inx.
********** Condition for YKP0 as follwos***********
it_order_cond-ITM_NUMBER = '3'.
it_order_cond-COND_TYPE = 'YKP0'.
it_order_cond-COND_VALUE = '1100.00'.
it_order_cond-CURRENCY = 'USD'.
it_order_cond_inx-ITM_NUMBER = '3'.
it_order_cond_inx-COND_TYPE = 'YKP0'.
it_order_cond_inx-COND_VALUE = 'X'.
it_order_cond_INX-updateflag = 'U'.
it_order_cond_inx-CURRENCY = 'X'.
append it_order_cond.
append it_order_cond_inx.
Code Formatted by: Alvaro Tejada Galindo on Dec 26, 2008 10:15 AM
12-26-2008 1:12 PM
12-26-2008 1:12 PM
09-20-2022 5:24 AM
3 weeks ago
I had the same issue. It would be really helpful if you can provide some insight on this.
3 weeks ago
I had the same issue. It would be really helpful if you can provide some insight on this.