2010 Jun 07 12:00 PM
Hello
I've made a button with the functiontype H ( Help Function) and now I'd like to react on this button.
But in the POV AND POH I can't call a module, because for this I need an input-/outputfield.
(FIELD "FIELDNAME" MODULE "MODULENAME").
My question is, how can I react on this functiontype / "HelpButton" ?
Thx in advance
Christian
Hello
I've made a button with the functiontype H ( Help Function) and now I'd like to react on this button.
But in the POV AND POH I can't call a module, because for this I need an input-/outputfield.
(FIELD "FIELDNAME" MODULE "MODULENAME").
My question is, how can I react on this functiontype / "HelpButton" ?
Thx in advance
Christian
2010 Jun 07 1:46 PM
What kind of reaction are you expecting on the click of this button. Do you have to display a search help without a screen field?
Regards,
Jayesh
2010 Jun 07 2:42 PM
Yes, I would like to show a list of available values BUT without a field.
Therefore I use the function type 'H' on my "help" button.
Or for what is the function type H on a button good for?
Thx in advance
2010 Jun 07 3:01 PM
There are two ways:
First************
Process after input.
module user_command.Code inside module user_command:
IF SY-UCOMM = 'H' "Function code for help button
*fetch all the list and store into an internal table.
* Call another screen to display the internal table.
endif.Second*****************
Create an input field on the screen and make it invisible.
Process after input.
module user_command.Code inside module user_command:
IF SY-UCOMM = 'H' "Function code for help button
*fetch all the list and store into an internal table.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
retfield = 'name of field of internal table which is to be returned to invisible dynpro field'
* PVALKEY = ' '
dynpprog = 'program name'
dynpnr = 'dynpro number'
dynprofield = 'name of invisible dynpro field'
* STEPL = 0
* WINDOW_TITLE =
* VALUE = ' '
value_org = 'S'
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
TABLES
value_tab = Internal table containing list to be displayed
* FIELD_TAB =
* RETURN_TAB =
* dynpfld_mapping =
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3
.
endif.
2010 Jun 07 3:07 PM
When I use the function TYPE "H" (not CODE), the PAI does not start.
And for me it is important, that I don't run through the PAI and PBO, so I need the function type H -> only POV or POH!
2010 Jun 08 8:04 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |