on 09-05-2014 2:38 PM
Hi,
As per the Custom requirment,
I want to pass URL parameters for WD ABAP application (sap/bc/webdynpro/dbm/app_veh_cus_search) which uses FPM.
example: sap/bc/webdynpro/dbm/app_veh_cus_search?Customer=12345&fromExternal=true
I am facing difficulty in reading the URL parameters.
How to read/get the URL Parameters for an FPM WD ABAP application????
Observation:
I tried reading the parameter in Window --> HANDLEDEFAULT method. But could NOT read the Parameters from here for FPM application whereas if I create a Z Custom application then I could read the URL Parameters. so the issue is in reading the URL Parameters for FPM application.
Kindly support
Regards,
Hussain
Hi Hussain,
You can do this either with the methods of interface if_fpm_parameter...
DATA lo_param TYPE REF TO if_fpm_parameter.
lo_param = cl_fpm_factory=>get_instance( )->mo_app_parameter.
CALL METHOD lo_param->get_value
EXPORTING
iv_key = parameter_name
IMPORTING
ev_value = parameter_value.
or a more generic approach using class cl_wd_runtime_services...
cl_wd_runtime_services=>get_url_parameter
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
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.