SAP ABAP Class CL_MMPUR_UI_UTIL (Utility Class for MMPUR_UI)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR (Application Component) Purchasing
     MMPUR_UI_MODEL (Package) Model Components for Web Dynpro Applications, Purchasing
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MMPUR_UI_CONSTANTS Constants 20050131
Properties
Class CL_MMPUR_UI_UTIL  
Short Description Utility Class for MMPUR_UI    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MMPUR_UI_MODEL   Model Components for Web Dynpro Applications, Purchasing 
Created 20050131   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_MMPUR_UI_CONSTANTS Constants 20050131
Friends
Class CL_MMPUR_UI_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BP_VERSION_2005S Instance attribute Public Attribute reference (LIKE) 20070423
2 BP_VERSION_2005_EHP3 Instance attribute Public Attribute reference (LIKE) 20070511
3 BP_VERSION_2005_EHP4 Instance attribute Public Attribute reference (LIKE) 20080205
4 BP_VERSION_2005_EHP5 Instance attribute Public Attribute reference (LIKE) 20081204
5 BP_VERSION_2005_EHP6 Instance attribute Public Attribute reference (LIKE) 20100726
6 MT_COMP_CODE Static Attribute Private Type reference (TYPE) MMPURUI_T001_TTY Company Codes 20071005
7 MT_PLANT Static Attribute Private Type reference (TYPE) MMPURUI_T001W_TTY Plants/Subsidiaries 20071005
8 MT_PUR_GROUP Static Attribute Private Type reference (TYPE) MMPURUI_T024_TTY Purchasing Groups 20071005
9 MT_PUR_ORG Static Attribute Private Type reference (TYPE) MMPURUI_T024E_TTY Purchasing Organizations 20071005
10 MT_T163Y Static Attribute Private Type reference (TYPE) MMPURUI_T163Y_TTY Item Categories 20070420
11 MT_VENDOR_NAME Static Attribute Private Type reference (TYPE) LTY_T_VENDOR Vendor and Description 20080208
12 MY_T161T Static Attribute Private Type reference (TYPE) MMPURUI_T161T_TTY Texts for Purchasing Document Types 20070420
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_ITEM_CATEGORY Static method Public Method Convert External Item Category to Internal 20070418
2 CONVERT_ITEM_CAT_SELOPT Static method Public Method Convert External Item Category to Internal for Selection 20070418
3 CONVERT_NUMBER_INPUT Static method Public Method Converts Document Number Input into Format for Selections 20070418
4 CREATE_BW_FILTER_STRING Static method Public Method Generates Event Parameter Strings for BW Filter Event 20050131
5 CREATE_SOS_EVENT_STRING Static method Public Method Generates Event Parameter Strings for Event GET_SRCOFSUPPLY 20050314
6 CREATE_TA_PARM_STRING_MULTI Static method Public Method Generates String for Transaction Parameter (Multi Selection) 20050309
7 ENCODE_METAL_PARM_VALUES Static method Public Method Encodes Parameter Values for Invocation of TA METAL 20050310
8 GET_BP_VERSION Static method Public Method Get the BP Version for Web Dynpro Applications 20080227
9 GET_BW_RFC_DEST Static method Public Method Delivers RFC Destination of BW System Used 20050207
10 GET_COMPANY_DATA Static method Public Method Company Code Information 20070418
11 GET_CONFIRMATION_TEXT Static method Public Method Confirmation Texts 20070418
12 GET_DATAX Static method Public Method Get Data 20070809
13 GET_DOCUMENT_COMPLETENESS Static method Public Method 20070418
14 GET_DOCUMENT_TYPE_TEXT Static method Public Method Descriptions for Document 20070418
15 GET_FIELD_LABEL Static method Public Method Field Label, Medium Length 20070418
16 GET_ITEM_CATEGORY_TEXT Static method Public Method Item Categories Information 20070418
17 GET_MATERIAL_GROUP_TEXT Static method Public Method Material Group Descriptions 20070418
18 GET_MATERIAL_SHORTTEXT Static method Public Method Material Short Text 20070418
19 GET_MATERIAL_TYPE_TEXT Static method Public Method Material Type Descriptions 20070418
20 GET_OTR_TEXT_BY_ALIAS Static method Public Method 20070418
21 GET_PLANT_DATA Static method Public Method Plants/Branches Information 20070418
22 GET_PLANT_NAME Static method Public Method Plant Description 20070418
23 GET_PUR_GROUP_DATA Static method Public Method Purchasing Groups Information 20070418
24 GET_PUR_ORG_DATA Static method Public Method Purchasing Organizations Information 20070418
25 GET_STORAGE_DATA Static method Public Method Storage Locations Information 20070418
26 GET_SWITCH_STATUS_FOR_UI_EHP6 Static method Public Method Return the Switch Status for UI by Checking BP Version 20100713
27 GET_T161T Static method Public Method Read Doc. Type and Texts for Purch. Doc. Types (Lang.-Dep.) 20070418
28 GET_T163Y Static method Public Method Read Out T163Y 20070418
29 GET_T163Y_FILTERED Static method Public Method Get T163Y Filtered by Document Type and Order Type 20071010
30 GET_VENDOR_EVALUATION_SCORE Static method Public Method Get Vendor's Evaluation Score 20070803
31 GET_VENDOR_NAME Static method Public Method Vendor Description 20070418
32 ON_OVS Static method Public Method Generic Method for OVS Callback Calls 20070910
Events
Class CL_MMPUR_UI_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_T_VENDOR Private See coding 20080208 lty_t_vendor TYPE SORTED TABLE OF lty_vendor WITH UNIQUE KEY lifnr
2 LTY_VENDOR Private See coding 20080208 BEGIN OF lty_vendor, lifnr TYPE lfa1-lifnr, name TYPE lfa1-name1, END OF lty_vendor
Method Signatures

Method CONVERT_ITEM_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T163Y Call by reference Type reference (TYPE) T163Y Texts for Item Categories 20070418
2 Importing I_LANG Call by reference Type reference (TYPE) SY-LANGU Sprachenschlüssel der aktuellen Textumgebung 20070418
3 Importing I_PSTYP Call by reference Type reference (TYPE) T163Y-PSTYP Positionstyp im Einkaufsbeleg 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method CONVERT_ITEM_CAT_SELOPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_SELCRIT_VALUES Call by reference Type reference (TYPE) RSPARAMS_TT Table of Selection Criteria 20070418

Method CONVERT_ITEM_CAT_SELOPT on class CL_MMPUR_UI_UTIL has no exception.

Method CONVERT_NUMBER_INPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DOC_NUMBER Call by reference Type reference (TYPE) MMPURPA_DOCNUMBER_TY Number of a Document in a Procurement Transaction 20070418
2 Returning RT_DOC_NUMBER_CONV Value transfer Type reference (TYPE) MMPURPA_DOCNUMBER_TY Converted Document Number 20070418

Method CONVERT_NUMBER_INPUT on class CL_MMPUR_UI_UTIL has no exception.

Method CREATE_BW_FILTER_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EP_EVENTPARM_NAME Call by reference Type reference (TYPE) STRING Returns the event parameter name 20050202
2 Exporting EP_EVENTPARM_VALUE Call by reference Type reference (TYPE) STRING Returns the event parameter value 20050202
3 Exporting EP_EVENTSTRING Call by reference Type reference (TYPE) STRING Returns complete event parameter string (name=value) 20050131
4 Importing IT_FILTER_VALUES Call by reference Type reference (TYPE) MMPURUI_NAMEVALUE_TTY Contains filterobject and filtervalue pairs 20050131

Method CREATE_BW_FILTER_STRING on class CL_MMPUR_UI_UTIL has no exception.

Method CREATE_SOS_EVENT_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EVENTPARM_NAME Call by reference Type reference (TYPE) STRING Event Parameter Name 20050314
2 Exporting E_EVENTSTRING Call by reference Type reference (TYPE) STRING Kompletter Event Parameter String (name=value) 20050314
3 Importing IT_FILTER_VALUES Call by reference Type reference (TYPE) MMPURUI_NAMEVALUE_TTY MMPURUI Name-Value Table 20050314

Method CREATE_SOS_EVENT_STRING on class CL_MMPUR_UI_UTIL has no exception.

Method CREATE_TA_PARM_STRING_MULTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PARMSTRING Call by reference Type reference (TYPE) STRING Generierter Parameter String 20050309
2 Importing I_DYNPROFIELD Call by reference Type reference (TYPE) STRING ID des zu füllenden Dynprofeldes 20050309
3 Importing I_VALUES Call by reference Type reference (TYPE) MMPURUI_VALUES_TTY Tabelle mit den Werten für das Dynprofeld 20050309

Method CREATE_TA_PARM_STRING_MULTI on class CL_MMPUR_UI_UTIL has no exception.

Method ENCODE_METAL_PARM_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_ESCAPE Call by reference Type reference (TYPE) CHAR1 Escape Zeichen 20050310
2 Changing C_VALUES Call by reference Type reference (TYPE) MMPURUI_VALUES_TTY Tabelle mit Strings 20050310

Method ENCODE_METAL_PARM_VALUES on class CL_MMPUR_UI_UTIL has no exception.

Method GET_BP_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_BP_VERSION Value transfer Type reference (TYPE) MMPURUI_BP_VERSION_TY Version des Business Package im Portal 20080227

Method GET_BP_VERSION on class CL_MMPUR_UI_UTIL has no exception.

Method GET_BW_RFC_DEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EP_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Rückgabewert von ABAP-Anweisungen 20050207
2 Exporting ET_RFCDES Call by reference Type reference (TYPE) RFCDES Destination-Tabelle fuer Remote Function Call 20050207

Method GET_BW_RFC_DEST on class CL_MMPUR_UI_UTIL has no exception.

Method GET_COMPANY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T001 Call by reference Type reference (TYPE) MMPURUI_T001_TTY Company Codes 20070418
2 Importing I_BUKRS Call by reference Type reference (TYPE) T001-BUKRS Company Code 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_CONFIRMATION_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T163M Call by reference Type reference (TYPE) MMPURUI_T163M_TTY 20070418
2 Importing I_BSTAE Call by reference Type reference (TYPE) T163M-BSTAE Confirmation Control Key 20070418
3 Importing I_LANG Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_DATAX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_X Call by reference Type reference (TYPE) ANY 20070809
2 Importing IM_NEW Call by reference Type reference (TYPE) ANY 20070809
3 Importing IM_OLD Call by reference Type reference (TYPE) ANY 20070809

Method GET_DATAX on class CL_MMPUR_UI_UTIL has no exception.

Method GET_DOCUMENT_COMPLETENESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_COMPLETENESS Call by reference Type reference (TYPE) STRING Category of Incompleteness 20070418

Method GET_DOCUMENT_COMPLETENESS on class CL_MMPUR_UI_UTIL has no exception.

Method GET_DOCUMENT_TYPE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T161T Call by reference Type reference (TYPE) MMPURUI_T161T_TTY Texts for Purchasing Document Types 20070418
2 Importing I_BSART Call by reference Type reference (TYPE) T161T-BSART Purchasing Document Type 20070418
3 Importing I_BSTYP Call by reference Type reference (TYPE) T161T-BSTYP Purchasing Document Category 20070418
4 Importing I_LANG Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_FIELD_LABEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EX_FIELD_LABEL Value transfer Type reference (TYPE) CHAR40 Field Label 20070418
2 Importing IM_FIELD_NAME Call by reference Type reference (TYPE) DCOBJDEF-NAME Name of ABAP Dictionary Object 20070418
3 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU Language 20070418
4 Importing IM_LENGTH Call by reference Type reference (TYPE) C Length of Field Label 20070418

Method GET_FIELD_LABEL on class CL_MMPUR_UI_UTIL has no exception.

Method GET_ITEM_CATEGORY_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T163Y Call by reference Type reference (TYPE) MMPURUI_T163Y_TTY Texts for Item Categories 20070418
2 Importing I_LANG Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20070418
3 Importing I_PSTYP Call by reference Type reference (TYPE) T163Y-PSTYP Item Category in Purchasing Document 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_MATERIAL_GROUP_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T023T Call by reference Type reference (TYPE) MMPURUI_T023T_TTY Material Group Descriptions 20070418
2 Importing I_LANG Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20070418
3 Importing I_MATKL Call by reference Type reference (TYPE) T023T-MATKL Material Group 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_MATERIAL_SHORTTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MAT_SHORTTEXT Call by reference Type reference (TYPE) MAKTX Material Short Text 20070418
2 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU Language 20070418
3 Importing IM_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070418

Method GET_MATERIAL_SHORTTEXT on class CL_MMPUR_UI_UTIL has no exception.

Method GET_MATERIAL_TYPE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T134T Call by reference Type reference (TYPE) MMPURUI_T134T_TTY Material Type Descriptions 20070418
2 Importing I_LANG Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20070418
3 Importing I_MTART Call by reference Type reference (TYPE) T134T-MTART Material Type 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_OTR_TEXT_BY_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ALIAS Call by reference Type reference (TYPE) STRING 20070418
2 Returning ALIAS_TEXT Value transfer Type reference (TYPE) STRING 20070418
3 Importing LANGUAGE Value transfer Type reference (TYPE) SY-LANGU 20070418

Method GET_OTR_TEXT_BY_ALIAS on class CL_MMPUR_UI_UTIL has no exception.

Method GET_PLANT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T001W Call by reference Type reference (TYPE) MMPURUI_T001W_TTY Plants/Subsidiaries 20070418
2 Importing I_WERKS Call by reference Type reference (TYPE) T001W-WERKS Plant 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_PLANT_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EX_PLANT_NAME Value transfer Type reference (TYPE) NAME1 Plant Description 20070418
2 Importing IM_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20070418

Method GET_PLANT_NAME on class CL_MMPUR_UI_UTIL has no exception.

Method GET_PUR_GROUP_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T024 Call by reference Type reference (TYPE) MMPURUI_T024_TTY Purchasing Groups 20070418
2 Importing I_EKGRP Call by reference Type reference (TYPE) T024-EKGRP Purchasing Group 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_PUR_ORG_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T024E Call by reference Type reference (TYPE) MMPURUI_T024E_TTY Purchasing Organizations 20070418
2 Importing I_EKORG Call by reference Type reference (TYPE) T024E-EKORG Purchasing Organization 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_STORAGE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T001L Call by reference Type reference (TYPE) MMPURUI_T001L_TTY Company Codes 20070418
2 Importing I_LGORT Call by reference Type reference (TYPE) T001L-LGORT Storage Location 20070418
3 Importing I_WERKS Call by reference Type reference (TYPE) T001L-WERKS Werk 20070418
# Exception Resumable Description Created on
1 NOT_FOUND 20070418

Method GET_SWITCH_STATUS_FOR_UI_EHP6 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_BP_VERSION Value transfer Type reference (TYPE) BOOL 20100713

Method GET_SWITCH_STATUS_FOR_UI_EHP6 on class CL_MMPUR_UI_UTIL has no exception.

Method GET_T161T Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BSTYP Call by reference Type reference (TYPE) BSTYP Purchasing Document Category 20070418
2 Importing IM_LANGU Call by reference Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20070418
3 Returning RE_T161T Value transfer Type reference (TYPE) MMPURUI_T161T_TTY Texts for Purchasing Document Types 20070418

Method GET_T161T on class CL_MMPUR_UI_UTIL has no exception.

Method GET_T163Y Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_T163Y Value transfer Type reference (TYPE) MMPURUI_T163Y_TTY Texts for Item Categories 20070418

Method GET_T163Y on class CL_MMPUR_UI_UTIL has no exception.

Method GET_T163Y_FILTERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BSART Call by reference Type reference (TYPE) BSART Order Type (Purchasing) 20071010
2 Importing IV_BSTYP Call by reference Type reference (TYPE) BSTYP Purchasing Document Category 20071010
3 Returning RT_T163Y Value transfer Type reference (TYPE) MMPURUI_T163Y_TTY Texts for Item Categories 20071010

Method GET_T163Y_FILTERED on class CL_MMPUR_UI_UTIL has no exception.

Method GET_VENDOR_EVALUATION_SCORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EX_VENDOR_EVALUATION_SCORE Value transfer Type reference (TYPE) BEWER vendor's evaluation score 20070803
2 Importing IM_LIFNR Call by reference Type reference (TYPE) ELIFN Vendor's Account Number 20070803

Method GET_VENDOR_EVALUATION_SCORE on class CL_MMPUR_UI_UTIL has no exception.

Method GET_VENDOR_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EX_VENDOR_NAME Value transfer Type reference (TYPE) NAME1_GP Name of Vendor 20070418
2 Importing IM_LIFNR Call by reference Type reference (TYPE) ELIFN Vendor's Account Number 20070418

Method GET_VENDOR_NAME on class CL_MMPUR_UI_UTIL has no exception.

Method ON_OVS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OVS_CALLBACK Call by reference Object reference (TYPE REF TO) IF_WD_OVS OVS callback object 20070910
2 Importing IO_POWL_OVS_IMPL Call by reference Object reference (TYPE REF TO) IF_POWL_OVS POWL OVS implementation 20070910

Method ON_OVS on class CL_MMPUR_UI_UTIL has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 600