Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Auto-close sales order : Exceptions in FM SD_WF_ORDER_REJECT

$
0
0

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


Viewing all articles
Browse latest Browse all 8332

Trending Articles