Application Development 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: 

Error Handling for Background/Update Tasks (Transfer Order creation) - How?

Former Member
0 Kudos

Hi,

I have a standard process for creating a Transfer Order and 2 user-exits that I have implemented.

The user exits are used to transfer information during Transfer Order creation.

However, the user-exits also check data in table TVARV and other. As such, error handling needs to be implemented, since the T.O. might or might not go through, depending on data validation and related.

However, the user-exits are implemented during creation, which is an update task that runs in the background. This makes it impossible to output any information or error messages.

What else can be done in regards to outputting a message, since the user will need to see some sort of message that the process failed, that the T.O. didnu2019t confirm? Can an SAP inbox message be created and how?

Please help.

Thank You,

John

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try using FM SO_NEW_DOCUMENT_SEND_API1 to send mail to SAP inbox.

Cheers,

Vikram

3 REPLIES 3

Former Member
0 Kudos

BUMP - Please answer!

Former Member
0 Kudos

Hi,

Please check the following link for all the function modules and user exits on TOs.

http://help.sap.com/saphelp_erp2005/helpdata/EN/c6/f83a294afa11d182b90000e829fbfe/content.htm

Reward points if it was helpful.

Regards

Abhishek

Edited by: Abhishek Raj on May 29, 2008 10:20 AM

Former Member
0 Kudos

Try using FM SO_NEW_DOCUMENT_SEND_API1 to send mail to SAP inbox.

Cheers,

Vikram