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

Unable a button in F4IF_INT_TABLE_VALUE_REQUEST function.

Former Member
0 Likes
697

Hi guys,

I would like to know how I can unable the check button when I push the matchcode of a dynpro field and pop-up the table with values.

So if my dynpro field is screen-input = 0 I would like that your matchcode can't select a value.

Debugging the function F4IF_INT_TABLE_VALUE_REQUEST I have found the field

CALLCONTROL-DISPONLY .

if CALLCONTROL-DISPONLY = 'X' the check button is unable .

if CALLCONTROL-DISPONLY = ' ' the check button is enable.

but I don't know how I can change Callcontrol field before call function F4IF_INT_TABLE_VALUE_REQUEST and pass the value inside F4IF_INT_TABLE_VALUE_REQUEST.

Any suggestion, please ?.

Best regards .

Ana

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
512

Hello,

you could use the parameter 'DISPLAY' of this function module to control, if the control pops up in display mode only.

Regards Wolfgang

3 REPLIES 3
Read only

Former Member
0 Likes
513

Hello,

you could use the parameter 'DISPLAY' of this function module to control, if the control pops up in display mode only.

Regards Wolfgang

Read only

0 Likes
512

Thanks Wolfgang Valtin .

I didn't see this parameter.

Thanks a lot .

Read only

Former Member
0 Likes
512

Hi,

You can check whther the parameter field is input enabled or not.Try this,


loop at screen.
if screen-input = 0.
else.
" call FM for F4...
endif.
endloop.