SAP PT_ARQ_REQLIST_GET_CE Function Module for
PT_ARQ_REQLIST_GET_CE is a standard pt arq reqlist get ce 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 pt arq reqlist get ce FM, simply by entering the name PT_ARQ_REQLIST_GET_CE into the relevant SAP transaction such as SE37 or SE38.
Function Group: PT_ARQ_REQUEST_UIA
Program Name: SAPLPT_ARQ_REQUEST_UIA
Main Program: SAPLPT_ARQ_REQUEST_UIA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function PT_ARQ_REQLIST_GET_CE 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 'PT_ARQ_REQLIST_GET_CE'".
EXPORTING
* IM_PERNR = "Personnel Number
* IM_TEAM = "Team
* IM_DATE = "Date and Time, Current (Application Server) Date
* IM_COMMAND = C_CMD_SHOW_REQLIST "ESS Command
* IM_TIME_FORMAT = 2 "Time Format for Clock-In/Out Corrections User Interface
IM_MODUS = "Application Mode of Leave Request
* IM_DEBUG = "Boolean Variable (X=True, -=False, Space=Unknown)
* IM_DEACTIVATE_CHECK = "
IMPORTING
EX_REQUEST_LIST = "Leave Request: List of Requests
EX_AS_OF_DATE = "Current Date of Application Server
TABLES
EX_MESSAGES = "Return Parameter(s)
EX_COMMANDS = "Leave Request: UI Commands
* IM_REQ_IDS = "List of Request IDs
IMPORTING Parameters details for PT_ARQ_REQLIST_GET_CE
IM_PERNR - Personnel Number
Data type: P_PERNROptional: Yes
Call by Reference: No ( called with pass by value option)
IM_TEAM - Team
Data type: HROBJECTOptional: Yes
Call by Reference: No ( called with pass by value option)
IM_DATE - Date and Time, Current (Application Server) Date
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IM_COMMAND - ESS Command
Data type: PTREQ_COMMANDDefault: C_CMD_SHOW_REQLIST
Optional: Yes
Call by Reference: No ( called with pass by value option)
IM_TIME_FORMAT - Time Format for Clock-In/Out Corrections User Interface
Data type: PTREQ_TIME_FORMATDefault: 2
Optional: Yes
Call by Reference: No ( called with pass by value option)
IM_MODUS - Application Mode of Leave Request
Data type: PT_ARQ_MODEOptional: No
Call by Reference: No ( called with pass by value option)
IM_DEBUG - Boolean Variable (X=True, -=False, Space=Unknown)
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IM_DEACTIVATE_CHECK -
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PT_ARQ_REQLIST_GET_CE
EX_REQUEST_LIST - Leave Request: List of Requests
Data type: PTARQ_UIA_REQLIST_TAB_CEOptional: No
Call by Reference: No ( called with pass by value option)
EX_AS_OF_DATE - Current Date of Application Server
Data type: SYDATUMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PT_ARQ_REQLIST_GET_CE
EX_MESSAGES - Return Parameter(s)
Data type: PTARQ_UIA_MESSAGES_TABOptional: No
Call by Reference: No ( called with pass by value option)
EX_COMMANDS - Leave Request: UI Commands
Data type: PTARQ_UIA_COMMAND_TABOptional: No
Call by Reference: No ( called with pass by value option)
IM_REQ_IDS - List of Request IDs
Data type: PTREQ_UIA_REQID_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PT_ARQ_REQLIST_GET_CE 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_im_pernr | TYPE P_PERNR, " | |||
lt_ex_messages | TYPE STANDARD TABLE OF PTARQ_UIA_MESSAGES_TAB, " | |||
lv_ex_request_list | TYPE PTARQ_UIA_REQLIST_TAB_CE, " | |||
lv_im_team | TYPE HROBJECT, " | |||
lt_ex_commands | TYPE STANDARD TABLE OF PTARQ_UIA_COMMAND_TAB, " | |||
lv_ex_as_of_date | TYPE SYDATUM, " | |||
lv_im_date | TYPE SY-DATUM, " | |||
lt_im_req_ids | TYPE STANDARD TABLE OF PTREQ_UIA_REQID_TAB, " | |||
lv_im_command | TYPE PTREQ_COMMAND, " C_CMD_SHOW_REQLIST | |||
lv_im_time_format | TYPE PTREQ_TIME_FORMAT, " 2 | |||
lv_im_modus | TYPE PT_ARQ_MODE, " | |||
lv_im_debug | TYPE BOOLEAN, " | |||
lv_im_deactivate_check | TYPE BOOLEAN. " |
  CALL FUNCTION 'PT_ARQ_REQLIST_GET_CE' " |
EXPORTING | ||
IM_PERNR | = lv_im_pernr | |
IM_TEAM | = lv_im_team | |
IM_DATE | = lv_im_date | |
IM_COMMAND | = lv_im_command | |
IM_TIME_FORMAT | = lv_im_time_format | |
IM_MODUS | = lv_im_modus | |
IM_DEBUG | = lv_im_debug | |
IM_DEACTIVATE_CHECK | = lv_im_deactivate_check | |
IMPORTING | ||
EX_REQUEST_LIST | = lv_ex_request_list | |
EX_AS_OF_DATE | = lv_ex_as_of_date | |
TABLES | ||
EX_MESSAGES | = lt_ex_messages | |
EX_COMMANDS | = lt_ex_commands | |
IM_REQ_IDS | = lt_im_req_ids | |
. " PT_ARQ_REQLIST_GET_CE |
ABAP code using 7.40 inline data declarations to call FM PT_ARQ_REQLIST_GET_CE
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."SELECT single DATUM FROM SY INTO @DATA(ld_im_date). | ||||
DATA(ld_im_command) | = C_CMD_SHOW_REQLIST. | |||
DATA(ld_im_time_format) | = 2. | |||
Search for further information about these or an SAP related objects