BPM and own container variables and their usage in transform

Hi folks,
I have a question about the usage of own container variables within the transform step of a BPM.
I want to know whether I can get the actual content of such a container variable within the mapping being done in the transform step.
I have been looking into this forum upon related topic(s) but somehow they all seemed to go about being able to get standard values like messageID etc within the transform step and NOT about getting your own variables ... It is clear that getting those standard variables will not work directly ( not without actually getting them into an XML payload before entering the BPM) ...
So basically I want to define global BPM variables, populate them with some content during BPM execution and then at some point reference those container variables in the mapping ( prob via java code ) in a transform step ...  Is that supported ? 
Regards,
Steven

Hi,
>>>So basically I want to define global BPM variables, populate them with some content during BPM execution and then at some point reference those container variables in the mapping ( prob via java code ) in a transform step ... Is that supported ?
no, this is not possible
you can only compare those varabiels with some of your message tags (in a loop step for example)
Regards,
michal

Similar Messages

  • My downloads through Firefox don't actually download - "Open" and "Open containing folder" and greyed out when I right click the downloads in the downloads menu

    I've had this problem for quite a while. The downloads don't actually download. Nothing comes up in my downloads folder (and I've checked where they are supposed to be stored, I am checking the right place). In my downloads popup through the Firefox client, if I right click any download, both "Open" and "Open containing folder" are greyed out. I have tried using both Firefox 18 and the current Nightly client, and have reinstalled multiple times.

    Maybe this will look like a "take aspirin" suggestion, but based on experience so far, The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Static and non-static variables and methods

    Hi all,
    There's an excellent thread that outlines very clearly the differences between static and non-static:
    http://forum.java.sun.com/thread.jsp?forum=54&thread=374018
    But I have to admit, that it still hasn't helped me solve my problem. There's obviously something I haven't yet grasped and if anyone could make it clear to me I would be most grateful.
    Bascially, I've got a servlet that instatiates a message system (ie starts it running), or, according to the action passed to it from the form, stops the message system, queries its status (ie finds out if its actually running or not) and, from time to time, writes the message system's progress to the browser.
    My skeleton code then looks like this:
    public class IMS extends HttpServlet
        public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
            doPost(request, response);
       public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
          //get the various parameters...
             if (user.equalsIgnoreCase(username) && pass.equalsIgnoreCase(password))
                if(action.equalsIgnoreCase("start"))
                    try
                        IMSRequest imsRequest = new IMSRequest();
                        imsRequest.startIMS(response);
                    catch(IOException ex)
                    catch(ClassNotFoundException ex)
                else if(action.equalsIgnoreCase("stop"))
                    try
                        StopIMS stopIMS = new StopIMS();
                        stopIMS.stop(response);
                    catch(IOException ex)
                 else if(action.equalsIgnoreCase("status"))
                    try
                        ViewStatus status = new ViewStatus();
                        status.view(response);
                    catch(IOException ex)
             else
                response.sendRedirect ("/IMS/wrongPassword.html");
    public class IMSRequest
    //a whole load of other variables   
      public  PrintWriter    out;
        public  int                 messageNumber;
        public  int                 n;
        public  boolean         status = false;  //surely this is a static variable?
        public  String            messageData = ""; // and perhaps this too?
        public IMSRequest()
        public void startIMS(HttpServletResponse response) throws IOException, ClassNotFoundException
            try
                response.setContentType("text/html");
                out = response.getWriter();
                for(n = 1 ; ; n++ )
                    getMessageInstance();
                    File file = new File("/Users/damian/Desktop/Test/stop_IMS");
                    if (n == 1 && file.exists())
                        file.delete();
                    else if (file.exists())
                        throw new ServletException();
                    try
                        databaseConnect();
                   catch (ClassNotFoundException e)
    //here I start to get compile problems, saying I can't access non-static methods from inside a static method               
                   out.println(FrontPage.displayHeader()); 
                    out.println("</BODY>\n</HTML>");
                    out.close();
                    Thread.sleep(1000);
            catch (Exception e)
        }OK, so, specifially, my problem is this:
    Do I assume that when I instantiate the object imsRequest thus;
    IMSRequest imsRequest = new IMSRequest();
    imsRequest.startIMS(response); I am no longer in a static method? That's what I thought. But the problem is that, in the class, IMSRequest I start to get compile problems saying that I can't access non-static variables from a static method, and so on and so on.
    I know I can cheat by changing these to static variables, but there are some specific variables that just shouldn't be static. It seems that something has escaped me. Can anyone point out what it is?
    Many thanks for your time and I will gladly post more code/explain my problem in more detail, if it helps you to explain it to me.
    Damian

    Can I just ask you one more question though?Okay, but I warn you: it's 1:00 a.m., I've been doing almost nothing but Java for about 18 hours, and I don't do servlets, so don't take any of this as gospel.
    If, however, from another class (FrontPage for
    example), I call ((new.IMSRequest().writeHTML) or
    something like that, then I'm creating a new instance
    of IMSRequest (right?)That's what new does, yes.
    and therefore I am never going
    to see the information I need from my original
    IMSRequest instance. Am I right on this?I don't know. That's up to you. What do you do with the existing IMS request when you create the new FrontPage? Is there another reference to it somewhere? I don't know enough about your design or the goal of your software to really answer.
    On the other hand, IMSRequest is designed to run
    continuously (prehaps for hours), so I don't really
    want to just print out a continuous stream of stuff to
    the browser. How can I though, every so often, call
    the status of this instance of this servlet?One possibility is to pass the existing IMSRequest to the FrontPage and have it use that one, rather than creating its own. Or is that not what you're asking? Again, I don't have enough details (or maybe just not enough functioning brain cells) to see how it all fits together.
    One thing that puzzles me here: It seems to me that FP uses IMSReq, but IMSReq also uses FP. Is that the case? Those two way dependencies can make things ugly in a hurry, and are often a sign of bad design. It may be perfectly valid for what you're doing, but you may want to look at it closely and see if there's a better way.

  • What is a container variable in BPM (Exchange Infrastructure)?

    In BPM scenario with Exchange Infrastructure, I have come across container variable. What is this container variable? How it is used in BPM?
    In another instance I read that to trigger a alert in BPM I have to create a container variable. So I have another question, What steps I have to follow to create a container variable and trigger alert?

    Hi,
    To create alerts in XI , check this blog,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    ALso, if you are on SP14 and above, check this note 913858.
    The container variables that are accepted while createing Alerts in XI are available on this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    Regards,
    Bhavesh

  • Accessing a BPM Container Variable Inside A Mapping

    Hi
    Is It possible to access a BPM container variable (Simple type say a String )in a Mapping (message mapping). This mapping  is present in the same BPM itself. Is it possible to access the variable in the mapping.
    My basic objective is i need to read and update values between My message mapping and Bpm container simple type variable. I read a value  from BPM variable and then update this variable and again write it back to the BPM container variable and then again read it in a loop . Is it possible to do this exchange.

    Hi,
    The only way is to do with mapping. Totally you need to add your conatiner values into message and then thru mapping you can access.
    Using Container Operation-Append
    http://help.sap.com/saphelp_nw04/helpdata/en/59/e1283f2bbad036e10000000a114084/content.htm
    Regards,
    Moorthy

  • Get BPM Container Variable?

    Is it possible to get the value of a BPM simple type container variable at Mapping time?

    Hi Ruben,
    you can use a trick:
    - datatype: extend the source container with one field (your simple type)
    - datatype: make all fields optional (0-1 or 0-unbounded)
    - process: create a new multiline container from this type
    - tranformation: fill the one line container with simple type
    - container operation: append to multiline
    - tranformation: fill the one line container with your message
    - container operation: append to multiline
    - transformation: merge the multiline to single-line
    - transformation: Now you have the value of your simple type in an additional field
    Regards,
    Udo

  • Custom variables and tops

    Hi
    I have some doubt about the cloning.what is the purpose of creating the custom tops and the custom variable in the oracle apps 11.5.10.2/please provide me the steps to create the custom top and the custom variable and also say me if we we have performed cloning will the custom tops and the custom variables will remain as such or we have to recreate them or its not necessary.please provide me the details
    Regards
    Aram

    Aram,
    Please see old threads, you will find all the details/docs/links in those threads.
    Custom Top
    http://forums.oracle.com/forums/search.jspa?threadID=&q=custom+top&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • BW-Query with hierarchy variable and webi-prompt

    Hi,
    I think I've got a quite simple question.
    I've got a SAP-BW-Query and a hierarchy variable, and some none hierarchy variables.
    All Variables work in the webi-prompt.
    For the none hierarchy variables I've got the chance to search for values in the LOV, but I can't search for
    values in the hierarchies.Can I enable this function to search?
    Kind regards
    Lars

    Hi
    I post the error once again. I made an easier query and i saw that last time the forum did some strange things.
    A database error occured. The database error text is: Die MDX-Abfrage
    SELECT { [Measures].[DC59N8GR349ETCCV3ZHIFFWGC] } ON COLUMNS
    FROM [ZTESTM01/Z_ZTESTM01_TEST5_VARIABLE]
    SAP VARIABLES [!V000002] INCLUDING [0FISCPER].[V62009001]
    konnte nicht ausgeführt werden. Fehler Specify a value for variable
    MMEP_FISCPER. (WIS 10901)
    The query runs perfect in RSRT.
    When i put the statement
    SELECT
    { [Measures].[DC59N8GR349ETCCV3ZHIFFWGC] } ON COLUMNS
    FROM [ZTESTM01/Z_ZTESTM01_TEST5_VARIABLE]
    SAP VARIABLES [!V000002] INCLUDING [0FISCPER].[V62009001]
    in MDXTEST, it gives a result.
    Best regards,
    Florian

  • Extract Variables and Values out of a String

    Hello Everbody!
    I have a question, hope that anyone can help me.
    I have a string of this kind: "frame= 2255 q=0.0 size= 2739kB time=75.0 bitrate= 299.3kbits/s"
    Know I want to deconstruct it and extract the variables and
    values written in there. There is some Whitespace in it.
    After the extraction it have to look like this:
    frame=2255
    q=0.0
    Greetz Christian

    What is a StringTokenizer?http://java.sun.com/j2se/1.5.0/docs/api/java/util/StringTokenizer.html
    Can you give me an
    example? Would be great! http://www.google.com/search?q=java+stringtokenizer+example
    You can first use space as the delimiter, to get tokens
    a=b
    c=d
    etc.
    Then you can tokenize each of those tokens on =.
    However, this doesn't work if you can have spaces around the = or inside the values:
    a = b
    c="d e f"
    If you can have this, you'll have to take a different approach. String.split might serve you better in that case, but you'll have to learn a bit about regex first.
    Sun's Regular Expression Tutorial for Java
    Regular-Expressions.info

  • Container Variable value not reflected in Alert message

    Hi All,
    In BPM, i am trying to set an Alert message which will send the message in alert Inbox. Here i have stored a value from the message in a container variable. This Container variable value is used in the Alert message in the form of &variable&. But whenever i specify container variable value, it is not reflected in the Long text of Alert Inbox. In Alert category i have also checked the Dynamic text. Still it is not coming.
    Can u suggest what is the possible solution for this.
    Thanks in advance
    Ashish

    I was able to get the Alert Message by changing container variable from "Block " to "Process". But It was containing the value of the first message.
    Actually i am having a scenario in which i am transforming a File message input into multiple messages based on its PO number using multi mapping. These messages are send as IDOCs using Parrallel for Each block, where i store the PO number in the container variable and use it in alert message. So for that i have to use this block name as container and not as a Process.
    Can anybody tell me why this Container Variable value is not reflected in the alert message.
    Thanks in advance
    Ashish

  • How to read container variable in UDF

    Hello expert,
    I have created a container variable(var_callerId) in an integrationprocess.
    In a mapping I want to read the container variable with an UDF.
    Can anyone send me the code for the UDF please ?
    I can't find the solution in any post message / blog.
    Thx for your help!
    Best regards,
    Juergen

    Hi navneet,
    thanks for your fast reply.
    Let me explain why I wanted to use container variables:
    (Perhaps there is a better way to fix the requirement)
    I've following IP
    Message Interface (input)
    <getData>
    <callerInfo>
    <callerID>SYSA</callerID>
    <SessionID>43545455545355</SessionID>
    <number>3434344334</number>
    </callerInfo>
    </getData>
    Then I have a mapping (<number>) to call a webservice.
    I get the data from the webservice.
    At last I will send the data back to the business System.
    But I need the both tags from the input interface (SessionID, callerID) again, to send it back.
    I tried a mapping  to map sessionID and callerID from the input interface  to the output interface, but it doesn't work.
    So I thought I can store the sessionID and callerID in a container variable and in a mapping I will get it back with an UDF.
    I think there should be a possiblility to get the stored value from the container variable inside the IP. But I don't find any solution.
    I don't understand your solution with the global container. How can I access to the container variable(IP).
    Thx for your help
    Best regards
    Juergen

  • Sync interface as container element, And Sync Rec in BPM

    Hi Everyone,
                I am trying to implement a scenario with sync RFC to Sync SOAP using BPM.
      RFC <- -> BPM <- -> SOAP
    How do I implemnt this scenario, cause if I am not mistaken the first receive step in the BPM can only be asynchronous.
    Also when I declare container variables in BPM, it lets me choose only from async interface and does not display synch interfaces. So iam only able to create container variables of abstract asynch type.
    Please advice.
    Regards,
    Ashish

    Guys here's why I  want to use BPM:
    I am implementing a scenario wherein:
    1) Data is passed from R/3 to xi and then to a web server.
    2) From webserver the updated data is sent back to xi.
    3) A particular field is boolean checked in XI, if true the data is sent back to webserver.
    4) and then again the updated data is sent back to r/3 via xi.
    R/3 ---> XI ---> Web Server ---> XI -(If condition true)-> Web Server ---> XI ---> R/3
    R/3 ---> XI ---> Web Server ---> XI -(If condition false)-> XI ---> R/3
    Start > Receive (Async) > Send (Sync) > Send (Sync. This step only if boolean true) > Send (Async) > Stop.
    Also i am using BPM because I am implementing double mapping, i.e Message1>Message2>Message3.
    Regards,
    Ashish

  • BPM Container Element and Container in UDF Relation

    Hi,
    I am creating a BPM with container elements. Can I access this container variable value in a Java based mapping User Defined Function. If so, can you please let me know how can I do that.
    Thanks,
    -Padmaja

    Hi Padmaja,
    q1 -Is the target message same in all the cases with different values?
    q2 - Also, after this message(with different content based on the where it is created from) is created is sent out or is it used some where further again in the BPM?
    i am also assuming you are above SP16..
    If the answer is yes to q1 and no to q2, you can achieve this quite easily.....from each of the 3 places(success,failure and deadline)....have a send step each with the source message...in the send step you should have the "ConversationID" field filled with values which distinguishes the place from it is is send....now in the interface determination attach one mapping and in that mapping using a UDF you can access the Conversation ID from mapping variables....and you can manipulate your output message..
    I have made lots of assumptions without knowing your scenario..check it out if it helps...
    Thanks & Regards,
    Renjith

  • List of variables and their classes from working script?

    I have a working script that has many variables containing finder references and file path descriptions as strings or Unicode text. It is not easy to remember what these variables refer to. Is it possible to get a listing of all of a scripts variables and their respective class?

    The only way I've seen to do this is with Script Debugger, an alternative script editor that has significant debugging tools such as breakpoints, stepping, variable inspection and more.

  • HT4436 we have 5 devices on one itunes account how do I give them each their own icloud account and still share the itunes account?

    we have 5 devices on one itunes account how do I give them each their own icloud account and still share the itunes account?

    You need a unique AppleID for each iCloud account.  So grab some free gmail, hotmail, aol, yahoo or whatever email addresses to make five new AppleIDs.  Now, everybody make an iCloud account for themselves, and keep the existing shared AppleID and password just for use in the iTunes and App Stores.  You can also each use your own unique AppleIDs to make iMessage accounts and keep those separate as well.

Maybe you are looking for

  • What is difference between BI & BOJ and what is the best roadmap

    Dear Sir, I am confussed about as what is the difference between SAP BI /BW implementation  appraoch or BOJ approach . Say if a company presently running ECC6 , want to go for implementing BI functionality , so that users can use effectively the SAP

  • Best hard drive for use with Time Machine

    Hi, Has anyone determined what the best external hard drive is for use with Time Machine? Is there a particular one that works exceptionally well with Time Machine, or is it much of a muchness? I'm looking for a Firewire 400 & Firewire 800 drive that

  • How can I have small video embeds play full screen?

    I have a design with embedded videos (pulling from my photo album). In the design they fit inside other elements, often at a reduced size. When I tap them in a presentation, I'd like them to go full screed instead of playing at their "native" embed s

  • Reading columns after a "fetch_rows" command

    Dear All: Could somebody help me with this issue? The following is a sample code to declare, open and fetch a Dynamic Cursor using BIND_ARRAY command ... declare c number; d number; n_tab dbms_sql.Number_Table; indx number := -10; begin c := dbms_sql

  • Me love the new 4, even after standing in line for hours, how about you?

    i got it! (after multiple hours of line standing at valley fair mall. Santa Clara, CA.) -Apple was great about it though they catered the lines with Cheesecake factory delivering us with rations, such as Cheescake, Pizza, potstickers, lemonaide and D