Which Function Should i use for static values for a an array[] in BPM 11g.

Hi Experts,
Please throw some light on this..
I've a requirement which is bugging me..
How do i assign a static value to a array in BPM11g in script activity. What exactly function do i need to use to assign a Static value for an Array []
I been doing like taking the business object as a Array thats fine. But how can i set a static value in BPM 11g.
Iam using BPM 11.1.1.6 version..
Regards,
Pavan

Hi Pavan,
Here's one approach, but it assumes you're comfortable with XSDs and XML.
Know this is light on detail, but without knowing what your array looks like it's the best I can do. Here's what you'd do from a high level:
1. Create an XSD that defines the structure of your array.
2. Create the XML that represents the static item you want to add to the array.
3. Create a process variable based on the XSD that defined the array.
4. Add a Script activity.
5. Open the "Implementation" tab -> click "Data Associations".
6. On the right, expand the folder under your process -> drag the XML icon in the upper right corner on the array variable -> paste your XML into the XML literal panel.
Hope this gets you going,
Dan

Similar Messages

  • Which client should be use 000 or 001 for Client Copy

    Hi,
    Which client we can use 000 or 001 for fresh Client Copy.
    Also what is the diff. b/w 000 and 001 client and its uses...
    Please suggest.

    Hi
    Always use client 000, except for solution manager systems.
    Best regards
    550894 - CC-ADMIN: Setting up a new client
    Always use client 000 as a template, and never client 001. (A known exception is the SAP Solution Manager.)
    Do not copy any application data from client 000 because the consistency of data and the number ranges cannot be guaranteed.
    Only client 000 is populated with upgrades, Legal Change Packages, Support Packages, language imports and so on with new Customizing so that it always contains the current sample Customizing. This is why it is also so important that the copy is only carried out after the system is updated. Client 001, on the other hand, is obsolete. It serves only as a sample client and may be deleted at any time.

  • Which one should I use to compress video for iPod/iPhone?

    Hi
    I have a quicktime movie. Should I export from the quicktime player to iPod setting or should I go through compressor?
    The last time I did it through both applications-- Quicktime was fast--Compressor took a while but the quality of them looked the same.
    What do you guys think?
    Thanks

    I normally use the iPhone preset in Compressor.

  • Which  Function Module is used for converting the DATE in BDC

    HI,
    Which  Function Module is used for converting the DATE Format in BDC for Uploading purpose please help me.

    data : date like sy-datum.
    data : odate(10) type c.
    date = sy-datum.        " in format YYYYMMDD
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
       input         = date
    IMPORTING
       OUTPUT        = odate         .
    write:/ odate.  "in ur format '.
    1.
    In ur itab make a field for date as 10 characters and use this Fm to store the date .
    2. Pass the date as the charcter field to the screen and now check .

  • Which listener should be used for JTextArea

    Hi,
    I need to add a listener for JTextArea particualy when
    the text in the jtextarea is changed. I don't think
    mouse listener is enough, since the user can use tab to
    get to the jtextarea and edit the text. In this case,
    which listener should I use. Sample code would be
    helpful.
    In addition, I have a problem with the jtextarea that
    when user uses tab to go to different gui components,
    such as jtextfield, jcombobox, jtextarea, jlist, etc, the
    tab stays in the jtextarea and keeps appending to it. It does
    not go to next component, such as jlist. How can I make it
    work?
    Thanks in advance,
    Pin

    It doesn't work. Are you using 1.4 or 1.3? I am using
    1.4.
    In the 1.4 API, it says that isManagingFocus is
    "Deprecated".
    Here is what I have:
    JTextArea descrptArea = new JTextArea() {
    public boolean isManagingFocus() {
    return false;
    descrptArea.setRows(3);
    descrptArea.setLineWrap(true);
    descrptArea.addKeyListener(new KeyAdapter() {
    public void keyTyped(KeyEvent e) {
    // DO SOMETHING
    I found the following code which says it will do it.
    However, I got the exeception:
    java.lang.ClassCastException:
    n: javax.swing.KeyStroke
    at java.util.TreeMap.compare(TreeMap.java:1081)
    at java.util.TreeMap.put(TreeMap.java:459)
    at java.util.TreeSet.add(TreeSet.java:205)
    Set forwardTraversalKeys = new TreeSet();
    forwardTraversalKeys.add(KeyStroke.getKeyStroke('\t'));
    forwardTraversalKeys.add(KeyStroke.getKeyStroke(KeyEven
    .VK_TAB,
    InputEvent.CTRL_MASK));
    textArea.setFocusTraversalKeys
    (KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,
    forwardTraversalKeys);
    Set backwardTraversalKeys = new TreeSet();
    backwardTraversalKeys.add(KeyStroke.getKeyStroke(KeyEve
    t.VK_TAB,
    InputEvent.SHIFT_MASK));
    backwardTraversalKeys.add(KeyStroke.getKeyStroke(KeyEve
    t.VK_TAB,
    InputEvent.SHIFT_MASK |InputEvent.CTRL_MASK));
    textArea.setFocusTraversalKeys(
    KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,
    backwardTraversalKeys);
    Any idea???
    PinI'm not using 1.4 but the class cast exceptions look like they come from : Set forwardTraversalKeys=new TreeSet() etc
    try : TreeSet forwardTraversalKeys=new TreeSet()
    you cant cast from a Set to a TreeSet because a TreeSet is a Set but a Set is NOT a TreeSet.
    hope this helps.

  • Which function module is used for transfering form one version to another

    HI
    COULD ANYBODY TEL ME
    WHICH FUNCTION MODULE IS USED FOR TRNASFORING FROM ONE VERSION TO ANOTHER VERSION.................

    Hi Chaithu,
    Go to SE37,enter your function module, click on where used list button on the application bar.
    All the program used your function module used is displayed.
    Regards,
    Venkat.

  • HT3669 which driver should i use for the epson LX300 matrix-dot printer??

    which driver should i use for the epson LX300 matrix-dot printer??? I dowloaded all drivers for epson but i didn't find the driver for the LX300.
    I bought an i mac not so long ago, can anyone help me about this?

    i use parallels desktop 7 because i use a program for work with windows XP. Is there really no solution?

  • Which situation should we use the text item with the item category TATX

    Dear experts!
    Thank you for your attention!
    I am confused with text item (TATX).
    which situation should we use the text item with the item category TATX????
    Someone told me that the text item is dummy and should be used as a manual of certain standard item. But the manual may be a book or several papers and it also takes up some inventory not a dummy.
    So, could some body tell me what the text item (TATX) exact is and what function it has.
    Best regard!
    Tangdark

    Hi,
    you can use TATX if you like to enter a text and to print some information between the item lines.
    Regards
    William

  • Which object should i use ?

    Hi,
    I have a methode that returns several values of different types. Which objet should I use to return these values ? I thought of Vector but somebody told me that there is a better object than Vector.
    thanks for your help !
    Tex

    First, always use an interface over an object if it exists. So, your code should always declare the instance variable as List, not ArrayList or Vector or LinkedList. This allows the implementation to be optimized for the task at hand (e.g. LinkedList for arbitrary insertions or deletions of data, ArrayList for better Iterator performance, etc.) while using the interface for the common List methods (e.g., get(), add(), remove(), iterator(), etc.)
    Second, avoid Vector. Sun specifically states in the Collections tutorial that ArrayList is preferred over Vector.
    - Saish
    "My karma ran over your dogma." - Anon

  • How to make a subscription use the default value for a parameter

    Hi everyone,
    I need to use the CreateSubscription method and have this new subscription use a default value for certain parameter. How can I do this?

    Hi Marianne,
    I have to create the subscription programatically, which is different from what you mention. To further clarify my challenge:
    I have three parameters in a report: date-interval (string), start-date (date), end-date (date). If the user selects for example "last week" as the date-interval, the DEFAULT values for the other two are as follows:
    Code Snippet
    start-date=DateSerial(Year(Today),Month(Today),Day(Today)-Weekday(Today)-6)
    end-date=DateSerial(Year(Today),Month(Today),Day(Today)-Weekday(Today)-1)
    The user can then select intervals like "today", "yestarday", "this month" etc, and the other two parameters are calculated based on that date-interval parameter. Now, If I programatically create a subscription to a report that contains these three parameters and set a value of "last week" for the date-interval parameter, the subscription stores the fixed days (say september 10 to september 16) producing a report of the same week every time the subscription is run and not updating the correct interval to LAST-WEEK!. What should I put as the value for start-date and end-date when I create the subscription to have these two params get the DEFAULT calculated value based on the third param date-interval?
    Hope to have been more clear now.

  • I am a student and need to do my assignments in word. Which application should I use as I have to save all of them in older word version like 2003 to send it to my teacher?

    I am a student and need to do my assignments in word. Which application should I use as I have to save all of them in older word version like 2003 to send it to my teacher?

    You could use Microsoft Office for Mac, but I would recommend iWork! It's a better set of applications for a much better price. I have used both and I prefer it over Office. And Pages can not only open Word documents, you can also save documents in Word format. My brother and I both used iWork as an Office substitute when we were in college (I graduated a few years ago and he just graduated last night) and haven't had any compatibility issues. Check it out here http://www.apple.com/iwork/

  • I have down loaded Aurora,Beta4,firefox. Which one should i use

    I have down loaded Aurora,Beta4,and Firefox. Which won should i use.'

    That is up to you to decide. For some details about the different versions see https://developer.mozilla.org/devnews/index.php/2011/04/07/new-development-channels-and-repositories-for-rapid-releases/
    If you have not used to testing software you should stick with the release version (Firefox 4.0.1).

  • Which CPU should I use

    Hello,
    our company want to buy new computers for the developers.
    We have to use Windows XP as our OS because of third party products.
    We develop J2SE + J2EE.
    So my question:
    Which CPU should we use?
    I searched at google but didn't found any usefull sides about benchmarking an J2SE VM or J2EE VM.
    Intel or AMD?
    Are there some issues to be regarded?
    Is the behavior of the VM different if you use an Intel or an AMD? (X86)
    Our AppServer is JBoss 3.2.3.
    Has Intel ore AMD some magic improvements for the SUN Java VM?
    Any answer would be appreciated.
    Thanks,
    Oliver

    Olli_ger,
    Thanks for asking. To add more to the question, what about dual- and
    multi-processors, such as Opteron 2xx and 8xx processors?
    That is, can, and to what extent, does the Java compiler and the JVM
    utilize multi-processors? And how is this done? Threads parceled out?
    Using what algorithms? Are there "best practices" for writing code
    that can exploit these chips?
    Given the recent emergence of dual-core processors from both AMD and
    Intel I would think Sun would have a white paper on this, but I've not
    been able to find anything.
    As I'm about to build a new system, and am looking at a dual processor
    board that could take two dual-core chips, I'd really like to know.
    Thanks again for opening the issue.
    -BC

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • Which application should i use to install facetime

    which application should I use to install facetime?

    You can save the DMG file for Mac to the desktop and install the Firefox application.
    * [[Installing Firefox on Mac]]
    * http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X

Maybe you are looking for

  • Middleware from R/3 to CRM

    Hi, I am working on CRM middleware. I need to change the BP role automatically in CRM when I change the status in R/3.How should I start working on this.Anyone please answer me ...I left this forum many times

  • Adobe CS6 Errors

    Hi, Ive recently installed the CS6 suite and all was working fine although now I cant even open Photoshop, this error message keeps coming up when i try to open it:      An unexpected and unrecoverable problem has occurred. Photoshop will now exit. I

  • Touble adding music to slide shows

    Having real trouble adding music to slide shows. Files are MP3 where is says compresser decompressor (Codec) error CD music files are not recognised Have elements 8 but loaded a trial of elements 12 and same result Can load music in premier as a proj

  • How to print out a JPanel with its components

    Hello, I want to print out a JPanel where several components are placed in. The problem is just that neither the printAll() method nor the print() method works to do so. There's always just a print of the empty JPanel. Is there in general a possibili

  • CRIO scanned variable reads are slow. Do you know why?

    I have a cRIO 9073 with a few I/O modules (for a total of 8 AI, 2 AO, 30 DI, 50 DO). I want to read and write the I/O from a PC. This is the code I used on the PC (LV 2011): (And no, opening the variable once before the loop doesn't help). This is th