CL_COM_PRD_UPG_TADIR_FOR_TOBJ - Upgrade-Methode: TADIR Entries for Transport Objects

ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.

Functionality

This class implements the interface IF_COM_PRD_UPGRADE and is automatically run duringan upgrade. Because the transport objects are implemented afterwards, TADIR entries must be createdfor the corresponding TADIR objects for those table entries that already exist. If the TADIR entries are not created, the table entries can no longer be transported.

This affects the following transport objects:

  • Transport object SETT for set types
  • Table COMC_SETTYPE

  • Table COMC_SETTYPE_T

  • Method ADD_TADIR_ENTRIES_SETT

  • Transport object ATTR for attributes
  • Table COMC_ATTRIBUTE

  • Table COMC_ATTRIBUTE_T

  • Method ADD_TADIR_ENTRIES_ATTR

  • Transport object ILTP for relationship types
  • Table COMC_IL_TYPE

  • Table COMC_IL_TYPE_T

  • Table COMC_IL_STRUC

  • Table COMC_IL_UI

  • Method ADD_TADIR_ENTRIES_ILTP

  • Transport object ILOT for relationship object types
  • Table COMC_IL_OTYPE

  • Table COMC_IL_OTYPE_T

  • Method ADD_TADIR_ENTRIES_ILOT

  • Transport object ALID for alternative ID types
  • Table COMC_ALTID_TYPE

  • Table COMC_ALTID_FIELD

  • Table COMC_ALTID_CNFLD

  • Table COMC_ALTID_TYPET

  • Method ADD_TADIR_ENTRIES_ALID

  • Transport object SETA for set type attributes
  • Table COMC_SETTYP_ATTR

  • Method ADD_TADIR_ENTRIES_SETA

The two interface methods are implemented as follows:

  • CHECK_UPGRADE
In this method the ADD_TADIR_ENTRIES_* methods are run for the corresponding transport objects. The variable GV_CHECKMODE is set to"X". This results in a check being carriedout to determine whether it is necessary to create the TADIR entries. If this is required for one of the transport objects then the method returns the result that the upgrade is required.
  • DO_UPGRADE
In this method, the missing TADIR entries are created for all newly-created transport objects and are written to a transport request. The variable GV_CHECKMODE is set to"".

Relationships

Example

Notes

Further information



ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.


Length: 3660 Date: 20120526 Time: 102756     triton ( 85 ms )