SAP /SAPAPO/DM_ADJUSTMENT_PARALLE2 Function Module for Parallel update fcst schedule timestamps with wrong MVM SNP time zone flag
/SAPAPO/DM_ADJUSTMENT_PARALLE2 is a standard /sapapo/dm adjustment paralle2 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Parallel update fcst schedule timestamps with wrong MVM SNP time zone flag 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 /sapapo/dm adjustment paralle2 FM, simply by entering the name /SAPAPO/DM_ADJUSTMENT_PARALLE2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: /SAPAPO/DEMA
Program Name: /SAPAPO/SAPLDEMA
Main Program: /SAPAPO/SAPLDEMA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function /SAPAPO/DM_ADJUSTMENT_PARALLE2 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 '/SAPAPO/DM_ADJUSTMENT_PARALLE2'"Parallel update fcst schedule timestamps with wrong MVM SNP time zone flag.
EXPORTING
IV_TASK = "Vorpl.-Verrechn: Maximale Anzahl der parallelen Prozesse
IV_BLOCK = "5 Stellen numerisch NUMC
IV_UPDKZ = "Test Mode
IV_UPDATE = "UPDATE Mode
* IV_LIST = "List Option
IV_VERS = "Version
IV_TSP_RANGE = "Range for Timestamps
IV_LOCAL_ZONE = "Use of Local Time Zone
IV_ENTRIES = "Interne Tabellen, aktueller Zeilenindex
IMPORTING
EV_STARTEDTASK = "
EV_FINISHEDTASK = "
TABLES
IT_ORDER_SETTINGS = "Planungsdetails zu Bedarfsplan
IT_PEGID_ORIG = "Tabelle mit Kombinationen von Pegarea-Key und deskr. Merkmal
IT_STF_INI_SUM = "Tabelle mit Einteilungen für Bestell-/ Kundenaufträge
IT_STF_RES_SUM = "Tabelle mit Einteilungen für Bestell-/ Kundenaufträge
CT_ERR_MSGS = "TS Log: Data from Multiple Messages
IMPORTING Parameters details for /SAPAPO/DM_ADJUSTMENT_PARALLE2
IV_TASK - Vorpl.-Verrechn: Maximale Anzahl der parallelen Prozesse
Data type: /SAPAPO/MAXTASKOptional: No
Call by Reference: Yes
IV_BLOCK - 5 Stellen numerisch NUMC
Data type: NUMC5Optional: No
Call by Reference: Yes
IV_UPDKZ - Test Mode
Data type: /SAPAPO/FLAGOptional: No
Call by Reference: Yes
IV_UPDATE - UPDATE Mode
Data type: /SAPAPO/FLAGOptional: No
Call by Reference: Yes
IV_LIST - List Option
Data type: /SAPAPO/FLAGOptional: Yes
Call by Reference: Yes
IV_VERS - Version
Data type: /SAPAPO/VRSIOIDOptional: No
Call by Reference: Yes
IV_TSP_RANGE - Range for Timestamps
Data type: /SAPAPO/TIMESTAMP_RSTROptional: No
Call by Reference: Yes
IV_LOCAL_ZONE - Use of Local Time Zone
Data type: /SAPAPO/FLAGOptional: No
Call by Reference: Yes
IV_ENTRIES - Interne Tabellen, aktueller Zeilenindex
Data type: IOptional: No
Call by Reference: Yes
EXPORTING Parameters details for /SAPAPO/DM_ADJUSTMENT_PARALLE2
EV_STARTEDTASK -
Data type: IOptional: No
Call by Reference: Yes
EV_FINISHEDTASK -
Data type: IOptional: No
Call by Reference: Yes
TABLES Parameters details for /SAPAPO/DM_ADJUSTMENT_PARALLE2
IT_ORDER_SETTINGS - Planungsdetails zu Bedarfsplan
Data type: /SAPAPO/DM_ORDER_SETTINGS_TABOptional: No
Call by Reference: Yes
IT_PEGID_ORIG - Tabelle mit Kombinationen von Pegarea-Key und deskr. Merkmal
Data type: /SAPAPO/OM_PEGID_DESC_CHAR_TABOptional: No
Call by Reference: Yes
IT_STF_INI_SUM - Tabelle mit Einteilungen für Bestell-/ Kundenaufträge
Data type: /SAPAPO/OM_SCHEDULE_LINE_TABOptional: No
Call by Reference: Yes
IT_STF_RES_SUM - Tabelle mit Einteilungen für Bestell-/ Kundenaufträge
Data type: /SAPAPO/OM_SCHEDULE_LINE_TABOptional: No
Call by Reference: Yes
CT_ERR_MSGS - TS Log: Data from Multiple Messages
Data type: /SAPAPO/TS_BAL_MSG_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for /SAPAPO/DM_ADJUSTMENT_PARALLE2 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_iv_task | TYPE /SAPAPO/MAXTASK, " | |||
| lv_ev_startedtask | TYPE I, " | |||
| lt_it_order_settings | TYPE STANDARD TABLE OF /SAPAPO/DM_ORDER_SETTINGS_TAB, " | |||
| lv_iv_block | TYPE NUMC5, " | |||
| lt_it_pegid_orig | TYPE STANDARD TABLE OF /SAPAPO/OM_PEGID_DESC_CHAR_TAB, " | |||
| lv_ev_finishedtask | TYPE I, " | |||
| lv_iv_updkz | TYPE /SAPAPO/FLAG, " | |||
| lt_it_stf_ini_sum | TYPE STANDARD TABLE OF /SAPAPO/OM_SCHEDULE_LINE_TAB, " | |||
| lv_iv_update | TYPE /SAPAPO/FLAG, " | |||
| lt_it_stf_res_sum | TYPE STANDARD TABLE OF /SAPAPO/OM_SCHEDULE_LINE_TAB, " | |||
| lv_iv_list | TYPE /SAPAPO/FLAG, " | |||
| lt_ct_err_msgs | TYPE STANDARD TABLE OF /SAPAPO/TS_BAL_MSG_TAB, " | |||
| lv_iv_vers | TYPE /SAPAPO/VRSIOID, " | |||
| lv_iv_tsp_range | TYPE /SAPAPO/TIMESTAMP_RSTR, " | |||
| lv_iv_local_zone | TYPE /SAPAPO/FLAG, " | |||
| lv_iv_entries | TYPE I. " |
|   CALL FUNCTION '/SAPAPO/DM_ADJUSTMENT_PARALLE2' "Parallel update fcst schedule timestamps with wrong MVM SNP time zone flag |
| EXPORTING | ||
| IV_TASK | = lv_iv_task | |
| IV_BLOCK | = lv_iv_block | |
| IV_UPDKZ | = lv_iv_updkz | |
| IV_UPDATE | = lv_iv_update | |
| IV_LIST | = lv_iv_list | |
| IV_VERS | = lv_iv_vers | |
| IV_TSP_RANGE | = lv_iv_tsp_range | |
| IV_LOCAL_ZONE | = lv_iv_local_zone | |
| IV_ENTRIES | = lv_iv_entries | |
| IMPORTING | ||
| EV_STARTEDTASK | = lv_ev_startedtask | |
| EV_FINISHEDTASK | = lv_ev_finishedtask | |
| TABLES | ||
| IT_ORDER_SETTINGS | = lt_it_order_settings | |
| IT_PEGID_ORIG | = lt_it_pegid_orig | |
| IT_STF_INI_SUM | = lt_it_stf_ini_sum | |
| IT_STF_RES_SUM | = lt_it_stf_res_sum | |
| CT_ERR_MSGS | = lt_ct_err_msgs | |
| . " /SAPAPO/DM_ADJUSTMENT_PARALLE2 | ||
ABAP code using 7.40 inline data declarations to call FM /SAPAPO/DM_ADJUSTMENT_PARALLE2
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