Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SD_SHIPMENT_PROCESS FM in Background execution

SridharKarra
Participant
0 Likes
640

Hello All,

I am calling the FM SD_SHIPMENT_PROCESS in background mode to update the Shipment Start date and also for PGI.

Shipment start date gets updated but the program errors out during PGI due to following error:

Error during conversion of unit of measure; UoM is missing AMT-> 70002201 0000008234

I know why this error is coming.

My question is the background job gets canceled when the above error is thrown by FM even though FM has a E_LOGFILE importing parameter. I do not want the ERROR to cancel the background job. It should keep on going.

Any Hints would be useful.

Regards,

Sridhar Karra.

Hello All,

I am calling the FM SD_SHIPMENT_PROCESS in background mode to update the Shipment Start date and also for PGI.

Shipment start date gets updated but the program errors out during PGI due to following error:

Error during conversion of unit of measure; UoM is missing AMT-> 70002201 0000008234

I know why this error is coming.

My question is the background job gets canceled when the above error is thrown by FM even though FM has a E_LOGFILE importing parameter. I do not want the ERROR to cancel the background job. It should keep on going.

Any Hints would be useful.

Regards,

Sridhar Karra.

1 REPLY 1
Read only

Former Member
0 Likes
454

Hi,

In source code, check if in function call has EXCEPTIONS parameter. If not, try use it.