SAP PM_CL_DIALOG_CLASSIFICATION Function Module for NOTRANSL: PM: Pflegedialog der Klassifizierung









PM_CL_DIALOG_CLASSIFICATION is a standard pm cl dialog classification 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: PM: Pflegedialog der Klassifizierung 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 pm cl dialog classification FM, simply by entering the name PM_CL_DIALOG_CLASSIFICATION into the relevant SAP transaction such as SE37 or SE38.

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



Function PM_CL_DIALOG_CLASSIFICATION 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 'PM_CL_DIALOG_CLASSIFICATION'"NOTRANSL: PM: Pflegedialog der Klassifizierung
EXPORTING
ID_ITOB_TYPE = "Technical object types in plant maintenance
* ID_TRPNR = "Reference Functional Location
* IS_IRLO = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ID_ACTIVITY_TYPE = "Activity Category in Transaction (Cr/Ch/D)
* ID_CLASS_BINPT = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* ID_BRANCH_TO_VALUES = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* ID_EQUNR = "Equipment Number
* IS_EQUI = "Equipment Master Data
* IS_EQKT = "Equipment Short Texts
* ID_TPLNR = "Functional Location
* IS_IFLO = "DE-EN-LANG-SWITCH-NO-TRANSLATION

CHANGING
CD_CLASS_MAIN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
CD_CLASS_TYPE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
CD_CLASS_TEXT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
CD_CLASS_UPDATE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLIHCL_001 IHCL Customer Include: Default Values for Classes and Characteristics

IMPORTING Parameters details for PM_CL_DIALOG_CLASSIFICATION

ID_ITOB_TYPE - Technical object types in plant maintenance

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

ID_TRPNR - Reference Functional Location

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

IS_IRLO - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ID_ACTIVITY_TYPE - Activity Category in Transaction (Cr/Ch/D)

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

ID_CLASS_BINPT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ID_BRANCH_TO_VALUES - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

ID_EQUNR - Equipment Number

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

IS_EQUI - Equipment Master Data

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

IS_EQKT - Equipment Short Texts

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

ID_TPLNR - Functional Location

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

IS_IFLO - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

CHANGING Parameters details for PM_CL_DIALOG_CLASSIFICATION

CD_CLASS_MAIN - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

CD_CLASS_TYPE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

CD_CLASS_TEXT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

CD_CLASS_UPDATE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for PM_CL_DIALOG_CLASSIFICATION 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_id_itob_type  TYPE ITOBTYP, "   
lv_cd_class_main  TYPE RMCLF-CLASS, "   
lv_id_trpnr  TYPE IRLO-TRPNR, "   
lv_is_irlo  TYPE IRLO, "   
lv_cd_class_type  TYPE RMCLF-KLART, "   
lv_id_activity_type  TYPE T370-AKTYP, "   
lv_cd_class_text  TYPE RMCLF-KTEXT, "   
lv_id_class_binpt  TYPE IREF-IIND, "   SPACE
lv_cd_class_update  TYPE RMCLK-UPDAT, "   
lv_id_branch_to_values  TYPE IREF-IIND, "   SPACE
lv_id_equnr  TYPE RM63E-EQUNR, "   
lv_is_equi  TYPE EQUI, "   
lv_is_eqkt  TYPE EQKT, "   
lv_id_tplnr  TYPE IFLO-TPLNR, "   
lv_is_iflo  TYPE IFLO. "   

  CALL FUNCTION 'PM_CL_DIALOG_CLASSIFICATION'  "NOTRANSL: PM: Pflegedialog der Klassifizierung
    EXPORTING
         ID_ITOB_TYPE = lv_id_itob_type
         ID_TRPNR = lv_id_trpnr
         IS_IRLO = lv_is_irlo
         ID_ACTIVITY_TYPE = lv_id_activity_type
         ID_CLASS_BINPT = lv_id_class_binpt
         ID_BRANCH_TO_VALUES = lv_id_branch_to_values
         ID_EQUNR = lv_id_equnr
         IS_EQUI = lv_is_equi
         IS_EQKT = lv_is_eqkt
         ID_TPLNR = lv_id_tplnr
         IS_IFLO = lv_is_iflo
    CHANGING
         CD_CLASS_MAIN = lv_cd_class_main
         CD_CLASS_TYPE = lv_cd_class_type
         CD_CLASS_TEXT = lv_cd_class_text
         CD_CLASS_UPDATE = lv_cd_class_update
. " PM_CL_DIALOG_CLASSIFICATION




ABAP code using 7.40 inline data declarations to call FM PM_CL_DIALOG_CLASSIFICATION

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 CLASS FROM RMCLF INTO @DATA(ld_cd_class_main).
 
"SELECT single TRPNR FROM IRLO INTO @DATA(ld_id_trpnr).
 
 
"SELECT single KLART FROM RMCLF INTO @DATA(ld_cd_class_type).
 
"SELECT single AKTYP FROM T370 INTO @DATA(ld_id_activity_type).
 
"SELECT single KTEXT FROM RMCLF INTO @DATA(ld_cd_class_text).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_id_class_binpt).
DATA(ld_id_class_binpt) = ' '.
 
"SELECT single UPDAT FROM RMCLK INTO @DATA(ld_cd_class_update).
 
"SELECT single IIND FROM IREF INTO @DATA(ld_id_branch_to_values).
DATA(ld_id_branch_to_values) = ' '.
 
"SELECT single EQUNR FROM RM63E INTO @DATA(ld_id_equnr).
 
 
 
"SELECT single TPLNR FROM IFLO INTO @DATA(ld_id_tplnr).
 
 


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!