SAP HRCA_HOUSEBANKACCNT_GETDETAIL Function Module for









HRCA_HOUSEBANKACCNT_GETDETAIL is a standard hrca housebankaccnt getdetail 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 hrca housebankaccnt getdetail FM, simply by entering the name HRCA_HOUSEBANKACCNT_GETDETAIL into the relevant SAP transaction such as SE37 or SE38.

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



Function HRCA_HOUSEBANKACCNT_GETDETAIL 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 'HRCA_HOUSEBANKACCNT_GETDETAIL'"
EXPORTING
COMPANYCODE = "
HOUSEBANK_ID = "
ACCOUNT_ID = "

IMPORTING
BANKACCOUNT = "
BANKCONTROL = "
CURRENCY = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for HRCA_HOUSEBANKACCNT_GETDETAIL

COMPANYCODE -

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

HOUSEBANK_ID -

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

ACCOUNT_ID -

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

EXPORTING Parameters details for HRCA_HOUSEBANKACCNT_GETDETAIL

BANKACCOUNT -

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

BANKCONTROL -

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

CURRENCY -

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

EXCEPTIONS details

NOT_FOUND -

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

Copy and paste ABAP code example for HRCA_HOUSEBANKACCNT_GETDETAIL 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_not_found  TYPE STRING, "   
lv_bankaccount  TYPE HRCA_BANKA-BANKACCOUNT, "   
lv_companycode  TYPE HRCA_BANKA-COMPANYCODE, "   
lv_bankcontrol  TYPE HRCA_BANKA-BANKCONTROL, "   
lv_housebank_id  TYPE HRCA_BANKA-HOUSEBANK_ID, "   
lv_currency  TYPE HRCA_BANKA-CURRENCY, "   
lv_account_id  TYPE HRCA_BANKA-ACCOUNT_ID. "   

  CALL FUNCTION 'HRCA_HOUSEBANKACCNT_GETDETAIL'  "
    EXPORTING
         COMPANYCODE = lv_companycode
         HOUSEBANK_ID = lv_housebank_id
         ACCOUNT_ID = lv_account_id
    IMPORTING
         BANKACCOUNT = lv_bankaccount
         BANKCONTROL = lv_bankcontrol
         CURRENCY = lv_currency
    EXCEPTIONS
        NOT_FOUND = 1
. " HRCA_HOUSEBANKACCNT_GETDETAIL




ABAP code using 7.40 inline data declarations to call FM HRCA_HOUSEBANKACCNT_GETDETAIL

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 BANKACCOUNT FROM HRCA_BANKA INTO @DATA(ld_bankaccount).
 
"SELECT single COMPANYCODE FROM HRCA_BANKA INTO @DATA(ld_companycode).
 
"SELECT single BANKCONTROL FROM HRCA_BANKA INTO @DATA(ld_bankcontrol).
 
"SELECT single HOUSEBANK_ID FROM HRCA_BANKA INTO @DATA(ld_housebank_id).
 
"SELECT single CURRENCY FROM HRCA_BANKA INTO @DATA(ld_currency).
 
"SELECT single ACCOUNT_ID FROM HRCA_BANKA INTO @DATA(ld_account_id).
 


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!