I am trying a simple application in ABAP Dialog. Which is similar to first program of in examples given in 'ABAPDOCU' transaction code. ( Program Name in SAP : 'DEMO_DYNPRO_INPUT_OUTPUT'
Here I am having 3 radiobuttons and 3 checkboxes and defined them well in Program with similar names. Whenever I run the program I see All 3 radiobuttons Highlighted. I have cross checked with SAP Program 'DEMO_DYNPRO_INPUT_OUTPUT'.
Can anyone tell why this is happening
I am pasting herewith my code.
I have changed the names in dialog programming as per the following and also checked all other properties of radiobuttons with original one but still could not get the problem. When it goed to my user_command_1000 it gets all 3 radiobuttons selected, Even when I am clearing other 2 butons.
PROGRAM zars_dlg_6 .
DATA: fcode LIKE sy-ucomm.
DATA: ip1 TYPE i,
op1 TYPE i,
rb1(1) TYPE c, rb2(1) TYPE c, rb3(1) TYPE c,
ch1(1) TYPE c, ch2(1) TYPE c, ch3(1) TYPE c, ch4(1) TYPE c.
CALL SCREEN 1000.
*&---------------------------------------------------------------------*
*& Module init_screen_1000 OUTPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE init_screen_1000 OUTPUT.
CLEAR ip1.
CLEAR: rb2, rb3.
rb1 = 'X'.
ENDMODULE. " init_screen_1000 OUTPUT
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_1000 INPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE user_command_1000 INPUT.
op1 = ip1.
ch1 = rb1.
ch2 = rb2.
ch3 = rb3.
IF ch4 NE space.
LEAVE PROGRAM.
ENDIF.
ENDMODULE. " USER_COMMAND_1000 INPUT
_________________
--
India.com free e-mail - www.india.com.
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Powered by Outblaze
To unsubscribe from this list, send a to mail to
[EMAIL PROTECTED] or go to http://groups.yahoo.com/group/ABAP
Comments about the list can be sent to [EMAIL PROTECTED]
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/ABAP/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
