SAP ISH_SERVICE_UPLOAD_TO_BMI Function Module for Uploading services to BMI system.
ISH_SERVICE_UPLOAD_TO_BMI is a standard ish service upload to bmi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Uploading services to BMI system. 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 ish service upload to bmi FM, simply by entering the name ISH_SERVICE_UPLOAD_TO_BMI into the relevant SAP transaction such as SE37 or SE38.
Function Group: NSERVICE_UPLOAD
Program Name: SAPLNSERVICE_UPLOAD
Main Program: SAPLNSERVICE_UPLOAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_SERVICE_UPLOAD_TO_BMI 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_SERVICE_UPLOAD_TO_BMI'"Uploading services to BMI system..
EXPORTING
I_EINRI = "Institution
* I_FALNR = "IS-H: Case Number
* I_TEST_MODE = "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_EXT_SRV = "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_FILEPATH = "Local file for upload/download
IMPORTING
ET_OUTBOUND_INTERNAL = "Service to be upload.
ET_OUTBOUND_EXTERNAL = "Services upload to BMI.
ET_RETURN = "Error Messages
CHANGING
* CS_OUTBOUND_EXTERNAL = "Service upload to BMI (Eternal format)
* CS_OUTBOUND_INTERNAL = "Service to be upload.
IMPORTING Parameters details for ISH_SERVICE_UPLOAD_TO_BMI
I_EINRI - Institution
Data type: EINRIOptional: No
Call by Reference: No ( called with pass by value option)
I_FALNR - IS-H: Case Number
Data type: FALNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_TEST_MODE - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
Data type: ISH_ON_OFFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_EXT_SRV - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
Data type: ISH_ON_OFFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FILEPATH - Local file for upload/download
Data type: LOCALFILEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_SERVICE_UPLOAD_TO_BMI
ET_OUTBOUND_INTERNAL - Service to be upload.
Data type: ISH_T_SRV_SEND_INTOptional: No
Call by Reference: Yes
ET_OUTBOUND_EXTERNAL - Services upload to BMI.
Data type: ISH_T_SRV_SEND_EXTOptional: No
Call by Reference: Yes
ET_RETURN - Error Messages
Data type: ISH_T_RNRET4SVCOptional: No
Call by Reference: Yes
CHANGING Parameters details for ISH_SERVICE_UPLOAD_TO_BMI
CS_OUTBOUND_EXTERNAL - Service upload to BMI (Eternal format)
Data type: ISH_T_SRV_SEND_EXTOptional: Yes
Call by Reference: No ( called with pass by value option)
CS_OUTBOUND_INTERNAL - Service to be upload.
Data type: ISH_T_SRV_SEND_INTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISH_SERVICE_UPLOAD_TO_BMI 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_i_einri | TYPE EINRI, " | |||
| lv_cs_outbound_external | TYPE ISH_T_SRV_SEND_EXT, " | |||
| lv_et_outbound_internal | TYPE ISH_T_SRV_SEND_INT, " | |||
| lv_i_falnr | TYPE FALNR, " | |||
| lv_cs_outbound_internal | TYPE ISH_T_SRV_SEND_INT, " | |||
| lv_et_outbound_external | TYPE ISH_T_SRV_SEND_EXT, " | |||
| lv_et_return | TYPE ISH_T_RNRET4SVC, " | |||
| lv_i_test_mode | TYPE ISH_ON_OFF, " | |||
| lv_i_ext_srv | TYPE ISH_ON_OFF, " | |||
| lv_i_filepath | TYPE LOCALFILE. " |
|   CALL FUNCTION 'ISH_SERVICE_UPLOAD_TO_BMI' "Uploading services to BMI system. |
| EXPORTING | ||
| I_EINRI | = lv_i_einri | |
| I_FALNR | = lv_i_falnr | |
| I_TEST_MODE | = lv_i_test_mode | |
| I_EXT_SRV | = lv_i_ext_srv | |
| I_FILEPATH | = lv_i_filepath | |
| IMPORTING | ||
| ET_OUTBOUND_INTERNAL | = lv_et_outbound_internal | |
| ET_OUTBOUND_EXTERNAL | = lv_et_outbound_external | |
| ET_RETURN | = lv_et_return | |
| CHANGING | ||
| CS_OUTBOUND_EXTERNAL | = lv_cs_outbound_external | |
| CS_OUTBOUND_INTERNAL | = lv_cs_outbound_internal | |
| . " ISH_SERVICE_UPLOAD_TO_BMI | ||
ABAP code using 7.40 inline data declarations to call FM ISH_SERVICE_UPLOAD_TO_BMI
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.Search for further information about these or an SAP related objects