SAP PAL_EXPORT_FLOWS Function Module for Export Flows from Global Memory of Financial Transaction
PAL_EXPORT_FLOWS is a standard pal export flows SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Export Flows from Global Memory of Financial Transaction 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 pal export flows FM, simply by entering the name PAL_EXPORT_FLOWS into the relevant SAP transaction such as SE37 or SE38.
Function Group: FPM_DERIVED_FLOWS
Program Name: SAPLFPM_DERIVED_FLOWS
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PAL_EXPORT_FLOWS 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 'PAL_EXPORT_FLOWS'"Export Flows from Global Memory of Financial Transaction.
EXPORTING
I_BUKRS = "Company Code
I_RANL = "ID Number
I_RLDEPO = "Securities Account
* I_TRANSACTION = "Geschäftsvorfall --> s. Langtext!!
* I_TRANSACTION_INCLUSIVE = 'X' "s. Langtext zu I_TRANSACTION
CHANGING
* C_TAB_ALL_FLOWS = "alle Bewegungen
* C_TAB_ALL_TRANSACTIONS = "
EXCEPTIONS
FAILED = 1
IMPORTING Parameters details for PAL_EXPORT_FLOWS
I_BUKRS - Company Code
Data type: TZBZ-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_RANL - ID Number
Data type: VWPANLA-RANLOptional: No
Call by Reference: No ( called with pass by value option)
I_RLDEPO - Securities Account
Data type: TWD01-RLDEPOOptional: No
Call by Reference: No ( called with pass by value option)
I_TRANSACTION - Geschäftsvorfall --> s. Langtext!!
Data type: TRSEK_TRANSACTIONOptional: Yes
Call by Reference: Yes
I_TRANSACTION_INCLUSIVE - s. Langtext zu I_TRANSACTION
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for PAL_EXPORT_FLOWS
C_TAB_ALL_FLOWS - alle Bewegungen
Data type: TRSEK_TAB_FLOWSOptional: Yes
Call by Reference: Yes
C_TAB_ALL_TRANSACTIONS -
Data type: TRSEK_TAB_TRANSACTIONSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
FAILED - General Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for PAL_EXPORT_FLOWS 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_failed | TYPE STRING, " | |||
| lv_i_bukrs | TYPE TZBZ-BUKRS, " | |||
| lv_c_tab_all_flows | TYPE TRSEK_TAB_FLOWS, " | |||
| lv_i_ranl | TYPE VWPANLA-RANL, " | |||
| lv_c_tab_all_transactions | TYPE TRSEK_TAB_TRANSACTIONS, " | |||
| lv_i_rldepo | TYPE TWD01-RLDEPO, " | |||
| lv_i_transaction | TYPE TRSEK_TRANSACTION, " | |||
| lv_i_transaction_inclusive | TYPE C. " 'X' |
|   CALL FUNCTION 'PAL_EXPORT_FLOWS' "Export Flows from Global Memory of Financial Transaction |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_RANL | = lv_i_ranl | |
| I_RLDEPO | = lv_i_rldepo | |
| I_TRANSACTION | = lv_i_transaction | |
| I_TRANSACTION_INCLUSIVE | = lv_i_transaction_inclusive | |
| CHANGING | ||
| C_TAB_ALL_FLOWS | = lv_c_tab_all_flows | |
| C_TAB_ALL_TRANSACTIONS | = lv_c_tab_all_transactions | |
| EXCEPTIONS | ||
| FAILED = 1 | ||
| . " PAL_EXPORT_FLOWS | ||
ABAP code using 7.40 inline data declarations to call FM PAL_EXPORT_FLOWS
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 TZBZ INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single RANL FROM VWPANLA INTO @DATA(ld_i_ranl). | ||||
| "SELECT single RLDEPO FROM TWD01 INTO @DATA(ld_i_rldepo). | ||||
| DATA(ld_i_transaction_inclusive) | = 'X'. | |||
Search for further information about these or an SAP related objects