Problem solve Get help with specific problems with your technologies, process and projects.

Sending Error/Success messages to a legacy system

I am trying to post a document in SAP and return the Error/Success message back to the legacy system via an adapter. I use the ALEAUD message type which gives audit trails of IDocs whose status got changed in SAP. How do I send Error/Success messages back to legacy system? My adapter can use BAPI/ALE/RFC calls. If I want to send some info back, should I use ALE interfaces or go with BAPI? Please advise.
Whatever way you choose, you will have to trigger a function that sends the message back. The best way is sending the ALEAUD (ALEAUD01) message back. If your application support NAST messaging, you may customize NAST as the trigger, otherwise use workflow (see Netweaver/mySAP section on http://logosworld.com)
This was last published in November 2003

Dig Deeper on SAP ABAP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.