cancel
Showing results for 
Search instead for 
Did you mean: 

Auto short close of Sales Orders

siva_vasireddy2
Active Contributor
0 Kudos


Hi All,

presently the sales orders are being Short Closed in Mass through LSMW.

The Requirement is to shorclose the orders every month or 6 months Automatically through Background Job

Please help me how can Achieve this.

Thanking you

Siva

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor
0 Kudos

First you need to assign a zee TCode for that LSMW via SE93 which your ABAPer should be having authorisation.  Of course, for this zee tcode, background option can also be provided.  This background job can be scheduled as per your client requirement.

Once this is done, with USEREXIT_CHECK_VBAP  in program MV45AFZB, read the table VBBE and check whichever order is open, by forcing some Reason for Rejection for those line items,it would be closed. 

G. Lakshmipathi

siva_vasireddy2
Active Contributor
0 Kudos

Sir,

Thank you for the Quick Response we will try to do the same.

Regards

Siva

Answers (0)