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: 

Getting message from ME22N transaction

Former Member
0 Kudos

Hi experts,

I'm trying to retrieve the message written in ME22N transaction using the "Message" button.

When we save an order after modifying it, the SAPLMEDRUCK program starts and prints the order. I'm currently in this program an want to get the message the user wrote in the transaction but I can't figure out how to get it..

Any ideas ?

Regards,

--Yohann CAMP.

6 REPLIES 6

former_member196079
Active Contributor
0 Kudos

Hi johan...

so you can try this..

go to ME22N. press text tab -> bouble click on the text area(it will open the text editot)-> goto -> header

it will open a window with:

Text name

Language

Text ID

Text object

with this parameter you can call the FM READ_TEXT and it return the text written from the user...

Best regards

Marco

0 Kudos

Hi Marco,

Thanks for answering. It's not this text I'm trying to retrieve but the text written when, on the ME22N, you press the "Message" button, on the button bar. You'll find there all the messages sent for the order. If you double-click on a message, here you get an area to write the text of your message.

0 Kudos

Hi Yohann.

so you want the spool mesage?

Marco

0 Kudos

No, I want the text of the message => The text the user wrote in the "message" section, using the "Mesasge" button, on top of the ME22N transaction..

Edited by: Yohann Camp on May 7, 2010 12:15 PM

0 Kudos

HI

yes but this button is used for set the spool message...

regards

Marco

0 Kudos

Actually, the message is type 7 : email. It seems to be saved in a SAP Office folder...