Application Development and Automation 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: 
Read only

Message to displayed

Former Member
0 Likes
727

HI all,

I need to display message as "Unable to open file for " lv_filepath.

where lv_filepath = c:\

I will store "Unable ... file " into Message Number 001 and I will write

Message E001(ZM).

for displaying the along withthe filepath , how can we do this????

points will be rewarded

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
709

Hi,

Pass the paramter & field along with the message.

Check the Messages in SE91, there will be something like &&&&,

assign that message to display the message you wants to display.

If it is not there create a message with &&&& in SE91 and use that.

Each & is used to pass some text or field like this you can pass 4 parameters.

Mesaage 'Material' mara-matnr 'displayed' 'is wrong'.(for 4 &&&&).

reward if useful.

regards,

Anji

HI all,

I need to display message as "Unable to open file for " lv_filepath.

where lv_filepath = c:\

I will store "Unable ... file " into Message Number 001 and I will write

Message E001(ZM).

for displaying the along withthe filepath , how can we do this????

points will be rewarded

thanks in advance

4 REPLIES 4
Read only

Former Member
0 Likes
709

MESSAGE E001(ZM) WITH lv_filepath .

regards

shiba dutta

Read only

Former Member
0 Likes
710

Hi,

Pass the paramter & field along with the message.

Check the Messages in SE91, there will be something like &&&&,

assign that message to display the message you wants to display.

If it is not there create a message with &&&& in SE91 and use that.

Each & is used to pass some text or field like this you can pass 4 parameters.

Mesaage 'Material' mara-matnr 'displayed' 'is wrong'.(for 4 &&&&).

reward if useful.

regards,

Anji

Read only

Former Member
0 Likes
709

Hi Jaya,

declare a variable -> DATA: v_file_name TYPE string.

assign the FILE pathe to this varible.

v_file_name = 'D:\Documents and Settings\jaya.xml'.

MESSAGE E000(ZM) WITH v_file_name text-001.

text -001 = Unable to open file

regards

Avi....

Read only

Former Member
0 Likes
709

after creating ur message class with the required message just use the following syntax while calling the message

Message E001(ZM) with lv_filepath.

where lv_filepath stores ur path .

hopen it helps.

Regards.

Navjot