SAP EXIT_SAPLNC16G_001 Function Module for IS-H §302 User Exit: Determine II Number of Insurance Provider Head Office
EXIT_SAPLNC16G_001 is a standard exit saplnc16g 001 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-H §302 User Exit: Determine II Number of Insurance Provider Head Office 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 exit saplnc16g 001 FM, simply by entering the name EXIT_SAPLNC16G_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XNC302
Program Name: SAPLXNC302
Main Program: SAPLXNC302
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLNC16G_001 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 'EXIT_SAPLNC16G_001'"IS-H §302 User Exit: Determine II Number of Insurance Provider Head Office.
EXPORTING
P_EINRI = "Institution
P_KOSTR = "Insurance Provider
P_HEADQUARTER_IK = "II Number of Head Office Determined by SAP (10-digits, 010...)
IMPORTING
CUST_HEADQUARTER_IK = "II Number of Head Office Determined by Customer (10-digits, 010...)
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ISH_302_CANCELLATIONS_FILL
ISH_302_CHECK_BILLING_TYPE
ISH_302_CHECK_COLL_BILL_PERMIS
ISH_302_CHECK_EVENT_PERMISSION
ISH_302_CHECK_SERVICE_COMPLETE
ISH_302_CLEAR_SINGLE_BILL
ISH_302_COLL_INVOICE_DATES_GET
ISH_302_COPAYMENT_INDICATOR
ISH_302_CORRECTED_INVOICE
ISH_302_CREATE_ISHFILENAME
ISH_302_GET_STATUS_INSURED
ISH_302_GET_TOTAL_AMOUNT_INFO
ISH_302_INVOICEDATES_GET
ISH_302_ISHFILENAME_BUILD
ISH_302_MSG_LAYOUT
ISH_302_ORDERFILENAME_BUILD
ISH_302_ORDERFILE_WRITE
ISH_302_ORDER_RECREATE
ISH_302_READ_CERTIFICATE_DATA
ISH_302_READ_REFERRAL_DOCTOR
ISH_302_UPDATES_PATIENT_MERGE
ISH_EDI_GET_CARD_IK IS-H Determine II Number of Insurance Provider via Healthcare Smart Card
ISH_EDI_GET_HEADQUARTER_IK
ISH_FILL_VKNUM_WITH_CARD_IK
ISH_INVOICE_RELEVANT_FOR_P302
ISH_READ_INSURED_DATA
ISH_READ_T001
ISH_READ_VBRK
ISH_READ_VBRP
IMPORTING Parameters details for EXIT_SAPLNC16G_001
P_EINRI - Institution
Data type: NC301-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
P_KOSTR - Insurance Provider
Data type: NC301-KOSTROptional: No
Call by Reference: No ( called with pass by value option)
P_HEADQUARTER_IK - II Number of Head Office Determined by SAP (10-digits, 010...)
Data type: NC301-INSTNOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLNC16G_001
CUST_HEADQUARTER_IK - II Number of Head Office Determined by Customer (10-digits, 010...)
Data type: NC301-INSTNOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLNC16G_001 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_p_einri | TYPE NC301-EINRI, " | |||
| lv_cust_headquarter_ik | TYPE NC301-INSTN, " | |||
| lv_p_kostr | TYPE NC301-KOSTR, " | |||
| lv_p_headquarter_ik | TYPE NC301-INSTN. " |
|   CALL FUNCTION 'EXIT_SAPLNC16G_001' "IS-H §302 User Exit: Determine II Number of Insurance Provider Head Office |
| EXPORTING | ||
| P_EINRI | = lv_p_einri | |
| P_KOSTR | = lv_p_kostr | |
| P_HEADQUARTER_IK | = lv_p_headquarter_ik | |
| IMPORTING | ||
| CUST_HEADQUARTER_IK | = lv_cust_headquarter_ik | |
| . " EXIT_SAPLNC16G_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLNC16G_001
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 EINRI FROM NC301 INTO @DATA(ld_p_einri). | ||||
| "SELECT single INSTN FROM NC301 INTO @DATA(ld_cust_headquarter_ik). | ||||
| "SELECT single KOSTR FROM NC301 INTO @DATA(ld_p_kostr). | ||||
| "SELECT single INSTN FROM NC301 INTO @DATA(ld_p_headquarter_ik). | ||||
Search for further information about these or an SAP related objects