Application Development and Automation 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: 
Read only

Update netwr value in VBAK table using a BAPI

Former Member
0 Likes
1,137

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.

3 REPLIES 3
Read only

Former Member
0 Likes
729

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.

Read only

Former Member
0 Likes
729

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

Read only

Former Member
0 Likes
729

Thank you all.