cancel
Showing results for 
Search instead for 
Did you mean: 

Closing Sales Order

Former Member
0 Kudos

Dear SD Guru,

Please help me how to close pending as well as completed sales order at the end of each month. So the user canu2019t use those sales order in the future.

After putting the reason for rejection user are removing it and reusing it. We want to stop it.

If once order was closed, user will not be able to change and use it again.

Regards,

KOTA

Accepted Solutions (0)

Answers (3)

Answers (3)

alpesh_saparia3
Active Contributor
0 Kudos

Hi,

One way of controlling is through user exit, where you can check if order is closed (i.e. If reason of rejection is given in Order) then you can stop going into change mode.

User exit USEREXIT_CHECK_VBAK USING US_DIALOG in program MV45AFZB

  • This Userexit can be used to add additional logic for *

  • checking the header for completeness and consistency.

  • US_DIALOG - Indicator, that can be used to suppress *

  • dialogs in certain routines, e.g. in a *

  • copy routine. *

Lakshmipathi
Active Contributor
0 Kudos

Through basis authorization control, you can deny giving access to VA02 for those users.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Dear Sir,

If u want to see the pending sales order then u just go on VA05 and not down the pending orders with reason.

If u want that other user can not use this order then u just delete or complete that sales order.

Regards,

Sandip Shaktavat