SAP HR_CZ_TRANSFER_BACC_AND_MODULO Function Module for Transfer bank account and his check for MODULO10 and MODULO11









HR_CZ_TRANSFER_BACC_AND_MODULO is a standard hr cz transfer bacc and modulo SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transfer bank account and his check for MODULO10 and MODULO11 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 hr cz transfer bacc and modulo FM, simply by entering the name HR_CZ_TRANSFER_BACC_AND_MODULO into the relevant SAP transaction such as SE37 or SE38.

Function Group: 3T04
Program Name: SAPL3T04
Main Program: SAPL3T04
Appliation area: F
Release date: 14-Sep-1999
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_CZ_TRANSFER_BACC_AND_MODULO 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 'HR_CZ_TRANSFER_BACC_AND_MODULO'"Transfer bank account and his check for MODULO10 and MODULO11
EXPORTING
BANK_ACCOUNT_E = "Input Bank account
CHECK_MODULO10 = "Check bank account for MODULO10 - no space
CHECK_MODULO11 = "Check bank account for MODULO11 - no space

IMPORTING
BANK_ACCOUNT_I = "Output bank account in form xxxxxxxxxxxxxxxx
CORRECT_MODULO10 = "If bank.acc is corr.for MODULO10 - result 'Y'
CORRECT_MODULO11 = "If bank.acc is corr.for MODULO11 - result 'Y'

EXCEPTIONS
NO_NUMERIC_BACC = 1 TOO_LONG_BACC = 2 TOO_LONG_PREFIX_BACC = 3 TOO_LONG_BANK_SUBS = 4 TOO_MANY_PAUSE_IN_BACC = 5 ONLY_ZERO_BACC = 6
.



IMPORTING Parameters details for HR_CZ_TRANSFER_BACC_AND_MODULO

BANK_ACCOUNT_E - Input Bank account

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

CHECK_MODULO10 - Check bank account for MODULO10 - no space

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

CHECK_MODULO11 - Check bank account for MODULO11 - no space

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

EXPORTING Parameters details for HR_CZ_TRANSFER_BACC_AND_MODULO

BANK_ACCOUNT_I - Output bank account in form xxxxxxxxxxxxxxxx

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

CORRECT_MODULO10 - If bank.acc is corr.for MODULO10 - result 'Y'

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

CORRECT_MODULO11 - If bank.acc is corr.for MODULO11 - result 'Y'

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

EXCEPTIONS details

NO_NUMERIC_BACC -

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

TOO_LONG_BACC -

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

TOO_LONG_PREFIX_BACC -

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

TOO_LONG_BANK_SUBS -

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

TOO_MANY_PAUSE_IN_BACC -

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

ONLY_ZERO_BACC -

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

Copy and paste ABAP code example for HR_CZ_TRANSFER_BACC_AND_MODULO 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_bank_account_e  TYPE STRING, "   
lv_bank_account_i  TYPE STRING, "   
lv_no_numeric_bacc  TYPE STRING, "   
lv_too_long_bacc  TYPE STRING, "   
lv_check_modulo10  TYPE STRING, "   
lv_correct_modulo10  TYPE STRING, "   
lv_check_modulo11  TYPE STRING, "   
lv_correct_modulo11  TYPE STRING, "   
lv_too_long_prefix_bacc  TYPE STRING, "   
lv_too_long_bank_subs  TYPE STRING, "   
lv_too_many_pause_in_bacc  TYPE STRING, "   
lv_only_zero_bacc  TYPE STRING. "   

  CALL FUNCTION 'HR_CZ_TRANSFER_BACC_AND_MODULO'  "Transfer bank account and his check for MODULO10 and MODULO11
    EXPORTING
         BANK_ACCOUNT_E = lv_bank_account_e
         CHECK_MODULO10 = lv_check_modulo10
         CHECK_MODULO11 = lv_check_modulo11
    IMPORTING
         BANK_ACCOUNT_I = lv_bank_account_i
         CORRECT_MODULO10 = lv_correct_modulo10
         CORRECT_MODULO11 = lv_correct_modulo11
    EXCEPTIONS
        NO_NUMERIC_BACC = 1
        TOO_LONG_BACC = 2
        TOO_LONG_PREFIX_BACC = 3
        TOO_LONG_BANK_SUBS = 4
        TOO_MANY_PAUSE_IN_BACC = 5
        ONLY_ZERO_BACC = 6
. " HR_CZ_TRANSFER_BACC_AND_MODULO




ABAP code using 7.40 inline data declarations to call FM HR_CZ_TRANSFER_BACC_AND_MODULO

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.

 
 
 
 
 
 
 
 
 
 
 
 


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!