SAP ISH_GET_EXTRA_PAYMENT_ST Function Module for
ISH_GET_EXTRA_PAYMENT_ST is a standard ish get extra payment st 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 get extra payment st FM, simply by entering the name ISH_GET_EXTRA_PAYMENT_ST 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_GET_EXTRA_PAYMENT_ST 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_GET_EXTRA_PAYMENT_ST'".
EXPORTING
BUCHUNGSKREIS = "Company code
DEBITOR = "Customer
EINRICHTUNG = "Institution
* FALAR = 1 "IS-H: Case Type
* VERWE = 'D1' "IS-H: Use of Copayment Parameters
GJAHR = "Fiscal year
IMPORTING
ANZ_BSAD_FOUND = "No. of reversed copayments found
TABLES
BSAD_FOUND = "Table containing found reversed copayments
EXCEPTIONS
NO_BSAD_FOUND = 1 NO_TN22R_FOUND = 2 NO_TN22G_FOUND = 3
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_GET_EXTRA_PAYMENT_ST
BUCHUNGSKREIS - Company code
Data type: BSAD-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
DEBITOR - Customer
Data type: BSAD-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
EINRICHTUNG - Institution
Data type: TN22P-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
FALAR - IS-H: Case Type
Data type: NFAL-FALARDefault: 1
Optional: No
Call by Reference: No ( called with pass by value option)
VERWE - IS-H: Use of Copayment Parameters
Data type: TN22K-VERWEDefault: 'D1'
Optional: No
Call by Reference: No ( called with pass by value option)
GJAHR - Fiscal year
Data type: BSAD-GJAHROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_GET_EXTRA_PAYMENT_ST
ANZ_BSAD_FOUND - No. of reversed copayments found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_GET_EXTRA_PAYMENT_ST
BSAD_FOUND - Table containing found reversed copayments
Data type: BSADOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_BSAD_FOUND - No reversed copayments found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_TN22R_FOUND - Copayment control parameter not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_TN22G_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_GET_EXTRA_PAYMENT_ST 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: | ||||
| lt_bsad_found | TYPE STANDARD TABLE OF BSAD, " | |||
| lv_buchungskreis | TYPE BSAD-BUKRS, " | |||
| lv_no_bsad_found | TYPE BSAD, " | |||
| lv_anz_bsad_found | TYPE BSAD, " | |||
| lv_debitor | TYPE BSAD-KUNNR, " | |||
| lv_no_tn22r_found | TYPE BSAD, " | |||
| lv_einrichtung | TYPE TN22P-EINRI, " | |||
| lv_no_tn22g_found | TYPE TN22P, " | |||
| lv_falar | TYPE NFAL-FALAR, " 1 | |||
| lv_verwe | TYPE TN22K-VERWE, " 'D1' | |||
| lv_gjahr | TYPE BSAD-GJAHR. " |
|   CALL FUNCTION 'ISH_GET_EXTRA_PAYMENT_ST' " |
| EXPORTING | ||
| BUCHUNGSKREIS | = lv_buchungskreis | |
| DEBITOR | = lv_debitor | |
| EINRICHTUNG | = lv_einrichtung | |
| FALAR | = lv_falar | |
| VERWE | = lv_verwe | |
| GJAHR | = lv_gjahr | |
| IMPORTING | ||
| ANZ_BSAD_FOUND | = lv_anz_bsad_found | |
| TABLES | ||
| BSAD_FOUND | = lt_bsad_found | |
| EXCEPTIONS | ||
| NO_BSAD_FOUND = 1 | ||
| NO_TN22R_FOUND = 2 | ||
| NO_TN22G_FOUND = 3 | ||
| . " ISH_GET_EXTRA_PAYMENT_ST | ||
ABAP code using 7.40 inline data declarations to call FM ISH_GET_EXTRA_PAYMENT_ST
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 BUKRS FROM BSAD INTO @DATA(ld_buchungskreis). | ||||
| "SELECT single KUNNR FROM BSAD INTO @DATA(ld_debitor). | ||||
| "SELECT single EINRI FROM TN22P INTO @DATA(ld_einrichtung). | ||||
| "SELECT single FALAR FROM NFAL INTO @DATA(ld_falar). | ||||
| DATA(ld_falar) | = 1. | |||
| "SELECT single VERWE FROM TN22K INTO @DATA(ld_verwe). | ||||
| DATA(ld_verwe) | = 'D1'. | |||
| "SELECT single GJAHR FROM BSAD INTO @DATA(ld_gjahr). | ||||
Search for further information about these or an SAP related objects