SAP URL_SERVICE_PARAMS_GET Function Module for Read query parameter definition of a service
URL_SERVICE_PARAMS_GET is a standard url service params get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read query parameter definition of a service processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for url service params get FM, simply by entering the name URL_SERVICE_PARAMS_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: URL_CACHE_API
Program Name: SAPLURL_CACHE_API
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function URL_SERVICE_PARAMS_GET pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'URL_SERVICE_PARAMS_GET'"Read query parameter definition of a service.
EXPORTING
* SERVICE_LOGSYS = ' ' "Logical System
SERVICE_TYPE = "Service type
SERVICE_ID = "Service ID
* LANGUAGE = SY-LANGU "SAP R/3 System, Current Language
* SELECT_TEXTS = 'X' "General Flag
* NO_PERSONALIZABLE_PARAMS = ' ' "General Flag
* ONLY_PERSONALIZABLE_PARAMS = ' ' "General Flag
TABLES
IWPSRVPARM = "Runtime: URL Parameter for Services
IMPORTING Parameters details for URL_SERVICE_PARAMS_GET
SERVICE_LOGSYS - Logical System
Data type: LOGSYSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SERVICE_TYPE - Service type
Data type: SERVICE_TPOptional: No
Call by Reference: No ( called with pass by value option)
SERVICE_ID - Service ID
Data type: SERVICE_IDOptional: No
Call by Reference: No ( called with pass by value option)
LANGUAGE - SAP R/3 System, Current Language
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
SELECT_TEXTS - General Flag
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_PERSONALIZABLE_PARAMS - General Flag
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ONLY_PERSONALIZABLE_PARAMS - General Flag
Data type: FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for URL_SERVICE_PARAMS_GET
IWPSRVPARM - Runtime: URL Parameter for Services
Data type: IWPSRVPARMOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for URL_SERVICE_PARAMS_GET Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_iwpsrvparm | TYPE STANDARD TABLE OF IWPSRVPARM, " | |||
| lv_service_logsys | TYPE LOGSYS, " SPACE | |||
| lv_service_type | TYPE SERVICE_TP, " | |||
| lv_service_id | TYPE SERVICE_ID, " | |||
| lv_language | TYPE SYLANGU, " SY-LANGU | |||
| lv_select_texts | TYPE FLAG, " 'X' | |||
| lv_no_personalizable_params | TYPE FLAG, " SPACE | |||
| lv_only_personalizable_params | TYPE FLAG. " SPACE |
|   CALL FUNCTION 'URL_SERVICE_PARAMS_GET' "Read query parameter definition of a service |
| EXPORTING | ||
| SERVICE_LOGSYS | = lv_service_logsys | |
| SERVICE_TYPE | = lv_service_type | |
| SERVICE_ID | = lv_service_id | |
| LANGUAGE | = lv_language | |
| SELECT_TEXTS | = lv_select_texts | |
| NO_PERSONALIZABLE_PARAMS | = lv_no_personalizable_params | |
| ONLY_PERSONALIZABLE_PARAMS | = lv_only_personalizable_params | |
| TABLES | ||
| IWPSRVPARM | = lt_iwpsrvparm | |
| . " URL_SERVICE_PARAMS_GET | ||
ABAP code using 7.40 inline data declarations to call FM URL_SERVICE_PARAMS_GET
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_service_logsys) | = ' '. | |||
| DATA(ld_language) | = SY-LANGU. | |||
| DATA(ld_select_texts) | = 'X'. | |||
| DATA(ld_no_personalizable_params) | = ' '. | |||
| DATA(ld_only_personalizable_params) | = ' '. | |||
Search for further information about these or an SAP related objects