SAP ABAP IMG Activity /UI2/JAM_BADI_REG (BAdI: Fill Empty Fields of OData Service Registry)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2 (Application Component) SAP UI for Decoupled Innovations
     /UI2/IMG (Package) IMG Activities
IMG Activity
ID /UI2/JAM_BADI_REG BAdI: Fill Empty Fields of OData Service Registry  
Transaction Code /UI2/73000038   (empty) 
Created on 20140306    
Customizing Attributes /UI2/JAM_BADI_REG   BAdI: Fill Empty Fields in OData Service Registry 
Customizing Activity /UI2/JAM_BADI_REG   BAdI: Fill Empty Fields in OData Service Registry 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CLB2_REGISTRY    

Use

You use this Business Add-In (BAdI) for a newly introduced application context (filter value) if you use the service registry of the ABAP Social Media Integration (ABAP SMI) but it is not possible to statically define the collection or annotation for the specific OData service.

Requirements

  • You actively use the ABAP SMI service registry (table CLB2C_GW_SRV or CLB2C_GW_SRV).
  • Either the Collection field or the Annotation URL field is left empty for one or more entries in the table and the application-specific context.

Standard settings

Activities

Example

There are two different collections that may be addressed for the service /CRMSWI01/CRMSMI_SRV/ and business object type BUS1006:

  • IndividualAccountCollection
  • CorporateAccountCollection

This is why the Collection field in the service registry is left empty. An implementation of the BAdI method DETERMINE_COLLECTION must determine the right collection based on the category of a specific business partner.

Optionally, you can implement the method DETERMINE_ANNOTATION to dynamically define the annotations for a specific OData service. The main aspect is to dynamically influence the view of the business object in a UI, based on criteria such as the user role.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type I   Business Add-In - Implementation 
History
Last changed by/on SAP  20140307 
SAP Release Created in 100