SAP ISM_INC_PAYMENT_REVERSE_CHECK Function Module for IS-M/SD: General Checks in IS-M/SD for FI Incoming Payment
ISM_INC_PAYMENT_REVERSE_CHECK is a standard ism inc payment reverse check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M/SD: General Checks in IS-M/SD for FI Incoming Payment 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 ism inc payment reverse check FM, simply by entering the name ISM_INC_PAYMENT_REVERSE_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: JKC4
Program Name: SAPLJKC4
Main Program: SAPLJKC4
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_INC_PAYMENT_REVERSE_CHECK 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 'ISM_INC_PAYMENT_REVERSE_CHECK'"IS-M/SD: General Checks in IS-M/SD for FI Incoming Payment.
EXPORTING
I_RJKRIP = "
I_ZUONR = "Assignment Number
IMPORTING
E_VBELN = "IS-M/SD: Publishing Sales Order
E_POSNR_UR = "Original Item in Publishing Sales Order
EXCEPTIONS
NO_SALES_DOCUMENT = 1 WRONG_DOCUMENT_TYPE = 2 INTERNAL_ERROR = 3 ITEM_NOT_RELEVANT = 4 WRONG_BUKRS = 5 ITEM_CLOSED = 6
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLJKC4_001 IS-M/SD: Determine Renewal Offer Item to Be Accepted
EXIT_SAPLJKC4_002 Determine Payment Amount to Be Accepted
IMPORTING Parameters details for ISM_INC_PAYMENT_REVERSE_CHECK
I_RJKRIP -
Data type: RJKRIPOptional: No
Call by Reference: No ( called with pass by value option)
I_ZUONR - Assignment Number
Data type: RJKRIP-ZUONROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISM_INC_PAYMENT_REVERSE_CHECK
E_VBELN - IS-M/SD: Publishing Sales Order
Data type: JKREMIND-VBELNOptional: No
Call by Reference: No ( called with pass by value option)
E_POSNR_UR - Original Item in Publishing Sales Order
Data type: JKREMIND-POSNR_UROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_SALES_DOCUMENT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_DOCUMENT_TYPE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Internal Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_NOT_RELEVANT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_BUKRS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ITEM_CLOSED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_INC_PAYMENT_REVERSE_CHECK 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_e_vbeln | TYPE JKREMIND-VBELN, " | |||
| lv_i_rjkrip | TYPE RJKRIP, " | |||
| lv_no_sales_document | TYPE RJKRIP, " | |||
| lv_i_zuonr | TYPE RJKRIP-ZUONR, " | |||
| lv_e_posnr_ur | TYPE JKREMIND-POSNR_UR, " | |||
| lv_wrong_document_type | TYPE JKREMIND, " | |||
| lv_internal_error | TYPE JKREMIND, " | |||
| lv_item_not_relevant | TYPE JKREMIND, " | |||
| lv_wrong_bukrs | TYPE JKREMIND, " | |||
| lv_item_closed | TYPE JKREMIND. " |
|   CALL FUNCTION 'ISM_INC_PAYMENT_REVERSE_CHECK' "IS-M/SD: General Checks in IS-M/SD for FI Incoming Payment |
| EXPORTING | ||
| I_RJKRIP | = lv_i_rjkrip | |
| I_ZUONR | = lv_i_zuonr | |
| IMPORTING | ||
| E_VBELN | = lv_e_vbeln | |
| E_POSNR_UR | = lv_e_posnr_ur | |
| EXCEPTIONS | ||
| NO_SALES_DOCUMENT = 1 | ||
| WRONG_DOCUMENT_TYPE = 2 | ||
| INTERNAL_ERROR = 3 | ||
| ITEM_NOT_RELEVANT = 4 | ||
| WRONG_BUKRS = 5 | ||
| ITEM_CLOSED = 6 | ||
| . " ISM_INC_PAYMENT_REVERSE_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM ISM_INC_PAYMENT_REVERSE_CHECK
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 VBELN FROM JKREMIND INTO @DATA(ld_e_vbeln). | ||||
| "SELECT single ZUONR FROM RJKRIP INTO @DATA(ld_i_zuonr). | ||||
| "SELECT single POSNR_UR FROM JKREMIND INTO @DATA(ld_e_posnr_ur). | ||||
Search for further information about these or an SAP related objects