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

Messages

Former Member
0 Likes
576

Hi Friends,

I have created a form. When I save the form, I want to display the document number in the status bar.

Kindly guide me as to how to do the same.

TIA.

Regards,

Mark K

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
552

To get the message in the status bar, you have to use the following syntax.

message s001(<message class name>) with v_document.

In se91 for your message class, you should have already defined a message with number 001 with an & as a place holder.

001: Document & is saved

Regards,

Ravi

5 REPLIES 5
Read only

Former Member
0 Likes
552

hi,

when your form output is generated that time you want to display the document number?

What do you mean by "When I save the form, "

Regards,

Vivek

Read only

Former Member
0 Likes
553

To get the message in the status bar, you have to use the following syntax.

message s001(<message class name>) with v_document.

In se91 for your message class, you should have already defined a message with number 001 with an & as a place holder.

001: Document & is saved

Regards,

Ravi

Read only

0 Likes
552

Hi Ravi,

I have a created a Message-id ABC, with message as 001 and description as

'Data Saved with Document No'.

In the programe I have written in the Save part as

MESSAGE I006 WITH WA_DOCNO.

(The WA_DOC NO is the variable in which the document number is stored.)

Now, kindly explain me how to write the code with the above details.

Regards,

Read only

0 Likes
552

In your message class abc for message number 006 add something like this

006:--- Data Saved with Document No <i>&</i>

in your program

MESSAGE I006(ABC) WITH WA_DOCNO.

Read only

0 Likes
552

Hi Mark,

<b>Message-id ABC, with message as 001 and description as

'Data Saved with Document No'.</b>

U have written this , but if u want to print the doc no. also write the description of 001 as follows

<b>Data Saved with Document No &</b>

then u will get u r required result