Automic Workload Automation

SAP Agent error U2004007 JCO_ERROR_LOGON_FAILURE in {SAP_function} initialization of repository..

  • 1.  SAP Agent error U2004007 JCO_ERROR_LOGON_FAILURE in {SAP_function} initialization of repository..

    Posted Mar 06, 2017 12:11 PM

    In  AWI or rich client, when searching for a ABAP program/report, it throws the error below:
     
     U2004007 JCO_ERROR_LOGON_FAILURE in BAPI_XBP_REPORT_SEARCH 
    initialization of repository desitnation {destination_environment} failed 
    Password logon no longer possible - too many failed attempts on {sap.environment}
    sysnr 00 Function module call failed 

    Additional error:
    U02004081 Error in function 'BAPI_XBP_REPORT_SEARCH': 'Not logged on in interface XBP (function BAPI_XBP_REPORT_SEARCH)', Type: 'E', ID:'XM', number: '028' 2017-03-04 08:21:28 Not logged on in interface XBP (function BAPI_XBP_REPORT_SEARCH) Function module call failed 
    com.automic.ecc.ae.backend.SAPAgentException

    Cause
    This is either due to an incorrect password in the LOGIN object
    or Connection object, or the SAP user in the Connection object does not have execute rights for the SAP function specified in the error.

    Workaround
    1) Verify that the password used in the LOGIN object and the SAP Connection object are correct (eg: login on SAP GUI)
    2) check with your SAP Admin to verify that the user in the Connection object have "execute" rights for the SAP function in the error