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

Changing reason code for sales order

faisal_pc
Active Contributor
0 Likes
1,785

Hi All,

I am creating a report for doing the mass update on sales orders. I have a requirement to change the reason code also for given sales orders. Could anyone please tell me which is the table field for reason code?. Is there any BAPI or something to update the reason code?. Thanks a lot for your helps in advance.

Notes:

1) I am referring to reason code in VA03->Header details->Status tab->Object Status button->Reason codes under Status w/o status no.

2)I have already checked in many threads and couldn't find an answer to this.

Thanks,

Faisal

2 REPLIES 2
Read only

paul_max1
Explorer
0 Likes
876

Hi Faisal,

Check for VBUP table.

Read only

alejandro_mejias
Active Participant
0 Likes
876

Check program RBSVSIM0 (status simulation), tables jest, jsto, etc. It can give you an idea on how to update status. Probably you will need to call STATUS_UPDATE_DIALOG fm

best regards