SAP MCS_BIW_DELETE_LIS_ENVIRONMENT Function Module for NOTRANSL: Löschen des BIW-LIS-Umfelds (OLTP)









MCS_BIW_DELETE_LIS_ENVIRONMENT is a standard mcs biw delete lis environment SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Löschen des BIW-LIS-Umfelds (OLTP) 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 mcs biw delete lis environment FM, simply by entering the name MCS_BIW_DELETE_LIS_ENVIRONMENT into the relevant SAP transaction such as SE37 or SE38.

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



Function MCS_BIW_DELETE_LIS_ENVIRONMENT 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 'MCS_BIW_DELETE_LIS_ENVIRONMENT'"NOTRANSL: Löschen des BIW-LIS-Umfelds (OLTP)
EXPORTING
I_MCINF = "
I_MCAPP = "
* I_GSTRU = "
* I_ONLY_ENV = 'X' "
* I_CHECK = 'X' "

IMPORTING
E_T_MESSAGES = "

EXCEPTIONS
MCINF_STILL_EXISTS = 1 DELETION_NOT_POSSIBLE = 2 FAILURE = 3
.



IMPORTING Parameters details for MCS_BIW_DELETE_LIS_ENVIRONMENT

I_MCINF -

Data type: TMC4U-MCINF
Optional: No
Call by Reference: No ( called with pass by value option)

I_MCAPP -

Data type: TMC4U-MCAPP
Optional: No
Call by Reference: No ( called with pass by value option)

I_GSTRU -

Data type: TMC4U-GSTRU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ONLY_ENV -

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHECK -

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for MCS_BIW_DELETE_LIS_ENVIRONMENT

E_T_MESSAGES -

Data type: RSAOT_T_MESSAGES
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

MCINF_STILL_EXISTS -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DELETION_NOT_POSSIBLE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

FAILURE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for MCS_BIW_DELETE_LIS_ENVIRONMENT 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_mcinf  TYPE TMC4U-MCINF, "   
lv_e_t_messages  TYPE RSAOT_T_MESSAGES, "   
lv_mcinf_still_exists  TYPE RSAOT_T_MESSAGES, "   
lv_i_mcapp  TYPE TMC4U-MCAPP, "   
lv_deletion_not_possible  TYPE TMC4U, "   
lv_failure  TYPE TMC4U, "   
lv_i_gstru  TYPE TMC4U-GSTRU, "   
lv_i_only_env  TYPE TMC4U, "   'X'
lv_i_check  TYPE TMC4U. "   'X'

  CALL FUNCTION 'MCS_BIW_DELETE_LIS_ENVIRONMENT'  "NOTRANSL: Löschen des BIW-LIS-Umfelds (OLTP)
    EXPORTING
         I_MCINF = lv_i_mcinf
         I_MCAPP = lv_i_mcapp
         I_GSTRU = lv_i_gstru
         I_ONLY_ENV = lv_i_only_env
         I_CHECK = lv_i_check
    IMPORTING
         E_T_MESSAGES = lv_e_t_messages
    EXCEPTIONS
        MCINF_STILL_EXISTS = 1
        DELETION_NOT_POSSIBLE = 2
        FAILURE = 3
. " MCS_BIW_DELETE_LIS_ENVIRONMENT




ABAP code using 7.40 inline data declarations to call FM MCS_BIW_DELETE_LIS_ENVIRONMENT

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 MCINF FROM TMC4U INTO @DATA(ld_i_mcinf).
 
 
 
"SELECT single MCAPP FROM TMC4U INTO @DATA(ld_i_mcapp).
 
 
 
"SELECT single GSTRU FROM TMC4U INTO @DATA(ld_i_gstru).
 
DATA(ld_i_only_env) = 'X'.
 
DATA(ld_i_check) = 'X'.
 


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!