SAP ISH_301_NAD_FILL Function Module for
ISH_301_NAD_FILL is a standard ish 301 nad fill 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 301 nad fill FM, simply by entering the name ISH_301_NAD_FILL into the relevant SAP transaction such as SE37 or SE38.
Function Group: NC301ALL
Program Name: SAPLNC301ALL
Main Program: SAPLNC301ALL
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_301_NAD_FILL 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_301_NAD_FILL'".
EXPORTING
SS_EINRI = "Institution
SS_FALNR = "Case Number
* SS_EVENT = "Event
IMPORTING
SS_PATIENT = "Patient Master Data
SS_ADDRESS = "Address
EXCEPTIONS
NO_MAIL = 1 NO_SEGMENT = 2
IMPORTING Parameters details for ISH_301_NAD_FILL
SS_EINRI - Institution
Data type: NBEW-EINRIOptional: No
Call by Reference: No ( called with pass by value option)
SS_FALNR - Case Number
Data type: NBEW-FALNROptional: No
Call by Reference: No ( called with pass by value option)
SS_EVENT - Event
Data type: NC301-EVENTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_301_NAD_FILL
SS_PATIENT - Patient Master Data
Data type: NPATOptional: No
Call by Reference: No ( called with pass by value option)
SS_ADDRESS - Address
Data type: NADROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_MAIL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SEGMENT - Could not Create Segment
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_301_NAD_FILL 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_no_mail | TYPE STRING, " | |||
| lv_ss_einri | TYPE NBEW-EINRI, " | |||
| lv_ss_patient | TYPE NPAT, " | |||
| lv_ss_falnr | TYPE NBEW-FALNR, " | |||
| lv_no_segment | TYPE NBEW, " | |||
| lv_ss_address | TYPE NADR, " | |||
| lv_ss_event | TYPE NC301-EVENT. " |
|   CALL FUNCTION 'ISH_301_NAD_FILL' " |
| EXPORTING | ||
| SS_EINRI | = lv_ss_einri | |
| SS_FALNR | = lv_ss_falnr | |
| SS_EVENT | = lv_ss_event | |
| IMPORTING | ||
| SS_PATIENT | = lv_ss_patient | |
| SS_ADDRESS | = lv_ss_address | |
| EXCEPTIONS | ||
| NO_MAIL = 1 | ||
| NO_SEGMENT = 2 | ||
| . " ISH_301_NAD_FILL | ||
ABAP code using 7.40 inline data declarations to call FM ISH_301_NAD_FILL
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 NBEW INTO @DATA(ld_ss_einri). | ||||
| "SELECT single FALNR FROM NBEW INTO @DATA(ld_ss_falnr). | ||||
| "SELECT single EVENT FROM NC301 INTO @DATA(ld_ss_event). | ||||
Search for further information about these or an SAP related objects