2009 Jan 21 10:12 AM
Hey experts,
I have a screen with an internal table and on double clicking any of the lines, a popup screen appears with certain values from the line clicked on it. This fields are editable. There are two options on this screen Save and Cancel
Now the user wants to do some input check on it, but then this checks are relevant only if we press the save button.
Lets say field1 and field2 on screen, now if i press save and field 2 is empty, it shud give an error message but teh control shud return to that screen and user should be able to enter the data.
At present i am using message type i, but the screen disappears and user have to double click again to popup the screen.
Any ideas please ?
I am doing this checks in button handling since doing it beforehand is pointless since we wont need this checks if user decides to cancel.
please guide.
Hey experts,
I have a screen with an internal table and on double clicking any of the lines, a popup screen appears with certain values from the line clicked on it. This fields are editable. There are two options on this screen Save and Cancel
Now the user wants to do some input check on it, but then this checks are relevant only if we press the save button.
Lets say field1 and field2 on screen, now if i press save and field 2 is empty, it shud give an error message but teh control shud return to that screen and user should be able to enter the data.
At present i am using message type i, but the screen disappears and user have to double click again to popup the screen.
Any ideas please ?
I am doing this checks in button handling since doing it beforehand is pointless since we wont need this checks if user decides to cancel.
please guide.
2009 Jan 21 10:16 AM
Hi,
u can try with message type 'S' instead of type 'I'.
seshu.
2009 Jan 21 10:20 AM
HI,
After throwing that error message
Call the same popup once again(screen number)
like call screen <screen number>.
or
you can give message type as "E'.
Like :
MESSAGE text-028 TYPE 'S' DISPLAY LIKE 'E' .Thanks & Regards
2009 Jan 21 10:25 AM
2009 Jan 21 10:26 AM
HI.
Please do you validation like error message in side of CHAIN and ENDCHAIN.
Refer this link.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa4735c111d1829f0000e829fbfe/content.htm
REgards.
Jay
Edited by: Jay on Jan 21, 2009 11:27 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |