SAP FRE_POOP_CHK_BALANCING Function Module for Balancing order proposal / purchase order data
FRE_POOP_CHK_BALANCING is a standard fre poop chk balancing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Balancing order proposal / purchase order data 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 fre poop chk balancing FM, simply by entering the name FRE_POOP_CHK_BALANCING into the relevant SAP transaction such as SE37 or SE38.
Function Group: FRE_SUPPORT_TOOLS
Program Name: SAPLFRE_SUPPORT_TOOLS
Main Program: SAPLFRE_SUPPORT_TOOLS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FRE_POOP_CHK_BALANCING 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 'FRE_POOP_CHK_BALANCING'"Balancing order proposal / purchase order data.
EXPORTING
* IT_ART_SITE = "Article site combination
* IT_OPI_FRE = "Purchase Order data - FRE_CHECK_PO_OP
* I_STRUCT = "Handling of structured articles
CHANGING
* CT_OPI_ERP = "Purchase Order data - FRE_CHECK_PO_OP
* CT_CPS = "Change pointer for components
IMPORTING Parameters details for FRE_POOP_CHK_BALANCING
IT_ART_SITE - Article site combination
Data type: FRE_WERKS_MATNR_TTYOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OPI_FRE - Purchase Order data - FRE_CHECK_PO_OP
Data type: FRE_POOP_CHK_DATA_OPI_TTYOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STRUCT - Handling of structured articles
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for FRE_POOP_CHK_BALANCING
CT_OPI_ERP - Purchase Order data - FRE_CHECK_PO_OP
Data type: FRE_POOP_CHK_DATA_OPI_TTYOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_CPS - Change pointer for components
Data type: FRE_POOP_CHK_PO_KEY_TTYOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FRE_POOP_CHK_BALANCING 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_opi_erp | TYPE FRE_POOP_CHK_DATA_OPI_TTY, " | |||
| lv_it_art_site | TYPE FRE_WERKS_MATNR_TTY, " | |||
| lv_ct_cps | TYPE FRE_POOP_CHK_PO_KEY_TTY, " | |||
| lv_it_opi_fre | TYPE FRE_POOP_CHK_DATA_OPI_TTY, " | |||
| lv_i_struct | TYPE CHAR1. " |
|   CALL FUNCTION 'FRE_POOP_CHK_BALANCING' "Balancing order proposal / purchase order data |
| EXPORTING | ||
| IT_ART_SITE | = lv_it_art_site | |
| IT_OPI_FRE | = lv_it_opi_fre | |
| I_STRUCT | = lv_i_struct | |
| CHANGING | ||
| CT_OPI_ERP | = lv_ct_opi_erp | |
| CT_CPS | = lv_ct_cps | |
| . " FRE_POOP_CHK_BALANCING | ||
ABAP code using 7.40 inline data declarations to call FM FRE_POOP_CHK_BALANCING
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