SAP CACS_DISPLAY_DOC_FROM_HR Function Module for NOTRANSL: Provisionsbeleg anzeigen vom FI aus









CACS_DISPLAY_DOC_FROM_HR is a standard cacs display doc from hr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Provisionsbeleg anzeigen vom FI aus processing and below is the pattern details for this FM, 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 cacs display doc from hr FM, simply by entering the name CACS_DISPLAY_DOC_FROM_HR into the relevant SAP transaction such as SE37 or SE38.

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



Function CACS_DISPLAY_DOC_FROM_HR 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 'CACS_DISPLAY_DOC_FROM_HR'"NOTRANSL: Provisionsbeleg anzeigen vom FI aus
EXPORTING
ORIGIN = "Origins of Data
EMPLOYEENUMBER = "Personnel Number
REFERENCENUMBER = "Reference Number
VALIDITYDATE = "Valid-From Date

TABLES
* IT_RETURN = "Return Table
.



IMPORTING Parameters details for CACS_DISPLAY_DOC_FROM_HR

ORIGIN - Origins of Data

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

EMPLOYEENUMBER - Personnel Number

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

REFERENCENUMBER - Reference Number

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

VALIDITYDATE - Valid-From Date

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

TABLES Parameters details for CACS_DISPLAY_DOC_FROM_HR

IT_RETURN - Return Table

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

Copy and paste ABAP code example for CACS_DISPLAY_DOC_FROM_HR 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_WAGE_COMP_DATA-ORIGIN, "   
lt_it_return  TYPE STANDARD TABLE OF BAPIRET2_T, "   
lv_employeenumber  TYPE BAPI_WAGE_COMP_KEY-EMPLOYEENUMBER, "   
lv_referencenumber  TYPE BAPI_WAGE_COMP_DATA-REFERENCE_NR, "   
lv_validitydate  TYPE BAPI_WAGE_COMP_KEY-VALIDITYBEGIN. "   

  CALL FUNCTION 'CACS_DISPLAY_DOC_FROM_HR'  "NOTRANSL: Provisionsbeleg anzeigen vom FI aus
    EXPORTING
         ORIGIN = lv_origin
         EMPLOYEENUMBER = lv_employeenumber
         REFERENCENUMBER = lv_referencenumber
         VALIDITYDATE = lv_validitydate
    TABLES
         IT_RETURN = lt_it_return
. " CACS_DISPLAY_DOC_FROM_HR




ABAP code using 7.40 inline data declarations to call FM CACS_DISPLAY_DOC_FROM_HR

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_WAGE_COMP_DATA INTO @DATA(ld_origin).
 
 
"SELECT single EMPLOYEENUMBER FROM BAPI_WAGE_COMP_KEY INTO @DATA(ld_employeenumber).
 
"SELECT single REFERENCE_NR FROM BAPI_WAGE_COMP_DATA INTO @DATA(ld_referencenumber).
 
"SELECT single VALIDITYBEGIN FROM BAPI_WAGE_COMP_KEY INTO @DATA(ld_validitydate).
 


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!