SAP FMFG_SIMULATE_SPLIT_LEDGER Function Module for Simulate split ledger so the account assignment is set









FMFG_SIMULATE_SPLIT_LEDGER is a standard fmfg simulate split ledger SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Simulate split ledger so the account assignment is set 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 fmfg simulate split ledger FM, simply by entering the name FMFG_SIMULATE_SPLIT_LEDGER into the relevant SAP transaction such as SE37 or SE38.

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



Function FMFG_SIMULATE_SPLIT_LEDGER 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 'FMFG_SIMULATE_SPLIT_LEDGER'"Simulate split ledger so the account assignment is set
EXPORTING
* I_SUBSEQUENT = "General Flag

TABLES
T_ACCHD_SPLIT = "Interface to Accounting: Header Information
T_ACCIT_SPLIT = "Accounting Interface: Item Information
T_ACCCR_SPLIT = "Accounting Interface: Currency Information
* T_AUSZ3_SPLIT = "Assign Clearing Item to Cleared Items
* T_CURTP_TAB = "
* T_ACCIT_EXT = "ACC Document: Additional Item Information
* T_AUSZ_CLR_ASGMT = "Assgt of Clrg Items - Cleared Items with Acct Assignment
.



IMPORTING Parameters details for FMFG_SIMULATE_SPLIT_LEDGER

I_SUBSEQUENT - General Flag

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

TABLES Parameters details for FMFG_SIMULATE_SPLIT_LEDGER

T_ACCHD_SPLIT - Interface to Accounting: Header Information

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

T_ACCIT_SPLIT - Accounting Interface: Item Information

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

T_ACCCR_SPLIT - Accounting Interface: Currency Information

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

T_AUSZ3_SPLIT - Assign Clearing Item to Cleared Items

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

T_CURTP_TAB -

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

T_ACCIT_EXT - ACC Document: Additional Item Information

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

T_AUSZ_CLR_ASGMT - Assgt of Clrg Items - Cleared Items with Acct Assignment

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

Copy and paste ABAP code example for FMFG_SIMULATE_SPLIT_LEDGER 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_i_subsequent  TYPE FLAG, "   
lt_t_acchd_split  TYPE STANDARD TABLE OF ACCHD, "   
lt_t_accit_split  TYPE STANDARD TABLE OF ACCIT, "   
lt_t_acccr_split  TYPE STANDARD TABLE OF ACCCR, "   
lt_t_ausz3_split  TYPE STANDARD TABLE OF AUSZ_CLR, "   
lt_t_curtp_tab  TYPE STANDARD TABLE OF GLT0_CURTP_TAB, "   
lt_t_accit_ext  TYPE STANDARD TABLE OF ACCIT_EXTENSION, "   
lt_t_ausz_clr_asgmt  TYPE STANDARD TABLE OF AUSZ_CLR_ASGMT. "   

  CALL FUNCTION 'FMFG_SIMULATE_SPLIT_LEDGER'  "Simulate split ledger so the account assignment is set
    EXPORTING
         I_SUBSEQUENT = lv_i_subsequent
    TABLES
         T_ACCHD_SPLIT = lt_t_acchd_split
         T_ACCIT_SPLIT = lt_t_accit_split
         T_ACCCR_SPLIT = lt_t_acccr_split
         T_AUSZ3_SPLIT = lt_t_ausz3_split
         T_CURTP_TAB = lt_t_curtp_tab
         T_ACCIT_EXT = lt_t_accit_ext
         T_AUSZ_CLR_ASGMT = lt_t_ausz_clr_asgmt
. " FMFG_SIMULATE_SPLIT_LEDGER




ABAP code using 7.40 inline data declarations to call FM FMFG_SIMULATE_SPLIT_LEDGER

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!