List of Process Chains via ABAP Class

Anyone know if there is an ABAP Class that will return a table of the available process chains in the system?  I looked at CL_RSPC_CHAIN, but don't see how to get a list of what is out there.

This works for me..  I would think you'd be able to do this with a class..  Thanks!  Anyone else know a way to do this with one of the classes?
Thanks!

Similar Messages

  • Running Process Chains via abap

    Hi all,
    I have scenario in loading text file to cube via chains using abap, here the step:
    Start from abap code to check the file, if exist run the Process chains
    <b>Process Chains</b>
    a. <b>start</b>
    b. <b>load data</b>  
    c. <b>updt from PSA</b>
    d. <b>program</b>  "move file to err folder if loading error
    e. <b>Attrbute Change</b>
    f. <b>program</b>  "move file to suc foled if loading successfull
    g. <b>program</b> check file is still exist
    it's looks like machine gun
    The problem is always create two job "loading" (sm37) each file after abap code for checking file run the event 4 chains. This happened makes loading process takes time event the file only 20 records.
    Why this happened? Please
    Any suggestion is highly appreciated would be thankful for all
    rgds
    supriatna

    you already raise the event after you checked the file successfully, right? And you already scheduled your process chain waiting for that event?!
    -> yes, it's done and works
    But what do you mean with 'each file have 2 jobs ...'
    - > after a file founded and run the chains and I check the job using (sm37-job overview) there are create two job for BI_PROCESS_TRIGGER, BI_PROCESS_PSAPROCESS, BI_PROCESS_LOADING, BI_PROCESS_ATTRIBCHAN
    is there time out ? no time out, stop by system
    I have put 10 files but some times the process only run 2,3,5 file after that the job is stop.
    here the message:
    Process ABAP, job count 15425901 should already have started
    System response
    The chain has been terminated.
    Procedure
    There are probably not enough background proceses in your system.
    Make sure that there are enough background processes, because parallel processes also run when process chains are processed.
    The repeat frequency of the start-process may be too short. Look into this.
    any suggestion on this problem ?
    thanks in advance
    supriatna

  • Deleting master data in a process chain via ABAP "RSDMD_DEL_BACKGROUND" ?

    I need to delete master data attributes in a process chain.
    Since there seems to be no predefined process type for this, I looked for an existing ABAP in the dictionary and found the ABAP report "RSDMD_DEL_BACKGROUND". I plan to call this ABAP in an ABAP-process-step in my process chain.
    Unfortunately, I'm not shure how to set the input parameters:
    report rsdmd_del_background .
    type-pools: rsd, rrsi, rsenq.
    parameters: p_iobjnm like rsdiobj-iobjnm obligatory,
                p_chabnm type rsd_s_cha_bas-chabasnm obligatory,
                p_delsid type rs_bool default 'X',
                p_deltxt type rs_bool,
                p_obj    like balhdri-object,
                p_sub    like balhdri-subobject,
                p_ext    like balhdri-extnumber,
                p_noprot type rs_bool.
    Can anybody help me, with the settings needed or point out another way to achieve the deletion of master data attributes in a process chain?
    Thanks in advance, Frank.

    Hi Frank,
    as I already suggested in a previous thread, try to look at the FM 'RSDMD_DEL_MASTER_DATA'(in the pgm LRSDMDU12)...but pay attention to the other elements that the system certainly checks in order to complete this type of process !
    Hope it helps.
    Bye,
    Roberto

  • Trigger process chain in ABAP program

    Hi Experts,
    We have a requirement to trigger the process chain from an ABAP program. I used the function module RSPC_API_CHAIN_START to trigger the process by passing the process chain name in 'I_CHAIN' and it worked. However, the client wants to trigger this using batch user name as few planners do not have authorization when they executed the custom transaction.
    Based on the return code of the function module I am capturing the status for tracking.
    Please suggest if there is any alternate solution to pass the user name while triggering a process chain in an abap program.
    Thanks and Regards,
    Pavithra

    hi Chintai,
    in bw side, you create a abap program to trigger an event in r/3,
    and include this abap program in your process chain, the abap program like
    CALL FUNCTION 'BP_EVENT_RAISE'
    EXPORTING
    eventid = 'ZRUNJOB_DEL'
    and in r/3 schedule the program to delete previous data with 'after event',
    the event name is same as raise by bw process chain, in this sample ZRUNJOB_DEL.
    hope this helps.

  • How-to trigger a process chain using ABAP?

    Does anybody know how to trigger a process chain using ABAP code?
    Any help would be appreciated!
    Thanks
    Ioan

    Hi Ioan,
    try this in your ABAP:
        CALL FUNCTION 'BP_EVENT_RAISE'
          EXPORTING
            eventid         = 'Your Event'
            eventparm       = 'START'
            target_instance = ' '
          EXCEPTIONS
            OTHERS          = 01.
    and schedule your process chain, waiting for 'Your Event'.
    regards
    Siggi

  • Error when run Process Chain via BPC NW

    Hi Gurus,
    I am implementing SAP BPC 7.5 NW in a customer and I´m facing the following error when try to run a process chain via Data Manager: "Failed to analyze instruction ,TAB,%TAB% ".
    Here is the scenario: we created a process chain that will be able to capture values recorded in a BPC application, load them into an DSO (make some transformations there) and finally send those transformed values to an specific table at ECC. This process will be started after some simulations at BPC and, when the user ends its simulation, start this process chain via BPC; this process chain is named as PC_ECC.
    We made a  copy of /CPMB/DEFAULT_FORMULAS and named it PC_FORMULA and, before step /CPMB/CLEAR, I assigned my process chain PC_ECC.
    So, at Data Manager, I add this process chain (PC_FORMULA) and in Advanced button, I put this statement:
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(PC_FORMULA,TAB,%TAB%)
    TASK(PC_FORMULA,EQU,%EQU%)
    TASK(PC_FORMULA,SUSER,%USER%)
    TASK(PC_FORMULA,SAPPSET,%APPSET%)
    TASK(PC_FORMULA,SAPP,%APP%)
    //TASK(PC_FORMULA,LOGICFILENAME,DEFAULT.LGF)
    //TASK(PC_FORMULA,REPLACEPARAM,TESTE3%EQU%%TESTE3%%TAB%ASARENT%EQU%%ASARENT%%TAB%SOURCE%EQU%%SOURCE%%TAB%TARGET%EQU%%TARGET%)
    As we do not have any script logic to be executed, we commented the two last statements.
    When we run this package via DM, it gives us the message error:  "Failed to analyze instruction ,TAB,%TAB% "
    Looking through SDN forum we found two posts similar to this issues:
    But the suggestion to supress the statement TASK(PC_FORMULA,TAB,%TAB%) do not work; when we comment this statement, the message error gives us the message:"Failed to analyze instruction ,EQU,%EQU% "; when we comment the statement TASK(PC_FORMULA,EQU,%EQU%) and the previous (with TAB). the DM gives us the message: TASK(PC_FORMULA,SUSER,%SUSER%) and so on, until nothing has left to comment.
    Anyone of you view or has some similar case of error?
    Thanks in advance to you all
    Best Regards
    Adriano

    Hi Rich,
    Thanks for your answer.
    I checked the parameter at my process chain and it has a variant (/CPMB/DEFAULT_FORMULAS_LOGIC) with the parameters:
    TAB
    SUSER
    SELECTION
    SAPPSET
    REPLACEPARAM
    MEMBERSELECTION
    LOGICFILENAME
    EQU
    So, when I put in the task PC_FORMULA, TAB, %TAB%, it will be able to be recognized by the task...and the other parameters too. And when I take one of them off the task instructions, the system complains.
    Any other suggestion?
    Once again, thanks..a.nd best regards
    Adriano

  • List of process chains and RSCRM queries triggered after an event

    HI Experts,
    Is there anyway to find out the list of process chains scheduled after an event is triggered in BW? Is there any table maintained for the same?
    Thanks In Advance,
    Srivatsan.S

    Get the list of Start Variants from table RSPCTRIGGER by giving the list of event ID's or EVENTID <> Blank.
    Then enter this list of start variants in RSPCCHAIN to get the list of process chains.

  • Transportation of process chains with ABAP variants

    Hi,
    Could you please help me in finding out how to transport process chains with ABAP variants.
    I can transport them, however when transporting them, I overwrite the already existing variants, which is very unfortunate...
    Could you please advice.
    Thank you in advance!
    /Brian

    Hi Ramesh,
    Option 1:
    You can directly create the process chain in Production. Most of the times ppl do have access to create a process chain in Prod. Kindly check whether you have the authorization to do so.
    Option 2:-
    I did not suggest to delete the old info-packages in QA and Prod. Let them continue to exist but you may not use them once the process chain is in place. You create the process chain, test it and move it up to Prod. I dont' think the new infopackages will hamper your delta load. The delta is not dependent on the infopackage.
    If I were you, I would try the second option and if it does not work during testing then go for the first option.
    Bye
    Dinesh.

  • How to process process chain in ABAP program

    Hi,buddy:
        If I want to start Process Chain in ABAP program,then which code or function can be used?
        Best Regards.
    Martin Xie

    Hi Martin,
    How-to trigger a process chain using ABAP?
    Hope it suffice,
    Cheers
    SRS

  • Trigger Process chain using ABAP code

    Hi All,
    As per my knowledge there are 2 ways to trigger a process chain using ABAP code :
    1) Using FM ‘RSPC_API_CHAIN_START’ and passing process chain name as the parameter
    2)Using FM 'BP_EVENT_RAISE' and passing process event as the parameter, which you can create using SM62 transaction.
    I would like to know which one is better to use, in terms of advantage and disadvantage.
    Thanks,
    Praveena

    Hi praveena,
    check these links ..u .may get some help
    Process Chain
    Process Chain
    How to run a Process Chain
    Process chain-parallel process
    Regards
    BILL

  • Process chain and Abap

    I have an ABAP Report which does following:
    1. Create Selection via parameters - in table lt_sel.
    2. Delete CUBE
    3. Own implemantation using lt_sel and fill cube.
    4. Compress Cube.
    Now point 2. and 4. should work in a process chain.
    How can i deliver the Abap parameters from 1 to 3 (own implementation class)???

    You question is not clear enough for me.  I need more detail.  For example, what are your selecting?  Data that goes into a cube, or a selection of cube names?  What do you mean by "own implementation"? 
    How to deliver what parameters to what?  What are the process types in your process chain?  Are you asking how to develop your own process chain type?
    etc, etc,
    matt

  • Email Alert for Process Chain for ABAP Process Type

    Hi BW Experts,
                             I created a process chain based on ABAP Process Type ( for Broadcasting rsrd_broadcast_starter). I want to add alert message for each ABAP process if it is failed. But I cant see any option showing Successfull or Error or Always when I select create message option on the process type. How ever I can see for other process chain which is loading data (Process Type is Info Package ) from SAP into BW.
                             Please some one tell me why it is not showing alert message for ABAP Process Type.
    Thanks
    Ganesh Reddy.
    Edited by: Ganesh Reddy on Jul 13, 2009 10:16 PM

    I dont have the exact answer for your question, But as a work around i can suggest you that.
    If these ABAP programs are included in a chain and this local chain is a part of meta chain then you can create a message on the local chain.By right clicking on the local chain >Create Message>Success
                                                                                    --->Failure
    >Always
    Hope this resolves the problem tempervorly.I will get back to you once i have
    Or the permanent solution is
    Its big and also easy method to perform, by this you will be able to get all the options for a ABAP Program also.If you have any questions please let me know.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/creating%20an%20abap%20process%20type%20for%20process%20chains%20in%20bi.pdf

  • Trigger process chains using  ABAP program selection screen.

    Hi All
    I am loading flat files through process chains. My requirment is such that i need to create a ABAP selection screen so that user can load the flat file from his PC. when the user is loading the flat file i have to copy the file onto the application server folder and then display him the monitor errors/warnings (if any). when my data load is complete i need to archive the file with time stamp onto the application server folder.
    Please help me in this regard....
    thanks and regards
    sairam phani

    Hi,
    1. Using TA: AL11 create a folder in application server.
    2. There is a program to send the flat file to application server on r/3 side.
    Program Name:RC1TCG3Z.
    3. Regarding archiving...I have no idea.
    Regards,
    Vijay.

  • Trigger Process chains through ABAP program using selection screens

    Hi All
       I am loading flat files through process chains. My requirment is such that i need to create a ABAP selection screen so that user can load the flat file from his PC. when the user is loading the flat file i have to copy the file onto the application server folder and then display him the monitor errors/warnings (if any). when my data load is complete i need to archive the file with time stamp onto the application server folder.
    Please help me in this regard....
    thanks and regards
    sairam phani

    Hi sairam
    can you check this link hope this might help you out
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    Going thru your query hope i get the right   solution
    Thanks=points in SDN
    Sanjeev kumar hamsala

  • How to Trigger a Process Chain through ABAP Program

    Hi
    I have a Requirement to trigger a process Chain on 1st, 2nd and 3rd day of the month for 2 times in a Day.
    Can any one give me any idea, how i can do it by writing a ABAP program and triggering the Process chain.
    If anyone can share the Logic for ABAP program means, that will be helpful for me, as i dont have much expertise on writing ABAP program.
    Regards,
    Muruganand.K

    Hi,
    you can achieve this in a following way.
    DATA : v_date type sy-datum,
    v_day(2) type c.
    v_date = sy-datum.
    v_day = v_date6(2).+
    if v_day = '01' or
       v_day = '02" or
       v_day = '03".
    CALL FUNCTION RSPC_API_CHAIN_START.
    pass the name of the chain to this function module.
    hope this wil help.

Maybe you are looking for

  • Update, printer no longer working

    hi, i've had the 1.4.x series of CUPS for a while, and had to rmmod usblp to print. not a big deal. this is no longer working, and i'm not sure why. i've blacklisted usblp, still no dice. print jobs are permanently reported as: Processing - "Waiting

  • Client issue

    I'm wondering if there is any way to resolve this issue I'm having with the GW2014sp1hp1 (happened also with the sp1 client). I prefer to use the keyboard more than the mouse for a lot of my daily functions. Since moving to the GW2014 client, if I cl

  • Can't transfer photos with photoshop installed

    Hi, So strange, I was not able to transfer any photos from the iPhone 4S to my Mac while I had PhotoShop Express installed on the phone. I plugged the phone in and could not see the picutes in Dropbox (have the camera download enabled), iPhoto, or Im

  • What does this Application Uploader error specifically mean?

    Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. I don't know what it's telling me. Can someone tell me what it means?

  • Black screens

    when you use videora to convert files to mp4, and then they go to ur ipod and u wanna play them. my ipod screen goes black