cancel
Showing results for 
Search instead for 
Did you mean: 

update the status of SO manually

Former Member
0 Kudos

Hi all

For the consignment Fill up orders the status was showing being processed even though it is delievered completely because incorrect config settings. This has been corrected and now it is showing the status as completed.

For the Old orders is there any program to update the status of these orders to complete?

Regards

Prakash

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

Just check the transaction MASS(select object BUS2032) here u can update all the sales order status in a single stretch.

For any quiries revert back to me.

Regards,

kishore.

Former Member
0 Kudos

Dear Kishore

In T.code MASS how to change the status of the Order? Kindly give me the steps.

Regards

Prakash

Former Member
0 Kudos

HI,

Tcode MASS and the enter object type BUS2032 and execute and select Sales order header data and execute and select "choose selection fields" and select the filed order reason filed (Order reason (MASSSDHEAD-AUGRU)) and press ok and now enter the sales order nums in the tab "data records to be changed " and eter the new vales for order reason and press "execute" in the new screnn select the filed " order reason "from choose selection fields" and enter the new value and then select "carry out mass change" then system automaticallly chanes with the new updates.

Any quiries revert back to me.

Regards,

kishore.

Former Member
0 Kudos

Dear kishore

Thanks for the Reply.

MASS is not used for updating the status of the Order.

what you have told is the updating the field of a sales order which i know it.

Regards

Prakash

Former Member
0 Kudos

Hi,

I had the same problem in Delivery Transaction. So I have manually updated all the previous records by using the following code.

TABLES:vbuk,vbup.

DATA:BEGIN OF it_vbak OCCURS 0,

vbeln TYPE vbrk-vbeln,

vgbel TYPE vbrp-vgbel,

vgpos TYPE vbrp-vgpos,

END OF it_vbrk.

SELECT-OPTIONS:s_vbeln FOR vbuk-vbeln.

START-OF-SELECTION.

REFRESH:it_vbrk.

if not s_vbeln[] is initial.

SELECT vbeln

vgbel

vgpos

FROM vbrp

INTO TABLE it_vbrk

WHERE vgbel IN s_vbeln.

IF sy-subrc = 0.

LOOP AT it_vbrk.

UPDATE vbuk

SET lfstk = ' '

fkstk = 'C'

gbstk = 'C'

WHERE vbeln = it_vbrk-vgbel.

UPDATE vbup

SET lfsta = ' '

fksta = 'C'

gbsta = 'C'

WHERE vbeln = it_vbrk-vgbel

AND posnr = it_vbrk-vgpos.

CLEAR it_vbrk.

ENDLOOP.

SUBMIT rvv05ivb

WITH i_l IN s_vbeln

WITH VKDFS_L = 'X'.

ENDIF.

endif.

END-OF-SELECTION.

Hope this will help.

Regards,

Vishal