SAP FRE_ORD_REORG_PARALLEL Function Module for FRE_OP_PO_KEY reorganization in parallel mode
FRE_ORD_REORG_PARALLEL is a standard fre ord reorg parallel SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FRE_OP_PO_KEY reorganization in parallel mode 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 ord reorg parallel FM, simply by entering the name FRE_ORD_REORG_PARALLEL into the relevant SAP transaction such as SE37 or SE38.
Function Group: FRE_ORDER_DB
Program Name: SAPLFRE_ORDER_DB
Main Program: SAPLFRE_ORDER_DB
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FRE_ORD_REORG_PARALLEL 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_ORD_REORG_PARALLEL'"FRE_OP_PO_KEY reorganization in parallel mode.
EXPORTING
IS_SEND_OPTION = "Maintain Basic Settings for Data Transfer
* IP_BLOCK_OPH = "Checkbox
IP_DELDAT = "Current Date of Application Server
IP_PARALLEL = "Checkbox
IP_SVRGR = "Logon/Server Group Name
IP_TASKS = "Maximum number of parallel tasks
IP_BLOCK = "
IP_CHECK = "Checkbox
IRT_WERKS = "Plant Range Table Type
IRT_EBELN = "Purchasing Document Number Range
IMPORTING
EP_DEL_REC = "Processed Database Table Rows
fre_ord_reorg_parallel
IMPORTING Parameters details for FRE_ORD_REORG_PARALLEL
IS_SEND_OPTION - Maintain Basic Settings for Data Transfer
Data type: FRE_SEND_OPTIONOptional: No
Call by Reference: Yes
IP_BLOCK_OPH - Checkbox
Data type: XFELDOptional: Yes
Call by Reference: Yes
IP_DELDAT - Current Date of Application Server
Data type: SYDATUMOptional: No
Call by Reference: Yes
IP_PARALLEL - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
IP_SVRGR - Logon/Server Group Name
Data type: RZLLI_APCLOptional: No
Call by Reference: Yes
IP_TASKS - Maximum number of parallel tasks
Data type: DDMAXTASKSOptional: No
Call by Reference: Yes
IP_BLOCK -
Data type: FRE_REC_P_POptional: No
Call by Reference: Yes
IP_CHECK - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
IRT_WERKS - Plant Range Table Type
Data type: FRE_WERKS_RTTYOptional: No
Call by Reference: Yes
IRT_EBELN - Purchasing Document Number Range
Data type: FRE_EBELN_RTTYOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FRE_ORD_REORG_PARALLEL
EP_DEL_REC - Processed Database Table Rows
Data type: SYDBCNTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FRE_ORD_REORG_PARALLEL 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_ep_del_rec | TYPE SYDBCNT, " | |||
lv_is_send_option | TYPE FRE_SEND_OPTION, " | |||
lv_ip_block_oph | TYPE XFELD, " | |||
lv_ip_deldat | TYPE SYDATUM, " | |||
lv_ip_parallel | TYPE XFELD, " | |||
lv_ip_svrgr | TYPE RZLLI_APCL, " | |||
lv_ip_tasks | TYPE DDMAXTASKS, " | |||
lv_ip_block | TYPE FRE_REC_P_P, " | |||
lv_ip_check | TYPE XFELD, " | |||
lv_irt_werks | TYPE FRE_WERKS_RTTY, " | |||
lv_irt_ebeln | TYPE FRE_EBELN_RTTY. " |
  CALL FUNCTION 'FRE_ORD_REORG_PARALLEL' "FRE_OP_PO_KEY reorganization in parallel mode |
EXPORTING | ||
IS_SEND_OPTION | = lv_is_send_option | |
IP_BLOCK_OPH | = lv_ip_block_oph | |
IP_DELDAT | = lv_ip_deldat | |
IP_PARALLEL | = lv_ip_parallel | |
IP_SVRGR | = lv_ip_svrgr | |
IP_TASKS | = lv_ip_tasks | |
IP_BLOCK | = lv_ip_block | |
IP_CHECK | = lv_ip_check | |
IRT_WERKS | = lv_irt_werks | |
IRT_EBELN | = lv_irt_ebeln | |
IMPORTING | ||
EP_DEL_REC | = lv_ep_del_rec | |
. " FRE_ORD_REORG_PARALLEL |
ABAP code using 7.40 inline data declarations to call FM FRE_ORD_REORG_PARALLEL
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