SAP ISH_SET_MD_STATUS_MULT Function Module for









ISH_SET_MD_STATUS_MULT is a standard ish set md status mult 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 set md status mult FM, simply by entering the name ISH_SET_MD_STATUS_MULT into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_SET_MD_STATUS_MULT 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_SET_MD_STATUS_MULT'"
EXPORTING
I_EINRI = "IS-H: Institution
* I_LOG_DETAILED = ' ' "
* I_LOG_ERR_ONLY = ' ' "
IT_FALNR = "IS-H: Table with Case Numbers
IT_MD_STATUS_NEW_TAB = "IS-H: Table of New Statuses for Basic Medical Documentation
* I_CALL_FROM_BAPI = ' ' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_SIMULATE = ' ' "
* I_LOG_EXTNUMBER = "Application Log: External Identification
* I_LOG_DISPTYPE = 'F' "
* I_LOG_NO_TREE = ' ' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* I_LOG_TITLE = "Application Log: Screen Title

IMPORTING
E_LOG_HANDLE = "Application Log: Log Handle

EXCEPTIONS
NOTHING_TODO = 1
.



IMPORTING Parameters details for ISH_SET_MD_STATUS_MULT

I_EINRI - IS-H: Institution

Data type: EINRI
Optional: No
Call by Reference: Yes

I_LOG_DETAILED -

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_LOG_ERR_ONLY -

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

IT_FALNR - IS-H: Table with Case Numbers

Data type: ISH_T_FALNR
Optional: No
Call by Reference: Yes

IT_MD_STATUS_NEW_TAB - IS-H: Table of New Statuses for Basic Medical Documentation

Data type: ISH_MD_STATUS_NEW_TAB
Optional: No
Call by Reference: Yes

I_CALL_FROM_BAPI - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_SIMULATE -

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_LOG_EXTNUMBER - Application Log: External Identification

Data type: BALNREXT
Optional: Yes
Call by Reference: Yes

I_LOG_DISPTYPE -

Data type: CHAR01
Default: 'F'
Optional: Yes
Call by Reference: Yes

I_LOG_NO_TREE - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: ' '
Optional: Yes
Call by Reference: Yes

I_LOG_TITLE - Application Log: Screen Title

Data type: BALTITLE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISH_SET_MD_STATUS_MULT

E_LOG_HANDLE - Application Log: Log Handle

Data type: BALLOGHNDL
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NOTHING_TODO -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_SET_MD_STATUS_MULT 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_e_log_handle  TYPE BALLOGHNDL, "   
lv_nothing_todo  TYPE BALLOGHNDL, "   
lv_i_log_detailed  TYPE ISH_ON_OFF, "   ' '
lv_i_log_err_only  TYPE ISH_ON_OFF, "   ' '
lv_it_falnr  TYPE ISH_T_FALNR, "   
lv_it_md_status_new_tab  TYPE ISH_MD_STATUS_NEW_TAB, "   
lv_i_call_from_bapi  TYPE ISH_ON_OFF, "   ' '
lv_i_simulate  TYPE ISH_ON_OFF, "   ' '
lv_i_log_extnumber  TYPE BALNREXT, "   
lv_i_log_disptype  TYPE CHAR01, "   'F'
lv_i_log_no_tree  TYPE ISH_ON_OFF, "   ' '
lv_i_log_title  TYPE BALTITLE. "   

  CALL FUNCTION 'ISH_SET_MD_STATUS_MULT'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_LOG_DETAILED = lv_i_log_detailed
         I_LOG_ERR_ONLY = lv_i_log_err_only
         IT_FALNR = lv_it_falnr
         IT_MD_STATUS_NEW_TAB = lv_it_md_status_new_tab
         I_CALL_FROM_BAPI = lv_i_call_from_bapi
         I_SIMULATE = lv_i_simulate
         I_LOG_EXTNUMBER = lv_i_log_extnumber
         I_LOG_DISPTYPE = lv_i_log_disptype
         I_LOG_NO_TREE = lv_i_log_no_tree
         I_LOG_TITLE = lv_i_log_title
    IMPORTING
         E_LOG_HANDLE = lv_e_log_handle
    EXCEPTIONS
        NOTHING_TODO = 1
. " ISH_SET_MD_STATUS_MULT




ABAP code using 7.40 inline data declarations to call FM ISH_SET_MD_STATUS_MULT

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_log_detailed) = ' '.
 
DATA(ld_i_log_err_only) = ' '.
 
 
 
DATA(ld_i_call_from_bapi) = ' '.
 
DATA(ld_i_simulate) = ' '.
 
 
DATA(ld_i_log_disptype) = 'F'.
 
DATA(ld_i_log_no_tree) = ' '.
 
 


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!