SAP POST_MEMO_ENTRIES_POLLING_DIR Function Module for Create or Change Memo Record from Polling Data Tables
POST_MEMO_ENTRIES_POLLING_DIR is a standard post memo entries polling dir SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create or Change Memo Record from Polling Data Tables 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 post memo entries polling dir FM, simply by entering the name POST_MEMO_ENTRIES_POLLING_DIR into the relevant SAP transaction such as SE37 or SE38.
Function Group: FDPO
Program Name: SAPLFDPO
Main Program: SAPLFDPO
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function POST_MEMO_ENTRIES_POLLING_DIR 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 'POST_MEMO_ENTRIES_POLLING_DIR'"Create or Change Memo Record from Polling Data Tables.
EXPORTING
* P_DSART = "Planning Type
* P_XVERD = "
TABLES
T_FEBKO = "
* T_FEBEP = "
* T_FEBPI = "
EXCEPTIONS
STATEMENT_NOT_PROCESSED = 1 DISTINCT_FDES_NOT_FOUND = 2 OTHER_CUSTOMIZATION = 3 NOTHING_TO_POST = 4
IMPORTING Parameters details for POST_MEMO_ENTRIES_POLLING_DIR
P_DSART - Planning Type
Data type: FEBKO-DSARTOptional: Yes
Call by Reference: No ( called with pass by value option)
P_XVERD -
Data type: FEBKO-XVERDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for POST_MEMO_ENTRIES_POLLING_DIR
T_FEBKO -
Data type: FEBKOOptional: No
Call by Reference: No ( called with pass by value option)
T_FEBEP -
Data type: FEBEPOptional: Yes
Call by Reference: No ( called with pass by value option)
T_FEBPI -
Data type: FEBPIOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
STATEMENT_NOT_PROCESSED - Big Bomb of Type 1
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DISTINCT_FDES_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OTHER_CUSTOMIZATION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOTHING_TO_POST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for POST_MEMO_ENTRIES_POLLING_DIR 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_p_dsart | TYPE FEBKO-DSART, " | |||
| lt_t_febko | TYPE STANDARD TABLE OF FEBKO, " | |||
| lv_statement_not_processed | TYPE FEBKO, " | |||
| lv_p_xverd | TYPE FEBKO-XVERD, " | |||
| lt_t_febep | TYPE STANDARD TABLE OF FEBEP, " | |||
| lv_distinct_fdes_not_found | TYPE FEBEP, " | |||
| lt_t_febpi | TYPE STANDARD TABLE OF FEBPI, " | |||
| lv_other_customization | TYPE FEBPI, " | |||
| lv_nothing_to_post | TYPE FEBPI. " |
|   CALL FUNCTION 'POST_MEMO_ENTRIES_POLLING_DIR' "Create or Change Memo Record from Polling Data Tables |
| EXPORTING | ||
| P_DSART | = lv_p_dsart | |
| P_XVERD | = lv_p_xverd | |
| TABLES | ||
| T_FEBKO | = lt_t_febko | |
| T_FEBEP | = lt_t_febep | |
| T_FEBPI | = lt_t_febpi | |
| EXCEPTIONS | ||
| STATEMENT_NOT_PROCESSED = 1 | ||
| DISTINCT_FDES_NOT_FOUND = 2 | ||
| OTHER_CUSTOMIZATION = 3 | ||
| NOTHING_TO_POST = 4 | ||
| . " POST_MEMO_ENTRIES_POLLING_DIR | ||
ABAP code using 7.40 inline data declarations to call FM POST_MEMO_ENTRIES_POLLING_DIR
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 DSART FROM FEBKO INTO @DATA(ld_p_dsart). | ||||
| "SELECT single XVERD FROM FEBKO INTO @DATA(ld_p_xverd). | ||||
Search for further information about these or an SAP related objects