Ansicht
Dokumentation

TR_GET_NAMESPACE_AND_ROLE - Namespace and Related Role for TADIR Object

TR_GET_NAMESPACE_AND_ROLE - Namespace and Related Role for TADIR Object

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functions

The input parameters IV_PGMID, IV_OBJECT, IV_OBJNAME specify the object to be examined. The function module TR_GET_NAMESPACE_AND_ROLE determines the corresponding namespace EV_NAMESPACE using naming conventions.

In special cases, when the corresponding namespace cannot be identified uniquely using the object name, you can determine the package of the object as well, using the input parameter IV_USE_DEVCLASS_INFO = 'X', and use this to identify the namespace uniquely. This does involve additional database accesses, however.

The role EV_ROLE of this namespace is also defined.
Possible values are:

  • "P": Producer role of the namespace
    Development possible, changes can be transported
  • "C": Recipient role of the namespace
    Only repairs are possible, only local changes in the SAP System

The corresponding namespace is only determined for TADIR-compulsory objects; for non-TADIR-compulsory objects, the exception INVALID_OBJECT is triggered, as well as for object names with incorrect syntax.

If the namespace assigned to the object is not defined in the SAP System, the exception NAMESPACE_NOT_EXISTING is used.

The exception NAMESPACE_NOT_DETERMINABLE is triggered if the namespace assigned to an object cannot be identified uniquely.

Further information

For a detailed description of namespaces and the related settings, see Help -> SAP Library -> Basis Components -> ABAP Workbench -> Change and Transport System -> Namespaces and Naming Conventions.





Parameters

EV_NAMESPACE
EV_ROLE
IV_OBJECT
IV_OBJNAME
IV_PGMID
IV_USE_DEVCLASS_INFO

Exceptions

INVALID_OBJECT
NAMESPACE_NOT_DETERMINABLE
NAMESPACE_NOT_EXISTING

Function Group

STR4

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2191 Date: 20240523 Time: 074053     sap01-206 ( 45 ms )