‎2009 Mar 20 7:36 AM
Hi Experts,
my requirement is to read the falat file and update the value sto vbak,knkk tables.I've updated knkk successfully.but i'm facing problem while updating VBAK using BAPI_SALESORDER_CHANGE.Icould not find netwr field in structures of bapi .Please help me out.
‎2009 Mar 20 8:25 AM
for netwr update you have to use strcture conditions_in = lt_conditions_in in sales order chnage BAPI
and in the strure conditions_in pass this filed cond_value
cond_value = netwr.
‎2009 Mar 20 9:05 AM
MOVE :
wa_conditions_in-cond_value = lv_cond_value.
wa_conditions_in-currency = wa_vbak-waerk.
APPEND wa_conditions_in TO i_conditions_in_temp.
MOVE :
c_x TO wa_conditions_inx-cond_st_no,
c_x TO wa_conditions_inx-cond_count,
c_x TO wa_conditions_inx-cond_type,
c_x TO wa_conditions_inx-cond_value ,
c_x TO wa_conditions_inx-currency .
This will help you
regards
‎2009 May 27 8:30 AM