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

Enbale back button when error message is dispalyed

Former Member
0 Likes
1,006

Hi,

How can I enable the BACK button or any other button when i execute a report and a error message is displayed.

When a error message is dispalyed, the standard interface buttons are in disable mode. How can I activate them.

Thankyou

Srikanth

Hi,

How can I enable the BACK button or any other button when i execute a report and a error message is displayed.

When a error message is dispalyed, the standard interface buttons are in disable mode. How can I activate them.

Thankyou

Srikanth

4 REPLIES 4
Read only

uwe_schieferstein
Active Contributor
0 Likes
751

Hello Srikanth

I do not think we can fool the SAP standard. However, if your report is a customer report then you could send the error message with type 'S'. If the message clearly indicates the error I would not mind changing it that way.

Regards

Uwe

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
751

Try using the AT EXIT-COMMAND. See the bottom part of this documentation.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaa9535c111d1829f0000e829fbfe/frameset.htm

Regards,

Rich Heilman

Read only

sridhar_k1
Active Contributor
0 Likes
751

Just hit Enter after you get the error message, control goes to where you've started executing the program like start menu or SE38.

Regards

Sridhar

Read only

Former Member
0 Likes
751

HI,

The main use of CHAIN and ENDCHAIN is that, when you enter a wrong input value, the system stops processing and it will ask you to enter the correct input value.

For example when you enter a character in date field, the system fires a error message asking you to enter the data in correct format.

to prevent this you can use Chain and Endchain

Chain.
Field sflight-carrid value (‘LH’).
Field sflight-connid values (between ‘200’ and ‘500’).
Endchain

.

Regards

Sudheer