cancel
Showing results for 
Search instead for 
Did you mean: 

Change User Status of sales orders collectively

Former Member
0 Kudos

Dear,

We have setup a status profile on order item and know you can change the status via V.26 or directly in VA02.

However we could not find a way yet to update several lines and / or orders at once (checked SCN, OSS and other fora).

MASS change is not an option here, either is VA05(N).

So, no transaction available for "mass" maintaining sales order user statusses?

Anyone experience with creating a program for this purpose?

Someone with tips on where to find more information?

Thanks in advance!

Best regards,

Geert

Accepted Solutions (1)

Accepted Solutions (1)

siva_vasireddy2
Active Contributor

Hi,

   Did you able to achieve the requirement.

Former Member
0 Kudos

Hi Siva,

I need a transaction / program that allows users to release order lines on a daily basis, even multiple times a day.

Not sure if LSMW is an option then as it would require an uploadfile.

Could you maybe elaborate more on how you see frequent user interaction and LSMW go together?

Thanks for your reply!

Best regards,

Geert

moazzam_ali
Active Contributor
0 Kudos

Dear

If you are not able to find any program or Tcode for releasing sale orders then you can create your own program. Please discuss this with your ABAPER and create a program using BDC recording. This program will be in ALV and there will be a button on top to release sale orders. On this button there will be BDC recording. Tell this to your ABAPER, if he is good in his field then this will be a piece of cake for him

Thank$

former_member186385
Active Contributor
0 Kudos

Hi,

Check with report SAPKKA12

and as alternative option you can also

Try with Function module  STATUS_CHANGE_EXTERN .

If you have multiple records, probably you have to create a new FM based on the above one

since it is not having multiple selection option, you can go with Z

regards,

santosh

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank you all for your valuable inputs!

Former Member
0 Kudos

Hello Geert,

Please try this FM for updating User status,

'STATUS_CHANGE_EXTERN'

All you need is to pass Object Number and Status value for this. Hope it helps. Thanks.

    CALL FUNCTION 'STATUS_CHANGE_EXTERN'

      EXPORTING

        CLIENT                LIKE         SY-MANDT

        OBJNR                 LIKE         I_VBAK-OBJNR

        USER STATUS     LIKE         'Which you want to be filled'

Former Member
0 Kudos

Hi,

There is no mass T code for changing the user status, It will be done manually or by using FM STATUS_CHANGE_EXTERN, If your requirment is to change the user status based on some activity, like save of invoice etc, then you have to write the code in some enhancement spot fo your activity and call FM to change the status. Please check for the enque/deque issue in this case, You need to take crae of excetion that if order is block(somebody has opened in change mode).

Thanks

Sidharth Garg

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

   try if you can Achieve it Through LSMW.

Siva