Entering content frame

Background documentation CL_WDR_PORTAL_OBNWEB_SERVICE Locate the document in its SAP Library structure

With class CL_WDR_PORTAL_OBNWEB_SERVICE the application receives a wrapper of the actual Web service for the Object-Based Navigation with Web Service Support. This class enables easier use of the interface and contains a cache for data that has already been read.

Methods

Constructor

This class can be instantiated without parameters. In this case the standard port of the Web service is used. If you specify a different port to the constructor, this port will be used.

Method OBN_GET_DEFAULT_TARGET

This method returns the iView name, the display name for the operation and the operation name for the default operation. The method needs to have the names of the system alias and the business object.

Note

With the iView name you can also trigger absolute navigation in the portal.

Method OBN_GET_DEFAULT_TARGET

This method returns the iView name, the display name for the operation and the operation name for the default operation. The method needs to have the names of the system alias, the business object, and the operation.

Method OBN_GET_TARGETS

This method returns all the possible iView names, the display names of the operations, and the relevant operation names. The method needs to have the names of the system alias and the business object. With this method you can generate, for example, a menu with all possible operations for a LINK_TO_ACTION.

Method OBN_GET_TFOS

This method works the same as method OBN_GET_TARGETS. You need the name of the operation too.

Method OBN_IS_TARGET_EXIST

The method tell you whether a possible target dependent on the system alias and business object exists.

Method OBN_IS_TARGET_EXIST_TFO

This methods works the same as OBN_IS_TARGET_EXIST, but needs the name of the operation in addition.

 

 

Leaving content frame