SAP FI_PAY_GROUP_SPLIT Function Module for









FI_PAY_GROUP_SPLIT is a standard fi pay group split 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 fi pay group split FM, simply by entering the name FI_PAY_GROUP_SPLIT into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_PAY_GROUP_SPLIT 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 'FI_PAY_GROUP_SPLIT'"
EXPORTING
IT_XZAHLB = "
I_KURSFAKTOR = "
I_KURSFAKTOR2 = "
I_KURSFAKTOR3 = "
I_KURSTEILER = "
I_KURSTEILER2 = "
I_KURSTEILER3 = "
IT_ZZAHLG = "
I_F111 = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_ZLSCH = "
I_RWBTR = "Amount Paid in the Payment Currency
I_T042B = "Details on the company codes that must pay
I_X001 = "Derived Company Code Additional Data
* I_PAYRQ_XKDFB = ' ' "Do not Post any Exchange Rate Differences
* I_ZHLG2_PRQ = "

IMPORTING
ET_XZAHLB = "
ET_ZZAHLG = "

CHANGING
* CT_REGUH = "
.



IMPORTING Parameters details for FI_PAY_GROUP_SPLIT

IT_XZAHLB -

Data type: TABLE
Optional: No
Call by Reference: Yes

I_KURSFAKTOR -

Data type: P
Optional: No
Call by Reference: Yes

I_KURSFAKTOR2 -

Data type: P
Optional: No
Call by Reference: Yes

I_KURSFAKTOR3 -

Data type: P
Optional: No
Call by Reference: Yes

I_KURSTEILER -

Data type: P
Optional: No
Call by Reference: Yes

I_KURSTEILER2 -

Data type: P
Optional: No
Call by Reference: Yes

I_KURSTEILER3 -

Data type: P
Optional: No
Call by Reference: Yes

IT_ZZAHLG -

Data type: TABLE
Optional: No
Call by Reference: Yes

I_F111 - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE_D
Optional: No
Call by Reference: Yes

I_ZLSCH -

Data type: T042E-ZLSCH
Optional: Yes
Call by Reference: Yes

I_RWBTR - Amount Paid in the Payment Currency

Data type: REGUH-RWBTR
Optional: No
Call by Reference: Yes

I_T042B - Details on the company codes that must pay

Data type: T042B
Optional: No
Call by Reference: Yes

I_X001 - Derived Company Code Additional Data

Data type: X001
Optional: No
Call by Reference: Yes

I_PAYRQ_XKDFB - Do not Post any Exchange Rate Differences

Data type: T042B-XKDFB
Default: ' '
Optional: Yes
Call by Reference: Yes

I_ZHLG2_PRQ -

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

EXPORTING Parameters details for FI_PAY_GROUP_SPLIT

ET_XZAHLB -

Data type: TABLE
Optional: No
Call by Reference: Yes

ET_ZZAHLG -

Data type: TABLE
Optional: No
Call by Reference: Yes

CHANGING Parameters details for FI_PAY_GROUP_SPLIT

CT_REGUH -

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

Copy and paste ABAP code example for FI_PAY_GROUP_SPLIT 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_ct_reguh  TYPE TABLE, "   
lv_et_xzahlb  TYPE TABLE, "   
lv_it_xzahlb  TYPE TABLE, "   
lv_i_kursfaktor  TYPE P, "   
lv_i_kursfaktor2  TYPE P, "   
lv_i_kursfaktor3  TYPE P, "   
lv_i_kursteiler  TYPE P, "   
lv_i_kursteiler2  TYPE P, "   
lv_i_kursteiler3  TYPE P, "   
lv_et_zzahlg  TYPE TABLE, "   
lv_it_zzahlg  TYPE TABLE, "   
lv_i_f111  TYPE BOOLE_D, "   
lv_i_zlsch  TYPE T042E-ZLSCH, "   
lv_i_rwbtr  TYPE REGUH-RWBTR, "   
lv_i_t042b  TYPE T042B, "   
lv_i_x001  TYPE X001, "   
lv_i_payrq_xkdfb  TYPE T042B-XKDFB, "   ' '
lv_i_zhlg2_prq  TYPE FIPRQ_ZHLG2. "   

  CALL FUNCTION 'FI_PAY_GROUP_SPLIT'  "
    EXPORTING
         IT_XZAHLB = lv_it_xzahlb
         I_KURSFAKTOR = lv_i_kursfaktor
         I_KURSFAKTOR2 = lv_i_kursfaktor2
         I_KURSFAKTOR3 = lv_i_kursfaktor3
         I_KURSTEILER = lv_i_kursteiler
         I_KURSTEILER2 = lv_i_kursteiler2
         I_KURSTEILER3 = lv_i_kursteiler3
         IT_ZZAHLG = lv_it_zzahlg
         I_F111 = lv_i_f111
         I_ZLSCH = lv_i_zlsch
         I_RWBTR = lv_i_rwbtr
         I_T042B = lv_i_t042b
         I_X001 = lv_i_x001
         I_PAYRQ_XKDFB = lv_i_payrq_xkdfb
         I_ZHLG2_PRQ = lv_i_zhlg2_prq
    IMPORTING
         ET_XZAHLB = lv_et_xzahlb
         ET_ZZAHLG = lv_et_zzahlg
    CHANGING
         CT_REGUH = lv_ct_reguh
. " FI_PAY_GROUP_SPLIT




ABAP code using 7.40 inline data declarations to call FM FI_PAY_GROUP_SPLIT

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 ZLSCH FROM T042E INTO @DATA(ld_i_zlsch).
 
"SELECT single RWBTR FROM REGUH INTO @DATA(ld_i_rwbtr).
 
 
 
"SELECT single XKDFB FROM T042B INTO @DATA(ld_i_payrq_xkdfb).
DATA(ld_i_payrq_xkdfb) = ' '.
 
 


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!