SAP POST_MEMO_ENTRIES_POLLING_STMT Function Module for Create or Change Memo Record from Polling Data Tables
POST_MEMO_ENTRIES_POLLING_STMT is a standard post memo entries polling stmt 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 stmt FM, simply by entering the name POST_MEMO_ENTRIES_POLLING_STMT 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_STMT 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_STMT'"Create or Change Memo Record from Polling Data Tables.
EXPORTING
P_ABSND = "Sending Bank Key
P_AZIDT = "Statement DateTime
* P_EMKEY = "Recipient Key
P_DSART = "Planning Type
* P_DETAIL = "
EXCEPTIONS
STATEMENT_NOT_PROCESSED = 1 STATEMENT_NOT_FOUND = 2 FEBKO_FLAG_NOT_UPDATED = 3 DISTINCT_FDES_NOT_FOUND = 4 OTHER_CUSTOMIZATION = 5 ADVICE_CUSTOMIZATION = 6
IMPORTING Parameters details for POST_MEMO_ENTRIES_POLLING_STMT
P_ABSND - Sending Bank Key
Data type: FEBKO-ABSNDOptional: No
Call by Reference: No ( called with pass by value option)
P_AZIDT - Statement DateTime
Data type: FEBKO-AZIDTOptional: No
Call by Reference: No ( called with pass by value option)
P_EMKEY - Recipient Key
Data type: FEBKO-EMKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
P_DSART - Planning Type
Data type: FDES-DSARTOptional: No
Call by Reference: No ( called with pass by value option)
P_DETAIL -
Data type: FEBKO-ASTATOptional: 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)
STATEMENT_NOT_FOUND - Big Bomb of Type 2
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FEBKO_FLAG_NOT_UPDATED -
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)
ADVICE_CUSTOMIZATION -
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_STMT 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_absnd | TYPE FEBKO-ABSND, " | |||
| lv_statement_not_processed | TYPE FEBKO, " | |||
| lv_p_azidt | TYPE FEBKO-AZIDT, " | |||
| lv_statement_not_found | TYPE FEBKO, " | |||
| lv_p_emkey | TYPE FEBKO-EMKEY, " | |||
| lv_febko_flag_not_updated | TYPE FEBKO, " | |||
| lv_p_dsart | TYPE FDES-DSART, " | |||
| lv_distinct_fdes_not_found | TYPE FDES, " | |||
| lv_p_detail | TYPE FEBKO-ASTAT, " | |||
| lv_other_customization | TYPE FEBKO, " | |||
| lv_advice_customization | TYPE FEBKO. " |
|   CALL FUNCTION 'POST_MEMO_ENTRIES_POLLING_STMT' "Create or Change Memo Record from Polling Data Tables |
| EXPORTING | ||
| P_ABSND | = lv_p_absnd | |
| P_AZIDT | = lv_p_azidt | |
| P_EMKEY | = lv_p_emkey | |
| P_DSART | = lv_p_dsart | |
| P_DETAIL | = lv_p_detail | |
| EXCEPTIONS | ||
| STATEMENT_NOT_PROCESSED = 1 | ||
| STATEMENT_NOT_FOUND = 2 | ||
| FEBKO_FLAG_NOT_UPDATED = 3 | ||
| DISTINCT_FDES_NOT_FOUND = 4 | ||
| OTHER_CUSTOMIZATION = 5 | ||
| ADVICE_CUSTOMIZATION = 6 | ||
| . " POST_MEMO_ENTRIES_POLLING_STMT | ||
ABAP code using 7.40 inline data declarations to call FM POST_MEMO_ENTRIES_POLLING_STMT
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 ABSND FROM FEBKO INTO @DATA(ld_p_absnd). | ||||
| "SELECT single AZIDT FROM FEBKO INTO @DATA(ld_p_azidt). | ||||
| "SELECT single EMKEY FROM FEBKO INTO @DATA(ld_p_emkey). | ||||
| "SELECT single DSART FROM FDES INTO @DATA(ld_p_dsart). | ||||
| "SELECT single ASTAT FROM FEBKO INTO @DATA(ld_p_detail). | ||||
Search for further information about these or an SAP related objects