SAP ABAP Class CL_UPARI_FUNCTIONS (Provide generic functions to services)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-PLA-BPS (Application Component) Business Planning and Simulation
     UPARI (Package) Retail Assortment Planning Data Interface
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_UPARI_T Types and constants of UPARI 20071127
Properties
Class CL_UPARI_FUNCTIONS  
Short Description Provide generic functions to services    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package UPARI   Retail Assortment Planning Data Interface 
Created 20071122   SAP 
Last change 20141101    
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)
2 IF_UPARI_T Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 UPARI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_UPARI_T Types and constants of UPARI 20071127
Friends
Class CL_UPARI_FUNCTIONS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_ASRT Static Attribute Private Type reference (TYPE) ASRT_LTTY 20080123
2 GT_CVAL Static Attribute Private Type reference (TYPE) CVAL_LTTY 20080124
3 G_MATNR Static Attribute Private Type reference (TYPE) UPARI_Y_MATERIAL Material 20080129
4 G_MSGTXT Static Attribute Public Type reference (TYPE) BAPI_MSG Message Text 20071212
5 T_MSGTP_CM Static Attribute Private Type reference (TYPE) LTTY_MSGTP_CM Allowed Message types / processing method combinations 20071127
Methods
# Method Level Visibility Method type Description Created on
1 ADD_BAPIRET2 Static method Public Method Add message in bapiret2 format to message table 20090609
2 ADD_MERRDAT Static method Public Method Add message in merrdat format to message table 20071213
3 ADD_SYSMSG Static method Public Method Add last system message to message table 20071212
4 CHECK_MSGTYPE_CM Static method Public Method Get msgtype to process 20071215
5 CLASS_CONSTRUCTOR Static method Public Constructor Constructor for the class 20071128
6 DELETE_CHAVL_ENTRIES Static method Public Method Delete entries corresponding to a specific record number 20071128
7 GET_ASSORTMENT_TYPE_DATA Static method Public Method Get the assortment type of an assortment 20080103
8 GET_CHARVALUE_NAME Static method Public Method Get the characteristic name for a characteristic value 20080103
9 GET_END_NODE Static method Private Method Determine which node is the 'lowest' assigned 20080110
10 GET_MATERIAL_DATA Static method Public Method Get 0MATERIAL attributes of a material 20080103
11 GET_PREPACK_DATA Static method Public Method Get prepack generation information from 0RT_STYCOL 20080103
12 GET_TECH_MSGTYPE Static method Public Method Get msgtype to process 20071128
13 READ_SKU_DATA Static method Public Method Get data from CM_SKU InfoObject 20071122
14 SET_CONTEXT_BY_MATERIALID Static method Public Method Set queue to use by a proxy based on a material id 20080131
Events
Class CL_UPARI_FUNCTIONS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTTY_MSGTP_CM Private See coding 20071127 ltty_msgtp_cm TYPE STANDARD TABLE OF upari_tc_msgtpcm WITH DEFAULT KEY
Method Signatures

Method ADD_BAPIRET2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20090609
2 Changing XT_APPL_MESSAGE Call by reference Type reference (TYPE) IF_UPARI_T=>UPARI_YT_APPL_MSG 20090609

Method ADD_BAPIRET2 on class CL_UPARI_FUNCTIONS has no exception.

Method ADD_MERRDAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MERRDAT Call by reference Type reference (TYPE) IF_UPARI_T=>UPARI_YT_MERRDAT 20071213
2 Changing XT_APPL_MESSAGE Call by reference Type reference (TYPE) IF_UPARI_T=>UPARI_YT_APPL_MSG 20071213

Method ADD_MERRDAT on class CL_UPARI_FUNCTIONS has no exception.

Method ADD_SYSMSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing XT_MESSAGE Call by reference Type reference (TYPE) IF_UPARI_T=>UPARI_YT_APPL_MSG 20071212

Method ADD_SYSMSG on class CL_UPARI_FUNCTIONS has no exception.

Method CHECK_MSGTYPE_CM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_CHECK_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Entry is found in the table 20071215
2 Importing IS_MSGTYPE Call by reference Type reference (TYPE) UPARI_TC_MSGTP Message types 20071215
3 Importing IS_MSGTYPE_V Call by reference Type reference (TYPE) UPARI_V_MSGTP Generated Table for View UPARI_V_MSGTP 20071215

Method CHECK_MSGTYPE_CM on class CL_UPARI_FUNCTIONS has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_UPARI_FUNCTIONS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_UPARI_FUNCTIONS has no exception.

Method DELETE_CHAVL_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LFDNR Call by reference Type reference (TYPE) I Record number to delete 20071128
2 Changing XT_CHAVL Call by reference Type reference (TYPE) IF_UPARI_T=>UPARI_YT_CHAVL Table to delete entries from 20071128

Method DELETE_CHAVL_ENTRIES on class CL_UPARI_FUNCTIONS has no exception.

Method GET_ASSORTMENT_TYPE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ASSORTMENT_ID Call by reference Type reference (TYPE) UPARI_Y_ASORT Assortment 20080103
2 Returning R_ASSORTMENT_TYPE Value transfer Type reference (TYPE) UPARI_Y_ASTYP Assortment type 20080108

Method GET_ASSORTMENT_TYPE_DATA on class CL_UPARI_FUNCTIONS has no exception.

Method GET_CHARVALUE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CHARVALUE_NAME Call by reference Type reference (TYPE) UPC_Y_CHAVLINT 20080103
2 Importing I_CHARNAME Call by reference Type reference (TYPE) RSIOBJNM InfoObject 20080103
3 Importing I_CHARVALUE Call by reference Type reference (TYPE) UPC_Y_CHAVLINT 20080103

Method GET_CHARVALUE_NAME on class CL_UPARI_FUNCTIONS has no exception.

Method GET_END_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CDT Call by reference Type reference (TYPE) CDT_LSTY 20080110
2 Returning R_NODE Value transfer Type reference (TYPE) UPARI_Y_CDT1 Category 20080110

Method GET_END_NODE on class CL_UPARI_FUNCTIONS has no exception.

Method GET_MATERIAL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MATATTR Call by reference Type reference (TYPE) IF_UPARI_T=>YS_MATATTR 20080110
2 Exporting ES_MAT_PURCHPRICE Call by reference Type reference (TYPE) BCTCO_AMOUNT Item purchasing price 20080108
3 Exporting ET_MATATTR_ALL Call by reference Type reference (TYPE) RSSEM_YT_CHAVL Characteristic Values 20090129
4 Exporting ET_SKUATTR Call by reference Type reference (TYPE) IF_UPARI_T=>YT_SKUATTR 20080110
5 Exporting ET_SKUATTR_ALL Call by reference Type reference (TYPE) RSSEM_YT_CHAVL Characteristic Values 20090129
6 Exporting E_MAT_BASE_UOM Call by reference Type reference (TYPE) UPARI_Y_BASEUOM Material base unit of measure 20080104
7 Exporting E_MAT_DESCRIPTION Call by reference Type reference (TYPE) UPC_Y_TXTMD Description 20080104
8 Exporting E_MAT_GROUP Call by reference Type reference (TYPE) UPARI_Y_MATGROUP Material group 20080109
9 Exporting E_MAT_MERCH_TYPE_CODE Call by reference Type reference (TYPE) UPARI_Y_MATCATEGORY Product Category 20080104
10 Exporting E_MAT_SUPPLIERID Call by reference Type reference (TYPE) UPARI_Y_VENDOR Supplier ID 20080104
11 Exporting E_MAT_TYPE_CODE Call by reference Type reference (TYPE) UPARI_Y_MATTYP Material type 20080104
12 Importing I_MATERIAL_ID Call by reference Type reference (TYPE) UPARI_YS_SELECTION-PROD Product 20080103
13 Importing I_USE_RF Call by reference Type reference (TYPE) CHAR1 SPACE Single-Character Flag 20080110

Method GET_MATERIAL_DATA on class CL_UPARI_FUNCTIONS has no exception.

Method GET_PREPACK_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PACK_SIZE Call by reference Type reference (TYPE) UPARI_Y_PKSIZE Pack size Value 20080103
2 Exporting E_QUOTA_SCALE Call by reference Type reference (TYPE) UPARI_Y_QUOTA_SCALE Quota Scale Value 20080103
3 Importing I_CHARVALUE Call by reference Type reference (TYPE) UPC_Y_CHAVLINT Field for Any Characteristic Value 20080103
4 Importing I_IO_PRD_COLOR Call by reference Type reference (TYPE) RSIOBJNM IF_UPARI_T~C_IO_PRD_COLOR Info Object for the Prepack Information 20080529
5 Importing I_MATERIAL_ID Call by reference Type reference (TYPE) UPARI_Y_MATERIAL Material Value 20080103

Method GET_PREPACK_DATA on class CL_UPARI_FUNCTIONS has no exception.

Method GET_TECH_MSGTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_MSGTYPE Value transfer Type reference (TYPE) UPARI_Y_MSGTYPE Message type 20071128
2 Importing IS_MSGTYPE Call by reference Type reference (TYPE) UPARI_TC_MSGTP Message types 20071128
3 Importing IS_MSGTYPE_V Call by reference Type reference (TYPE) UPARI_V_MSGTP Generated Table for View UPARI_V_MSGTP 20071128

Method GET_TECH_MSGTYPE on class CL_UPARI_FUNCTIONS has no exception.

Method READ_SKU_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHAVL_SKU Call by reference Type reference (TYPE) IF_UPARI_T=>UPARI_YT_CHAVL 20071123
2 Exporting E_RETURN Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20071123
3 Exporting E_TEXT Call by reference Type reference (TYPE) CHAR80 Char 80 20071123
4 Importing IT_SKU_SELOPT Call by reference Type reference (TYPE) UPARI_YT_SELOPT Select options for release workbench 20071123
5 Importing I_ONLY_MAIN Call by reference Type reference (TYPE) CHAR1 SPACE Restrict data to main sku 20071217
6 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20071123
7 Importing I_USE_RF Call by reference Type reference (TYPE) CHAR1 SPACE Use info object 0RF_SKU instead of 0CM_SKU 20071205

Method READ_SKU_DATA on class CL_UPARI_FUNCTIONS has no exception.

Method SET_CONTEXT_BY_MATERIALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PROXY Call by reference Object reference (TYPE REF TO) IF_PROXY_BASIS Proxy to adjust 20080131
2 Importing I_MATERIALID Call by reference Type reference (TYPE) UPARI_Y_PROD Material id used as a source 20080131

Method SET_CONTEXT_BY_MATERIALID on class CL_UPARI_FUNCTIONS has no exception.
History
Last changed by/on SAP  20141101 
SAP Release Created in 703