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

Table Maintenence Generator

Former Member
0 Likes
653

Can some body tell me how to code in the requirement that unless i check the checkbox the adjacent i/o field should be no display only if i check the checkbox the adjacent i/o field should be active.

1 ACCEPTED SOLUTION
Read only

Former Member

Can some body tell me how to code in the requirement that unless i check the checkbox the adjacent i/o field should be no display only if i check the checkbox the adjacent i/o field should be active.

4 REPLIES 4
Read only

Former Member
Read only

Former Member
0 Likes
635

Hi,

These validations can be done in the PAI of the table.

Also you can code it in the Events of the Table Maintenance.

Go to Table Maintenance Generator of the table.

Create the Table Maintenance.

Got to Environment->Modification->Events.

There are many events from which you can use.

Read only

Former Member
0 Likes
635

Hi Sandeep,

This is an example code through which you can fulfill your requirement...

******/

SELECTION-SCREEN: BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-002.
PARAMETERS:  P_DOWN AS CHECKBOX.
PARAMETERS:  P_FILE LIKE RLGRAP-FILENAME MODIF ID MOD.
*  parameters:  p_sep  type fc_flg MODIF ID MOD.     "Separator
SELECTION-SCREEN: END OF BLOCK B3.

*****//at selection screen event

AT SELECTION-SCREEN OUTPUT.
  PERFORM ENABLE_DISABLE.

*****//form for screen loop....

FORM ENABLE_DISABLE .

  IF P_DOWN = ' '.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'MOD'.
        SCREEN-ACTIVE = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.

ENDFORM.                    " enable_disable

*******// end of form....

here you can tick one check box and activate other check box....

I hope this code will help you....

rewards points....

Cheers,

Enjoy...

Sagun Desai.....

Read only

0 Likes
635

What is the use of table maintenance generator.

what is the impact of TMG.

kindly explain me.

rgds

thiru