cancel
Showing results for 
Search instead for 
Did you mean: 

Abort update immediatly... How?

Former Member
0 Kudos

i am setting an error message and ABORT = 1 in the start routine of the update rules... My logic is such that this error is always set during the first datapacket... If I do that, I want the process to be terminated immediatly whithout processing the remaining datapackets at all... right now, it sets the error message, turns the request red, but still all the datapackets gets processed unnecessarily.

if i have lets say 5 million records, and request is set to red in the first datapacket, there is no reason to process all the data, unless u have excess system resources....

any clue on how to terminate it immediatly after first datapacket?

Thanks

Gova

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gova,

I think you need to set a global variable depending on the condition to set abort = 1 in the first package. Check the value of the global variable in all the other packages and set abort = 1 or maybe 2 for all the other packages.

regards

Siggi

Former Member
0 Kudos

Siggi,

Thats what exactly I am doing now...

I don't think u understood my problem. I don't want the remaining datapackets to be processed at all, when first datapacket aborts. i want the process to terminate immediatly after the first datapacket without even attempting to process remaining datapackets.

Thanks

Gova

Former Member
0 Kudos

Try "no update- no reporting" in the error handling from the infopackage.

Former Member
0 Kudos

Hi Gova,

I think I got your problem. I already faced the same and couldn't find another solution as the one I suggested. If you do it in that way, at least each package will become red and the process will stop, well not immediate but rather quick.

regards

Siggi

Former Member
0 Kudos

Siggi,

Thanks for the suggestion. I am alredy doing that where each packet becmomes red and doesn't load in into the target.

may be there isn't a way to immediatly stop the job, until some one comes up with a solution.

Thanks