‎2009 Apr 17 11:42 AM
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
‎2009 Apr 17 12:10 PM
Hello,
you could use the parameter 'DISPLAY' of this function module to control, if the control pops up in display mode only.
Regards Wolfgang
‎2009 Apr 17 12:10 PM
Hello,
you could use the parameter 'DISPLAY' of this function module to control, if the control pops up in display mode only.
Regards Wolfgang
‎2009 Apr 17 12:19 PM
Thanks Wolfgang Valtin .
I didn't see this parameter.
Thanks a lot .
‎2009 Apr 17 12:10 PM
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.