cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture SLG1 errors if something goes wrong in Update Task FM ??

ashishverma9871
Discoverer
0 Kudos
465

Hi,

I am having a scenario where I need to update the Queue for a Warehouse order based on some conditions.

If some conditions fail, then I am capturing the error messages using Application Logs. If everything goes well, I am using a custom FM and calling it in an update task to update the Warehouse Order(done by using a standard FM).

There could be a possibility that the warehouse order that is getting updating is locked & getting processed by some user. In that case the Warehouse order will not be updated due the lock and the WO update will be failed.

Can somebody tell me how I can capture the error messages occured during an update task and display it in SLG1 using the same external ID/ Log Handle.??

Accepted Solutions (0)

Answers (1)

Answers (1)

matt
Active Contributor
0 Kudos

Send the same External ID, object and subobject to the update function module and use that. I tried sending the handle, so it'd all be the same log, but couldn't get it to work.

When you run SLG1, you still get everything.