CL_ESD_CG_PBL_FACTORY - Public Factory for ServiceGroups

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Functionality

This class is the entry for of the ServiceGroup API, which enables developers do programmatically create/activate/delete and change ServiceGroup-Objects.

There are two functionalities provided by this class:

1. Create / Activate a completely new ServiceGroup. This is done via static method CL_ESD_CG_PBL_FACTORY=>CREATE_SG( ).

For this call, several parameters need to be provided, in order to create a consistent ServiceGroup:

- IS_HEADER_DATA (TYPE IF_ESD_CG_PBL_API=>SG_HEADER_DATA)

This structure provides the most basic (header) data for the ServiceGroup like internal name, external name and description.

- IS_ADDITIONAL_DATA,,(TYPE IF_ESD_CG_PBL_API=>SG_ADDITIONAL_DATA)

This parameter is used to provide two flags for the ServiceGroup (multiple_systems_allowed and in_order_processing), as well as the target name and namespace.

- IS_CORR_INSERT (TYPE IF_ESD_CG_PBL_API=>SG_CORR_INSERT)

With this parameter, the developer must provide an already existing transport request and package. This ensures that the ServiceGroup is locked in the right transport request and assigned to the right package.

- IT_CLASSIFICATIONS (TYPE IF_ESD_CG_PBL_API=>TSG_CLASSIFICATIONS)

This table parameter is used to provide a list of classification systems with their values that areto be assigned to the ServiceGroup. it is mandatory to provide at least the process component classification ('uddi:uddi.sap.com:categorization:process-component' ) along with a value.

- IT_CONS_PRXS (TYPE IF_ESD_CG_PBL_API=>TSG_CONS_PRXS)

With this table, the consumer proxies that should be assigned to the ServiceGroup can be passed to theAPI. The consumer proxies need to be available in the backend already, as this is checked during the generation of the ServiceGroup.

- IV_ACTIVATE (TYPE PRX_BOOLEAN DEFAULT 'X')

With this flag, the developer can choose whether the new ServiceGroup should be activated directly or not.

The CREATE_SG-Method also returns a reference to an already completely instanced/loaded ServiceGroup-APIInterface, which can later on be used to add or delete classifications or consumer proxies on the same ServiceGroup that has been created initially:

ER_API (TYPE REF TO IF_ESD_CG_PBL_API).

2. CL_ESD_CG_PBL_FACTORY=>GET_PBL_API( )

This method is used to get an instance of the ServiceGroup-API. As parameter, only the internal name of an existing ServiceGroup has to be provided:

IV_INT_NAME (TYPE IF_ESD_CG_PBL_API=>SG_HEADER_DATA-INT_NAME)

The returned interface provides access to the operations on the ServiceGroup-Object loaded within the API. Please refer to the documentation for Interface IF_ESD_CG_PBL_API, in order to get more detailed information.

Relationships

Example

Notes

Further information



BAL Application Log Documentation   General Data in Customer Master  
This documentation is copyright by SAP AG.


Length: 2996 Date: 20120526 Time: 120428     triton ( 2554 ms )