Automic Workload Automation

 View Only
Expand all | Collapse all

R3_IMPORT_CALENDAR error "UC4 Connection error"

  • 1.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 14, 2017 01:36 AM
    Hello,
    Is anyone familiar with below issue. We tried to import calendar from SAP and it show error in job agent log

    2017-12-14 06:14:47 - U2000005 Job 'R3.IMPORT_CALENDAR' with RunID '282146796' started.
    2017-12-14 06:14:47 - U2004018 The job was successfully interpreted.
    2017-12-14 06:14:47            R3_IMPORT_CALENDAR CALENDAR_ID="NX",YEAR_TO="2018",UC4_KEYWORD="NX_HOLIDAYS",FOLDER="/APPLICATION/GENERAL",UC4_CALE="CALENDAR_NX00",TYPE="HOLIDAY",YEAR_FROM="2017"
    2017-12-14 06:14:48 - U2004205 UC4 Connection error
    2017-12-14 06:14:48 - U2004025 Job-script execution was aborted.

    Agent log shows below messages.
    20171214/061447.441 - U2000005 Job 'R3.IMPORT_CALENDAR' with RunID '282146796' started.
    20171214/061447.456 - U2000003 Job 'R3.IMPORT_CALENDAR' started with RunID '282146796'.
    20171214/061447.534 - U0029000 Report '282147585' for file 'I:\UC4\GAAJ3\Agent_SAP\..\TEMP\PLOG_OAXTKYXW.TXT' has been started.
    20171214/061447.566 - U2004202 Create new API connection with client '304' and user 'ABC'.
    20171214/061448.081 - Logon error: Access denied
    20171214/061448.081 - U2000009 Job 'R3.IMPORT_CALENDAR' with RunID '282146796' ended with return code '153'.
    20171214/061448.112 - U0029001 Report '282147585' ended normally.
    20171214/061448.174 - U2001026 Job 'R3.IMPORT_CALENDAR' with RunID '282146796' has been removed from the job table.

    Regards,
    Vidya.


  • 2.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 14, 2017 04:37 AM
    looks like permission issue:

    20171214/061447.566 - U2004202 Create new API connection with client '304' and user 'ABC'.
    20171214/061448.081 - Logon error: Access denied



  • 3.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 14, 2017 08:52 AM
    permission is available. And issue is on/off which means it run successful some times and fail sometimes. Currently its running fine. 

    about Return code '153' - is it from Automation Engine or from SAP ?


  • 4.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 15, 2017 08:43 AM
    As far as I can tell, return code 153 is returned by SAP with the meaning 'tp finished with return code' - 'Can't reset system change options, use SE03'


  • 5.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 15, 2017 02:26 PM
    Does the password of the SAP user have more than 15 characters?


  • 6.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 17, 2017 09:42 PM
    Dear Alexander, This job run successful sometimes, so will this be still password challenge ?


  • 7.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 17, 2017 11:04 PM
    This is a new fact that the job works sometimes and rules out the password length option. Are there any hints in SAP itself? (SAP Transactions SM21 and ST22).


  • 8.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 18, 2017 12:01 AM
    Thank you Alexander for quick reply. It seems no logs recorded in these 2 Transactions SM21 and ST22


  • 9.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 19, 2017 02:37 PM
    VidyaPraveenBatchu605049  Could you enable the trace of the SAP agent with the following:

    Tcp=5 

    rfc=9


    Then, launch the same SAP job and if the issue is reproduce, please open a new incident and send us the SAP log, trace and the compete report log. 



  • 10.  R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Dec 19, 2017 10:52 PM
    Dear Bobby Tamayo, I will execute your steps when job fail again. Thank you.


  • 11.  RE: R3_IMPORT_CALENDAR error "UC4 Connection error"

    Posted Mar 16, 2023 06:31 AM

    Hi, After many years, I've also run into this error.

    My understanding is that the IMPORT_CALENDAR in Automic needs to import the information from SAP into a Calendar Object.

    Therefore, it needs to connect to the Automation Engine Client '304' and User 'ABC' to update the Calendar object 'CALENDAR_NX00'.

    This API connection is done with the user that executed the SAP Job in Automic, so the error message "Logon error: Access denied" is related to this user and client in Automic.

    Regards,
    Roney Uba