SAP SDOK_UT_PR_QUERY Function Module for
SDOK_UT_PR_QUERY is a standard sdok ut pr query SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 sdok ut pr query FM, simply by entering the name SDOK_UT_PR_QUERY into the relevant SAP transaction such as SE37 or SE38.
Function Group: SDOK_UPDTSK
Program Name: SAPLSDOK_UPDTSK
Main Program: SAPLSDOK_UPDTSK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SDOK_UT_PR_QUERY 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 'SDOK_UT_PR_QUERY'".
EXPORTING
OBJECT_CLASS = "
PROPERTY_NAME = "
* VALUE_RANGES = "
* SECI_RANGES = "
* START_OBJECTS = "
TABLE = "
CLIENT_DEPENDENT = "
* CLIENT = SY-MANDT "
IMPORTING
OBJECTS_TO_PERSIST = "
OBJECTS_TO_DELETE = "
IMPORTING Parameters details for SDOK_UT_PR_QUERY
OBJECT_CLASS -
Data type: SDOK_CLASSOptional: No
Call by Reference: Yes
PROPERTY_NAME -
Data type: SDOK_PROPNOptional: No
Call by Reference: Yes
VALUE_RANGES -
Data type: SDOKRNGPVSOptional: Yes
Call by Reference: Yes
SECI_RANGES -
Data type: SDOKRNGPISOptional: Yes
Call by Reference: Yes
START_OBJECTS -
Data type: SDOKOBJECTSOptional: Yes
Call by Reference: Yes
TABLE -
Data type: SDOK_PRTABOptional: No
Call by Reference: Yes
CLIENT_DEPENDENT -
Data type: SYDATAROptional: No
Call by Reference: Yes
CLIENT -
Data type: SYMANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SDOK_UT_PR_QUERY
OBJECTS_TO_PERSIST -
Data type: SDOKOBJECTSOptional: No
Call by Reference: Yes
OBJECTS_TO_DELETE -
Data type: SDOKOBJECTSOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for SDOK_UT_PR_QUERY 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: | ||||
| lv_object_class | TYPE SDOK_CLASS, " | |||
| lv_objects_to_persist | TYPE SDOKOBJECTS, " | |||
| lv_property_name | TYPE SDOK_PROPN, " | |||
| lv_objects_to_delete | TYPE SDOKOBJECTS, " | |||
| lv_value_ranges | TYPE SDOKRNGPVS, " | |||
| lv_seci_ranges | TYPE SDOKRNGPIS, " | |||
| lv_start_objects | TYPE SDOKOBJECTS, " | |||
| lv_table | TYPE SDOK_PRTAB, " | |||
| lv_client_dependent | TYPE SYDATAR, " | |||
| lv_client | TYPE SYMANDT. " SY-MANDT |
|   CALL FUNCTION 'SDOK_UT_PR_QUERY' " |
| EXPORTING | ||
| OBJECT_CLASS | = lv_object_class | |
| PROPERTY_NAME | = lv_property_name | |
| VALUE_RANGES | = lv_value_ranges | |
| SECI_RANGES | = lv_seci_ranges | |
| START_OBJECTS | = lv_start_objects | |
| TABLE | = lv_table | |
| CLIENT_DEPENDENT | = lv_client_dependent | |
| CLIENT | = lv_client | |
| IMPORTING | ||
| OBJECTS_TO_PERSIST | = lv_objects_to_persist | |
| OBJECTS_TO_DELETE | = lv_objects_to_delete | |
| . " SDOK_UT_PR_QUERY | ||
ABAP code using 7.40 inline data declarations to call FM SDOK_UT_PR_QUERY
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_client) | = SY-MANDT. | |||
Search for further information about these or an SAP related objects