Background jobs failing with ABAP/4 processor: RFC_CONVERSION_FIELD

Hi Guru's,
Below are the backgroud jobs failing with runtime Error " ABAP/4 processor: RFC_CONVERSION_FIELD" in  solution manager system (solution manager 3.0,SR2). Not sure why all these jobs failing with this dump on of sudden. i haven't made any changes to the system in the recent past.
BTC_CMS_COLLECTOR
SAP_APPLICATION_STAT_COLLECTOR
SESS_Y000001806_COLL_TRANS
ABAp Dump says that
Conversion error between two character sets
What happened?
Conversion error "ab_rfccon" from character set 4103 to character set 1100.
When executing a remote function call a conversion error occurred. This
occurred when receiving or sending the data. The conversion error can
only appear, when the data is transferred from a Unicode system to a
non-Unicode system.
Could some one please share some information if any one experienced the issue. Please note that all of our ECC systems are uni-code systems.
Thanks & Regards,
Vinod.

Hi Vinod
Just try to understand the purpose of these jobs and may be these Notes will help you
Note 814707 - Troubleshooting for RFC connections Unicode/non-Unicode
Note 647495 - RFC for Unicode ./. non-Unicode Connections
Note 1361970 - Conversion problems during RFC communication

Similar Messages

  • Background job failing with license check error

    Hi Experts
    In our ERP 6.0 system ,all the background jobs are failing with license check error.
    Have checked the license in SLICENSE and the license is fine.
    There is no warning while users are loggign in ,but when any background job is runing its failing with error
    Job started
    Logon not possible (error in license check)
    Job cancelled after system exception ERROR_MESSAGE
    Also performed the license test which is failing
    F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
    \XX1_DVEBMGS00_host_xx
    Protocol saplicense test:
    Read sapsytem name
           ok, sapsytem name = XX1
    Read message server host
           ok, host = hostname
    Read message server service port
           ok, service port = sapmsXX1
    Connect to message server
           ok, connect done
    Read hardware key from message server
           ok, got hardware key
    Detach from message server
           ok, detached
    Check hardware key
           ok, hardware key = T0343073854
    Connect to database
           ok, connected
    Check license
           ok, check done
    Disconnect database
           ok, database disconnected
    test result: license test failed
    LICENSE system: XX1 hardware key: T0343073854 expiration_date:
            installation no:  key:
            userlimit: 0 productid: R3_BASIS
            system-nr:
    license expired ***
    Please suggest how to troubleshoot.
    Regards
    Ajay

    @Michael
    In SLICENSe the Hardware key field is not BLUE or BLACK and its showing the exact hardware key which i can see at OS level with saplicense -get command.
    @Jagadish
    Note is good refrence, i reiinstalled the Digitally signed license with saplikey command and it was successful.
    But still the license test is failing at OS Level..below is the command prompt output.
    ===================================================================
    F:\usr\sap\XX1\SYS\exe\uc\NTAMD64>saplikey -install C:\license_script_XX.txt pf
    =F:\usr\sap\XX\SYS\profile\XX_DVEBMGS00_mngsez148079
    SAP License Key Administration  -  Copyright (C) 2003 SAP AG
    2 SAP license key(s) successfully installed.
    F:\usr\sap\XX\SYS\exe\uc\NTAMD64>saplicense -test pf=F:\usr\sap\XX1\SYS\profile
    \MD1_DVEBMGS00_mngsez148079
    Protocol saplicense test:
    Read sapsytem name
           ok, sapsytem name = XX1
    Read message server host
           ok, host = host
    Read message server service port
           ok, service port = sapmsXX1
    Connect to message server
           ok, connect done
    Read hardware key from message server
           ok, got hardware key
    Detach from message server
           ok, detached
    Check hardware key
           ok, hardware key = T0343073854
    Connect to database
           ok, connected
    Check license
           ok, check done
    Disconnect database
           ok, database disconnected
    test result: license test failed
    LICENSE system: XX1 hardware key: T0343073854 expiration_date:
            installation no:  key:
            userlimit: 0 productid: R3_BASIS
            system-nr:
    license expired ***
    ============================================================
    @Juan
    The hardware key was changed and we requested a new license with new hardware key,system was runing fine for couple of weeks with all background jiobs for SPAM./SAINT Ok .We performed EHP4 on this system.
    But now this issue is here,so i guess we should troubleshoot.
    Please let me know any other pointers.
    Regards
    Ajay
    PS In SLICENSE new installed license is fine and all users can login.

  • Scheduled TMS_ # TMS_TP_IMPORT  background jobs fail with error code 0232

    Is anyone else having the problem we've just encountered since upgrading to ECC 6.0 and CRM 2007, where once setting up the automatic import ALL background jobs, to have all of the Transport Change Requests imported into the Q-Prod testing systems automatically, fail after several successful runs?
    After setting up the automatic import background job to run every 15 minutes, the first few run successfully (importing any transports as it should), then the transports stop being imported.
    The background jobs continue to run, but have the following in the job log overviews CRM 2007 - "Could not start transport control program tp". R\3 ECC 6.0 - "Transport control program tp ended with error code 0232".
    Only by deleting the background job and recreating it (or manually importing) from STMS, can the transports continue to be imported. Although I have noticed that there are multiple tp.exe processes started, which need to be deleted before the STMS and TMS Background jobs work again.
    The:
       DB is SQL Server 2005
       disp+work is at version 7000.150.14.48855
       R3Trans is at version 7000.149.14.47907
       tp is at version 7000.144.14.39594
    Any suggestions on how to cure this for good?

    Thanks All
    FYI
    SAP first suggested the following notes: 19466, 1150361, and to add a Startup profile parameter rfc/use_gwstart = 1. Which was only partially successful.
    I guess it had more to do with RFC processes hanging than it did with the tp, which was fixed in a later kernel patch level.
    I've upgraded the kernel to the latest (70000.181.0.0) and my problem was fixed.
    Ken

  • Error in Control Framework: Background job failed

    Hi Experts,
    One background job failed with job log: Error in Control Framework in ECC 6.0 system; the job is supposed to produce a XML report. Can anyone please give some idea on this why it could happen? One SAP note 893534 has described same kind of issue but in CRM system. That note even cant be implemeneted in ECC 6.0. Any workaround? Is it a BASIS issue here?
    Thanks & Regards,
    SKB

    Hello,
    please check the variant. We had this problem, and when checking the variant I got a shortdump because the variant did not fit to the program (there were problems with subscreens in the selection screen). After adjusting the variant with program RSVARDOC_610 the variant was ok.
    I can not check if this solved the problem because the job runs weekly, and the next job is on Monday. But give it a try...
    HTH,
    Jens Hoetger

  • SAP job SAP_COLLECTOR_FOR_PERFMONITOR getting failed  with abap dump LOAD_PROGRAM_NOT_FOUND

    Dear Experts,
    Background job SAP_COLLECTOR_FOR_PERFMONITOR getting failed  with abap dump LOAD_PROGRAM_NOT_FOUND.
    As it is hourly scheduled job and it gets finished 22 times in a day but other 2 times fails with abap dump.
    Finished Job log
    Job started
    Step 001 started (program RSCOLL00, variant , user ID Bharath)
    Clean_Plan:Cleanup of DB13 Plannings
    Clean_Plan:started by RSDBPREV                       on server
    Clean_Plan:Cleaning up jobs of system DEV
    Clean_Plan:finished
    Job finished
    Failed Job Log
    Job started
    Step 001 started (program RSCOLL00, variant , user ID Bharath)
    Internal session terminated with a runtime error (see ST22).
    Kindly suggest on this..
    Thanks,
    Bharath.

    Dear Divyanshu,
    Our system in ERP 6.0 EHP5 with SP level 10. The ABAP Dump shows below error.
    |Short text                                                                                        |
    |    Program "RSORA811" not found.                                                                 |
    |What happened?                                                                                    |
    |    There are several possibilities:                                                              |
    |                                                                                                  |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                                  |
    |    The current ABAP program "RSCOLL00" had to be terminated because it has                       |
    |    come across a statement that unfortunately cannot be executed.                                |
    |    or                                                                                            |
    |    Error in the SAP kernel.                                                                      |
    |                                                                                                  |
    |    The current ABAP "RSCOLL00" program had to be terminated because the                          |
    |    ABAP processor detected an internal system error.                                             |
    |What can you do?                                                                                  |
    |    Note down which actions and inputs caused the error.                                          |
    |                                                                                                  |
    |                                                                                                  |
    |    To process the problem further, contact you SAP system                                        |
    |    administrator.                                                                                |
    |                                                                                                  |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
    |    at and manage termination messages, and you can also                                          |
    |    keep them for a long time.                                                                    |
    |Error analysis                                                                                    |
    |    On account of a branch in the program                                                         |
    |    (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)                                              |
    |    or a transaction call, another ABAP/4 program                                                 |
    |    is to be loaded, namely "RSORA811".                                                           |
    |                                                                                                  |
    |    However, program "RSORA811" does not exist in the library.                                    |
    |                                                                                                  |
    |    Possible reasons:                                                                             |
    |    a) Wrong program name specified in an external PERFORM or                                     |
    |       SUBMIT or, when defining a new transaction, a new                                          |
    |       dialog module or a new function module.                                                    |
    |    b) Transport error                                                                            |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "RSCOLL00" - in                                      |
    |     "LOOP_AT_SYSTEMS_AND_REPORTS".                                                               |
    |    The main program was "RSCOLL00 ".                                                             |
    |                                                                                                  |
    |    In the source code you have the termination point in line 535                                 |
    |    of the (Include) program "RSCOLL00".                                                          |
    |    The program "RSCOLL00" was started as a background job.                                       |
    |    Job Name....... "SAP_COLLECTOR_FOR_PERFMONITOR"                                               |
    |    Job Initiator.. " bharath"                                                                       |
    |    Job Number..... 18243400
    Kindly check and suggest..
    Thanks,
    Bharath.

  • SQL Server Agent job fails with error : The package execution returned DTSER_FAILURE (1).

    Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:01 AM Error: 2014-08-15 10:00:07.20
    Code: 0xC0047062 Source: Data Flow Task LEAN [6761]
    Description: Teradata.Client.Provider.TdException: [Teradata Database] [3006] Logons are disabled.
    at Teradata.Client.Provider.WpMessageManager.CheckForError()
    at Teradata.Client.Provider.WpMessageManager.ProcessResponse()
    at Teradata.Client.Provider.WpLogonManager.Action()
    at Teradata.Client.Provider.WpSession.ManagerAction(WpMessageManager manager, UtlStopwatchWrapper watch, Int32 connectionTimeout)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout)
    at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject)
    at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr)
    at Teradata.Client.Provider.TdConnection.Open()
    at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
    at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error Error: 2014-08-15 10:00:07.35 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline
    Description: component "LEAN" (6761) failed validation and returned error code 0x80004005. End Error Error: 2014-08-15 10:00:07.48
    Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation.
    End Error Error: 2014-08-15 10:00:07.60 Code: 0xC0024107 Source: Data Flow Task
    Description: There were errors during task validation. End Error
    DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:01 AM Finished: 10:00:07 AM
    Elapsed: 6.692 seconds. The package execution failed. The step failed.
    SQL Server agent job fails with above error, Please let me know process tohandle it.
    Thanks,
    Vishal.

    The error message suggests its the issue with Teradata source database to which SSIS tries to connect within the data flow task. Make sure Teradata database is available and LOGON is enabled.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SEND_SYSTEM_RELATIONSHIP_TO_SUPP job fails with "No customer numbers ..."

    While executing SOLMAN_CONNECT tcode, I get the error
    SEND_SYSTEM_RELATIONSHIP_TO_SUPP job fails with "No customer numbers in transaction AISUSER".
    SAP note
    Note 1351731 - Termination SEND_SYSTEM_RELATIONSHIP_TO_SUPP/SOLMAN_CONNECT
    says problem fixed against ST 400 with SP SAPKITL431.
    I'm running NW 7.0 SPS 15 which has ST 400 SAPKITL425.
    I need to get SAPKITL431. but when I search SWDC for this package, I can only find SAPKITL430. I need to get SAPKITL431 in the download basket and have someone at SAP to turn off the MOPZ requirement so I can use DLManager to get the SP dlownloaded and installed. Are there other dependent SPs required. Or am I better off downloading SPS 16 or later.
    I need the MOPZ requirement turned off for this until I can get the fix and get MOPZ up and running.

    Hi Andreas,
    AISUSER was unchanged, which contained the S-user # for user DDIC and myself.
    I went thru the steps in note 1140822, eventhough I had turned off BAdI months ago when I was setting up the RFCs for SAP-OSS. I maintain just one S-User. Therefore followed option 2 in the note.
    Trying to implement snote 114822.
    An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    Exception of class CX_SY_NO_HANDLER
    An exception of type 'CX_SY_OPEN_SQL_DB' occurred, that was not caught anywhere in the call hierarchy. It was not handled locally or  declared using a RAISING clause.
    TC SE19 shows AI_SDK_SP_RFC_RP as active.
    Selected New BAdI and Display.
    Re-executed note 1140822 and it worked this time. Apparently, the display of AI_SDK_SP_RFC_RP activated this implementation.
    Snote 1140822 completed. I set process status to completed.
    I reran MOPZ under tc solution_manager. I now get a different error. ERROR: E:/TMWFLOW/MO_BACKEND:025.
    I forced a run immediately on SEND_SYSTEM_RELATIONSHIP_TO_SUPPORT, whcih ran successfully NOW. 
    Now MOPZ runs fine and I can see my files to download. I did not have any logical systems to select, but MOPZ did pickup some patches anyway. Not sure why no logical systems at this point. I defined a few logicals for both SM and satellite systems. I'll address this issue separately and open new thread, if need be. 
    The one question that remains is using SE19 to display status of AI_SDK_SP_RFC_RP appears to of activated it. Is this right? It fixed something such that now the applying the snote worked in de-activating it.
    Thanks for all your help.
    -Don Isler - HP SAP CC.
    P.S. Is there a way I can upload or email you a word doc that has my screen shots and details of what I tried?
    Edited by: Don Isler on Jul 29, 2009 1:36 PM

  • OIM - Reconciliation jobs fail with Error: OPERATIONS_ERROR

    Hi,
    after integrating OIM with OAM for Fusion Apps provisioning (11.1.3), LDAP Reconciliation jobs fail with error OPERATIONS_ERROR.
    Connection to LDAP looks OK, new users created in OIM are synchronized to LDAP, just Reconciliation jobs fail:
    <May 1, 2012 10:00:50 AM CEST> <Error> <oracle.iam.platform.entitymgr.provider.ldap> <IAM-0042016> <An error occurred while getting the change log from LDAP - {0}
    javax.naming.NamingException: Error: OPERATIONS_ERROR
    Virtualization Session closed [Root exception is oracle.ods.virtualization.service.VirtualizationException: Virtualization Session closed]
    at oracle.ods.virtualization.jndi.OVDUtil.mapErrorCode(OVDUtil.java:200)
    at oracle.ods.virtualization.jndi.OVDContext.search(OVDContext.java:439)
    at oracle.ods.virtualization.jndi.OVDContext.search(OVDContext.java:329)
    at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
    at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.search(LDAPUtil.java:1049)
    at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.getChangelogResults(LDAPDataProvider.java:1531)
    at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.deltaDetect(LDAPDataProvider.java:1488)
    at oracle.iam.ldapsync.scheduletasks.user.LDAPUserChangesReconTask.execute(LDAPUserChangesReconTask.java:152)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:145)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:196)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused By: oracle.ods.virtualization.service.VirtualizationException: Virtualization Session closed
    at oracle.ods.virtualization.service.DefaultVirtualizationSession.checkActiveAndIncrementOp(DefaultVirtualizationSession.java:425)
    at oracle.ods.virtualization.service.DefaultVirtualizationSession.search(DefaultVirtualizationSession.java:183)
    at oracle.ods.virtualization.jndi.OVDContext.search(OVDContext.java:429)
    at oracle.ods.virtualization.jndi.OVDContext.search(OVDContext.java:329)
    at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
    at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.deltaDetect(LDAPDataProvider.java:1488)
    at oracle.iam.ldapsync.scheduletasks.user.LDAPUserChangesReconTask.execute(LDAPUserChangesReconTask.java:152)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:198)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    ===
    Reconciliation worked before integrating OIM with OAM.
    Any ideas what could be wrong - or how to investigate this issue?
    Thanks
    Daniel

    OVD changelog adapter was OK, but OVD URL was missing in the IT resource.
    Reconciliation works now.
    Thanks for pointing me to correct direction.
    Daniel

  • Job failed with error tempdb is not available

    HI All,
    Backup job failed with error 'Unable to determine if the owner () of job backup_all_user_db_full has server access (reason: The log for database 'tempdb' is not available. [SQLSTATE HY000] (Error 9001)).'
    I checked in errorlog
    LogWriter: Operating system error 1784(The supplied user buffer is not valid for the requested operation.) encountered.                                        
                        Write error during log flush. Shutting down server
    2014-09-09 07:46:25.90 spid52    Error: 9001, Severity: 21, State: 1
    2014-09-09 07:46:25.90 spid52    The log for database 'tempdb' is not available..
    2014-09-09 07:46:25.92 spid51    Error: 9001, Severity: 21, State: 1
    Can anyone suggest to why it is happening

    From the error message, it looks like the drive on which the tempdb log file is residing is having issues. 
    Please involve your storage admin to look into the disk subsystem

  • If background job fails how to rescheduled it?

    Hi,
    I want to know if background job fails how to rescheduled it and and how find out that it failed.
    thanks.
    sam.

    Hi,
    You need to schedule as earlier.
    Thanks,
    Sriram Ponna.

  • Project Server 2010 - Update Scheduled Queue job failed with error message" Error no 131- AssignmentAlreadyExists"

    Hello,
    When I tried to update the schedule of the project , the job failed with the error message " AssignmentAlreadyExists". I further looked into the ULS logs but it wasn't that helpful.
    This is the message I found in ULS logs "type = UpdateScheduledProject failed at Message 5 and is blocking the correlation Errors: AssignmentAlreadyExists,Leaving Monitored Scope (FillTypedDataSet -- MSP_WEB_SP_QRY_ReadTimeSheetAssignmentsAndCustomFieldData).
    Execution Time=398.730006187937"
    Pplease help me to understand the root cause of this problem.
    I have verified all the assignments in the plan and I did not find any duplicates.
    Thanks in advance.
    Sesha

    This issue might need detailed troubleshooting, I would suggest you raise a support case with Microsoft.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

  • Background job failing - ECC 6.0, Solution Manager 7.0

    Dear All,
    Four days back, I have installed the Solution Manager 7.0 and ECC 6.0 on
    HPUX IA64 hardware with database as Oracle 10.2.0.2.0 (Unicode).
    In both server, latest kernel patch has been applied.
    The Support package versions are (both server):
    KERNEL (Release 700)      146
    SAP_BASIS           0014
    SAP_ABA           0014
    PI_BASIS(2005_1_700)      0014
    ST-PI                0005
    SAP_BW                0016
    While checking the the jobs from SM37, in both the server,
    I am observing that following jobs are always failing with
    same reason:
    SAP_COLLECTOR_FOR_PERFMONITOR
    =============================
    Date       Time     Message text                                                           Message class Message no. Message type
    ========== ======== ====================================================================== ============= =========== ============
    15.05.2008 06:25:12 Job started                                                                 00           516          S
    15.05.2008 06:25:12 Step 001 started (program RSCOLL00, variant , user ID BGDUSER)              00           550          S
    15.05.2008 06:25:18 Clean_Plan:Cleanup of DB13 Plannings                                       DB6PM         000          S
    15.05.2008 06:25:18 Clean_Plan:started by RSDBPREV                       on server gcbeccd     DB6PM         000          S
    15.05.2008 06:25:18 Clean_Plan:Cleaning up jobs of system RD3                                  DB6PM         000          S
    15.05.2008 06:25:18 Clean_Plan:finished                                                        DB6PM         000          S
    15.05.2008 06:25:18 Database system not supported                                               S1           101          S
    15.05.2008 06:25:36 ABAP/4 processor: DBIF_DSQL2_SQL_ERROR                                      00           671          A
    15.05.2008 06:25:36 Job cancelled                                                               00           518          A
    SAP_REORG_UPDATERECORDS
    =======================
    Date       Time     Message text                                                          Message class Message no. Message type
    ========== ======== ===================================================================== ============= =========== ============
    14.05.2008 00:31:01 Job started                                                                00           516          S
    14.05.2008 00:31:01 Step 001 started (program RSM13002, variant SAP&001, user ID BGDUSER)      00           550          S
    14.05.2008 00:31:01 Reorganization of update date not allowed in batch                         15           100          A
    14.05.2008 00:31:02 Job cancelled                                                              00           518          A
    SAP_WP_CACHE_RELOAD_FULL
    ========================
    Date       Time     Message text                                                                                Message class Message no. Message type
    ========== ======== ============================================================================================ ============= =========== ============
    15.05.2008 00:30:11 Job started                                                                                00           516          S
    15.05.2008 00:30:11 Step 001 started (program RWP_RUNTIME_CACHE_RELOAD, variant SAP&RELOAD_ALL, user ID BGDUSER)      00           550          S
    15.05.2008 00:30:11 No component system chosen                                                                   URL_GEN_MSGS      031          E
    15.05.2008 00:30:11 Job cancelled after system exception ERROR_MESSAGE                                                00           564          A
    Please help to resolve this issue.
    Thanks in advance.
    Regards
    Sudip Ghosh

    Hi Markus,
    Thanks for the reply.
    Below is the dump:
    ======
    ======
    Runtime Errors         DBIF_DSQL2_SQL_ERROR
    Date and Time          15.05.2008 06:25:36
    Short text
    An SQL error occurred when executing Native SQL.
    What happened?
    The error 3113 occurred in the current database connection "DEFAULT".
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    How to correct the error
    Database error text........: "ORA-03113: end-of-file on communication channel"
    Database error code........: 3113
    Triggering SQL statement...: "FETCH NEXT "
    Internal call code.........: "[DBDS/NEW DSQL]"
    Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_DSQL2_SQL_ERROR" " "
    "RSORAVSH" or "RSORAVSH"
    "FILL_DBVSE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "gcbeccd"
    Network address...... "10.10.4.158"
    Operating system..... "HP-UX"
    Release.............. "B.11.23"
    Hardware type........ "ia64"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 15
    Shortdump setting.... "full"
    Database server... "gcbeccd"
    Database type..... "ORACLE"
    Database name..... "RD3"
    Database user ID.. "SAPSR3"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 5 2008 00:55:24"
    create on........ "HP-UX B.11.23 U ia64"
    Database version. "OCI_102 (10.2.0.1.0) "
    Patch level. 146
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "HP-UX B.11"
    Memory consumption
    Roll.... 1117216
    EM...... 0
    Heap.... 0
    Page.... 32768
    MM Used. 695792
    MM Free. 400816
    User and Transaction
    Client.............. 000
    User................ "BGDUSER"
    Language key........ "E"
    Transaction......... " "
    Transactions ID..... "482B8A4C89F0442BE10000000A0A049E"
    Program............. "RSORAVSH"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where terminated
    Termination occurred in the ABAP program "RSORAVSH" - in "FILL_DBVSE".
    The main program was "RSORAVSH ".
    In the source code you have the termination point in line 48
    of the (Include) program "RSORAVSH".
    The program "RSORAVSH" was started as a background job.
    Job Name....... "SAP_COLLECTOR_FOR_PERFMONITOR"
    Job Initiator.. "BGDUSER"
    Job Number..... 05251100
    Source Code Extract
    Line
    SourceCde
    18
    INCLUDE STRUCTURE v_system_event_struc.
    19
    DATA:  END OF v_system_event_tab .
    20
    21
    check sy-dbsys(3) = 'ORA' .
    22
    23
    Get the new snapshots
    24
    25
    PERFORM fill_dbvse TABLES v_system_event_tab.
    26
    27
    28
    Get the old snapshots from database table MONI
    29
    30
    startday = sy-datum - days_to_keep .
    31
    32
    33
    Save new data now (otherwise these data will be selected twice)
    34
    35
    CONCATENATE 'SYSEVENT' sy-datum sy-uzeit INTO   monikey .
    36
    37
    EXPORT sy-datum
    38
    sy-uzeit
    39
    v_system_event_tab
    40
    TO DATABASE moni(db) ID monikey .
    41
    42
    *&      Form  FILL_DBVSE
    43
    44
    FORM fill_dbvse TABLES v_system_event_tab.
    45
    date =  sy-datum .
    46
    time =  sy-uzeit .
    47
    EXEC sql performing append_v_system_event .
    >>>>>
    select event,
    49
    total_waits,
    50
    total_timeouts,
    51
    time_waited * 10,
    52
    average_wait * 10
    53
    into :v_system_event_struc
    54
    from v$system_event
    55
    ENDEXEC .
    56
    ENDFORM.                               " FILL_DBVSE
    57
    58
    59
    *&      Form  APPEND_V_SYSTEM_EVENT
    60
    61
    FORM append_v_system_event.
    62
    v_system_event_tab-date  = date .
    63
    v_system_event_tab-time  = time .
    64
    65
    MOVE-CORRESPONDING v_system_event_struc TO v_system_event_tab.
    66
    APPEND v_system_event_tab .
    67
    ENDFORM.                               " APPEND_V_SYSTEM_EVENT
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    0
    SY-TABIX
    16
    SY-DBCNT
    0
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    Report for Collecting Data from V$SYSTEM_EVENT Hourly
    SY-MSGTY
    SY-MSGID
    SY-MSGNO
    000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO
    0
    SY-DATUM
    20080515
    SY-UZEIT
    062520
    SY-XPROG
    RSDBRUNT
    SY-XFORM
    %_INIT_PBO_FIRST
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    2 FORM         RSORAVSH                            RSORAVSH                               48
    FILL_DBVSE
    1 EVENT        RSORAVSH                            RSORAVSH                               25
    START-OF-SELECTION
    Chosen variables
    Name
    Val.
    No.       2 Ty.          FORM
    Name  FILL_DBVSE
    SY-REPID
    RSORAVSH
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5545455422222222222222222222222222222222
    23F2163800000000000000000000000000000000
    V_SYSTEM_EVENT_STRUC
    00000000000000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000000000000
    22222222222222222222222222222222222222222222222222222222222222220000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000C000C000C000C
    %_SPACE
    0
    0
    2
    0
    SY
    ###############################################################################T########  ####
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
    000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000400
    000001000000000000000000000000000000000F000000000000000000000000000000000000010500000005220000
    000000000000000000000000010001000000000E00000000000000000000000000000000000006040000000800000C
    No.       1 Ty.          EVENT
    Name  START-OF-SELECTION
    SY-LDBPG
    SAPDB__S
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454455522222222222222222222222222222222
    31042FF300000000000000000000000000000000
    %_DUMMY$$
    0000
    0000
    2222
    0000
    SY-DBSYS+0(6)
    ORA
    000
    000
    454
    F21
    SYST
    ###############################################################################T########  ####
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
    000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000400
    000001000000000000000000000000000000000F000000000000000000000000000000000000010500000005220000
    000000000000000000000000010001000000000E00000000000000000000000000000000000006040000000800000C
    V_SYSTEM_EVENT_TAB[]
    Table[initial]
    V_SYSTEM_EVENT_TAB
    00000000000000                                                                ################
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    3333333333333322222222222222222222222222222222222222222222222222222222222222220000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000C000C000C000C
    SY-DATUM
    20080515
    00000000
    00000000
    33333333
    20080515
    DAYS_TO_KEEP
    30
    0001
    000E
    STARTDAY
    00000000
    00000000
    00000000
    33333333
    00000000
    MONIKEY
    0000000000000000000000
    0000000000000000000000
    2222222222222222222222
    0000000000000000000000
    SY-UZEIT
    062520
    000000
    000000
    333333
    062520
    SYST-REPID
    RSORAVSH
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5545455422222222222222222222222222222222
    23F2163800000000000000000000000000000000
    MONI-CLUSTR
    0
    00
    00
    MONI
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    2222222222222222222222220022000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Internal notes
    The termination was triggered in function "ExecuteCall"
    of the SAP kernel, in line 1190 of the module
    "//bas/700_REL/src/krn/runt/abexsql.c#2".
    The internal operation just processed is "DSQL".
    Internal mode was started at 20080515062520.
    Internal call code.........: "[DBDS/NEW DSQL]"
    Active Calls in SAP Kernel
    Lines of C Stack in Kernel (Structure Differs on Each Platform)
    (0)  0x4000000003b2b450  CTrcStack + 0x1b0 at dptstack.c:227 [dw.sapRD3_DVEBMGS00]
    (1)  0x4000000004d2c470  Z16rabaxCStackSavev + 0x1d0 [dw.sapRD3_DVEBMGS00]
    (2)  0x4000000004d32160  ab_rabax + 0x3570 [dw.sapRD3_DVEBMGS00]
    (3)  0x40000000047b51e0  Z10abdbdserriPKtiS0_P9DS_HEADERS0_iPv + 0x470 [dw.sapRD3_DVEBMGS00]
    (4)  0x4000000003d777f0  Z11ExecuteCallv + 0x11f0 [dw.sapRD3DVEBMGS00]
    (5)  0x4000000003d7e7b0  Z8abjdsqlv + 0x1b0 [dw.sapRD3_DVEBMGS00]
    (6)  0x400000000402f190  Z8abextriv + 0x440 [dw.sapRD3_DVEBMGS00]
    (7)  0x4000000003f53bc0  Z9abxeventPKt + 0x3c0 at abrunt1.c:339 [dw.sapRD3_DVEBMGS00]
    (8)  0x4000000003d9f210  Z8abtriggv + 0x110 at abrunt1.c:58 [dw.sapRD3_DVEBMGS00]
    (9)  0x4000000003d9ebe0  ab_run + 0xc0 [dw.sapRD3_DVEBMGS00]
    (10) 0x4000000001caa820  N_ab_run + 0x20 at dymainstp.c:4739 [dw.sapRD3_DVEBMGS00]
    (11) 0x4000000001cb40f0  dynpmcal + 0x3f0 at dymainstp.c:2281 [dw.sapRD3_DVEBMGS00]
    (12) 0x4000000001caf260  dynppai0 + 0xcb0 at dymainstp.c:1107 [dw.sapRD3_DVEBMGS00]
    (13) 0x4000000001cb1ec0  dynprctl + 0x340 at dymainstp.c:358 [dw.sapRD3_DVEBMGS00]
    (14) 0x4000000001c9dff0  dynpen00 + 0xac0 at dymain.c:1628 [dw.sapRD3_DVEBMGS00]
    (15) 0x4000000001fea460  Thdynpen00 + 0x510 at thxxhead.c:4830 [dw.sapRD3_DVEBMGS00]
    (16) 0x4000000001fb54e0  TskhLoop + 0x5520 at thxxhead.c:3945 [dw.sapRD3_DVEBMGS00]
    (17) 0x4000000001faae40  ThStart + 0x460 at thxxhead.c:1164 [dw.sapRD3_DVEBMGS00]
    (18) 0x4000000001569ec0  DpMain + 0x5f0 at dpxxdisp.c:1088 [dw.sapRD3_DVEBMGS00]
    (19) 0x4000000002c10630  nlsui_main + 0x30 [dw.sapRD3_DVEBMGS00]
    (20) 0x4000000002c105c0  main + 0x60 [dw.sapRD3_DVEBMGS00]
    (21) 0xc00000000002be30  main_opd_entry + 0x50 [/usr/lib/hpux64/dld.so]
    List of ABAP programs affected
    Index
    Typ
    Program
    Group
    Date
    Time
    Size
    Lang.
    0
    Prg
    RSORAVSH
    0
    30.03.2005
    10:21:59
    19456
    E
    1
    Prg
    SAPMSSY0
    1
    17.12.2007
    15:41:05
    92160
    E
    2
    Prg
    SAPMSSYD
    1
    12.09.2006
    11:33:31
    21504
    E
    3
    Prg
    SAPFSYSCALLS
    1
    09.09.2004
    14:18:32
    8192
    E
    4
    Prg
    RSDBRUNT
    0
    17.12.2007
    16:04:40
    254976
    E
    5
    Typ
    RSSCR
    0
    30.03.2005
    10:21:45
    5120
    6
    Prg
    RSDBSPBL
    0
    30.03.2005
    10:21:58
    72704
    E
    7
    Prg
    SAPDB__S
    0
    30.03.2005
    10:22:01
    19456
    E
    8
    Prg
    RSDBSPMC
    0
    12.09.2006
    11:25:01
    79872
    E
    9
    Typ
    DDSHDESCR
    0
    03.09.1997
    03:05:16
    4096
    10
    Typ
    SPPARAMS
    0
    07.05.1997
    13:10:38
    2048
    11
    Prg
    SAPLSABE
    11
    09.09.2004
    14:18:36
    13312
    E
    12
    Prg
    SAPLSECU
    12
    17.12.2007
    15:31:45
    87040
    E
    13
    Typ
    RSSUBINFO
    0
    14.10.1999
    22:01:03
    3072
    14
    Prg
    SAPLSTUP
    14
    17.12.2007
    15:29:58
    74752
    E
    15
    Prg
    SAPLCNDP
    15
    11.09.2007
    15:24:45
    195584
    E
    16
    Prg
    SAPLSCNT
    16
    18.02.2005
    14:16:06
    30720
    E
    17
    Prg
    SAPSHDTV
    16
    05.01.2005
    16:26:16
    33792
    E
    18
    Prg
    SAPFGUICNTL
    1
    18.02.2005
    14:15:08
    24576
    E
    19
    Prg
    SAPLOLEA
    19
    11.09.2007
    11:17:30
    96256
    E
    20
    Prg
    SAPLSGUI
    20
    17.12.2007
    15:41:05
    84992
    E
    21
    Prg
    SAPLSTTM
    21
    05.07.2005
    13:10:18
    69632
    E
    22
    Prg
    SAPLSBDC
    22
    17.12.2007
    15:30:54
    44032
    E
    23
    Prg
    SAPLSFES
    23
    17.12.2007
    16:04:40
    260096
    E
    24
    Prg
    SAPLTHFB
    24
    17.12.2007
    15:41:05
    394240
    E
    25
    Typ
    WPINFO
    0
    26.02.1999
    14:49:01
    6144
    26
    Prg
    SAPLURFC
    26
    17.12.2007
    15:37:35
    22528
    E
    27
    Prg
    SAPLSPLUGIN
    27
    09.09.2004
    14:18:36
    8192
    E
    28
    Typ
    SWCBCONT
    0
    15.11.2000
    17:55:11
    3072
    29
    Typ
    OLE_VERBS
    0
    04.04.1995
    16:02:20
    2048
    30
    Typ
    OLE_PA
    0
    04.04.1995
    16:02:19
    2048
    31
    Typ
    SYST
    0
    09.09.2004
    14:18:12
    31744
    32
    Typ
    MONI
    0
    31.03.2004
    16:41:21
    5120
    Directory of Application Tables
    Name                                     Date       Time       Lngth
    Val.
    Program  RSORAVSH
    SYST                                     09.09.2004 14:18:12   00004612
    \0\0\0\0\0\x0010\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
    MONI                                       .  .       :  :     00002944
    \0\0  \0\0\0\0\0\0\0\0\0\0\0\0\0\0
    ABAP Control Blocks (CONT)
    Index
    Name
    Fl
    PAR0
    PAR1
    PAR2
    PAR3
    PAR4
    PAR5
    PAR6
    Source Code
    Line
    71
    PAR2
    03
    0000
    0014
    002B
    RSORAVSH
    37
    73
    PAR2
    03
    0000
    0015
    002D
    RSORAVSH
    37
    75
    PAR2
    03
    0000
    0016
    0026
    RSORAVSH
    37
    77
    00
    0000
    RSORAVSH
    37
    78
    PERP
    00
    0002
    RSORAVSH
    44
    79
    PERP
    1C
    0000
    RSORAVSH
    44
    80
    PERP
    04
    0000
    RSORAVSH
    44
    81
    mvqk
    10
    0005
    0044
    04EC
    RSORAVSH
    45
    83
    mvqk
    0C
    0005
    0054
    052E
    RSORAVSH
    46
    85
    DSQL
    00
    0017
    RSORAVSH
    48
    86
    DSQL
    01
    0018
    RSORAVSH
    48
    87
    DSQL
    04
    0025
    RSORAVSH
    48
    >>>>>
    DSQL
    16
    0025
    RSORAVSH
    48
    89
    BRAN
    05
    0004
    RSORAVSH
    48
    90
    perf
    00
    000A
    RSORAVSH
    48
    91
    PERP
    80
    0000
    RSORAVSH
    48
    92
    BRAX
    00
    FFFC
    RSORAVSH
    48
    93
    DSQL
    23
    0000
    RSORAVSH
    48
    94
    ENDF
    00
    0000
    RSORAVSH
    56
    95
    00
    0000
    RSORAVSH
    56
    ===========
    ===========
    Please check and advise.
    Also, I am trying to search for the note 6083 in market place, but not getting the same.
    Please advise.
    Thanks & Regards
    Sudip

  • CCLM Background jobs failed

    Dear colleagues,
    I have some background jods failed:
    SM_CCL:OBJ_<SID>_<Installation_Number>
    19.05.2014 10:05:57 Job started
    19.05.2014 10:05:57 Step 001 started (program RAGS_CC_GET_OBJECTS, variant &0000000000000, user ID SOLMAN_BTC)
    19.05.2014 10:05:59 Selected System: <SID>_<Installation_Number>
    19.05.2014 10:05:59 Variant
    19.05.2014 10:06:01 Solution: Local SAP Solution
    19.05.2014 10:06:42 No objects found.
    19.05.2014 10:06:42 Failed with sy-subrc: 2
    19.05.2014 10:06:42 Job cancelled after system exception ERROR_MESSAGE
    and
    SM_CCL:LUSG_<SID>_<Installation_Number>
    18.05.2014 13:47:30 Job started
    18.05.2014 13:47:31 Step 001 started (program RAGS_CC_GET_LAST_USAGE, variant &0000000000000, user ID SOLMAN_BTC)
    18.05.2014 13:47:33 Variant
    18.05.2014 13:47:35 CCLM Landscape not set up properly. Read long text for further details
    18.05.2014 13:47:35 CC Objects: 0
    18.05.2014 13:47:35 Last Usage Data has never been retrieved before
    18.05.2014 13:47:35 Merge data from AGS_CC_USAGE
    18.05.2014 13:47:35 Solution: Local SAP Solution
    18.05.2014 13:47:35 Regarding time range: 17.05.2014 - 17.05.2014
    18.05.2014 13:47:58 No usage data found
    18.05.2014 13:47:58 Failed with sy-subrc: 2
    18.05.2014 13:47:58 Job cancelled after system exception ERROR_MESSAGE
    Could you please help me to resolve it?
    Thanks a lot,
    Alexander

    We have a similar Issue SM_CCL:QUAL_XXX_0020275865 was aborted  and SAP has suggested the below
    The Quality collector job is failing because ATC is not properly configured for the Managed system.
    According to SE16 table e2e_efwk_log, there is no ATC data being extracted from the managed system.
    I also attempted to run the remote function call SATC_CI_GET_RESULT_CATALOG, and it failed to produce records.
    I've attached a  link which outlines the method of ensuring ATC is properly configured. (ATC_config).
    Once ATC has been properly configured, the QUALITY job should run to completion.
    please refer to the below link for setup details
    Getting Started with the ABAP Test Cockpit for QMs and Admins

  • Background job fails for BDC profile creation and role assignment

    Hi Experts,
    I have created a BDC Function module for Tcode 'PFCG' for profile creation and role assignment, and called this FM in my zprogram. the problem is that when i run this program in foreground it executes succesfully, but if i schedule it in background it fails throwing error in job log 'Role 'Z...' does not contain any active authorizations'. But i have created one more program to create authorization objects which runs before this zprogram.I have also checked the authorization object in 'RSECADMIN', it reflects active. I dont understand whats happening exactly when it runs background.
    Below is the process of job
       1. ZMIS_AUTH_OBJECT_CREATE
           Variant : auth-create
       2. ZMIS_AUTH_ASSIGN_TO_ROLE
           Variant : auth-assign
    The problem is in second program, runs in foreground but fails in background.
    Code which i have written in my second program
    ***BDC for Profile creation and assignment to Roles
        CALL FUNCTION 'ZROLE'
          EXPORTING
           ctu                     = 'X'
           mode                    = p_mode
           UPDATE                  = 'L'
    *   GROUP                   =
    *   USER                    =
    *   KEEP                    =
    *   HOLDDATE                =
           nodata                  = '/'
            agr_name_neu_001        = wa_role-role_name
            text_002                = wa_role-desc
            text_003                = wa_role-desc
            text_004                = wa_role-desc
           value_01_005            = 'T-ML330881'
            h_fval_low_01_006       = wa_role-auth
            profn_007               = lv_profile
            ptext_008               = lv_text1
    * IMPORTING
    *   SUBRC                   =
         TABLES
           messtab                 = temp_message.
    ***Generation of Profile created
    CALL FUNCTION 'PRGN_AUTO_GENERATE_PROFILE_NEW'
         EXPORTING
           activity_group                      = wa_role-role_name
    *     PROFILE_NAME                        =
    *     PROFILE_TEXT                        =
          no_dialog                           = ' '
          rebuild_auth_data                   = ''
          org_levels_with_star                = ' '
          fill_empty_fields_with_star         = 'X'
          template                            = ' '
          check_profgen_tables                = 'X'
          generate_profile                    = 'X'
          authority_check_pfcg                = 'X'
       EXCEPTIONS
         activity_group_does_not_exist       = 1
         activity_group_enqueued             = 2
         profile_name_exists                 = 3
         profile_not_in_namespace            = 4
         no_auth_for_prof_creation           = 5
         no_auth_for_role_change             = 6
         no_auth_for_auth_maint              = 7
         no_auth_for_gen                     = 8
         no_auths                            = 9
         open_auths                          = 10
         too_many_auths                      = 11
         profgen_tables_not_updated          = 12
         error_when_generating_profile       = 13
         OTHERS                              = 14  .
    Experts please help me out its very urgent. your help is appreciated and rewarded. Thanking you in advance.
    Regards,
    Chetan

    Hi Praveen,
    Yeah definately, my requirement is that I have to access of some BI reports to certain users, so contract data will be downlaoded from ECC on application server, need to read that file from application server and for the each contract i ahould create a authorization object, role creation and assigning of role to the user and profile generation and activation.
    To achieve this i have written two programs
    1) ZMIS_AUTH_OBJECT_CREATE- This program will create the Authorization Object using BDC and Role creation Using the BAPI
    "" Creation of Authorization Object
    CALL FUNCTION 'ZAUTHOBJ'
            EXPORTING
             ctu                    = 'X'
             mode                   = p_mode
             UPDATE                 = 'L'
    *   GROUP                  =
    *   USER                   =
    *   KEEP                   =
    *   HOLDDATE               =
             nodata                 = '/'
             g_authname_001         = 'ZDUMMY_MIS'
              g_targetauth_002       = wa_tab-auth
              g_authtxt_003          = wa_tab-short_desc
              g_authtxtmd_004        = wa_tab-med_desc
             marked_04_005          = 'X'
              g_authtxt_006          = wa_tab-short_desc
              g_authtxtmd_007        = wa_tab-med_desc
             tctiobjnm_04_008       = 'ZBUS_UNIT'
              g_authtxt_009          = wa_tab-short_desc
              g_authtxtmd_010        = wa_tab-med_desc
             marked_05_011          = ''
             opt_01_012             = 'EQ'
              low_01_013             = wa_tab-bu
              g_authtxt_014          = wa_tab-short_desc
              g_authtxtmd_015        = wa_tab-med_desc
             marked_04_016          = 'X'
              g_authtxt_017          = wa_tab-short_desc
              g_authtxtmd_018        = wa_tab-med_desc
             tctiobjnm_04_019       = 'ZCONTRCT'
              g_authtxt_020          = wa_tab-short_desc
              g_authtxtmd_021        = wa_tab-med_desc
             marked_05_022          = ''
             opt_01_023             = 'EQ'
              low_01_024             = lv_contract
              g_authtxt_025          = wa_tab-short_desc
              g_authtxtmd_026        = wa_tab-med_desc
              g_authtxt_027          = wa_tab-short_desc
              g_authtxtmd_028        = wa_tab-med_desc
              g_authname_029         = wa_tab-auth
    * IMPORTING
    *   SUBRC                  =
           TABLES
             messtab                = temp_message.
    "" Creation of role
    LOOP AT it_role INTO wa_role.
          CLEAR wa_text.
          wa_text-text = wa_role-desc.
          wa_text-langu = 'E'.
          APPEND wa_text TO it_text.
          wa_jobrole-agr_name = wa_role-role_name.
          wa_parentrole-agr_name = 'ZM_CT_DUMMY_MIS'.
          wa_method-usmethod = 'CHANGE'.
          CALL FUNCTION 'ZBAPI_JOBROLE_CLONE'
            EXPORTING
              jobrole          = wa_jobrole
             parent           = wa_parentrole
             method           = wa_method
           TABLES
    *   RETURN           =
             shorttext     = it_text
    *   LONGTEXT         =
    *   MENU_NODES       =
    *   MENU_TEXTS       =.
        ENDLOOP.
    2) ZMIS_AUTH_ASSIGN_TO_ROLE - This program will generate the profile created assign it to the role.
      ""*BDC for Profile creation and assignment to Roles
        CALL FUNCTION 'ZROLE'
          EXPORTING
           ctu                     = 'X'
           mode                    = p_mode
           UPDATE                  = 'L'
    *   GROUP                   =
    *   USER                    =
    *   KEEP                    =
    *   HOLDDATE                =
           nodata                  = '/'
            agr_name_neu_001        = wa_role-role_name
            text_002                = wa_role-desc
            text_003                = wa_role-desc
            text_004                = wa_role-desc
           value_01_005            = 'T-ML330881'
            h_fval_low_01_006       = wa_role-auth
            profn_007               = lv_profile
            ptext_008               = lv_text1
    * IMPORTING
    *   SUBRC                   =
         TABLES
           messtab                 = temp_message .
       COMMIT WORK AND WAIT.
    ""*Generation of Profile created
      LOOP AT it_role INTO wa_role.
        CALL FUNCTION 'PRGN_AUTO_GENERATE_PROFILE_NEW'
         EXPORTING
           activity_group                      = wa_role-role_name
    *     PROFILE_NAME                        =
    *     PROFILE_TEXT                        =
          no_dialog                           = ' '
          rebuild_auth_data                   = ''
          org_levels_with_star                = ' '
          fill_empty_fields_with_star         = 'X'
          template                            = ' '
          check_profgen_tables                = 'X'
          generate_profile                    = 'X'
          authority_check_pfcg                = 'X'
       EXCEPTIONS
         activity_group_does_not_exist       = 1
         activity_group_enqueued             = 2
         profile_name_exists                 = 3
         profile_not_in_namespace            = 4
         no_auth_for_prof_creation           = 5
         no_auth_for_role_change             = 6
         no_auth_for_auth_maint              = 7
         no_auth_for_gen                     = 8
         no_auths                            = 9
         open_auths                          = 10
         too_many_auths                      = 11
         profgen_tables_not_updated          = 12
         error_when_generating_profile       = 13
         OTHERS                              = 14
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDLOOP.
    For creating authorization objects, role & profile i have created one dummy auth, dummy role & dummy profile respectively.
    i have created dummy objects to copy the roles from dummy object and assign the same to new Auth obj, role & profile.
    Let me know what needs to be done. because these both the programs run perfectly in foreground, but fails in background.
    Regards,
    Chetan

  • Background job failing

    Experts,
    We have background job running as part of the daily load. The user who created and scheduled the job, his account diabled recently and that makes job failing. I need to keep that job running but can not figure out how to change the user name in the job. For example, 0EMPLOYEE_CHANGE_RUN job based on event  'zemployee' triggers at the end of employee data load. Can you please provide any hint what should I do to change user name or take the ownership to keep this job running. Thanks.
    Regards,
    Nimesh

    Hello,
    Go to SM37--> put job name "0EMPLOYEE_CHANGE_RUN"  and user as "*" to get all users.
    Now select the job with released status>(Menu)Job>change->Steps-> select 1st row > change(pencil icon)>now you see the user name here.
    Change the user name to the user name used for all background job and save.
    Done.
    Happy Tony

Maybe you are looking for

  • Follow up to "Authentication Problem"

    I have attached a file which is a screen shot of the problem I am having. (Rename the file to .jpg) The IVT stack (2.3.0.0 per the screen shot) connects to the phone OK and can send a business card. PC Suite is 6.81.13.0. The PC suite connects as you

  • How to load external photo gallery in swf file

    hello! i've been using flash catalyst beta to create a simple 100% flash portfolio site. you can view the test here: http://remgriff.110mb.com/ my problem is that i want to link a button from the portfolio page to an external swf file (or html, both

  • Choosing a monitor calibration tool

    I realize this topic has been discussed before - but the products do get updated and change periodically, so I am asking for advice here on the current state of opinion - I am looking to calibrate dual Appple 23" monitors that work side by side. They

  • LMS 4.2.4 - report check "end host" list

    Hi All,      I have a list of 26 "end host" identify by mac-address. I would like to generate every day a report to check that these devices exist on the network.      If you can help me about this task? do i have to use "user tracking" ?      Just f

  • "Do not include a break inside the TD tag" is ignored

    In Edit | Preferences | Code Format in DW CS5, the setting "Do not include a break inside the TD tag" is ticked but DW is still putting a line break in the tag like this... <td> </td> Any idea why the setting is being ignored? Malcolm