Show TOC

6.5.3 APIs to Export Content to SAP Enterprise Portal Locate this document in the navigation structure

 

For communication with an enterprise portal several APIs are available.

Caution Caution

The portal APIs are protected in the following ways:

  • The ICF service /sap/bc/nwbc/exprt_sapportal needs to be activated explicitely. For more information on ICF configuration, see 7.6 ICF Configuration.

  • The authority object S_NWBC must have the following settings for its authorization fields:

    Field

    Value

    ACTVT

    33

    AUTH_VALUE

    NWBC_EXPORT_SAPPORTAL

End of the caution.

The following methods are provided:

Method

Description

.../nwbc/~sapportal/RoleAssignment?user=<user>&user=<user>...

This method lists the roles that have been assigned to the user. This corresponds to the information provided by GET_ROLES. Information can be queued for one as well as for several user names.

.../nwbc/~sapportal/RoleInformation?role=<role1>&...&role=<roleN>

For each role, this method lists detailed information about the role itself, as well as the navigation tree for the role. This corresponds to the information provided by a combination of GET_ROLES and GET_NAVIGATION_TREE.

.../nwbc/~sapportal/RoleModifiedSince?role=<role>&...&role=<roleN>[&from= YYYYMMDDhhmmss]

For a given set of roles, this method returns only those roles that have been updated since the supplied timestamp. This corresponds roughly to the information provided by GET_ROLES.

.../nwbc/~sapportal/

Test page for interactive test of ~sapportal methods. In contrast to a direct call, method parameters are limited to one user name / role name, respectively.