SAP EXIT_SAPLN1F3_001 Function Module for IS-H*MED: Patient Transport Service - Presetting the Transport Order
EXIT_SAPLN1F3_001 is a standard exit sapln1f3 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*MED: Patient Transport Service - Presetting the Transport Order 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 sapln1f3 001 FM, simply by entering the name EXIT_SAPLN1F3_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XN1K
Program Name: SAPLXN1K
Main Program: SAPLXN1K
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLN1F3_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_SAPLN1F3_001'"IS-H*MED: Patient Transport Service - Presetting the Transport Order.
EXPORTING
I_N1FAT = "Transport Order (possibly pre-set by Standard)
I_DIALOG = "Modus: Dialog (ON) or Automatic (OFF) ->
IMPORTING
E_N1FAT = "Modified (Pre-set) Transport Order
E_NO_INS = "Do NOT create Transport Order (ON/OFF) ->
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ISHMED_PTS_ORDER_FOR_NTMN_UPD
ISHMED_PTS_ORDER_SELECT
ISHMED_PTS_ORDER_UPDATE
IMPORTING Parameters details for EXIT_SAPLN1F3_001
I_N1FAT - Transport Order (possibly pre-set by Standard)
Data type: VN1FATOptional: No
Call by Reference: Yes
I_DIALOG - Modus: Dialog (ON) or Automatic (OFF) ->
Data type: RNT40-MARKOptional: No
Call by Reference: Yes
EXPORTING Parameters details for EXIT_SAPLN1F3_001
E_N1FAT - Modified (Pre-set) Transport Order
Data type: VN1FATOptional: No
Call by Reference: No ( called with pass by value option)
E_NO_INS - Do NOT create Transport Order (ON/OFF) ->
Data type: RNT40-MARKOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLN1F3_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_e_n1fat | TYPE VN1FAT, " | |||
| lv_i_n1fat | TYPE VN1FAT, " | |||
| lv_e_no_ins | TYPE RNT40-MARK, " | |||
| lv_i_dialog | TYPE RNT40-MARK. " |
|   CALL FUNCTION 'EXIT_SAPLN1F3_001' "IS-H*MED: Patient Transport Service - Presetting the Transport Order |
| EXPORTING | ||
| I_N1FAT | = lv_i_n1fat | |
| I_DIALOG | = lv_i_dialog | |
| IMPORTING | ||
| E_N1FAT | = lv_e_n1fat | |
| E_NO_INS | = lv_e_no_ins | |
| . " EXIT_SAPLN1F3_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLN1F3_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 MARK FROM RNT40 INTO @DATA(ld_e_no_ins). | ||||
| "SELECT single MARK FROM RNT40 INTO @DATA(ld_i_dialog). | ||||
Search for further information about these or an SAP related objects