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

Check Box in module pool

Former Member
0 Likes
1,506

Hi friends,

I wann one help I make one screen and which data i input i save it in Z table ok

Z table also i make but my problem is that I used check box in screen and its more so how can I maintain(save) that check box selection in my z table?

I hope u understand my pro plz repl me its urgent so.

Thnaks in advance,

Prashant.

2 REPLIES 2
Read only

Former Member
0 Likes
494

yes... in the database table make a field for that checkbox

say check c(1)...

The entry will be saved as 'X' in the db table...

write coding like u always write for saving fields...

tk?

Read only

Former Member
0 Likes
494

hi

good

If you assign a function code to the checkbox the PAI (and then PBO) will be triggered automatically without to press enter;

if you don't assign a function code the user'll have to press enter key after choosing the checkbox.

In the PBO insert a module like this:

codeMODULE MODIFY_SCREEN.

IF <CHECK BOX > = SPACE.

LOOP AT SCREEN.

IF SCREEN-NAME = '<TEXT BOX>'.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

ENDMODULE.[/code]

thanks

mrutyun^