Application Development 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: 

BAPI_SALESORDER_CHANGE net price zero showing

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

4 REPLIES 4

Former Member
0 Kudos

suba14
Explorer
0 Kudos

any solution fo rthis?

0 Kudos

I had the same issue. It would be really helpful if you can provide some insight on this.

I had the same issue. It would be really helpful if you can provide some insight on this.