Process chain - passing information between tasks?

hi
we are starting an info package to load data to PSA as a part of a process chain.
After the info package is executed we want to run an abap program. We want to pass the the request id which was generated when the info package was started, to the abap program.
Is there any way of doing this?
Regards
Murali

Hi Murali,
when you implement a custom defined process type for the execution of your report, you can check the contents of the signature table i_t_processlist in your EXECUTE method.
You might also want to call the GET_INFO (or another) method from the CL_RSSM_LOADING class to provide details about the InfoPackage executed, which is the implementation of the loading process.
   Cheers
     Andreas

Similar Messages

  • How can pass information between 2 par file in iView???

    Hello,using PDK i've have created an iview calling 2 .par file, the first par file contains a menu that the user selects a products and then when press load button generates a table with information. The table with information is generated in second .par file, that collects the information passed by the menu (through beans) and with a BAPI generates the table. I made it because the menu must be separated in one frame, and the table in other...(and the first frame must displace, how a html frame)
    The question, how can pass information between two par files or if are another method to made 2 frames????
    I'm using jsp,HTMLB .
    Thanks.

    Hi,
    try to have a look to the docs contained in this zip file.
    They explain how to implement a portal component, a portal service and how to implement comunication between portal components, using POM and other features.
    Maybe could be a good starting point for you
    the file is
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/component and service creation tutorial.zip
    Ciao
    Roberto

  • Process Flow - Pass paramters between activities

    Need to pass argument from one mapping/component to next piece. What is the way. Process Flow Editor does not seem to show OUT paramters.
    Pasting from a previous post
    Hi,
    I have a requirement to pass output parameter from a Mapping as input to another Mapping. These Mappings are tied together through a Process Flow.
    Start Proc1 -> Map1 -> Map2 -> Proc2 -> End
    Proc 1 will produce an output that will be used by Map1, and then Map1 will produce an oputput to be used by Map2, and so on till Proc2.
    Also, Mapping Output Parameter is not showing up in the Process Flow.
    What is the way to pass a parameter from one Mapping to next one one in a Process Flow?
    Any answers are most welcome.
    - Jojo
    Message was edited by:
    user467494
    Message was edited by:
    user467494
    Message was edited by:
    user467494
    Message was edited by:
    user467494

    Hi,
    What I have is a wrapper procedure that does a select from a control table. I would like to use this wapper procedure to drive the rest of the mapping by passing the parameter through the process flow.
    It makes no sense to do the same select directly as this would be bypassing the wrapper/interface routine.
    Would still prefer to have the ability to pass parameters between activities.
    Would anybody who is presently close to OWB be in a position to answer that. It is important if we want to continue to use OWB to provide us benefits than headaches.
    - Jojo

  • Access Process Chain Runtime Information

    Hi,  I'd like to add an ABAP program to the end of a process chain.  I'd like the ABAP program to be able to tell what Process Chain is currently being run and what Log ID is currently open or being written to.  Any Ideas how to do this?
    Thanks!
    Nevermind
    I think this would be where a custom process type would be appropriate..
    Thanks!

    Hi Kenneth,
    The table RSPCLOGCHAIN would give you the information regarding which chains are running/completed/failed etc.
    The table RSPCPROCESSLOG would give you, which process step in the process chain is actually executing.
    Once you know the Chain Name, for which you want to get the status, use the following function modules
    RSPC_API_CHAIN_GET_STATUS
    Gives you if a chain is running/completed/failed.
    RSPC_API_CHAIN_GET_LOG
    Gives you a detailed log of the process chain(Each steps)
    The tables mentioned above would give you the following information
    R     Ended with errors
    G     Successfully completed
    F     Completed
    A     Active
    X     Canceled
    P     Planned
    S     Skipped at restart
    Q     Released
    Y     Ready
         Undefined
    J     Framework Error When Ending (e.g. Subsequent Job Missing)
    Regards,
    Praveen.

  • Passing information between class

    Greetings Fellow Developers,
    I have what I believe to be a simple question but my brain is only thinking in procedural at the moment so I'm in a bit of a fix.
    I'm working on a midlet and creating an message book application
    I must pass informatin class mesaj to JSMS
    public class mesaj extends DisplayTextBox{
          private static String mes="";   
        public mesaj() {
            super("mesajınız",TextField.ANY);
       public  void setMesaj(){
            mes=getString();
        public static String getMesaj(){
            setMesaj();//there is problem with use static method
            return mes;
    public class JSMS extends MIDlet implements CommandListener{
       public void commandAction(Command c, Displayable d) {
             if(c==add){
                AddRecord(mesaj.getMesaj);
    }I have a problem using getMesaj method...
    can I passed information without non-static method
    thanx
    muratti32

    Hi,
    I think that your set and get methods are a bit wrong. Maybe they should be like this
    public void setMesaj(String m)
      mes = m;
    public static String getMesaj()
      return mes;
    }if you don't want to make static methods, you'll have to make an instance of the class, which methods you want to call.
    public class JSMS extends MIDlet implements CommandListener{
    private mesaj m = new mesaj();
       public void commandAction(Command c, Displayable d) {
             if(c==add){
                AddRecord(m.getMesaj);
    }kari-matti

  • Pass information between dom0 & domU thanks to web service API

    I have to build automation API in Java programming language for application deployment on virtualized infrastructures. Is there any way to pass information to application running inside the deployed virtual machine and to notify the host about some application's states? Everything using only the Webservice API...
    The principal examples I can give:
    For VMware (Virtual Infrastructure compliant products) & Virtualbox infrastructures, WS API give use the capability to set variables to retrieve them thanks to the guest tools ( vmware-guestd & VBoxControl )...
    For XenServer and Hyper-V, the only way we found to get that done is to directly write the variables in a part of the virtual machine configuration. Then, from the virtual machine, we need to connect to the XenServer/Hyper-V, identify the virtual machine which is currently running our application, and use it to retrieve the application configuration... The problem with the later is that we have to "hard write" the authentication information in the virtual machine, and to find a way to determine in which virtual machine the application is running ( this is done so far using NIC Mac address ).
    Because of the "light" documentation, i don't know if such a thing is possible for OVM manager...

    My mistake...
    on [http://download.oracle.com/docs/cd/E11081_01/doc/web.21/e14979/toc.htm|http://download.oracle.com/docs/cd/E11081_01/doc/web.21/e14979/toc.htm] , the method
    void      createPropertiesFileOnVirtualMachine(java.util.Properties props, VirtualMachine vm, java.lang.String propFileName)seems to do what I need...
    Now, because my test environment only allow PV Guests, I'd like to know if that also work for HW Guests?

  • Passing information between parallel Teststand sequences.

    The ExecutingCodeModulesInParallel example that came with Teststand 3.0 almost does exactly what I want. The example uses steps that run CVI. I am trying to create a LabVIEW equivalent of this example. Basically, I want a LabVIEW Display panel 1 to write to FileGlobals.Counter1 and a LabVIEW Display panel 2 to read from it during parallel execution.
    Right now, I can’t seem to get the information to pass between the two displays.
    Once I figure out how do this, I believe I will be able to apply it my specific task.
    I’m a newbie when it comes to Teststand and LabVIEW. Any help would be greatly appreciated

    Hi,
    The problems is your VI loops dont actual set the FileGlobals.Finish1 boolean and Counter1 until the stop buttons are press by which time you probably have missed them and like wise your other VI only reads the TestStand variables when the VI is launched.
    You need to call the PropertyObject.SetValBoolean method either by using the appropiate VI from the Teststand palette or via the Invoke node. In the other VI you will have to call the PropertyObject.GetValBoolean method and GetValNumber method. This also means you will need to pass the SequenceContext to both VI's.
    Have a look at the original example again and you will spot the relavant calls in the two C functions.
    I will post you your modified VIs later today.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Passing information between servers

    There are two weblogic servers that talk to each other - only URL redirection controlled
    via proxy settings.
    The first one is the main server and the second one piggybacks on it. During startup
    of the first server, certain information is read from the database and then cached
    into a data structure - Hashtable.
    At the startup of the second server the same information needs to be cached as
    well. Instead of hitting the database again to get the information, is there a
    way to just get the Hashtable on the main server and copy to the one on the other
    server?

    Depending on hown you call the forms, you may not need to pass variables. If you open all 3 forms in one session, a commit or rollback is performed for all open windows. See the open_form built-in online help about session_mode:
    NO_SESSION (The default.) Specifies that the opened form should share the same database session as the current form. POST and COMMIT operations in any form will cause posting, validation, and commit processing to occur for all forms running in the same session.
    SESSION Specifies that a new, separate database session should be created for the opened form.

  • How pass information between different Form

    Hi all,
    I have the following situation for the moment in my little project in Scout with Luna:
    I have a main form that I use for different search in two different DB Oracle to compare the value and a second one where the users can modify the configuration, for example the DB connection info, etc.
    The main form obviously depends directly from the information defined in the second one.
    Now my problem is: find the better way to pass the information from the configuration form to the main form.
    I hope I was clear in my request.
    Thanks in advance for any help.

    You don't specify exactly what your setup is, but if your main form is creating and showing the second form, it should be fairly easy to make the second form's formData available to the main form:
    // some (incomplete) code snippets
    class MainForm extends AbstractForm {
    SecondFormData secondFormData = null;
    public void showSecondForm() {
    SecondForm form = new SecondForm();
    form.startNew();
    form.waitFor();
    secondFormData = form.getFormData();
    // from now on, the last state of SecondForm is available in main form
    If this is not what you wanted to know, you'll need to be a bit clearer in what it is that you want to achieve.

  • Process Chain for Consolidation Functions

    Hi Team,
                  We have created a process chain for consolidation function as required by client, but we want the process chain to check the preceding  task status and only on successfully completion it should  proceed to next task. Is there a standard program or function module which does this, please update.
    Also we would like to pass dynamic permanent parameter values for the variants of task.
    Thanks in advance.
    Kind Regards
    Sridhar

    Hi Collet,
                 We have created a process chain  as  below:
    Period Initialization - Data Collection -LDS - Calculation of RE - Validation of RFD - Interunit Elimination -COI.
    I have created the Separate variants for  each of the above functions with program UCBATCH01.and the process chain is working fine.
    But we want the process chain to check the task status before it proceed to next task execution and stop if any error occurs in the task. Also we want the  dynamic selection of parameters from Permanent Parameters of Consolidation Monitor.
    Kind Regards
    sridhar

  • 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.

  • How to implement an abap program in a process chain

    Hi,
    I have an ABAP Program which uploads data into a table.
    Now I want to implement this abap program in a process chain.
    Please could anyone tell me how this can be done.
    Thanks & Regards,
    Sushanth H.S.

    Hi,
    A process chain is a background task for processing data into a BW instance .
    I want to know how to integrate an abap program into the process chain.
    Regards,
    Sushanth H.S.

  • Process chain cancelling

    Hello,
    As part of our nightly loads in our bw production system, we have batch job scheduling software that calls an initial process chain (ZRT_CTRLM_MD_RUN_1).  That initial chain then calls our main master data chain (ZRT_MD_DAILY_1).  The initial chain contains a start process with setting 'Start using meta chain or API' and a process to call the main process chain.                                  
    The initial chain sometimes fails on the step where it calls the main process chain(ZRT_MD_DAILY_1).  The main process chain does not actually start when this happens, so we just run it manually. 
    This problem occurs sporatically, and there seems to be no pattern.  In the past month, its happened approximately 5 times.  Most nights, the main process chain is called successfully.
    I looked in ST22 and here is some of that info:
    Error analysis                                                                 
        Short text of error message:                                               
        No start information on process CHAIN                                                                               
    Technical information about the message:                                   
         Diagnosis                                                                 
             For process CHAIN, variant ZRT_MD_DAILY_1, the end should be logged   
             for instance 442ZMLDOQOAP58NTEMM1Y31BM under the log ID              
             442ZM01K2JZTEMMX743Y0MLPU. However, no start has been logged for    this process.                                                         
         System response                                                           
             No log has been written. The process (and consequently the chain)     
             has been terminated.                                                  
         Procedure                                                                 
             If possible, restart the process.                                     
    Any suggestions would be greatly appreciated.  Although this problem does not happen very often, we would like for it to not happen at all.  And currently we have no explanation.
    Thanks
    Charla

    Does the Main Process Chain run other subchains?  If so, you may have an issue of not enough background processes available at the time the main chain starts.
    Note 621400 - Number of required BTC processes for process chains

  • Talking to different forms and passing information

    Hi all
    I am using netbeans to make my hci.
    now in my form1 i have a button that when pressed takes me to form2 (class2) on form2 i want to press a button to change the color of button in form 1. as well as this i want to pass information between the two forms.
    can any one help
    thankyou in advance
    james_bond

    HCI?
    human computer interation?
    what happened to GUI?

  • Q: Best Method for TCL scripts to pass info between routers?

    I want to have routers tell each other how busy their links are.  Whats the best method to pass information between TCL scripts running on different routers?
    Thanks!
    Tim

    Likely the easiest approach is to use SNMP traps from one router to another.  See https://supportforums.cisco.com/message/3713232#3713232 for an example.

Maybe you are looking for