SAP ISH_EXTRA_PAYMENT_REVERSE Function Module for









ISH_EXTRA_PAYMENT_REVERSE is a standard ish extra payment reverse SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ish extra payment reverse FM, simply by entering the name ISH_EXTRA_PAYMENT_REVERSE into the relevant SAP transaction such as SE37 or SE38.

Function Group: N019
Program Name: SAPLN019
Main Program: SAPLN019
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_EXTRA_PAYMENT_REVERSE 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 'ISH_EXTRA_PAYMENT_REVERSE'"
EXPORTING
I_BUKRS = "
I_PATNR = "
* IS_TN01 = "
* I_COMMIT_WORK_WAIT = ' ' "
I_GJAHR = "
I_EINRI = "
I_KOSTR = "
I_PATDEB = "
I_BLDAT = "
I_MONAT = "
I_ANF_BELNR = "
I_FALNR = "

IMPORTING
E_BELNR = "
ET_BAPIRET2 = "

EXCEPTIONS
MISSING_DATA = 1 NO_CONFIGURATION_FOUND = 2 NO_RFDEB_FOUND = 3 NO_TN22Q_FOUND = 4 INTERNAL_ERROR = 5 NO_RECEIVABLE_PROCEDURE = 6 XREF2_ERROR = 7
.




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_SAPLN019_001 IS-H: Determine Note to Payee for Copayment
EXIT_SAPLN019_003 IS-H: Check Whether Insurance Relationship can be Canceled

IMPORTING Parameters details for ISH_EXTRA_PAYMENT_REVERSE

I_BUKRS -

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

I_PATNR -

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

IS_TN01 -

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

I_COMMIT_WORK_WAIT -

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

I_GJAHR -

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

I_EINRI -

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

I_KOSTR -

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

I_PATDEB -

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

I_BLDAT -

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

I_MONAT -

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

I_ANF_BELNR -

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

I_FALNR -

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

EXPORTING Parameters details for ISH_EXTRA_PAYMENT_REVERSE

E_BELNR -

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

ET_BAPIRET2 -

Data type: BAPIRET2_T
Optional: No
Call by Reference: Yes

EXCEPTIONS details

MISSING_DATA -

Data type:
Optional: No
Call by Reference: Yes

NO_CONFIGURATION_FOUND -

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

NO_RFDEB_FOUND -

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

NO_TN22Q_FOUND -

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR -

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

NO_RECEIVABLE_PROCEDURE -

Data type:
Optional: No
Call by Reference: Yes

XREF2_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_EXTRA_PAYMENT_REVERSE 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_belnr  TYPE BKPF-BELNR, "   
lv_i_bukrs  TYPE BSAD-BUKRS, "   
lv_missing_data  TYPE BSAD, "   
lv_i_patnr  TYPE NPAT-PATNR, "   
lv_is_tn01  TYPE TN01, "   
lv_i_commit_work_wait  TYPE ISH_ON_OFF, "   SPACE
lv_i_gjahr  TYPE BSAD-GJAHR, "   
lv_et_bapiret2  TYPE BAPIRET2_T, "   
lv_no_configuration_found  TYPE BAPIRET2_T, "   
lv_i_einri  TYPE TN01-EINRI, "   
lv_no_rfdeb_found  TYPE TN01, "   
lv_i_kostr  TYPE BSAD-XBLNR, "   
lv_no_tn22q_found  TYPE BSAD, "   
lv_i_patdeb  TYPE BSAD-KUNNR, "   
lv_internal_error  TYPE BSAD, "   
lv_i_bldat  TYPE BSAD-BLDAT, "   
lv_no_receivable_procedure  TYPE BSAD, "   
lv_i_monat  TYPE BSAD-MONAT, "   
lv_xref2_error  TYPE BSAD, "   
lv_i_anf_belnr  TYPE ISH_AFBNR, "   
lv_i_falnr  TYPE NFAL-FALNR. "   

  CALL FUNCTION 'ISH_EXTRA_PAYMENT_REVERSE'  "
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_PATNR = lv_i_patnr
         IS_TN01 = lv_is_tn01
         I_COMMIT_WORK_WAIT = lv_i_commit_work_wait
         I_GJAHR = lv_i_gjahr
         I_EINRI = lv_i_einri
         I_KOSTR = lv_i_kostr
         I_PATDEB = lv_i_patdeb
         I_BLDAT = lv_i_bldat
         I_MONAT = lv_i_monat
         I_ANF_BELNR = lv_i_anf_belnr
         I_FALNR = lv_i_falnr
    IMPORTING
         E_BELNR = lv_e_belnr
         ET_BAPIRET2 = lv_et_bapiret2
    EXCEPTIONS
        MISSING_DATA = 1
        NO_CONFIGURATION_FOUND = 2
        NO_RFDEB_FOUND = 3
        NO_TN22Q_FOUND = 4
        INTERNAL_ERROR = 5
        NO_RECEIVABLE_PROCEDURE = 6
        XREF2_ERROR = 7
. " ISH_EXTRA_PAYMENT_REVERSE




ABAP code using 7.40 inline data declarations to call FM ISH_EXTRA_PAYMENT_REVERSE

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 BELNR FROM BKPF INTO @DATA(ld_e_belnr).
 
"SELECT single BUKRS FROM BSAD INTO @DATA(ld_i_bukrs).
 
 
"SELECT single PATNR FROM NPAT INTO @DATA(ld_i_patnr).
 
 
DATA(ld_i_commit_work_wait) = ' '.
 
"SELECT single GJAHR FROM BSAD INTO @DATA(ld_i_gjahr).
 
 
 
"SELECT single EINRI FROM TN01 INTO @DATA(ld_i_einri).
 
 
"SELECT single XBLNR FROM BSAD INTO @DATA(ld_i_kostr).
 
 
"SELECT single KUNNR FROM BSAD INTO @DATA(ld_i_patdeb).
 
 
"SELECT single BLDAT FROM BSAD INTO @DATA(ld_i_bldat).
 
 
"SELECT single MONAT FROM BSAD INTO @DATA(ld_i_monat).
 
 
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_falnr).
 


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!