SAP HRCM_ADJUSTMENT_BSSAL_GET Function Module for









HRCM_ADJUSTMENT_BSSAL_GET is a standard hrcm adjustment bssal get 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 hrcm adjustment bssal get FM, simply by entering the name HRCM_ADJUSTMENT_BSSAL_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRCMP00ADJUSTMENTS
Program Name: SAPLHRCMP00ADJUSTMENTS
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HRCM_ADJUSTMENT_BSSAL_GET 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 'HRCM_ADJUSTMENT_BSSAL_GET'"
EXPORTING
PERNR = "
CAREA = "
CPROC = "
CPLAN = "
CURCY = "
KEYDA = "
EFFDA = "
* REACTION = "

IMPORTING
BSDTE = "
BSWGT = "
BSSAL = "
BSCUR = "
BSFRQ = "

TABLES
* ERROR_TABLE = "

EXCEPTIONS
NO_ADJUSTMENT_TYPE_DATA = 1 UNUSABLE_TIME_UNIT = 2 BSSAL_CALC_ERROR = 3
.



IMPORTING Parameters details for HRCM_ADJUSTMENT_BSSAL_GET

PERNR -

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

CAREA -

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

CPROC -

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

CPLAN -

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

CURCY -

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

KEYDA -

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

EFFDA -

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

REACTION -

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

EXPORTING Parameters details for HRCM_ADJUSTMENT_BSSAL_GET

BSDTE -

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

BSWGT -

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

BSSAL -

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

BSCUR -

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

BSFRQ -

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

TABLES Parameters details for HRCM_ADJUSTMENT_BSSAL_GET

ERROR_TABLE -

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

EXCEPTIONS details

NO_ADJUSTMENT_TYPE_DATA -

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

UNUSABLE_TIME_UNIT -

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

BSSAL_CALC_ERROR -

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

Copy and paste ABAP code example for HRCM_ADJUSTMENT_BSSAL_GET 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_bsdte  TYPE P0380-BSDTE, "   
lv_pernr  TYPE P0380-PERNR, "   
lt_error_table  TYPE STANDARD TABLE OF RPBENERR, "   
lv_no_adjustment_type_data  TYPE RPBENERR, "   
lv_bswgt  TYPE P0380-BSWGT, "   
lv_carea  TYPE T71C3-CAREA, "   
lv_unusable_time_unit  TYPE T71C3, "   
lv_bssal  TYPE P0380-BSSAL, "   
lv_cproc  TYPE T71C8-CPROC, "   
lv_bssal_calc_error  TYPE T71C8, "   
lv_bscur  TYPE P0380-BSCUR, "   
lv_cplan  TYPE T71CA-CPLAN, "   
lv_bsfrq  TYPE T710F-FREQU, "   
lv_curcy  TYPE TCURC-WAERS, "   
lv_keyda  TYPE SY-DATUM, "   
lv_effda  TYPE SY-DATUM, "   
lv_reaction  TYPE SY-MSGTY. "   

  CALL FUNCTION 'HRCM_ADJUSTMENT_BSSAL_GET'  "
    EXPORTING
         PERNR = lv_pernr
         CAREA = lv_carea
         CPROC = lv_cproc
         CPLAN = lv_cplan
         CURCY = lv_curcy
         KEYDA = lv_keyda
         EFFDA = lv_effda
         REACTION = lv_reaction
    IMPORTING
         BSDTE = lv_bsdte
         BSWGT = lv_bswgt
         BSSAL = lv_bssal
         BSCUR = lv_bscur
         BSFRQ = lv_bsfrq
    TABLES
         ERROR_TABLE = lt_error_table
    EXCEPTIONS
        NO_ADJUSTMENT_TYPE_DATA = 1
        UNUSABLE_TIME_UNIT = 2
        BSSAL_CALC_ERROR = 3
. " HRCM_ADJUSTMENT_BSSAL_GET




ABAP code using 7.40 inline data declarations to call FM HRCM_ADJUSTMENT_BSSAL_GET

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 BSDTE FROM P0380 INTO @DATA(ld_bsdte).
 
"SELECT single PERNR FROM P0380 INTO @DATA(ld_pernr).
 
 
 
"SELECT single BSWGT FROM P0380 INTO @DATA(ld_bswgt).
 
"SELECT single CAREA FROM T71C3 INTO @DATA(ld_carea).
 
 
"SELECT single BSSAL FROM P0380 INTO @DATA(ld_bssal).
 
"SELECT single CPROC FROM T71C8 INTO @DATA(ld_cproc).
 
 
"SELECT single BSCUR FROM P0380 INTO @DATA(ld_bscur).
 
"SELECT single CPLAN FROM T71CA INTO @DATA(ld_cplan).
 
"SELECT single FREQU FROM T710F INTO @DATA(ld_bsfrq).
 
"SELECT single WAERS FROM TCURC INTO @DATA(ld_curcy).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_keyda).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_effda).
 
"SELECT single MSGTY FROM SY INTO @DATA(ld_reaction).
 


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!