SAP ISH_SMARTCARD_PREG_HANDLER Function Module for









ISH_SMARTCARD_PREG_HANDLER is a standard ish smartcard preg handler 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 smartcard preg handler FM, simply by entering the name ISH_SMARTCARD_PREG_HANDLER into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_SMARTCARD_PREG_HANDLER 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_SMARTCARD_PREG_HANDLER'"
EXPORTING
I_INSTITUTION = "Institution
* I_CHECK_SMARTCARD_ACTIVE = OFF "
* I_READ_SMARTCARD = OFF "
* I_PATNR = "
* IR_PAT_PROVISIONAL = "
* IR_INS_POLICY = "

IMPORTING
E_SMARTCARD_ACTIVE = "
E_RC = "
E_SMARTCARD_TAKEN = "
E_PATIENT_PROV_CHANGED = "
E_PATNR_EHC = "

CHANGING
* CR_ERROR = "ISHMED: Class for Error Handling
.



IMPORTING Parameters details for ISH_SMARTCARD_PREG_HANDLER

I_INSTITUTION - Institution

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

I_CHECK_SMARTCARD_ACTIVE -

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

I_READ_SMARTCARD -

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

I_PATNR -

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

IR_PAT_PROVISIONAL -

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

IR_INS_POLICY -

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

EXPORTING Parameters details for ISH_SMARTCARD_PREG_HANDLER

E_SMARTCARD_ACTIVE -

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

E_RC -

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

E_SMARTCARD_TAKEN -

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

E_PATIENT_PROV_CHANGED -

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

E_PATNR_EHC -

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

CHANGING Parameters details for ISH_SMARTCARD_PREG_HANDLER

CR_ERROR - ISHMED: Class for Error Handling

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

Copy and paste ABAP code example for ISH_SMARTCARD_PREG_HANDLER 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_cr_error  TYPE CL_ISHMED_ERRORHANDLING, "   
lv_i_institution  TYPE EINRI, "   
lv_e_smartcard_active  TYPE ISH_ON_OFF, "   
lv_e_rc  TYPE ISH_METHOD_RC, "   
lv_i_check_smartcard_active  TYPE ISH_ON_OFF, "   OFF
lv_i_read_smartcard  TYPE ISH_ON_OFF, "   OFF
lv_e_smartcard_taken  TYPE ISH_ON_OFF, "   
lv_i_patnr  TYPE PATNR, "   
lv_e_patient_prov_changed  TYPE ISH_ON_OFF, "   
lv_e_patnr_ehc  TYPE PATNR, "   
lv_ir_pat_provisional  TYPE CL_ISH_PATIENT_PROVISIONAL, "   
lv_ir_ins_policy  TYPE CL_ISH_INSURANCE_POLICY_PROV. "   

  CALL FUNCTION 'ISH_SMARTCARD_PREG_HANDLER'  "
    EXPORTING
         I_INSTITUTION = lv_i_institution
         I_CHECK_SMARTCARD_ACTIVE = lv_i_check_smartcard_active
         I_READ_SMARTCARD = lv_i_read_smartcard
         I_PATNR = lv_i_patnr
         IR_PAT_PROVISIONAL = lv_ir_pat_provisional
         IR_INS_POLICY = lv_ir_ins_policy
    IMPORTING
         E_SMARTCARD_ACTIVE = lv_e_smartcard_active
         E_RC = lv_e_rc
         E_SMARTCARD_TAKEN = lv_e_smartcard_taken
         E_PATIENT_PROV_CHANGED = lv_e_patient_prov_changed
         E_PATNR_EHC = lv_e_patnr_ehc
    CHANGING
         CR_ERROR = lv_cr_error
. " ISH_SMARTCARD_PREG_HANDLER




ABAP code using 7.40 inline data declarations to call FM ISH_SMARTCARD_PREG_HANDLER

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.

 
 
 
 
DATA(ld_i_check_smartcard_active) = OFF.
 
DATA(ld_i_read_smartcard) = OFF.
 
 
 
 
 
 
 


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!