SAP QIWK_GET_ALL Function Module for
QIWK_GET_ALL is a standard qiwk get all 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 qiwk get all FM, simply by entering the name QIWK_GET_ALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: QIWK
Program Name: SAPLQIWK
Main Program: SAPLQIWK
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function QIWK_GET_ALL 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 'QIWK_GET_ALL'".
EXPORTING
* ALLTYPE = ' ' "All Entries
* CLIENT = SY-MANDT "SAP client
IMPORTING
STATUS = "
LAST_DATE = "
LAST_TIME = "
GROUPNAME = "
ERRMESS = "Error Text
HOSTID = "Host ID
NACTIVE = "
TABLES
QIWKLIST = "
IMPORTING Parameters details for QIWK_GET_ALL
ALLTYPE - All Entries
Data type: SY-INPUTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLIENT - SAP client
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for QIWK_GET_ALL
STATUS -
Data type: SY-INPUTOptional: No
Call by Reference: No ( called with pass by value option)
LAST_DATE -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
LAST_TIME -
Data type: SY-UZEITOptional: No
Call by Reference: No ( called with pass by value option)
GROUPNAME -
Data type: QIWKTAB-GROUPDESTOptional: No
Call by Reference: No ( called with pass by value option)
ERRMESS - Error Text
Data type: QIWKTAB-RFCMESSOptional: No
Call by Reference: No ( called with pass by value option)
HOSTID - Host ID
Data type: QIWKTAB-HOSTIDOptional: No
Call by Reference: No ( called with pass by value option)
NACTIVE -
Data type: QIWKTAB-NACTIVEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for QIWK_GET_ALL
QIWKLIST -
Data type: QIWKTABOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for QIWK_GET_ALL 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_status | TYPE SY-INPUT, " | |||
lv_alltype | TYPE SY-INPUT, " SPACE | |||
lt_qiwklist | TYPE STANDARD TABLE OF QIWKTAB, " | |||
lv_client | TYPE SY-MANDT, " SY-MANDT | |||
lv_last_date | TYPE SY-DATUM, " | |||
lv_last_time | TYPE SY-UZEIT, " | |||
lv_groupname | TYPE QIWKTAB-GROUPDEST, " | |||
lv_errmess | TYPE QIWKTAB-RFCMESS, " | |||
lv_hostid | TYPE QIWKTAB-HOSTID, " | |||
lv_nactive | TYPE QIWKTAB-NACTIVE. " |
  CALL FUNCTION 'QIWK_GET_ALL' " |
EXPORTING | ||
ALLTYPE | = lv_alltype | |
CLIENT | = lv_client | |
IMPORTING | ||
STATUS | = lv_status | |
LAST_DATE | = lv_last_date | |
LAST_TIME | = lv_last_time | |
GROUPNAME | = lv_groupname | |
ERRMESS | = lv_errmess | |
HOSTID | = lv_hostid | |
NACTIVE | = lv_nactive | |
TABLES | ||
QIWKLIST | = lt_qiwklist | |
. " QIWK_GET_ALL |
ABAP code using 7.40 inline data declarations to call FM QIWK_GET_ALL
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 INPUT FROM SY INTO @DATA(ld_status). | ||||
"SELECT single INPUT FROM SY INTO @DATA(ld_alltype). | ||||
DATA(ld_alltype) | = ' '. | |||
"SELECT single MANDT FROM SY INTO @DATA(ld_client). | ||||
DATA(ld_client) | = SY-MANDT. | |||
"SELECT single DATUM FROM SY INTO @DATA(ld_last_date). | ||||
"SELECT single UZEIT FROM SY INTO @DATA(ld_last_time). | ||||
"SELECT single GROUPDEST FROM QIWKTAB INTO @DATA(ld_groupname). | ||||
"SELECT single RFCMESS FROM QIWKTAB INTO @DATA(ld_errmess). | ||||
"SELECT single HOSTID FROM QIWKTAB INTO @DATA(ld_hostid). | ||||
"SELECT single NACTIVE FROM QIWKTAB INTO @DATA(ld_nactive). | ||||
Search for further information about these or an SAP related objects