SAP UNDERLYING_CASH_DATA_GET Function Module for Set Underlying Data to Memory for Check









UNDERLYING_CASH_DATA_GET is a standard underlying cash data get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set Underlying Data to Memory for Check 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 underlying cash data get FM, simply by entering the name UNDERLYING_CASH_DATA_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function UNDERLYING_CASH_DATA_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 'UNDERLYING_CASH_DATA_GET'"Set Underlying Data to Memory for Check
EXPORTING
BUKRS = "Company Code
RFHA_OPT = "Financial Transaction

TABLES
AOPFU_FHA = "Underlying Transaction
AOPFU_FHAPO = "Underlyinggeschäftbewegungen
AOPFU_FHAZU = "Underlying Transaction Status Table
NOPFU_FHA = "Underlying Transaction
NOPFU_FHAPO = "Underlyinggeschäftbewegungen
NOPFU_FHAZU = "Underlying Transaction Status Table
.



IMPORTING Parameters details for UNDERLYING_CASH_DATA_GET

BUKRS - Company Code

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

RFHA_OPT - Financial Transaction

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

TABLES Parameters details for UNDERLYING_CASH_DATA_GET

AOPFU_FHA - Underlying Transaction

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

AOPFU_FHAPO - Underlyinggeschäftbewegungen

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

AOPFU_FHAZU - Underlying Transaction Status Table

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

NOPFU_FHA - Underlying Transaction

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

NOPFU_FHAPO - Underlyinggeschäftbewegungen

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

NOPFU_FHAZU - Underlying Transaction Status Table

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

Copy and paste ABAP code example for UNDERLYING_CASH_DATA_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_bukrs  TYPE VTB_HEADER-BUKRS, "   
lt_aopfu_fha  TYPE STANDARD TABLE OF VTIFHA, "   
lv_rfha_opt  TYPE VTBFHA-RFHA, "   
lt_aopfu_fhapo  TYPE STANDARD TABLE OF VTIFHAPO, "   
lt_aopfu_fhazu  TYPE STANDARD TABLE OF VTIFHAZU, "   
lt_nopfu_fha  TYPE STANDARD TABLE OF VTIFHA, "   
lt_nopfu_fhapo  TYPE STANDARD TABLE OF VTIFHAPO, "   
lt_nopfu_fhazu  TYPE STANDARD TABLE OF VTIFHAZU. "   

  CALL FUNCTION 'UNDERLYING_CASH_DATA_GET'  "Set Underlying Data to Memory for Check
    EXPORTING
         BUKRS = lv_bukrs
         RFHA_OPT = lv_rfha_opt
    TABLES
         AOPFU_FHA = lt_aopfu_fha
         AOPFU_FHAPO = lt_aopfu_fhapo
         AOPFU_FHAZU = lt_aopfu_fhazu
         NOPFU_FHA = lt_nopfu_fha
         NOPFU_FHAPO = lt_nopfu_fhapo
         NOPFU_FHAZU = lt_nopfu_fhazu
. " UNDERLYING_CASH_DATA_GET




ABAP code using 7.40 inline data declarations to call FM UNDERLYING_CASH_DATA_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 BUKRS FROM VTB_HEADER INTO @DATA(ld_bukrs).
 
 
"SELECT single RFHA FROM VTBFHA INTO @DATA(ld_rfha_opt).
 
 
 
 
 
 


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!