Create Process Chains and add Process Types using ABAP

Does anyone in here have experience in creating or changing a full Process Chain including the Process Types?
The reason is, that we have a lot of source systems with "similar" loads.
We already have an ABAP that can copy the chain and replace the InfoPackages. But we can't find a way to create/change a process, e.g. 'Hierarchy Save', 'PSA Delete' etc.
Any ABAP samples is highly appreciated!
Best Regards Jakob

Hello Jakob
did you find already this how to paper: "How to ... Implement custom process types" ?(https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/72e0e1ed-0c01-0010-74bc-b397c8c4dadc)
It has a code sample in the appendix.
Hope it helps,
regards
Martin
Message was edited by: Martin Lehmann

Similar Messages

  • 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

  • Error in process chain - AND

    Hi Experts,
    I am facing problem in process chain execution in the AND node. The error is
    This AND process is not waiting for event RSPROCESS, parameter 4941U4Q6QKIR8RFKMAZWYP5JB
    I checked the log in ST22 but there is nothing , also no error msg in display msg or maintain variant.
    is there any solution?

    Hi Soniya.....
    The problem is due to the successor process is not activated, again try to
    activate the process chain and schedule it.........
    As a work around.........if instance and variant is already generated........then continue the process chain using the program : RSPC_PROCESS_FINISH.......
    otherwise copy the rest of the chain and execute............To do this open the chain using RSPC1>> in the top where we write tcode.........there write COPY.........Give a name to the new chain.....remove all the processes till AND process...........then create a new Start process..........make the start condition as immediate..........and schedule the chain...
    Hope this helps......
    Regards,
    Debjani.......

  • URGENT:Process Chains And events Related

    Hi All,
                  I have created a new process chain which is a normal ODS Process Chain.For that I started with the start Process and then created event in sm62 to trigger the start of process chain.Similarly,I have at the end of the process chain ,I have added 2 ABAP Programs ,one to mark the successful completion of process chain and another to mark the Error or Unsuccessful completion.For these programs,I maintaines Processvariants and here, we have utility Programs.So used the relevant utility program and created a program variant and Events ,One for successful completion of process chain and another to mark the Error or Unsuccessful completion.
    But ,Now ,I find that when I trigger the eventin sm64,I find that the process chain is not being run.Is that any problem with the events I created.This is the first i am involved  with creation of events in SM62.Can anyone help me in  this regard.
    Can anyone,tell me thatdo we need to do anything else apart from  Creating events .Imean like assigning jobs and then Programs in the Step of that Job.
    Please Kindly help me in this regard.It is very very urgent for me.Thank you.Points will be assigned.
    Regards,
    Samir

    Hi,
    I have tried in the same way you have said .I have maintained as after event and activated and scheduled.after that  i triggered the event insm64.But still,I am not able to see the Load in RSMO.
    I have just checked out in sm37.And found that some jobs have failed.I think this might be the reason for the Process chain to not run.
    I am just pasting the error msg and solution.
    Job BI_PROCESS_ABAP, waiting for event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F, has no predecessor
    Message no. RSPC003
    Diagnosis
    Although job BI_PROCESS_ABAP has been started by event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F and is recognized in the process chain, the current run for this process has no job preceding it.
    This is why the system was unable to determine a log ID, and the chain is broken.
    System response
    The job has been terminated.
    Procedure
    With the exception of the start process, each process must have a process that precedes it.
    Then Another error for the another cancelled job is
    Job BI_PROCESS_OR, waiting for event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF, has no predecessor
    Message no. RSPC003
    Diagnosis
    Although job BI_PROCESS_OR has been started by event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF and is recognized in the process chain, the current run for this process has no job preceding it.
    This is why the system was unable to determine a log ID, and the chain is broken.
    System response
    The job has been terminated.
    Procedure
    With the exception of the start process, each process must have a process that precedes it.
    Please kindly help me if you understand the problem.
    Thanks,
    Samir

  • Difference between process chain and event collector

    what is the difference between process chain and event collector and also plz explain about metachain.In what scenarios they are used.
    Many Thanks,

    hi,
    have a look at these help docs
    Process Chain:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Event Collector:
    http://help.sap.com/saphelp_bw30b/helpdata/en/c1/6c0538c7cb583ae10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
    Creating an event colector:
    http://help.sap.com/saphelp_bw30b/helpdata/en/45/253d3873130057e10000009b38f842/content.htm
    regards
    sham'm

  • Process Chain and CPS

    Hello all,
    We are currently having a problem with submitting process chains. When the chain runs it does not display any of steps in the process chain and where they are running from the job we submit (RSI_START_BW_CHAIN) So what we see is that the PC has been submited and completes in say 17seconds...however everything is still running on the system...for example our CIF PC runs for 3hrs but alls we are able to see is that the job executed from CPS with no problem. I've been digging around trying to find clear documenation about PC and CPS with little luck. Am I approaching the job submission incorrectly? We are on 7.0.3.

    Hello,
    You should be using the RSI_RUN_BW_CHAIN job to start process chains. Maybe you can try that first. For the rest things should be straight forward. Depending on the BW backend systems you might encounter some issues, with BW 7 the synchronization has changed and you would be better of using one of the latest 7.0.4 versions (SP6 has just been released).
    Regards Gerben

  • Process chain and Control M

    Hi Gurus
    We are designing process chain for our BW solution.
    We have identified the dependancies of various loads which includes flat file loads and loads from R/3.
    Now we would like to control ERP and BW jobs by Control M .
    I have the following questions:
    1. Which portion of BW process chain do we need to plug in to Control M. ? Do we need to connect the Meta chain to control M or different process chains to Control M?
    2.When we create Process chain for BW, what is the best practice? Is it good to create small chains and connect them via Meta chain? or we have to create small chains only?
    3. Can we include R/3 extraction Jobs and V3 Jobs in our BW process chain? so that they will trigger when we run the process chain?
    4. If we decide to run V 3 jobs after every half an hour on R3 side then how often we have to extract data to BW? and how to catch correct delta without missing single record?
    I would appreciate if you can help me with your knowledge.
    Thanks
    Kris

    Hi Kris,
    Control M is a third party scheduling tool provided by BMC software.
    1) You have option to either include a meta chain or individual chains in Control  M .
    2) It depends on how your data is extracted. If you have any dependecy jobs on sourcre system, then it is better to create small process chians and include them along with your dependecy jobs in Control M
    3)you can include R/3 dependency jobs and V3 jobs in Control M. Once those jobs are finished you can run BW process chains via Control M.
    4)You have several scheduling options availalbe in control M to take care of your BW and R/3 jobs.
    V3 jobs collect data from R/3 application tables and fill R/3 delta queue(RSA7). when you run BW process chain it will collect all the data available from R/3 delta queue.
    If both jobs are running at same time, then it is better to apply some wait time on BW jobs(in process chians).
    hope this helps

  • Process Chain and Info Package Transportation?

    Hello All
    Case 1
    How to transport a Process chain and a Info Package Individually?(<b>first time from DEV to QA</b>)
    Case 2
    I have 9(<b>IP1 to IP9</b>)infopackages and 3(<b>P1 to P3</b>) Process chains and in each Process chain I have 3 Info packages like IP1,IP2,IP3 in P1 and so on.,
    Now is it necessary to transport Infopackages and Process chains individually or is it enough to transport Process chains only(If v transport Process chains will the Infopackages will also transport)then how to assign a request to each one?
    What I mean is,all <b>Infopackages are in $TMP(Package</b>),and Process chain is also <b>$TMP</b>,Now is it necessary to change the package for Infopackages as well as Process chain and Tranport only PC,Iam confused here,can anyone help me out?
    Many thanks
    balaji

    Hi Balaji,
    If you have created new infopackages then you have to transport them. It is not necssary to transport the info-packages if you have them in the process chain but have not changed them.
    Also you cannot transport any BW object with $ tmp package. Assign a package and then transport the objects.
    The best way to transport the process chain is from the RSPC screen. Click the transport button there and collect all the objects and transport them.
    Bye
    Dinesh

  • I want to know what I need and then how to take a pdf form I created in word and add the blue boxes so that anyone can type into my form

    I want to know what I need and then how to take a pdf form I created in word and add the blue boxes so that anyone can type into my form

    Hey john@adobe,
    Could you please specify how exactly have you created your form.
    You might need to have Acrobat installed on your computer to convert a word document to PDF.
    Do you have Acrobat installed? If yes, what version? If no, then please try using the trial version of Acrobat DC (latest version) and access its features:
    Download Adobe Acrobat free trial | Acrobat Pro DC
    Also, let me know what kind of blue boxes are you talking about.
    If you want others to edit your PDF form, then you need to make it a fillable form by choosing 'Form Editing' option from Tools pane.
    Let me know more on this so that I can help you out.
    Regards,
    Anubha

  • Process Chains - How to remove prcesses using a report or FM

    Hi Friends,
    Is there a way to remove porcesses from a Process Chain without using TC RSPC?
    I've to remodel huge Process Chains and would like to avoid using TC mentioned.
    I'm knowing IDs of Process Chains and processes to be removed and searching
    for a program doing removing automatically. Any suggestions?
    Thanks in Advance & Regards
    Joe

    Thanks Vishal and M.,
    Of course you're right, and exactly this was the reason why I didn't want to delete records from table RSPCCHAIN
    manually or by a customer report. MY idea was to use a standard program from SAP, 8Mtehod, FM,...).
    I've to confess i was to lazy to debug RSPC to find the place were deletion of processe is coded.
    I think using this would be a proper solution for my issue.
    It really sucks to to this in GUI witin huge PCs. Just to poszion cursor on the right place....
    Regards
    Joe

  • Process chains and event collectors

    Hi All,
    I need help in Process chains and event collectors.I joined in new project and this client using process chains and event collectors and they ask me to work on these areas.I didnt work on this as of now So please send any docs on this area and explain the procedure and technology methods behind this concept.I would really appreciate If someone can send me the full documentation on this concept as I couldnt find any  any docs on this.
    Thanks,
    Ras

    Hi Ras,
    Process chains are a sequence of processes to be performed. The are put together in a chain with the necessary dependancies (process A needs to finish before B can start) and conditions (if A and B are successful then C else send an email), and then scheduled. They usually revolve around processes related to data loading: Load, activate, roll up, compress etc.
    Please take a look at this links/threads for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    process chains
    process chains
    Process chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    Process Chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    Re: Ho to make a variable mandatory or optional?
    There are lot of threads available in the SDN....go through them.....hope it really helps you in getting understand what are process chains and Events included in that.
    Assign points if it helps you.
    Regards,
    Sreedhar

  • How use jndi to create a organization and add a  user  to it.(ÈçºÎ´´½¨Ò»¸ö×éÖ¯µ¥Î»)

    how use jndi to create a organization and add a user to it¡£THANKS£¡
    ÈçºÎ´´½¨Ò»¸ö×éÖ¯µ¥Î»,²¢½«Ò»¸öÓû§Ìí¼Ó½øËü¡£Ð»Ð»£¡

    Hi,
    The command above about creating a group only works for the root site of the site collection, because the scope of the user group is site collection level, these groups
    can be used in all the sites in this site collection.
    With the existing groups in the root site, we can add users into them and grant specific permissions of a specific sub site to these groups.
    Here is a demo about how to assign permission to a group using Client Object Model(though in C#) for your reference:
    http://www.c-sharpcorner.com/UploadFile/54db21/set-permission-to-group-in-sharepoint-2010-programmatically/
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to create and add table type to a DDIC Structure in sap 3.1H

    How to create and add table type to a DDIC Structure in sap 3.1H

    How to create and add table type to a DDIC Structure in sap 3.1H

  • How to find deleted process chain and query

    Hi All
    Some body has deleted one process chain and one query from development system
    how can i know who has deleted these?
    is there any table where deleted process chain and queries will maintain????
    Thanks & Regards,
    Krishna
    Edited by: krishnamurthy g on Sep 1, 2008 5:33 PM

    Hi,
    Usually its totally in tractable to find a deleted chain :
    But you can try out with the following options:
    1> T-code SLG2 .
    2> T-code SLG1 - find out who was logged on to the system on that particular client at that time.
    3> Try out the following tables in se16 :
    RSPCLOGS           --- Application Logs for the Process Chains
    RSPCLOGCHAIN    --- Cross-Table Log ID / Chain ID
    RSPCCOMMANDLOG --- System Command Execution Logs (Process Chains) .
    Hope it will be expedite.
    Thax & Regards.
    Vaibhave Sharma

  • Authorization objects for Process chain and Data source in BW 3.x

    Hi,
              Can any one tell me the authorization objects regaring process chain and Data source in BW 3.x versions. I guess we have auth objects for both of them in BW 3.5 that is S_RS_PC AND S_RS_DS .
    Can any one help me solving this issue
    Thanks
    Bharat

    Hi bharat
    I dont thin these objects are part of 3.0
    check from SU03 weather these objects are present in 3.o box
    In 7.0 they exist:
    http://help.sap.com/saphelp_bw33/helpdata/en/8b/134c3b5710486be10000000a11402f/frameset.htm
    TO see weather these objects exist:
    Go to Tools -> Administration ->User maintenance ->Information System -> Authorization objects -> Authorization objects by Complex Selection Criteria -> By Object Class. For the object class, enter either RS (for Business Information Warehouse objects)
    OR
    S_BCE_68001413 (Tcode for this rep)
    Thanks,
    Raj

Maybe you are looking for

  • GR Error message

    All While doing GR for PO, getting below error message : " Edit the entries for the blocking functions completely" Can anyone suggest please . Thanks Nag

  • How to create new file and popup a Save As Dialog?

    I want to create a new file and then popup a Save As Dialog to save the new created file. I have tried to use the JFileChooser as the following code: ============================================= JFileChooser jfc = new JFileChooser(); File f = new Fi

  • Visual Basic - Number of records exported?

    I am using Crystal Reports XI and can not find a a way to tell how many records are exported when running the exportToDisk?  Basically, I want to                 cr.SetParameterValue("Paremeter1_id", nId)                 cr.ExportToDisk(CrystalDecisi

  • How to use both digital and analog input modules in the same worksheet - MCC USB1208LS

    Dear all, Hi, I am Imran. I am using MCC USB1208LS. I have created the worksheet using digital input module as below and able to execute (run). But when i add another analog input module in the same worksheet and executes, An error Message pops-up

  • Distribution list limits

    According to http://support2.microsoft.com/default.aspx?scid=kb;en-us;238569&Product=out the distribution list limit is based on the property size limit of the computer that is running Exchange Server. The property size limit for an Exchange server i