Skip to Content
0
Dec 01, 2008 at 11:04 AM

call text from a message class out of a include

44 Views

Hi experts,

I created a report with message-id ZMESSAGE_CLASS1. This class is filled with 30 texts.

REPORT  zreport1   MESSAGE-ID ZMESSAGE_CLASS1.

Then I added a few includes for various routines (PBO, PAI, POV, ...). When I call a text via lv_textvar = text-001 or MESSAGE i002 from the report, all works fine. But if I call these texts out of any include it won't work.

If I view a include and go over the menu: Goto >> Messages I can see my message class.

How can I implement or call the text elements right from the message class? Do I need to create a Module-Pool first?

Thanks, regards,

Steffen