‎2006 Dec 22 10:40 AM
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
‎2006 Dec 22 10:45 AM
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
‎2006 Dec 22 10:45 AM
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
‎2006 Dec 22 10:45 AM
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
‎2006 Dec 22 10:59 AM
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,
‎2006 Dec 22 11:06 AM
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.
‎2006 Dec 22 11:08 AM
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