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

checkbox.

Former Member
0 Likes
371

Dear gurus

i have made a screen 600 and in that i have created check box.

how to retrieve this chexbox data into my program.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
338

Hi Ahmed,

Declare a variable of type c in your program, of the same name of the checkbox which you have created in screen painter.

For example, say if you have defined its name as BOX with function code CANCEL,

DATA : BOX type c.

So the PAI event is triggered if you select the checkbox named BOX, function code CANCEL is passed to ABAP program & the corresponding code written in the PAI Module is executed.

For more info, check the examples in ABAPDOCU.

Regards

Abhii

1 REPLY 1
Read only

Former Member
0 Likes
339

Hi Ahmed,

Declare a variable of type c in your program, of the same name of the checkbox which you have created in screen painter.

For example, say if you have defined its name as BOX with function code CANCEL,

DATA : BOX type c.

So the PAI event is triggered if you select the checkbox named BOX, function code CANCEL is passed to ABAP program & the corresponding code written in the PAI Module is executed.

For more info, check the examples in ABAPDOCU.

Regards

Abhii