SAP ABAP Class CL_IUID_EQUI (IUID Equipment changes)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-UID (Application Component) Unique Identification
     IUID (Package) Item Unique Identification
Properties
Class CL_IUID_EQUI  
Short Description IUID Equipment changes    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class IUID    
Program status     
Category 0   
Package IUID   Item Unique Identification 
Created 20070725   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_IUID_EQUI has no forward declaration.
Interfaces
Class CL_IUID_EQUI has no interface implemented.
Friends
Class CL_IUID_EQUI has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_X Constant Private Type reference (TYPE) FLAG 'X' General Flag 20070827
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_MSG_TO_RETURN_TAB Static method Private Method Appends Message to the BAPI-Return-Table 20080627
2 CHECK_IUID_FIELDS Static method Public Method Check IUID fields 20080723
3 CHECK_IUID_MIEQ0_1000 Static method Public Method Check Screen 1000 of SAPMIEQ0 (PAI) 20070827
4 CHECK_UPDATE_NECESSARY Static method Public Method Checks if update for given (table, uii, etc. is necessary 20080626
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20080512
6 CREATE_UII_MARKING_PM_ORDER Static method Public Method Create a pm-order to mark the equipment with uii 20080508
7 DO_UII_COMMIT_ROLLBACK Static method Private Method Check and perform the commit or rollback for the UII-update 20080804
8 GET_NEXT_PM_ORDER_OBJ_KEYS Static method Private Method Get the next Object Keys for creating a PM-Order 20080509
9 IS_MARC_PLANT_MAINTAINED Static method Public Method Check if the MARC record is available 20070827
10 READ_EQUI Static method Public Method Read EQUI dependent on Import Parameter 20070810
11 READ_MARC Static method Public Method Read MARC dependent on Import Parameter 20070810
12 READ_UII_BY_EQUNR Static method Public Method Determine the UII by EQUNR 20070802
13 SHOW_MESSAGES Static method Private Method Shows Messages 20080510
14 UPDATE_UII_IN_DB Static method Public Method Update UII in EQUI, OBJK, IBSP 20080626
Events
Class CL_IUID_EQUI has no event.
Types
Class CL_IUID_EQUI has no local type.
Method Signatures

Method APPEND_MSG_TO_RETURN_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPI_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080627
2 Importing IV_MSG_ID Value transfer Type reference (TYPE) SYMSGID Message Class 20080627
3 Importing IV_MSG_NO Value transfer Type reference (TYPE) SYMSGNO Message Number 20080627
4 Importing IV_MSG_TY Value transfer Type reference (TYPE) SYMSGTY Message Type 20080627
5 Importing IV_MSG_V1 Value transfer Type reference (TYPE) ANY Message Variable 20080627
6 Importing IV_MSG_V2 Value transfer Type reference (TYPE) ANY Message Variable 20080627
7 Importing IV_MSG_V3 Value transfer Type reference (TYPE) ANY Message Variable 20080627
8 Importing IV_MSG_V4 Value transfer Type reference (TYPE) ANY Message Variable 20080627

Method APPEND_MSG_TO_RETURN_TAB on class CL_IUID_EQUI has no exception.

Method CHECK_IUID_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_IUID_DATA Call by reference Type reference (TYPE) IUID_EQUI Structure with IUID Related Fields of Database Table EQUI 20080723
2 Importing IS_IUID_DATA_OLD Call by reference Type reference (TYPE) IUID_EQUI Structure with IUID Related Fields of Database Table EQUI 20080723
# Exception Resumable Description Created on
1 CHECK_FAILED IUID check failed 20080723
2 CHECK_WARNING IUID check with warning 20080723

Method CHECK_IUID_MIEQ0_1000 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_RISA0 Call by reference Type reference (TYPE) RISA0 Serial Numbers Input/Output Table 20070827
2 Changing CV_IUID_COMPATIBLE Call by reference Type reference (TYPE) IUID_COMPATIBLE Serial Number Profile Compatible with IUID 20070827
3 Changing CV_IUID_TYPE Call by reference Type reference (TYPE) IUID_TYPE Structure Type of UII 20070827
4 Exporting EV_SET_CURSOR Call by reference Type reference (TYPE) INT4 Natural Number 20070828
5 Importing IV_TCODE Call by reference Type reference (TYPE) SYTCODE Current Transaction Code 20070827

Method CHECK_IUID_MIEQ0_1000 on class CL_IUID_EQUI has no exception.

Method CHECK_UPDATE_NECESSARY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COUNT Call by reference Type reference (TYPE) SYDBCNT Number of Sets 20080626
2 Exporting EV_EXISTING_UII Call by reference Type reference (TYPE) UII_CHAR72 first exisitng Unique Item Identifier 20080807
3 Exporting EV_UPDATE Call by reference Type reference (TYPE) FLAG Update necessary 20080626
4 Importing IV_DB_TABLE Value transfer Type reference (TYPE) TABNAME Table Name 20080626
5 Importing IV_EQUNR Value transfer Type reference (TYPE) EQUNR Equipment Number 20080626
6 Importing IV_IUID_TYPE Value transfer Type reference (TYPE) IUID_TYPE Structure Type of UII 20080626
7 Importing IV_MATNR Value transfer Type reference (TYPE) MATNR Material Number 20080626
8 Importing IV_SERNR Value transfer Type reference (TYPE) GERNR Serial Number 20080626
9 Importing IV_UII Value transfer Type reference (TYPE) UII_CHAR72 Unique Item Identifier 20080626
10 Importing IV_UII_PLANT Value transfer Type reference (TYPE) UII_PLANT Plant Responsible for UII 20080626

Method CHECK_UPDATE_NECESSARY on class CL_IUID_EQUI has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CREATE_UII_MARKING_PM_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPI_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080512
2 Exporting ET_IUID_EQUI_PM_ORDER Call by reference Type reference (TYPE) IUID_EQUI_PM_ORDER_TT Table Type of IUID_EQUI_PM_ORDER 20080512
3 Importing IT_IUID_EQUI Call by reference Type reference (TYPE) IUID_EQUI_TT Table type with IUID Related Fields of Database Table EQUI 20080509
4 Importing IV_WITH_POPUP Call by reference Type reference (TYPE) AS4FLAG 'X' Flag (X or Blank) 20080512

Method CREATE_UII_MARKING_PM_ORDER on class CL_IUID_EQUI has no exception.

Method DO_UII_COMMIT_ROLLBACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_BAPI_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080804
2 Importing IV_SIMULATE Value transfer Type reference (TYPE) FLAG 'X' Simulate ('X') or Update (' ') 20080804

Method DO_UII_COMMIT_ROLLBACK on class CL_IUID_EQUI has no exception.

Method GET_NEXT_PM_ORDER_OBJ_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OPERATION_OBJECTKEY Call by reference Type reference (TYPE) OBJIDEXT SAP external object key 20080509
2 Exporting EV_ORDERID Call by reference Type reference (TYPE) AUFNR Order Number 20080509
3 Exporting EV_ORDER_OBJECTKEY Call by reference Type reference (TYPE) OBJIDEXT SAP external object key 20080509
4 Exporting EV_REFNUMBER Call by reference Type reference (TYPE) IFREFNUM Reference number for link object method - attribute 20080509
5 Importing IV_LAST_REFNUMBER Call by reference Type reference (TYPE) IFREFNUM 0 Reference number for link object method - attribute 20080509

Method GET_NEXT_PM_ORDER_OBJ_KEYS on class CL_IUID_EQUI has no exception.

Method IS_MARC_PLANT_MAINTAINED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070827
2 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070827
3 Returning RV_RELEVANT Value transfer Type reference (TYPE) IUID_RELEVANT IUID-Relevant 20070827

Method IS_MARC_PLANT_MAINTAINED on class CL_IUID_EQUI has no exception.

Method READ_EQUI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20070817
2 Changing CV_IUID_TYPE Call by reference Type reference (TYPE) IUID_TYPE Structure Type of UII 20070827
3 Changing CV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070810
4 Changing CV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20080526
5 Changing CV_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070810
6 Changing CV_SERNR Call by reference Type reference (TYPE) GERNR Serial number 20070810
7 Changing CV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070810
# Exception Resumable Description Created on
1 CX_IUID_DATA_NOT_FOUND No data to given IUID could be selected 20070825

Method READ_MARC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070810
2 Exporting EV_IUID_TYPE Call by reference Type reference (TYPE) IUID_TYPE Structure Type of UII 20070810
3 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070810

Method READ_MARC on class CL_IUID_EQUI has no exception.

Method READ_UII_BY_EQUNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20070802
2 Returning RV_UII Value transfer Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070802

Method READ_UII_BY_EQUNR on class CL_IUID_EQUI has no exception.

Method SHOW_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Return error table type parameter 20080510

Method SHOW_MESSAGES on class CL_IUID_EQUI has no exception.

Method UPDATE_UII_IN_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_IUID_EQBS Call by reference Type reference (TYPE) IUID_EQBS_TT Table type for IUID_EQBS 20080626
2 Exporting ET_BAPI_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080626
3 Exporting EV_UPDATE_COUNT Call by reference Type reference (TYPE) SYDBCNT Processed Database Table Rows 20110518
4 Importing IV_CHECK_AND_REPAIR Value transfer Type reference (TYPE) FLAG SPACE CHECK and Repair-Mode also runs for UII not initial 20080805
5 Importing IV_GENERATE_UII Call by reference Type reference (TYPE) FLAG 'X' Generates new UII-Value (if initial) 20080626
6 Importing IV_SIMULATE Call by reference Type reference (TYPE) FLAG 'X' Simulation Mode (no commit but rollback) 20080626
7 Importing IV_UPDATE_AFIH Call by reference Type reference (TYPE) FLAG 'X' Perform Updates in AFIH 20100520
8 Importing IV_UPDATE_EQUI Call by reference Type reference (TYPE) FLAG 'X' Perform Updates in EQUI 20080626
9 Importing IV_UPDATE_IBSP Call by reference Type reference (TYPE) FLAG 'X' Perform Updates in IBSP 20080626
10 Importing IV_UPDATE_OBJK Call by reference Type reference (TYPE) FLAG 'X' Perform Updates in OBJK 20080626
11 Importing IV_UPDATE_QMEL Call by reference Type reference (TYPE) FLAG 'X' Perform Updates in QMEL 20100520

Method UPDATE_UII_IN_DB on class CL_IUID_EQUI has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 603