05-07-2010 10:03 AM
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.
05-07-2010 10:13 AM
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
05-07-2010 10:33 AM
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.
05-07-2010 10:36 AM
05-07-2010 10:38 AM
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
05-07-2010 11:31 AM
HI
yes but this button is used for set the spool message...
regards
Marco
05-07-2010 2:18 PM
Actually, the message is type 7 : email. It seems to be saved in a SAP Office folder...