Hi Experts,
I created a program with the function module SD_WF_ORDER_REJECT for auto-close undelivered sales orders whose date exceeds 60 days and I schedule a periodical job to run this program in background, but the job is canceled due to different reasons:
- Material X is not defined for sales org. X distr.chan.X, language IT
- Can not modify a fully charged or canceled orders...
In my program I select with following parameters: VBUK~LFGSK = 'A' AND VBUK~VBTYP ='C'.
how to handle exceptions in FM SD_WF_ORDER_REJECT ?
Many thanks in advance!
ismail