SAP POS_POINTER_REORG_DATE Function Module for POS Interface: Reorganization Function for Change Pointers
POS_POINTER_REORG_DATE is a standard pos pointer reorg date SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for POS Interface: Reorganization Function for Change Pointers 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 pos pointer reorg date FM, simply by entering the name POS_POINTER_REORG_DATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: WPDAI
Program Name: SAPLWPDAI
Main Program: SAPLWPDAI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function POS_POINTER_REORG_DATE 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 'POS_POINTER_REORG_DATE'"POS Interface: Reorganization Function for Change Pointers.
EXPORTING
* PI_MSGTYPE = 'WP_PLU' "Message Type
* PI_SYSTYPE = 'POS' "Sys. Cat.
* PI_BLTYP = '55' "Belegindextyp für Reorg der WIND-Daten
DATE_TO = "Current Date of Application Server
IMPORTING Parameters details for POS_POINTER_REORG_DATE
PI_MSGTYPE - Message Type
Data type: EDMSG-MSGTYPDefault: 'WP_PLU'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_SYSTYPE - Sys. Cat.
Data type: WDLS-SYSTPDefault: 'POS'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_BLTYP - Belegindextyp für Reorg der WIND-Daten
Data type: WIND-BLTYPDefault: '55'
Optional: Yes
Call by Reference: No ( called with pass by value option)
DATE_TO - Current Date of Application Server
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for POS_POINTER_REORG_DATE 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_pi_msgtype | TYPE EDMSG-MSGTYP, " 'WP_PLU' | |||
| lv_pi_systype | TYPE WDLS-SYSTP, " 'POS' | |||
| lv_pi_bltyp | TYPE WIND-BLTYP, " '55' | |||
| lv_date_to | TYPE SY-DATUM. " |
|   CALL FUNCTION 'POS_POINTER_REORG_DATE' "POS Interface: Reorganization Function for Change Pointers |
| EXPORTING | ||
| PI_MSGTYPE | = lv_pi_msgtype | |
| PI_SYSTYPE | = lv_pi_systype | |
| PI_BLTYP | = lv_pi_bltyp | |
| DATE_TO | = lv_date_to | |
| . " POS_POINTER_REORG_DATE | ||
ABAP code using 7.40 inline data declarations to call FM POS_POINTER_REORG_DATE
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 MSGTYP FROM EDMSG INTO @DATA(ld_pi_msgtype). | ||||
| DATA(ld_pi_msgtype) | = 'WP_PLU'. | |||
| "SELECT single SYSTP FROM WDLS INTO @DATA(ld_pi_systype). | ||||
| DATA(ld_pi_systype) | = 'POS'. | |||
| "SELECT single BLTYP FROM WIND INTO @DATA(ld_pi_bltyp). | ||||
| DATA(ld_pi_bltyp) | = '55'. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_date_to). | ||||
Search for further information about these or an SAP related objects