SAP BAPI_WAGECOMPEXT_GETLIST Function Module for









BAPI_WAGECOMPEXT_GETLIST is a standard bapi wagecompext getlist 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 bapi wagecompext getlist FM, simply by entering the name BAPI_WAGECOMPEXT_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: H99_WAGECOMPONENTEXT
Program Name: SAPLH99_WAGECOMPONENTEXT
Main Program: SAPLH99_WAGECOMPONENTEXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_WAGECOMPEXT_GETLIST 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 'BAPI_WAGECOMPEXT_GETLIST'"
EXPORTING
ORIGIN = "Origin of Data
* EMPLOYEENUMBER = "Personnel Number
* REFERENCENUMBER = "Reference Number
* FROMDATE = "Validity Date
* TODATE = "Validity Date
* MAXROWS = "Maximum Number of Lines of Hits

TABLES
* SELECTCRITERIALIST = "List of Selection Conditions
* EXTENSIONIN = "Table for Customer Enhancements
WAGECOMPLIST = "Transfer Key of External Wage Component
RETURN = "Return Parameter
.



IMPORTING Parameters details for BAPI_WAGECOMPEXT_GETLIST

ORIGIN - Origin of Data

Data type: BAPI_WAGECOMPEXT_DATA-ORIGIN
Optional: No
Call by Reference: No ( called with pass by value option)

EMPLOYEENUMBER - Personnel Number

Data type: BAPI_WAGECOMPEXT_SELECTCRIT-EMPLOYEENUMBER
Optional: Yes
Call by Reference: No ( called with pass by value option)

REFERENCENUMBER - Reference Number

Data type: BAPI_WAGECOMPEXT_SELECTCRIT-REFERENCENUMBER
Optional: Yes
Call by Reference: No ( called with pass by value option)

FROMDATE - Validity Date

Data type: BAPI_WAGECOMPEXT_SELECTCRIT-FROMDATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TODATE - Validity Date

Data type: BAPI_WAGECOMPEXT_SELECTCRIT-TODATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

MAXROWS - Maximum Number of Lines of Hits

Data type: BAPI_H99_GEN-BAPIMAXROWS
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BAPI_WAGECOMPEXT_GETLIST

SELECTCRITERIALIST - List of Selection Conditions

Data type: BAPI_WAGECOMPEXT_SELECTCRIT
Optional: Yes
Call by Reference: Yes

EXTENSIONIN - Table for Customer Enhancements

Data type: BAPIPAREX
Optional: Yes
Call by Reference: Yes

WAGECOMPLIST - Transfer Key of External Wage Component

Data type: BAPI_WAGECOMPEXT_KEY
Optional: No
Call by Reference: Yes

RETURN - Return Parameter

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BAPI_WAGECOMPEXT_GETLIST 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_origin  TYPE BAPI_WAGECOMPEXT_DATA-ORIGIN, "   
lt_selectcriterialist  TYPE STANDARD TABLE OF BAPI_WAGECOMPEXT_SELECTCRIT, "   
lt_extensionin  TYPE STANDARD TABLE OF BAPIPAREX, "   
lv_employeenumber  TYPE BAPI_WAGECOMPEXT_SELECTCRIT-EMPLOYEENUMBER, "   
lt_wagecomplist  TYPE STANDARD TABLE OF BAPI_WAGECOMPEXT_KEY, "   
lv_referencenumber  TYPE BAPI_WAGECOMPEXT_SELECTCRIT-REFERENCENUMBER, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_fromdate  TYPE BAPI_WAGECOMPEXT_SELECTCRIT-FROMDATE, "   
lv_todate  TYPE BAPI_WAGECOMPEXT_SELECTCRIT-TODATE, "   
lv_maxrows  TYPE BAPI_H99_GEN-BAPIMAXROWS. "   

  CALL FUNCTION 'BAPI_WAGECOMPEXT_GETLIST'  "
    EXPORTING
         ORIGIN = lv_origin
         EMPLOYEENUMBER = lv_employeenumber
         REFERENCENUMBER = lv_referencenumber
         FROMDATE = lv_fromdate
         TODATE = lv_todate
         MAXROWS = lv_maxrows
    TABLES
         SELECTCRITERIALIST = lt_selectcriterialist
         EXTENSIONIN = lt_extensionin
         WAGECOMPLIST = lt_wagecomplist
         RETURN = lt_return
. " BAPI_WAGECOMPEXT_GETLIST




ABAP code using 7.40 inline data declarations to call FM BAPI_WAGECOMPEXT_GETLIST

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 ORIGIN FROM BAPI_WAGECOMPEXT_DATA INTO @DATA(ld_origin).
 
 
 
"SELECT single EMPLOYEENUMBER FROM BAPI_WAGECOMPEXT_SELECTCRIT INTO @DATA(ld_employeenumber).
 
 
"SELECT single REFERENCENUMBER FROM BAPI_WAGECOMPEXT_SELECTCRIT INTO @DATA(ld_referencenumber).
 
 
"SELECT single FROMDATE FROM BAPI_WAGECOMPEXT_SELECTCRIT INTO @DATA(ld_fromdate).
 
"SELECT single TODATE FROM BAPI_WAGECOMPEXT_SELECTCRIT INTO @DATA(ld_todate).
 
"SELECT single BAPIMAXROWS FROM BAPI_H99_GEN INTO @DATA(ld_maxrows).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!