SAP BAPI_PAYIT_POST_SENDER Function Module for Check and Post Payment Items of Ordering Party (+ SWIFT and Bank Ctrl Key)









BAPI_PAYIT_POST_SENDER is a standard bapi payit post sender SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check and Post Payment Items of Ordering Party (+ SWIFT and Bank Ctrl Key) 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 bapi payit post sender FM, simply by entering the name BAPI_PAYIT_POST_SENDER into the relevant SAP transaction such as SE37 or SE38.

Function Group: FBI1A
Program Name: SAPLFBI1A
Main Program: SAPLFBI1A
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_PAYIT_POST_SENDER 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 'BAPI_PAYIT_POST_SENDER'"Check and Post Payment Items of Ordering Party (+ SWIFT and Bank Ctrl Key)
EXPORTING
I_SENDER = "Import Structure of Ordering Party
* I_XREVERSE = ' ' "X: Reversal
* I_XNODISPO = ' ' "X: Do Not Run Posting Control Check
* I_XREPETITION = ' ' "X: Repeated Presentation
* I_X_UPDATE_TASK = ' ' "Update Control
* I_X_NO_COMMIT = ' ' "Control of COMMIT Processing
* I_X_SIMUL = ' ' "Simulation Indicator

IMPORTING
E_VALUEDATE = "Value Date Used
E_POSTDATE = "Posting Date Used
E_XERR = "Indicator for Errors Occurred
E_RETURN = "Return Code

TABLES
* T_PAYM_NOTE = "Payment Notes
* E_TAB_RETURN = "Return Parameters
* E_TAB_POST_INFO = "Structure for Additional Item Information
.



IMPORTING Parameters details for BAPI_PAYIT_POST_SENDER

I_SENDER - Import Structure of Ordering Party

Data type: IBKK_PSTSDA
Optional: No
Call by Reference: No ( called with pass by value option)

I_XREVERSE - X: Reversal

Data type: IBKK_ITEM-XREVERSE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XNODISPO - X: Do Not Run Posting Control Check

Data type: IBKK_ITEM-XNODISPO
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XREPETITION - X: Repeated Presentation

Data type: IBKK_MISC-XREPETITION
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_X_UPDATE_TASK - Update Control

Data type: BKK_XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_X_NO_COMMIT - Control of COMMIT Processing

Data type: BKK_XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_X_SIMUL - Simulation Indicator

Data type: BKK_XFELD
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BAPI_PAYIT_POST_SENDER

E_VALUEDATE - Value Date Used

Data type: IBKK_PSTSD-DATE_VALUE
Optional: No
Call by Reference: No ( called with pass by value option)

E_POSTDATE - Posting Date Used

Data type: IBKK_PSTSD-DATE_POST
Optional: No
Call by Reference: No ( called with pass by value option)

E_XERR - Indicator for Errors Occurred

Data type: IBKK_XCHKR
Optional: No
Call by Reference: No ( called with pass by value option)

E_RETURN - Return Code

Data type: IBKK_MISC-RC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BAPI_PAYIT_POST_SENDER

T_PAYM_NOTE - Payment Notes

Data type: IBKK_PYNOT
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_TAB_RETURN - Return Parameters

Data type: BAPIRET2
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_TAB_POST_INFO - Structure for Additional Item Information

Data type: IBKK_IT_INFO
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BAPI_PAYIT_POST_SENDER 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_i_sender  TYPE IBKK_PSTSDA, "   
lv_e_valuedate  TYPE IBKK_PSTSD-DATE_VALUE, "   
lt_t_paym_note  TYPE STANDARD TABLE OF IBKK_PYNOT, "   
lv_e_postdate  TYPE IBKK_PSTSD-DATE_POST, "   
lv_i_xreverse  TYPE IBKK_ITEM-XREVERSE, "   SPACE
lt_e_tab_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_e_xerr  TYPE IBKK_XCHKR, "   
lv_i_xnodispo  TYPE IBKK_ITEM-XNODISPO, "   SPACE
lt_e_tab_post_info  TYPE STANDARD TABLE OF IBKK_IT_INFO, "   
lv_e_return  TYPE IBKK_MISC-RC, "   
lv_i_xrepetition  TYPE IBKK_MISC-XREPETITION, "   SPACE
lv_i_x_update_task  TYPE BKK_XFELD, "   SPACE
lv_i_x_no_commit  TYPE BKK_XFELD, "   SPACE
lv_i_x_simul  TYPE BKK_XFELD. "   SPACE

  CALL FUNCTION 'BAPI_PAYIT_POST_SENDER'  "Check and Post Payment Items of Ordering Party (+ SWIFT and Bank Ctrl Key)
    EXPORTING
         I_SENDER = lv_i_sender
         I_XREVERSE = lv_i_xreverse
         I_XNODISPO = lv_i_xnodispo
         I_XREPETITION = lv_i_xrepetition
         I_X_UPDATE_TASK = lv_i_x_update_task
         I_X_NO_COMMIT = lv_i_x_no_commit
         I_X_SIMUL = lv_i_x_simul
    IMPORTING
         E_VALUEDATE = lv_e_valuedate
         E_POSTDATE = lv_e_postdate
         E_XERR = lv_e_xerr
         E_RETURN = lv_e_return
    TABLES
         T_PAYM_NOTE = lt_t_paym_note
         E_TAB_RETURN = lt_e_tab_return
         E_TAB_POST_INFO = lt_e_tab_post_info
. " BAPI_PAYIT_POST_SENDER




ABAP code using 7.40 inline data declarations to call FM BAPI_PAYIT_POST_SENDER

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 DATE_VALUE FROM IBKK_PSTSD INTO @DATA(ld_e_valuedate).
 
 
"SELECT single DATE_POST FROM IBKK_PSTSD INTO @DATA(ld_e_postdate).
 
"SELECT single XREVERSE FROM IBKK_ITEM INTO @DATA(ld_i_xreverse).
DATA(ld_i_xreverse) = ' '.
 
 
 
"SELECT single XNODISPO FROM IBKK_ITEM INTO @DATA(ld_i_xnodispo).
DATA(ld_i_xnodispo) = ' '.
 
 
"SELECT single RC FROM IBKK_MISC INTO @DATA(ld_e_return).
 
"SELECT single XREPETITION FROM IBKK_MISC INTO @DATA(ld_i_xrepetition).
DATA(ld_i_xrepetition) = ' '.
 
DATA(ld_i_x_update_task) = ' '.
 
DATA(ld_i_x_no_commit) = ' '.
 
DATA(ld_i_x_simul) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!