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

Raising a long error message

Former Member
0 Likes
442

I need to raise the following error message.Following one is the message to be raised

“Error: Combination of Document Currency [bkpf-waers], Local Currency [t001-waers], Group Currency [t000-mwaer] not allowed for transaction [bkpf-tcode]. Identical currencies should not be posted.”

other that "error: &1 &2 &3....." Is there any way to do this.

if se91 long message alone is the only way in the sript editor how can we insert this message. Could anyone explain me this .

Thanks.

I need to raise the following error message.Following one is the message to be raised

“Error: Combination of Document Currency [bkpf-waers], Local Currency [t001-waers], Group Currency [t000-mwaer] not allowed for transaction [bkpf-tcode]. Identical currencies should not be posted.”

other that "error: &1 &2 &3....." Is there any way to do this.

if se91 long message alone is the only way in the sript editor how can we insert this message. Could anyone explain me this .

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
409

Check this link on how to add messages:

http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/682d0802c411d395c600a0c94260a5/frameset.htm

Hope this helps.

Thanks,

SKJ

Read only

Former Member
0 Likes
409

I do not think there is a way to pass variables dynamically to the long text in SE91. It is meant only for information purposes, and can hold static text only.

You could try the &1 &2 etc method, but even that has a maximum limit, I doubt you will get the entire line of text in it.

You could try calling a popup instead, to display the message.

Hope this helps.

Sudha