SAP CN_MS_POPUP_PARAMETERS_SMLS Function Module for NOTRANSL: Aufruf eines Popups, um Parameter für vordef. Funktionen einzuge









CN_MS_POPUP_PARAMETERS_SMLS is a standard cn ms popup parameters smls 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: Aufruf eines Popups, um Parameter für vordef. Funktionen einzuge 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 cn ms popup parameters smls FM, simply by entering the name CN_MS_POPUP_PARAMETERS_SMLS into the relevant SAP transaction such as SE37 or SE38.

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



Function CN_MS_POPUP_PARAMETERS_SMLS 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 'CN_MS_POPUP_PARAMETERS_SMLS'"NOTRANSL: Aufruf eines Popups, um Parameter für vordef. Funktionen einzuge
EXPORTING
* AKTYP_PIC_IMP = 'V' "Activity category in SAP transaction
* CHECK_DARK = ' ' "Selection function
* EXCL_CANCEL_IMP = ' ' "Selection function
FKTID_IMP = "Function ID for milestone function
SMLSD_IMP = "Supplemental fields (I/O table) for SMLS

IMPORTING
SMLSD_EXP = "Supplemental fields (I/O table) for SMLS
.



IMPORTING Parameters details for CN_MS_POPUP_PARAMETERS_SMLS

AKTYP_PIC_IMP - Activity category in SAP transaction

Data type: RC27S-AKTYP_PIC
Default: 'V'
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHECK_DARK - Selection function

Data type: MLSTD-RELSU
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCL_CANCEL_IMP - Selection function

Data type: MLSTD-RELSU
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FKTID_IMP - Function ID for milestone function

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

SMLSD_IMP - Supplemental fields (I/O table) for SMLS

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

EXPORTING Parameters details for CN_MS_POPUP_PARAMETERS_SMLS

SMLSD_EXP - Supplemental fields (I/O table) for SMLS

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

Copy and paste ABAP code example for CN_MS_POPUP_PARAMETERS_SMLS 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_smlsd_exp  TYPE SMLSD, "   
lv_aktyp_pic_imp  TYPE RC27S-AKTYP_PIC, "   'V'
lv_check_dark  TYPE MLSTD-RELSU, "   SPACE
lv_excl_cancel_imp  TYPE MLSTD-RELSU, "   SPACE
lv_fktid_imp  TYPE MLSTF-FKTID, "   
lv_smlsd_imp  TYPE SMLSD. "   

  CALL FUNCTION 'CN_MS_POPUP_PARAMETERS_SMLS'  "NOTRANSL: Aufruf eines Popups, um Parameter für vordef. Funktionen einzuge
    EXPORTING
         AKTYP_PIC_IMP = lv_aktyp_pic_imp
         CHECK_DARK = lv_check_dark
         EXCL_CANCEL_IMP = lv_excl_cancel_imp
         FKTID_IMP = lv_fktid_imp
         SMLSD_IMP = lv_smlsd_imp
    IMPORTING
         SMLSD_EXP = lv_smlsd_exp
. " CN_MS_POPUP_PARAMETERS_SMLS




ABAP code using 7.40 inline data declarations to call FM CN_MS_POPUP_PARAMETERS_SMLS

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 AKTYP_PIC FROM RC27S INTO @DATA(ld_aktyp_pic_imp).
DATA(ld_aktyp_pic_imp) = 'V'.
 
"SELECT single RELSU FROM MLSTD INTO @DATA(ld_check_dark).
DATA(ld_check_dark) = ' '.
 
"SELECT single RELSU FROM MLSTD INTO @DATA(ld_excl_cancel_imp).
DATA(ld_excl_cancel_imp) = ' '.
 
"SELECT single FKTID FROM MLSTF INTO @DATA(ld_fktid_imp).
 
 


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!