2007 Mar 21 3:29 PM
Dear all.
I'm executing this simple code:
SELECTION-SCREEN BEGIN OF BLOCK I1 WITH FRAME TITLE TEXT-001.
PARAMETERS: ZB_TEST as checkbox default 'x'.
SELECTION-SCREEN END OF BLOCK I1.
IF ZB_TEST eq 'X'.
write 'X Upper'.
elseif ZB_TEST eq 'x'.
write 'x lower'.
endif.
When executing the frist time the system Display x lower.
Then when re-executed the Program with no parameter.
Then executed the Program with the check box set the system Display X Upper.
Best Regards
It's possible to explain what is the diference between the Lower x, in the Frist case and the Upper?
When define the the Parameter value?
Best Regards.
2007 Mar 21 3:31 PM
Hi,
Give always in Capital letters..
ZB_TEST as checkbox default 'X'.
If the check box is checked the ZB_TEST = 'X'.
Elseif the check box is not checked then ZB_TEST = ' '.
Thanks,
Naren
2007 Mar 21 3:32 PM
inside the quotes, it should be upper case.. ie
IF ZB_TEST eq 'X'.
write 'X Upper'.
else.
write 'x lower'.
endif.
~Suresh
2007 Mar 21 3:35 PM
hi pedro,
PARAMETERS: ZB_TEST as checkbox default <b>'X'</b>.
IF ZB_TEST eq 'X'.
write 'X Upper'.
elseif ZB_TEST ne 'X'.
write 'x lower'.
endif.
regards,
priya.
2007 Mar 21 3:35 PM
Hi Pedro,
Once the user does some action on the selection screen, the value x becomes X .
Hence the behavior.
REgards,
Ravi
2007 Mar 21 3:39 PM
It's possible to explain what is the diference between the Lower x, in the Frist case and the Upper?
When define the the Parameter value?
Best Regards.
2007 Apr 01 11:05 PM
After we have done some activity in the system all the x became a X. For this case we have to configured all by upper case
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |