Function documentationCustomer Namespace

 

In the SAP standard, the prefix ' Z ' is used for objects that are created in the customer namespace. In the Framework enhancement concept, this has been realized with Business Add-Ins (BAdI). However, you can create and save your enhancements in your own namespace.

Features

  • The Business Add-In BSP_WD_APPL_WB with the method GET_CUST_CLASSNAME_PROPOSAL provides you with a proposal for a name for customer-defined classes within the enhancement. The default implementation of this method replaces the first letter in the name with ' Z '. You can create your own implementation for this method to place all new class names in your own namespace / * / if necessary.

  • The enhancement spot CLASS_GENERATION with the Business Add-In CLASS_NAME_BUILDER with five methods can be used to generate the class names for customer views and controllers. There is no default implementation. If you implement the BAdI, you get a proposal for a name that you can change.

Activities

Use Your Own Namespace for Enhanced Controllers and Views

If you want to use your own namespace, you can use the Object Navigator (SE80) and open the package CRM_BSP_WD_TOOLS. Open the business add-in BSP_WD_APPL_WB. Under Methods, you find the method GET_CUST_CLASSNAME_PROPOSAL.

Create Your Own Objects in Your Namespace

If you want to create your own objects in your own namespace, you can use the Object Navigator (SE80). Open the package CRM_BSP_WD_GEN_TOOLS. Under Start of the navigation path Enhancements Next navigation step Enhancement Spots End of the navigation path you find the BAdI CLASS_GENERATION with the BAdI definition CLASS_NAME_BUILDER and the interface IF_BSP_WD_GEN_TOOLS.

Note Note

With this BAdI, no default implementation is used.

End of the note.