on 09-30-2009 2:36 PM
Hi,
I am in the process of converting a regular ABAP report into a Webdynpro ABAP report.
In the regular report, I have the following code for a parameter:
PARAMETERS:
p_temp TYPE hap_template_id OBLIGATORY.
and I have the following code to get the F4 Value Help for this parameter:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_temp.
PERFORM get_template USING p_plvar.
The form get_template contains the following code:
DATA:lt_templates TYPE hap_t_templates.
FIELD-SYMBOLS:<fs_template> TYPE objec.
CALL FUNCTION 'HRHAP_POPUP_F4_TEMPLATE'
EXPORTING
plan_version = p_pchplvar
IMPORTING
t_templates = lt_templates.
READ TABLE lt_templates ASSIGNING <fs_template> INDEX 1.
IF sy-subrc EQ 0.
p_temp = <fs_template>-objid.
ENDIF.
Can someone help me with how I can implement the same functionality in WDA?
I am not sure if the FM 'HRHAP_POPUP_F4_TEMPLATE' will work fine in WDA?
Thanks in advance,
Saleem
Hi,
For this field, If the domain has any fixed values/value table then these values are automactically shown
for this field if proper DE is provided.
If it has no fixed values, through some code if you are getting the entries then you need to
use the OVS.
If there are any SH or SH exits then also you can use them.
WDR_TEST_OVS is the standard component for reference.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all the function module 'HRHAP_POPUP_F4_TEMPLATE' will almost defintely not work in Web Dynpro ABAP. Function Modules within ON VALUE REQUEST surely will have classic dynpro dialogs in them that can't be used in WDA.
There is no On Value Request event in Web Dynpro ABAP. Instead we have the concept of Freely Programmed Value Help and OVS - so that you can custom create your own Value Help with a Web Dynpro Component. To match up to this requirement I would suggest you study these two options.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8c99b5e3c5ce10000000a421937/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.