If you set access permissions incorrectly to model and run reports using SAP BW as a data source, run time error messages may appear.
The BAP-ERR-0002 BAPI Error
When using IBM Cognos 8 with an SAP BW data source, the following error message may appear:
BAP-ERR-0002 BAPI error occurred in function module BAPI_MDDATASET_CHECK_SYNTAX. Error occurred when starting the parser.
This error usually occurs because the SAP BW server is overloaded.
To resolve this problem, restart the IBM Cognos 8 server or close all open connections from the SAP BW Administrator Workbench.
The BAP-ERR-0002 BAPI Authorization Error for Function Group RSOB
When using IBM Cognos 8 with an SAP BW data source, the following error message may appear:
BAP-ERR-0002 BAPI error occurred in function module BAPI_MDPROVIDER_GET_KEY_DATE. User COGNOS has no RFC authorization for function group RSOB.
To resolve this problem, provide the user COGNOS access to the function group RSOB.
The BAP-ERR-0002 BAPI Authorization Error for RFC_READ_TABLE
When using IBM Cognos 8 with an SAP BW data source, the following error message may appear:
BAP-ERR-0002 BAPI error occurred in function module RFC_READ_TABLE. NOT_AUTHORIZED.
This error occurs because displaying or editing table content is not authorized.
To resolve this problem, add the authorization object S_TABU_DIS with the activity field value set to DISPLAY and the Authorization Group value set to SS.
Authorization Error for Component
When using IBM Cognos 8 with an SAP BW data source, the following error message may appear:
<Message Name="CCLMessage" Severity="Error" Nesting="0">. <MessageParm Name="CCLMessageParm" Type="string" Value="You do not have authorization for component IDES_APO_PUMP_1"/>.
This error occurs because access to info queries is not authorized.
To resolve this problem, provide access to S_RS_COMP and S_RS_COMP1.
Authorization Error for InfoCube
When using IBM Cognos 8 with an SAP BW data source, the following error message may appear:
<Message Name="CCLMessage" Severity="Error" Nesting="0">. <MessageParm Name="CCLMessageParm" Type="string" Value="You do not have authorization for InfoCube OAPO_C02"/>.
This error occurs because access to infocubes is not authorized.
To resolve this problem, provide access to S_RS_ICUBE.
Authorization Error for Hierarchy
When using IBM Cognos 8 with an SAP BW data source, the following error message may appear:
SBW-ERR-0020 Querying the SAP BW cubes’s failed. SAP error code: BAP-ERR-002 A BAPI error has occurred in the function module BAPI_MDDATASET_GET_AXIS_DATA. No authorization for evaluation along hierarchy 01011.
This error occurs because access to the infocube hierarchy is not authorized.
To resolve this problem, provide access to S_RS_HIER.
Authorization Error for Temporary File
When performing a Detailed Fact Query that contains a large number of items, the following error message may appear:
RQP-DEF-0177 An error occurred while performing operation ’sqlScrollBulkFetch’ status=’-232’. UDA-SQL-0107 A general exception has occuured during the operation "No authorization to open the file /tmp/ES1DEV03000807584_C.TMP.SYSTEM_FAILURE". UDA-CUR-0000 Unable to fetch the row.
This error occurs because access to temporary files is not authorized.
To resolve this problem, provide access to S_DATASET.