How to start process chain without sapall rigths...

Hi everybody,
I got the following problem:
A (normal) user without sapall rights should be able to start a process chain by clicking a button in a bsp application. This works so far.
The process chain is started by invoking the function module RSPC_API_CHAIN_START. The authority check in the fm throws an error because the user does not have the proper rights/roles to plan a batch job for the ALEREMOTE user.
Does anybody has a solution for this? It's really urgent!!!
Thanks in advance,
Joerg

Hi Joerg,
You might opt to change the scheduling of the start step of your process chain so that it is triggered by an event. Here are the steps:
1) Define an event in SM62
2) Change your process chain so that it is triggered by the event you created in step 1.
3) Change your ABAP code (that responds to the button in your BSP application...the planning function i think). You can then use the function module BP_EVENT_RAISE to trigger the event you created in #1.
Advantage:
The users don't need the extra authorizations.
Disadvantage:
In contrast to using the RSPC_API_CHAIN_START function module, you won't immediately know whether the process chain was started successfully (you might have to call another FM to check the status).
If you can't change the trigger for the process chain, then the longer solution would be to construct an ABAP program that will execute the RSPC_API_CHAIN_START, schedule the program in a background job (to run under a powerful user id),  set the background to be triggered by an event, trigger the event when the user clicks the button.

Similar Messages

  • How to start Process chain ?

    Experts,
    In one of my process chan, Attrib. Change Run got failed. rest of the Process chan ran properly.
    So, if i open that PC, i could see Red line at the Attr. Change run Tab.
    How would i just execute my change Run Process only from the Process chain ?
    thanks

    Perhaps you are not able to see the red for today's chain since there isn't any error occurring for today's run.
    If you click on logs button, you can choose a selection criteria for dates. Then go back to the date when the error occurred.
    As mentioned, depending on the reason of failure, you may not need to repeat the attribute change run step at all as today's run or subsequent days run of the attribute change run would have executed this step and repeating will not have any effect.
    You can see if there is change run that needs to be executed using t-code: CHANGERUNMONI

  • How to Start process in ProcessChain Without using Repeat option?

    How to Start process in ProcessChain Without using Repeat option?

    Se16 -- table:RSPCPROCESSLOG - click on display entries.
    Entet the variant, instance start date (this info you can get from the "display message" of PC.
    Now execute to display the table entries of RSPCPROCESSLOG.
    Next goto SE37 transaction --enter RSPC_PROCESS_FINISH
    Take the entries from the above table to set the input parameters of the FM.
    I_logid = log_id(from above table)
    I_type = type(from above table)
    i_variant = varaint (from above table)
    i_instance = (from above table)
    Click on F8(EXECUTE)
    now the actual process is set to gree and the process chain will be triggered (rest of the PC with out repeating the step from where is was red).

  • How to Trigger process chains??

    hi all
    How to Trigger process chains??
    Can anybody step by steps??
    thanks
    Senthil

    The background control options are available to directly schedule the start process. You can start the start process immediately , that is when activating the process chain, for a specified time, or after a particular event. When you activate the process chain, the start process is scheduled in the background as defined in your selections.
    You can also trigger the start of a process chain via a meta chain. A meta chain is when a process chain, to which you set this start condition, is fixed to another process chain. The process chain is started directly by this meta chain.
    When you start the start process via a meta chain, it is not scheduled after you activated the related process chain. The process is only started when the meta chain, to which it is linked, is running.
    The remaining chain processes, that is the application processes and the collection processes, are scheduled to wait for an event.
    The start process has the following special features:
    Only the start process can be scheduled without a predecessor process.
    The start process can not be a successor to another process.
    Only one start process is allowed for each process chain.
    One start process can only be used in an individual process chain

  • How to create process chains,and how to use process like and or xor

    Hi,
    How to create process chains,and how to use process like and or xor.
    can any one please give me a example in each.
    Thanks,
    cheta.

    Hi Cheta,
    Here is step by step procedure to create process chains
    Process chain is nothing but executing a process ..(or) loading the data any process we can do in background.. that means.. automatically we can execute our process based on Time or any event..
    Creating Process Chains
    Prerequisites
    If you want to include a load process in the process chain, you need to have already created an InfoPackage.
    You cannot load flat file data from a client workstation in the background. For this reason, you have stored your data on an application server.
    Creating Process Chains
    You have the option of creating a process chain in the process chain maintenance screen directly or by using a maintenance dialog for a process:
    Creating a Process Chain Directly in the Process Chain Maintenance Screen
    You are in the BW Administrator Workbench.
    1. Click on the Process Chain Maintenance icon in the AWB toolbar.
    The Process Chain Selection dialog window appears.
    2. Choose Create.
    3. Enter the technical name and a description of the chain, and confirm your entry.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    5. Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    Hope this helps
    Regards
    Karthik

  • How tp Deactivate Process Chain

    Hi Experts,
    How to Deactivate Process chain.
    I have an IP in the PC which need to executed manually, but if i do that the processes which are preceeding IP in the chain are all getting triggered.
    so before i start executing IP, i need to deactivate the PC.
    Please throw some light how can i achieve it.
    Thanks
    Sanjay

    Hello Simran,
    even If i remove from schedule, once the IP triggers and after the load is success,i doubt  those processes will get triggers.
    are you sure that it will not triggers the following processes.
    Thanks
    Sanjay

  • How to find process chain using background job in sm37

    How to find process chain using background job in sm37

    Better is to select the job.
    Select (Define) Step (s) or F6.
    Select the line and Menu Goto>Variant.
    The variant contains the name of the CHAIN and its VARIANT.
    Success
    We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
    We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
    We could not find the scheduled job via SM37.
    Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
    We delete these entries via function BP_JOB_DELETE....
    Edited by: Jack Otten on Jul 9, 2010 2:50 PM

  • How to stop process chain, if it is taking too much time than expected.

    Some times if a process chain takes to much time to finish than expected, how I can stop the process chain and execute it again.
    Thanks in Advance.
    Harman

    how I can stop the process chain ??
    If the job is running for a long time ,
    1)GOTO RSMO and SM37 and check the long running job over there.
    2)There you can see the status of the job.
    3)If the job is still running you can kill that job
    4)delete the failed request from data target.
    for more details go to this below link
    how to stop process chain if it yellow for long time
    how I can execute it again ?
    GOto Function module  RSPC_API_CHAIN_START
    and give u r process chain name there.and execute.

  • How to schedule Process chains in Bi Admin Cockpit

    Hello friens,
    I am working on installing Bi cockpit.
    After installing the info providers, i have to schedule the process chains for Bi admin Cockpit.
    I know the transaction is RSPC.
    But I dont know how to schedule process chains for Bi admin cockpit.
    How to schedule Init and Delta
    If you can send me step by step documents.
    Or any good sap note number.
    Or any good links i will really apreciate it.
    I want to schedule process chains
    Content Master Data
    Data Load Statistics # Delta
    Data Load Statistics # Init
    Query Runtime Statistics # Delta
    Query Runtime Statistics # Init
    System Master Data
    Please advise

    Hi,
    Please check out this document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    Hope it helps.
    Thanks
    Mona

  • How to change process chain in SAP APO, in RSCP tcode.

    HI SAP APO Experts
    I am from SAP ABAP background, I need to change a 'AND' operator in process chain in RSCP tranaaction in SAP APO.
    I dont have any idea how to change process chain.
    Could you please help me how to change process chain in SAP APO in RSCP tcode.
    Appreciate your help or comments.
    Sandeep..

    Hi Sandeep,
    The t-code RSCP does not exist in SAP APO.  The correct t-code is RSPC. 
    Step 1:- In RSPC t-code, select the process chain which you need to change. 
    Step 2:- Double click on it. 
    Step 3:- It will display the various programmes attached to the process chain.  Go to change mode by clicking on the change indicator (Control + F9)
    Step 4:- Select the programme area where you need to do the correction or change.  Double click on it.
    Step 5:- It will take you to the programme and its selection contents.  Make the relevant changes.  You can directly carry out the change in se38 also if there is variant kind of changes for that particular programme.
    Step 6:- Once the changes are done, save the changes and press F3 button which will take you to the home page of the process chain
    Step 7:- Save again so that the change in the programme alongwith the process chain will get saved.
    Regards
    R. Senthil Mareeswaran.

  • How to create Process chain in BI 7.0

    hi,
        I dont know how to create process chain in BI 7. If any one have document step by step process to create process chain. help me. thank u.

    check these links..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00a1f389-ec7c-2c10-04bc-9d81b3084171
    http://wiki.sdn.sap.com/wiki/display/BI/Processchainscreationandmonitoring
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900be605-7b59-2b10-c6a8-c4f7b2d98bae
    http://wiki.sdn.sap.com/wiki/display/BI/FiveWaystoEnhanceBIFunctionalityUsingABAP--PartV--ABAPinProcess+Chain

  • Help in Event that  start process chain

    Hi,
    i use the Fm Below to start process chain but its not working What can be the problem?
    Regards
    CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
        EVENTID                     = 'ZIST_SSO'
       EVENTPARM                    = '1'
      TARGET_INSTANCE              = ' '
    EXCEPTIONS
       BAD_EVENTID                  = 1
       EVENTID_DOES_NOT_EXIST       = 2
       EVENTID_MISSING              = 3
       RAISE_FAILED                 = 4
       OTHERS                       = 5

    Hi,
    may be you should check your authority. May be you are not allowed to run/schedule a program/chain in background.
    regards
    Siggi
    PS: do a new activation and scheduling of the chain. goto sm37 afterwards and check the processes BI_PROCESS_TRIGGER. There must be at least one waiting for your event.

  • How to create Process chain for Aggregate for Master data

    Hello friends,
    I created Aggregates on Navigational Attributes.
    Now they are working fine, but i need to know that how shall i create the Roll up for Aggregates on Navigational Attributes.
    The point is the master data changes frequently a lot of time for e.g. for 0customer etc.....
    So if any one can send me the step by step documents so as to know how to roll up the Aggregates for Navigation attributes or for aggregates created on Master data....
    How to create process chains for the same ?????????
    Because if master data changes, then rolling up the aggregates straight forward will not help.
    So we need to write a process chain so that it deactivates the aggregate and reactivate again and fill up again..........
    If i mis interpreted something please rectify it.......
    Please advise

    Hello,
    the changerun that you have to schedule in order to activate the master data will adjust the aggregates automatically.  There is no need to deactivate them after master data loads.
    Best regards,
    Ralf

  • How to create process chain ?

    hi all,
    will you please simlify how to create process chain if anybody has a screen shot or slide show about pc creation it will definatly help me a lot.
    rewrd point for sure,

    This may help:
    [http://help.sap.com/saphelp_nw04s/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045]
    Regards,
    Jordi

  • Error occured when starting process chain

    When we want to start a process chain via SAP_BW_ProcessChainRun we get the following error log:
    Failed to start process chain /NSN/C_DSP_TR_GLOBAL_II. No logid was returned by the BW-SCH API.
    com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error
    BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.checkBapiReturnCode(ClientConnectionImpl.java:789)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.handleRscpApiErrors(ClientConnectionImpl.java:808)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.call(ClientConnectionImpl.java:505)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection$4.doPerform(AbstractRfcConnection.java:296)
         at com.redwood.scheduler.connector.sap.rfc.connection.RemoteFunctionCall.perform(RemoteFunctionCall.java:120)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.perform(AbstractRfcConnection.java:461)
         at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.execute(AbstractRfcConnection.java:289)
         at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.SapFunctionModuleWrapper.execute(SapFunctionModuleWrapper.java:200)
         at com.redwood.scheduler.connector.sap.rfc.jco.AbstractSapFunctionModule.execute(AbstractSapFunctionModule.java:109)
         at com.redwood.scheduler.connector.sap.rfc.command.impl.BwProcessChainCommand.execute(BwProcessChainCommand.java:98)
         at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpCommand.doExecute(AbstractXbpCommand.java:86)
         at com.redwood.scheduler.connector.sap.rfc.command.AbstractCommand.execute(AbstractCommand.java:56)
         at com.redwood.scheduler.connector.sap.rfc.service.operation.RunJobOperation.doWork(RunJobOperation.java:103)
         at com.redwood.scheduler.connector.sap.rfc.service.SapJobWork.doWork(SapJobWork.java:38)
         at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:74)
         at java.lang.Thread.run(Thread.java:579)
    What could be the reason?
    Thanks
    Br
    Günter

    O.K. I can answer the question by myself: Is an authorisation issue. The rfc user who starts the PCs didn't have enough rights.
    Br
    Günter

Maybe you are looking for

  • Trying to install 10.1.0.3 on RHEL4 IA64 platform

    I am trying to installl 10g release 1 on a RHEL4 server which is an HP itanium server. I was getting the folowing error when tryong to launch the oui... Checking operating system version: must be redhat-2.1, redhat-3, UnitedLinux-1.0, SuSE-9 or SuSE-

  • How to change/delete iCloud address, created with typo the first time

    How can I change or delete this, I had a typo when creating this originally and am unable to find a solution.  I understand that an alias can be created, but I would rather just start over. I do not use the @me account as a primary apple account, I h

  • New Desktop Manager for Mac - backup fails

    Each time I try to back up my Curve to my Mac, it fails when backing up "RMS Databases". I have to shutdown the Curve and restart it after each attempt. I'm currently running version 4.5.0.160 (I see there is a newer version, but can't install till I

  • While copying WAD templete , one varient is missing.

    Hi Experts, I copied one Wad templete, when i trying to run the copied templete its showing message " varient  z_norm does not exist". I didn't done any changes in copied templete. Please provide me the solution. Thanks , Mohan

  • How to copy the confuguration files in admin to user in terminal.

    Hi, i need to copy configuration files from Admin to user, I am not sure how to do. Please help me out on this. Thanks, Muniraju H