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: 

Message Processing Log

Former Member
0 Kudos

Hello,

I have a message processing (outbound idoc in MIRO) performed by a custom subroutine. How can I add a detail processing log so it can be seen in the output screen (MIRO->Go to->Message->Header->Process Log)?

Thank you,

Leon

2 REPLIES 2

Former Member
0 Kudos

Leon,

In your custom subroutine, give all your messages as information messages, as many as you want. These will be displayed as a part of the processing log of the message output.

As the program gets executed in the background, you should not see it on the screen.

I just figured out that you can NAST_PROTOCOL_UPDATE function to update the processing log with all the information messages you want.

Regards,

Ravi

note : Please close the thread, if this resolves the issues.

Message was edited by: Ravikumar Allampallam

ferry_lianto
Active Contributor
0 Kudos

Hi Leon,

You can use this FM <b>NAST_PROTOCOL_UPDATE</b> to add procesing log and message.

Please check this links for more information and sample code.

http://help.sap.com/saphelp_46c/helpdata/en/c8/19894b43b111d1896f0000e8322d00/content.htm

http://www.logosworld.biz/www5/mySap/PDF/Book_06.pdf

Hope this will help.

Regards,

Ferry Lianto