Can I run job PROGRAMs in process chain under my user-id?

Hi! I have a following problem. When schedule PROCESS CHAIN, then all JOBs are created with my user-id, but programs in STEPs are running with default system user-id (in our case - it's BWADM).
Is it possible to make a setup that programs (i.e. steps) in particular process chain will be running with <b>my</b> user id, not <b>system</b> user id?
The issue is that system-id BWADM has not all my authorizations, so cannot get proper results out of my process chain.
Thank you!
Vitaliy
http://www.hp.com/go/sap -> BI

Hi,
You need to save those jobs while logged in as your user id. Example, in Infopackage, save it then it will contain your user id. When that infopackage is executed, then it will have your user id.

Similar Messages

  • Can not delete job for BW process chain.

    I can't kill or cancel this job.
    this job status keeping "Killing" during 2 days.
    sub-job was completed.
    How can I force delete this job?
    Job 29006 - CCMS job BI_PROCESS_ODSACTIVAT (GBD/100) Actions
    Description CCMS job BI_PROCESS_ODSACTIVAT (GBD/100)
    Job Id 29006
    Parent Job 29005 - BW Process X0DMMB52_ACTIVATE (GBD/100)
    Definition SAP_CcmsJob
    Comment This job represents a monitored SAP batch job. The SAP batch job runs under control of the SAP batch system.
    Owner Subject Redwood System
    Status Killing
    Files 
    Name Size 
    log 23895 Details u2026
    Queue GBD_Queue
    Process Server GBD_ProcessServer
    Forced Process Server GBD_ProcessServer
    Priority 50
    Start time Requested: Sep 12, 1:43:19 PM, Actual: Sep 12, 1:43:19 PM (0:00:00:000 difference)
    Requested Start Time Type User Set
    Next Submit Base Time Sep 12, 1:43:19 PM
    Scheduled Start Sep 12, 1:43:19 PM
    Run time Sep 12, 1:43:19 PM - Sep 12, 1:43:43 PM (0:00:24 elapsed)
    Remote Information 
    Remote System SAP GBD 100
    Remote Status Finished
    Remote Id J/RFCUSER/BI_PROCESS_ODSACTIVAT/13430000
    Remote Event RSPROCESS
    Remote Creation Time Sep 12, 1:43:00 PM
    Remote Run Start Sep 12, 1:43:19 PM
    Remote Run End Sep 12, 1:43:43 PM
    Parameters 
    Job Definition Parameter In Value Out Value 
    JOBNAME BI_PROCESS_ODSACTIVAT   Details u2026
    JOBCOUNT 13430000   Details u2026
    CLIENT 100   Details u2026
    SAP_USER_NAME RFCUSER   Details u2026
    SHOWLOG Y   Details u2026
    SHOWSPOOL Y   Details u2026
    DELETE_JOB N   Details u2026
    Creation Time Sep 12, 1:44:01 PM
    Last Modification Time 9:48:41 PM
    Edited by: Park Jeonghwan on Sep 19, 2008 3:02 PM

    Hi Park,
    From what you describe I am assuming that the you had a BW Process Chain running from CPS and then decided to kill it.  This autoamtically created a child job that's supposed to stop the Process Chan in SAP that should have, once complete, updated the parent job from it's 'Killing' status to 'Killed'.  Now you find that the BW Process Chain in SAP is/was stopped, the CPS child job has also completed and yet your Process Chain job in CPS still has a 'killing' status.  Because it is stuck in this status you cannot do anything with it, i.e. none of the scheduling options in the Redwood Explorer are active.
    Assuming the above interpretation is correct then you probably have only one option and that is to force an update in the Repository itself.  I also assume you're using either v6.x or v7.x.
    To confirm the status of the current job in preparation for the update you can do the following query in the Redwood Shell when logged in as SYSJCS:
    select status from rws_job$ where job# = <the job number of the job currently in a 'killing' status>;
    This should return 1 row and the value for status should be 'G'.
    To update the status you can use the following command from the Redwood Shell when logged in as SYSJCS:
    update rws_job$ set status = 'K' where job# = <the job number of the job currently in a 'killing' status>;
    To confirm your update was successful before finally committing use the first query again..
    select status from rws_job$ where job# = <the job number of the job which previously was in a 'killing' status>;
    This should return 1 row and the value for status should be 'K'.
    You can now commit the change or rollback if you've made a mistake
    commit;
    Normally it is not recommended that CPS users modify any of the underlying tables so you may want to check with support that they are ok with you executing this command.
    You may also want to check that you have the latest Service Pack for CPS as this may mitigate this kind of issue from appearing again.
    Regards,
    Simon

  • Program is not sending emails if I run it within the process chain

    Hi All,
    I am facing a weird issue; I have an ABAP program which compares tables and sends the results in an email. It is working fine if I run it standalone. However, if I run it within the process chain it still runs but doesn't send the email.
    Any idea on how to troubleshoot this?
    Thanks

    maybe because it's ran under a different user (ALEREMOTE)?
    the user that executes the "mail" needs a valid emailaddress to be able to send...

  • GETWA_NOT_ASSIGNED error while running abap prog in process chain

    Hi.
    I am getting a runtime error GETWA_NOT_ASSIGNED while running an ABAP program in process chain.
    But when i execute pro in SE38 , it's not giving any error.
    Please any one can suggets what will be error.

    Hi,
      i also used to get error for a program executed through process chain but when it is executed in se38 it used to work... that is because my program try to access a application server folder and reads the file from there... the authorisation to this is not proper through process chain ..... once authorisation to the folder was given properly .. i am able to run...
      Such things can happen in your case also... Try to analyse the dump in st22.... what happened ...
    Regards
    vamsi

  • How can I insert the RSCRM_BAPI into Process chain?

    Dear all:
    Now I Use RSCRM_BAPI(RSCRM_REPORT) ,excute a query , Get the result in a table, I use this table as a datasource,and then next steps,upload data. all of this runs well.
    But  I want inset this process into a process chain. now I don't know how to do it.
    who can help me?

    Hi,
    Now I'm using RSCRM_BAPI in Process chains..
    1. I set the report name RSCRM_BAPI  and then in schedule I select EVENT there I given Event is
    'ZE_GR' and parameter is  'ZEP_GR'. and then I created a program and there I given Event and Parameter. And then I inserted this program in Process chain. And I scheduled the Process chain.
    You need to create the event in SM62
    REPORT  ZE_GR_RP.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
    EVENTID = 'ZE_GR'.
    EVENTPARM = 'ZEP_GR'.
    CALL FUNCTION 'RSSM_EVENT_RAISE'
      EXPORTING
        I_EVENTID                    = EVENTID
        I_EVENTPARM                  = EVENTPARM
    EXCEPTIONS
      BAD_EVENTID                  = 1
      EVENTID_DOES_NOT_EXIST       = 2
      EVENTID_MISSING              = 3
      RAISE_FAILED                 = 4
      OTHERS                       = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Dec 2, 2008 5:09 AM

  • Log from ABAP program in Process chain

    Hello.
    I have some problem. I wrote the ABAP program and insert this program in process chain. This program a correctly work, but I canu2019t view the steps of work this program. In help:
    You can write logs by outputting success messages. (Error messages terminate the task!)
    Example: MESSAGE s051(rsar) WITH 'Process successfully ended'.
    You can see these logs on the tab page Batch in the detail monitors of the process chain.
    I append this code to my program, but nothing in process chain.
    Help me, please - what code I need to insert in my program so that view this message in a process chain logs?

    We have an ABAP that outputs a message.  The output from the following code is visible when you click on a process chain step icon, and select the middle tab that says "Backg" for background.
    IF sy-subrc = 0.
        CONCATENATE text-005 p_date INTO l_msg SEPARATED BY space.
        MESSAGE i162(00) WITH l_msg.
      ELSE.
        CONCATENATE text-003 p_date INTO l_msg SEPARATED BY space.
        MESSAGE e162(00) WITH l_msg.
      ENDIF.

  • How to call program through process chain

    Hi Gurus,
    I am in the position to execute the abap program through process chain, I have used  abap program as process type in process chain(First time I am using this process type).when I am executing the process chain, the abap program is not executing.Eagerly anticipating your reply.
    Regards
    Shiva

    Hi
    I managed the execution of rscrm jobs in PC as follows:
    1. Execute query through RSCRM_BAPI transaction
    2. goto sm37 and copy the Jobname (the active one)
    3. Create following progromm
    *& Report /WST/RSCRM_START *
    REPORT /WST/RSCRM_START .
    parameter: l_bid TYPE sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING
    i_barepid = l_bid
    4. Execute Programm and fill the Parameter with the Jobname
    5. Save as a new program variant and use in PC as a normal program
    I hope that helps.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    regards
    ashwin

  • Calling r/3 program from process chain

    Hi
    I did the following steps to call r3 program from process chain :
    Steps in R/3 system
    1. Created a program  which needs to be called from bw and at the end of the program i have calling 'RSPC_ABAP_FINISH' function module & passing the rfc id of bw system and bw process variant.
    2. created a even in r/3 (please note that this is not there in bw)
    3. Created a job  and  under start condiion selected 'after event' and mentioned the event created earlier. And under step1 enter the abap program to be executed
    Steps in BW system :
    1. Created a process chain
    2. inserted a process type 'abap program' and selected the call mode 'Asynchronous' and under destination entered the RFC destination of R/3 system. Under scheduled program enterd the event name created in R/3
    after executing above process chain,  the abap program node is becoming green but the abap program is not getting executed in r/3 system. And also the process after the program node in process chain is not getting executed.  The job which was created in r/3 still showing the released status
    Kindly advice where i am wrong.
    Thanks
    RKS

    any input

  • How to integrate an ABAP program in process chain

    Hello Experts :
    I need to call an ABAP program in PROCESS CHAIN from a different system, using Process type "ABAP program", option "scheduled program".
    Sombebody have the step by step or some examples
    Regards,
    Diana

    If you search this forum for RSPC_ABAP_FINISH you will find some good answers such as:
    Start an ABAP program in R/3 from a process chain in BW

  • Call ABAP Program in Process Chain

    Dear BW Gurus,
    I need to call an Process chain which includes ABAP Program.
    The ABAP Program doesn't have the variants but it accepts the inputs from the user and sets into a YXXXX table.
    I am not getting how to proceed in this regard.
    Kindly guide.
    Best Regards,
    Harsh

    hi,
    chk these links below.. they contain the resolution for your query
    Call ABAP Program in Process Chain
    ABAP in Process Chains
    Also chk this relase which ia an entire guiding one to ABAP Program in Process Chain
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7

  • How can you configure mail settings in process chains?

    HI Experts,
    please let me know how can you configure mail settings in process chains?

    Dear Suman,
    To initiate the mails we first need to have SMTP connection. To check the same go to so00 and try sending mails to ur ID. If is successful it states that u have the SMTP access.
    To create mails to Process chains:
    Right Click on the Process varient select the Create Message in the context menu.
    Select the type of mail i.e for successful, Error, Anyways.
    Then follow the screens.
    Note: The recipient type should be Via Internet.
    Hope this helps u.
    Regards,
    Kishore.Pulla

  • Can't run some programs after system restore to remove virus

    Hi,
    My duaghter's Toshiba had a nasty virus that pretended to be an antivirus software product, that snuck in, between the time her default Norton service expired and I had the time to install Trend.
    Could not remove it using Trend, so upon advice from a friend, decided to do a windows system restore to a point prior to the infection. This worked successfully, and the virus is gone, but now she can't run some programs, I have tried to install Trend again, but that fails as it says that you have to uninstall Norton first. But I can't run Norton, or uninstall it, and some folders on C: are no longer accessible.
    Should I do a complete Toshiba system restore (ie back tofactory settings? This seems a drastic measure, but the issue is beyond my meagre PC skills.
    Thanks,
    Graeme

    Thanks for your reply.
    The main issue is that we cannot run the Norton Anitvirus that came prepackaged with the laptop, and we can't uninstall it either. If you try to perform either action, nothing happens.
    However, when we try to install a new antivirus software, Trend, the install fails because it detects that Norton is installed, and indicates that we must uninstall Norton before we can complete the Trend installation. But we cannot unistall Norton for some reason.
    I am getting my daughter to check what else doesn't work, but Microsoft Office works OK, and most of the games she installed seem to work. I just don't understand why Norton won't work now, and why we cannot uninstall it. I don't know if its due solely to the system restore, or some combination of events. The introductory 3 mont Norton licence has expired some time ago, but it should still let us uninstall. I have also tried to unistall through the Control panel, but nothing happens when I try that either.
    Is there any way to force the uninstall of Norton? Or is a factory reset the only viable option now?
    Thanks,
    Graeme

  • ABAP program in process chain running under another user

    Hi, gurus
    I have a process chain that load three DSO in order to generate authorizations. I wish to add a new process at the end of this process chain which calls ABAP program RSSB_GENERATE_AUTHORIZATION. I wish to run this ABAP program under a different user rather than using ALEREMOTE, our general purpose load user. The user to run authorization generation must be a system user specially created for this purpose.
    My question is: is it possible to define a different user to execute only a process (ABAP program) inside a process chain while the previous steps can be run by a general purpose load user?
    Is there any other approach? What about separating it into two tasks? How to sincronize them, that is, how to run generation just after successful ending of the load process?
    Thanks for ideas.
    Fernando

    Let us assume that you have two parts to this -
    1. Process chain for Data Loads
    2. Program for authorizations.
    Schedule the authorization program in the background and have it run after a particular event - this way your authorization program is run with a specific user.
    In your process chain put in a program to raise the event at the appropriate time so that the authorization program can run. The authorization program in the meanwhile will be runnnig and waiting for the event to occur.

  • ABAP process job ( BI_PROCESS_ABAP ) in process chain running for long time

    Dear Experts,
    We have an ABAP process job  BI_PROCESS_ABAP  in a process chain. This job is running for a very long time than previous run time.
    Recently we had an ORACLE database upgrade from 9.2 to 10g.
    From the very next day , we are having this problem.
    And also previously this process-chain was under control of BASIS guys . they were using a tool called CRONACLE to schedule it. At the time of upgrade this tool was crashed and they asked us to schedule it in BW system instead.
    Underlying program is using two custom tables.
    one is having both primary & secondary indexes but the other table is having only primary index.
    I am not sure whether we have secondary indexes on other table prior to upgrade or not.
    Where must be the problem?...
    At the time of upgrade BASIS has re-organized the table space along with database upgrade.
    please help me...
    Regards,
    SRIKANTH

    Please ask yr basis consultant to check the system parms.
    Below i have listed down SAP recommneded system parms .
    abap/heap_area_total 4000000000
    abap/heap_area_dia 2000000000
    abap/heap_area_nondia 2000000000
    Also check in SM37 if any other jobs are running for long time, peventing the your job running.
    Check the SM12 for locks or SM58

  • ABAP Program in process chain

    Hi All,
    We have ABAP Porgram(PROCESS TYPE)  in our porcess chain.
    It was failed today with following message in Job log
    " Table Locked.Data currently being processed by user ALEREMOTE " .But when i check in SM12 there was no locks I found there. and i have checked in sm21 also there also i didn't find anylogs at that time and date.
    So i tried by repeating the load of "ABAP Process "  the program went successful now.
    But client is asking which PROCESS CHAIN caused locks for this program.
    Is there any way to find out any other process chain is using the same " PROCESS TYPE (ABAP Program)"  in their process chain?.
    so that i can identify that process chain and inform to the client.

    First :
    The lock need not be due to another ABAP program...
    What you are seeing here is a table lock due to a conflicting process... for instance - lets say your program is reading 0MATERIAL and updating specific values in the P Table of 0MATERIAL. At the same time - if there is a data load happening to thi table - then your program or the data load whichever runs later - will face the locking issue.
    What you need to do is :
    1. Find out which tables are being UPDATED by the ABAp program - find out when these tables are being updated by other process chains - and then change the schedule for the same.

Maybe you are looking for