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: 

Extracting long text of a message

Former Member
0 Kudos

Hi,

I have a message in a message class with a long text.I want to extract this longtext in my program. Is there any method to access/extract lontext of a message of a mesasge class? i.e if i can give the message class and message id as input?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Function module DOCU_GET_FOR_F1HELP will get you the message's long text. You'll need to set the ID to NA, and the rest of the parameters are the language and your message id and number.

The long text is returned in a table.

Regards,

Nick

4 REPLIES 4

Former Member
0 Kudos

Function module DOCU_GET_FOR_F1HELP will get you the message's long text. You'll need to set the ID to NA, and the rest of the parameters are the language and your message id and number.

The long text is returned in a table.

Regards,

Nick

0 Kudos

Hi,

Thanks a lot.

But one more question. Now is tere some way for me to show this text obtained in a performance assistant?(as a help)

Regards

Rachana

0 Kudos

You can try DSYS_SHOW_FOR_F1HELP, parameter DOKCLASS is NA, DOKNAME in the message ID and number.

Regards,

Nick

0 Kudos

Thanks a lot!