SAP Connector - getting error message "OPTION_NOT_VALID"

Hello,

when trying to establish SAP connection, I am getting error OPTION_NOT_VALID. Seems like the upgrade from 

SAP_BASIS 740 SP 0023 to SAP BASIS 740 SP 0026 is causing this issue.

Thank you,

Geko

Parents
  • Hello experts,

    i am also experiencing this isuue upon establishing connecton to SAP HCM with SAP R/3 Connector.

    I have done the following steps, according to the docs:

    1. One Identity Manager Business Application Programming Interface imported into the SAP R/3 system (4 transports, OIM version 1.8.5.)
    2. A communication user provided in the SAP R/3 environment synchronization with sufficient permissions (imported role assigned).
    3. "TargetSystem\SAPR3" configuration parameter is enabled.
    5. Downloaded the installation sources for the SAP .Net Connector for .NET 4.0 on x64 (and installed).
    6. Import the following libraries into the One Identity Manager installation directory:
    o libicudecnumber.dll
    or rscp4n.dll
    o sapnco.dll
    o sapnco_utils.dll
    or msvcp100.dll
    or msvcr100.dll

    7. A synchronization server was already installed (and declared as a job server).

    Upon creating  synchronization project with the synchronization editor the following error appears: 

    [SAP.Middleware.Connector.RfcAbapException] OPTION_NOT_VALID

    More about the error from the crash report:

     SystemConnector Resolving instance of type VI.Projector.Connection.ISystemConnectorDescriptor.
    SystemConnector Resolving instance of type VI.Projector.Connection.ISystemConnectorDescriptor.
     SystemConnector Connecting target system...
     SystemConnector Existence test for function "/VIAENET/READTABLE" returned "false".
     SystemConnector Disconnecting target system.
     VI.FormBase.ExceptionMgr OPTION_NOT_VALID

    Do You have any suggestions?

    Best regards

    Toni

Reply
  • Hello experts,

    i am also experiencing this isuue upon establishing connecton to SAP HCM with SAP R/3 Connector.

    I have done the following steps, according to the docs:

    1. One Identity Manager Business Application Programming Interface imported into the SAP R/3 system (4 transports, OIM version 1.8.5.)
    2. A communication user provided in the SAP R/3 environment synchronization with sufficient permissions (imported role assigned).
    3. "TargetSystem\SAPR3" configuration parameter is enabled.
    5. Downloaded the installation sources for the SAP .Net Connector for .NET 4.0 on x64 (and installed).
    6. Import the following libraries into the One Identity Manager installation directory:
    o libicudecnumber.dll
    or rscp4n.dll
    o sapnco.dll
    o sapnco_utils.dll
    or msvcp100.dll
    or msvcr100.dll

    7. A synchronization server was already installed (and declared as a job server).

    Upon creating  synchronization project with the synchronization editor the following error appears: 

    [SAP.Middleware.Connector.RfcAbapException] OPTION_NOT_VALID

    More about the error from the crash report:

     SystemConnector Resolving instance of type VI.Projector.Connection.ISystemConnectorDescriptor.
    SystemConnector Resolving instance of type VI.Projector.Connection.ISystemConnectorDescriptor.
     SystemConnector Connecting target system...
     SystemConnector Existence test for function "/VIAENET/READTABLE" returned "false".
     SystemConnector Disconnecting target system.
     VI.FormBase.ExceptionMgr OPTION_NOT_VALID

    Do You have any suggestions?

    Best regards

    Toni

Children
  • Hi Toni,

    hm, in case you have the latest SAP transport on the sap system provided by oneIdentity should be good.But to me it seems as if /VIAENET/READTABLE does not exist on sap side. This might mean that you do not yet have the latest transports on the sap system as this BAPI repleace the RFC_READ_TABLE from SAP from my understanding

    We also upgraded to the ltest NCo version. It is version 3.0.24. See launchpad.support.sap.com/ 2956253 - maybe you have not the latest?

    Hope that helps

    best regards

    Matthias

  • Hello Matthias, 

    thanks for your reply.

    There is even a newer version of SAP NCo installed on the machine - 3.0.25.

    I'll try upgrading to Identity Manager 9.0. and importing its BAPI to the SAP Client. Hopefully it will bring me forward, at least to getting another error upon connecting Slight smile

    Regards

    Toni

  • UPDATE regarding my case:

    What solved the problem (getting error OPTION_NOT_VALID) was importing newer BAPI version to the SAP System. I took the BAPI from 1IM 8.2.1., while sticking to 1IM 8.1.5. installation. The error is gone and synchronization works, but only partially. The sync run ends with a success, but the person objects cannot be loaded because the values cannot be properly mapped for some reason. The particular error I am getting reads as follows: 

    [810077] Person: The following fields are compulsory and need to be filled: Last name.

    I am using the mapping generated by the template for connection SAP HCM. All affected persons in the target system have a last name and other mandatory attributes set.

    Any suggestions?

    Regards,

    Toni