SAP HREXP_Q_EXPORT_DELETE Function Module for
HREXP_Q_EXPORT_DELETE is a standard hrexp q export delete 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 hrexp q export delete FM, simply by entering the name HREXP_Q_EXPORT_DELETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: HREXP00_QUALINT_PI
Program Name: SAPLHREXP00_QUALINT_PI
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function HREXP_Q_EXPORT_DELETE 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 'HREXP_Q_EXPORT_DELETE'".
EXPORTING
PLVAR = "
* OTYPE = 'Q' "
OBJID = "
* GDATE = SY-DATUM "
* VTASK = 'D' "
EXCEPTIONS
INVALID_DATE = 1 NO_VALUE = 2 ERROR_DURING_DELETE = 3 NO_AUTHORIZATION = 4 UNDEFINED = 5
IMPORTING Parameters details for HREXP_Q_EXPORT_DELETE
PLVAR -
Data type: HRP1000-PLVAROptional: No
Call by Reference: No ( called with pass by value option)
OTYPE -
Data type: HRP1000-OTYPEDefault: 'Q'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJID -
Data type: HRP1000-OBJIDOptional: No
Call by Reference: No ( called with pass by value option)
GDATE -
Data type: HRP1000-GDATEDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
VTASK -
Data type: HRRHAP-VTASKDefault: 'D'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INVALID_DATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VALUE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_DURING_DELETE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORIZATION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UNDEFINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HREXP_Q_EXPORT_DELETE 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_plvar | TYPE HRP1000-PLVAR, " | |||
| lv_invalid_date | TYPE HRP1000, " | |||
| lv_otype | TYPE HRP1000-OTYPE, " 'Q' | |||
| lv_no_value | TYPE HRP1000, " | |||
| lv_objid | TYPE HRP1000-OBJID, " | |||
| lv_error_during_delete | TYPE HRP1000, " | |||
| lv_gdate | TYPE HRP1000-GDATE, " SY-DATUM | |||
| lv_no_authorization | TYPE HRP1000, " | |||
| lv_vtask | TYPE HRRHAP-VTASK, " 'D' | |||
| lv_undefined | TYPE HRRHAP. " |
|   CALL FUNCTION 'HREXP_Q_EXPORT_DELETE' " |
| EXPORTING | ||
| PLVAR | = lv_plvar | |
| OTYPE | = lv_otype | |
| OBJID | = lv_objid | |
| GDATE | = lv_gdate | |
| VTASK | = lv_vtask | |
| EXCEPTIONS | ||
| INVALID_DATE = 1 | ||
| NO_VALUE = 2 | ||
| ERROR_DURING_DELETE = 3 | ||
| NO_AUTHORIZATION = 4 | ||
| UNDEFINED = 5 | ||
| . " HREXP_Q_EXPORT_DELETE | ||
ABAP code using 7.40 inline data declarations to call FM HREXP_Q_EXPORT_DELETE
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 PLVAR FROM HRP1000 INTO @DATA(ld_plvar). | ||||
| "SELECT single OTYPE FROM HRP1000 INTO @DATA(ld_otype). | ||||
| DATA(ld_otype) | = 'Q'. | |||
| "SELECT single OBJID FROM HRP1000 INTO @DATA(ld_objid). | ||||
| "SELECT single GDATE FROM HRP1000 INTO @DATA(ld_gdate). | ||||
| DATA(ld_gdate) | = SY-DATUM. | |||
| "SELECT single VTASK FROM HRRHAP INTO @DATA(ld_vtask). | ||||
| DATA(ld_vtask) | = 'D'. | |||
Search for further information about these or an SAP related objects