2006 Sep 14 7:42 AM
Hi all,
In my dialog screen, if i get an error after giving a wrong input, the input fields are disabled. i have to go back to the program and exec again to key in. how can i solve this problem.
plese advice me,
Rajesh.
2006 Sep 14 7:49 AM
Hi,
Use Chain and Endchain statements.
syntax:
CHAIN.
FIELD: <f1>, <f 2>,...
MODULE <mod1>.
FIELD: <g1>, <g 2>,...
MODULE <mod2>.
...
ENDCHAIN.
In MODULE <mod1>. and MODULE <mod2> u can write ABAP codings for validations.
Suppose if u give wrong input for the field <f1>, all fields will be disabled except f1. once u give correct input for f1 and press enter all fields will be enabled.
Regards
Divakar
Hi,
Try to use CHAIN and ENDCHAIN. Place all the required screen fields in between CHAIN and ENDCHAIN.
Thanks and Regards,
Bharat Kumar Reddy.V
2006 Sep 14 7:46 AM
Hi,
Try to use CHAIN and ENDCHAIN. Place all the required screen fields in between CHAIN and ENDCHAIN.
Thanks and Regards,
Bharat Kumar Reddy.V
2006 Sep 14 7:46 AM
Put the fields to be inputted in CHAIN,ENDCHAIN in PAI
PAI.
CHAIN.
<FIELD1>
<FIELD2>
ENDCHAIN.
If any validations fails control goes to the field where error occurred.
2006 Sep 14 7:48 AM
hi,
in the PBO.
assaign screen fields name = field values.
ur problem will be solve.
rgds
anver
2006 Sep 14 7:49 AM
Hi,
Use Chain and Endchain statements.
syntax:
CHAIN.
FIELD: <f1>, <f 2>,...
MODULE <mod1>.
FIELD: <g1>, <g 2>,...
MODULE <mod2>.
...
ENDCHAIN.
In MODULE <mod1>. and MODULE <mod2> u can write ABAP codings for validations.
Suppose if u give wrong input for the field <f1>, all fields will be disabled except f1. once u give correct input for f1 and press enter all fields will be enabled.
Regards
Divakar
2006 Sep 14 8:03 AM
Thank u all.
I have solved the problem using chain and end chain statements.
Regards,
Rajesh.
2006 Sep 14 8:06 AM
hello,
i need to give points for all who have helped me.
but iam not able do. how can i do so.
regards,
rajesh.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |