Define a container in FileGlobals

I've just been trying to define a container as a FileGlobal in TestStand 3.0, however I can't add any properties to the container. (I can add an empty container)
To setup the container I need I have to create it as a local in a sequence then copy it to the FileGlobals.
Is this a "Feature" of TestStand 3.0?
I can create or edit a container in StationGlobals, Type Definitions and Locals, just not as a FileGlobal.
It is possible to delete or rename fields of the container as a FileGlobal, just not add them.
Dose anyone else have this problem?
Simon Holman
Software Engineer
Certified LabVIEW Developer
Certified TestStand Developer
measX GmbH & Co. KG.
http://www.measx.com

Simon,
This is a known issue and has been fixed in TestStand 3.1. While using TestStand 3.0, the workaround is what you are already doing - define the container elsewhere (like in Locals) and then cut and paste it into FileGlobals.
Best Regards,
Matt P.
National Instruments

Similar Messages

  • About element  define in container of bpm

    i want to use sync send step in bpm
    but i find out ,i can only define async abstract interface in container.
    is that so?
    and , how should i use sync abstract interface in send sync step?
    what should i do?

    1) Create one Sync Message Interface in Integration Repository
    2.1) Create one Async Message Interface in Integration Repository.
    2.2) Create a container element to this Message Interface.
    3.1) Create another Async Message Interface in Integration Repository.
    3.2) Create a container element to this Message Interface.
    4) Create a Send Step in your BPM. Mark it as a Sync Step! Then, choose your Sync Message Interface and the first Async Message Interface as your request message and the second Message Interface as your response Message.

  • TestStand'​s container type from LabVIEW

    Hi,
    With a LabVIEW's VI, I'd would like to set a TestStand cointainer as a TDMS file properties.
    So i tried to get all the elements of my container using PropertyObject Class (ThisContext.AsPropertyObject)
    with this method :PropertyObject.GetValVariant
    ( lookupString, options)
    But i get an error because of Set TDMSproperty method doesn't accept the variant type i got.
    So I'd like to get the type (string, number....) of each elements of this container to setting them as TDMS properties one by one through a for loop.
    How can i do that?
    Alex

    I have a TestStand sequence. In this sequence i have defined a container (filesGlobals) who contains some results of the current Sequence execution. At the end of the sequence execution (in the cleanup) i want to get all the container's values to set them in a TDMS file.
    So i have made a VI who gets all these datas using ActiveX properties. This VI will be called as a TS step.
    But i don't know what are the types (string, number, boolean, array of...) of the varaibles of my container, so i use a method to get Variant. When i want to set my TDMS with this variant an error appears because the variant type is not allowed for TDMS files. So i need to make a VI who could get the type of each variable of my container to convert it in this type and so send it in my TDMS.
    TestStand  FileGlobals                                                                             LabVIEW
    MyContainer{}                                     ​                  TabName                  TabValue                        TabType
        Name (string)                                          ​              (0) Name                  (0) AlexString                  String
        Reference (Number)                     ==>>                  (1) Reference            (1) 1003214                     Number
        ResultOfTest (Boolean)                                          (2) ResultOfTest        (2) True                           Boolean
        Errors (Arrays of string)                                          (3) Errors                  (3)                                  String
        ....                                              ​                               [0]                            ErrorA
                                                      ​                                   [1]                            ErrorB
    With this 3 tabs i could send each varaibles of my TS container elements by elements usisng a for loop as define here:
    for (i=0, i++, i<sizeof(TabName))
         if (Tabtype(i) == String)
              {TabValue(i) = getStringVal}
         if (Tabtype(i) == Number)
              {TabValue(i) = getStringVal}
         if (Tabtype(i) == Boolean)
              {TabValue(i) = getStringVal}
         Set TDMSNameProperty
         Set TDMSValue
    So i need to get the type of all my container's varaibles.
    Like that i will not obliged to get only Variant and could get the correct type to send to the TMDS...
    Alex

  • In "LOOP ... WHERE ..." the line type of the table must be statically defin

    Hi All,
            I have written the code, for greater than (GJAHR) 2007 and restricted company codes ( table name = ZGLCCODE).
         Here I have written the following the code which is giving an error
    In "LOOP ... WHERE ..." the line type of the table must be statically defin
    ZGLCCODE Contains only restricted company codes.
    Code is as follows
    TABLES : ZGLCCODE. 
    DATA : LT_DATAPACKAGE TYPE TABLE OF DTFIGL_4.
    DATA : LS_PACKAGE TYPE DTFIGL_4.
    TYPES: BEGIN OF LS_TZGLCCODE,
           ZBUKRS type BUKRS,
            END OF LS_TZGLCCODE.
    DATA : LT_ITZGLCCODE TYPE LS_TZGLCCODE OCCURS 0 WITH HEADER LINE.
    DATA : LI_NUM TYPE I,
           LC_ZGJAHR TYPE BSEG-GJAHR VALUE '2007'.
    SELECT ZBUKRS INTO TABLE LT_ITZGLCCODE FROM ZGLCCODE.
    Note:  "C_T_DATA" dynamic structure = "DTFIGL_4" structure
    *-  Remove from the DataSource Company Code -
    LOOP AT C_T_DATA INTO LS_PACKAGE WHERE GJAHR GE '2007'.
    READ TABLE LT_ITZGLCCODE WITH KEY ZBUKRS = LS_PACKAGE-BUKRS.
    IF SY-SUBRC <> 0.
       APPEND LS_PACKAGE TO LT_DATAPACKAGE.
    ENDIF.
      CLEAR LS_PACKAGE.
    ENDLOOP.
    IF LT_DATAPACKAGE[] IS NOT INITIAL.
    DESCRIBE TABLE LT_DATAPACKAGE LINES LI_NUM.
    IF LI_NUM GT 0.
       REFRESH C_T_DATA.
       APPEND LINES OF LT_DATAPACKAGE TO C_T_DATA.
       REFRESH LT_DATAPACKAGE.
       FREE LT_DATAPACKAGE.
    endif.
    ELSE.
       REFRESH C_T_DATA.
    ENDIF.
    Please give me your valuable suggestions.
    Thanks
    Ganesh Reddy.

    Hi Ganesh,
    whatever you do, you can try like this:
    1 - any code posted should be wrapped in \
    then try something like this:
    field-symbols:
      <tabrec> type any,
      <field>   type any.
    sort ITZGLCCODE by bukrs.
    LOOP AT C_T_DATA ASSIGNING <tabrec>.
      ASSIGN component 'GJAHR' of structure <tabrec> to <field>.
      check <field> <= 2007.
      ASSIGN component 'BUKRS' of structure <tabrec> to <field>.
      READ TABLE LT_ITZGLCCODE WITH KEY ZBUKRS = <field>
        BINARY SEARCH TRANSPORTING NO FIELDS. "speed up the volume.
      IF SY-SUBRC 0.
        MOVE-CORRESPONDING <tabrec> to  LS_PACKAGE.   
        APPEND LS_PACKAGE TO LT_DATAPACKAGE.
      ENDIF.
    ENDLOOP.
    Regards,
    Clemens

  • In bpm(abstract message used in container)

    hi expects,
    for what purpose we are using abstract message in container).

    Hey Rohit,
    To give an exact picture of  the use of container variables you can refer them as direction less interfaces.
    When we Create Message Interfaces We define <b>Category</b> (Inbound, Outbound, Abstract) , <b>Mode</b> (Synchronous , Assynchronous).
    <b>Inbound</b> refers to Incoming message to the XI server.
    <b>Outbound</b> refers to Outgoing Message from XI server
    <b>Abstract:</b>
    When the concept of integration process comes into picture it has to refer to interfaces defined in its own s/w component version. It can only refer to Abstract interfaces as they are direction less and when used in integration process they are assigned direction dynamically. EX: if you have a defined a container variable XYZ  which refers to some abstract interface ABC and call this XYZ container variable in in receieve step of the int pro then it can as inbound.
    For further clarification please refer <a href="http://help.sap.com/saphelp_nw04/helpdata/en/78/62373f58502e48e10000000a114084/content.htm">Defining Data Process  in Containers</a>
    Hope itz clear.
    Cheers,
    *Raj*
    *Reward Point If Found  Usefull*

  • Container operation type single

    hi all
    I am facing a problem. i have a BPM which has a block step-->Propertie mode=ForEach. inside this block i define some container operation type single whichs ones take some values. i need that the values of the containers elements update for each message in the block(ForEach).is it possible or i need to define the contasiners as multiline??
    T&R
    Rodrigo

    hi,
    there no way to define it as single and update the value.
    i need the those values to pass them as IMPORT to a Message Mapping. so the containers has to be singles.
    if no, i have to define another step in the BPM to get the first value of the all multiline container operation??
    thanks.

  • Container variables in Alert monitoring

    Hello
    I am having interfaces without BPM and I am trying to use container variables facility for that. I defined the container variable in the transaction ALRTCATDEF in which I gave element name same as one of the element from payload.
    My alerts are getting generated but I could'nt see the value populated inside that variable. Does anyone know how to populate that variable. I checked on help.sap.com but there they have mentioned about populating container varaibles through workflow.
    can we use those in normal interfaces i.e. without BPM?
    Thanks in advance.
    Regards
    Rajeev Patkie

    Hi Rajeev,
    Generally, only a certain number of variables' values can be used in the container and text. This list is given here:-
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
    But, I think you will be able to give even application specific values in the alert message. Just check with the following two documentations, also take care of the naming conflicts:-
    1. http://help.sap.com/saphelp_nw04/helpdata/en/53/02153cdcf89e56e10000000a11405a/frameset.htm
    2. http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4b130453d11d189430000e829fbbd/frameset.htm
    Regards,
    Sushumna

  • How to give Container Elements for FM EWW_WORKFLOW_START

    hi experts,
    i am new to workflow,
    i am using the FM EWW_WORKFLOW_START to start a workflow.
    my issue is that i am using the std BO BUS2017
    i am not getting the element name that i need to pass to the container.
    When i see in SWDD it shows
    Import Parameter BUS2017 in the list of workflow container elements. but when i pass the OBJKEY: materialDocument and matdocumentyear like
    concatenate '5000000305'  '2009 ' into text1.
    swc_set_element   t_cont  'BUS2017' text1 .
    its not getting passed to the workflow.
    but i added 2 new elements mblnr and year to the container and i pass it , it gets passed.
    how can i know the exact Element name?
    or where could i be wrong?
    thanks and regards,
    Gunj M.

    Hello,
    Here's some sample code of how to pass an object:
    INCLUDE <CNTN01>.
    data: lv_rc like sy-subrc.
    data: lt_messages type standard table of SWR_MESSAG.
    data:
    begin of lv_object_instance,
      objtype type swo_objtyp,
      objkey  type swo_typeid,
    end of lv_object_instance.
    * Define the container
    swc_container lt_wf_cont.
    * Create the container
    swc_create_container lt_wf_cont.
    * Clear the container (not necessary here)
    swc_clear_container lt_wf_cont.
    lv_object_instance-objtype = 'FORMABSENC'.
    lv_object_instance-objkey = '0000000088'.
    lt_wf_cont-element = 'ABSENCEFORM'.
    lt_wf_cont-value = lv_object_instance.
    append lt_wf_cont.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
    EXPORTING
       TASK                     = 'WS30000015'
    *   LANGUAGE                 = SY-LANGU
       DO_COMMIT                = 'X'
    *   USER                     = SY-UNAME
    *   START_ASYNCHRONOUS       = ' '
    *   DESIRED_START_DATE       =
    *   DESIRED_START_TIME       =
    *  IMPORTING
       RETURN_CODE              = lv_rc
    *    WORKITEM_ID              = lv_wfid
    *    NEW_STATUS               = lv_wistat
    TABLES
       INPUT_CONTAINER          = lt_wf_cont
       MESSAGE_LINES            = lt_messages
    *   MESSAGE_STRUCT           =
    *   AGENTS                   =
    regards
    Rick Bakker
    Hanabi Technology

  • ADF BC Attribute with VC of CONTAINS Ignores Choice List on the LOV

    JDev 11g PS 1.
    Objects:
    - A view criteria with attribute defined as CONTAINS (literal)
    - An LOV on that attribute with a default list type UI hint of Choice List
    - ADF Faces query-table based in the VC
    Problem: query-table ignores the Choice List and renders an Input Text.
    Clue: Changing the operator to EQUALS causes the expected Choice List to be rendered in ADF BC.
    If this is documented in the online help or in this forum, it is escaping me.
    Anyone know the best workaround? Set the VC using EQUALS and switch it to CONTAINS in buildWhereClause() maybe?
    Thanks,
    Peter

    Frank,
    Thanks for the fast reply and for the bug entry. Unfortunately stopping work is not an option. We've come up with a solution using a query listener that replaces EQUALS with CONTAINS before the query and resets it to EQUALS after the query (otherwise the component draws the text item after the query).
    Maybe you can think of another solution to our requirement: display a single master record in the results table for a master-detail database view. For example, in an altered Oracle HR world, each DEPARTMENTS record is associated with multiple LOCATIONS records (through a DEPT_LOC table). A database view, DEPT_LOC_VW, based on that table also contains the location description and department description.
    Users want to select and then edit (on another page) a department by querying by location. If we represent DEPT_LOC_VW in the query-table component, we see multiple result rows for a single department and that is unnecessary confusion for the purpose of editing a single department.
    So we have created an alternative database view, DEPT_VW, based on DEPARTMENTS only, with an additional column -- LOC_LIST -- based on a function that returns a delimited list of all location codes for that department. This way, the user sees only one department record in the results table (although we lose the location description in the results -- not an issue) and is still able to query based on location.
    A LOCATIONS_VW view contains the location code surrounded with the delimiiter. The DeptVw view attribute LocList contains an LOV based on that database view.
    We want the view criteria to create a query condition:
    WHERE loc_list LIKE '%'||<selected location code>||'%'We thought about some kind of clever use of a subquery using a bind variable:
    SELECT...
    FROM  departments -- not DEPT_VW or DEPT_LOC_VW
    WHERE department_id IN (
       SELECT department_id
       FROM   dept_loc
       WHERE  location_id = NVL(:userSelectedLocationId, location_id);But that bind variable does not show in the view criteria selection list so it will not appear in the query component.
    Thanks again,
    Peter

  • Real easy question about defining objects in java

    hey guys here is my problem. I am trying to implement an insert() method for my binary tree. i have my node class defined to contain
    public T element() {
              return _data;
    and then my actual tree class has an instance of this declared to be called runner.
    BTreeNode runner;
    runner = _root;
    The problem occurs when i try to compare what i am inserting (obj) with what i have (runner.element) The actual line of code is
    ( obj.compareTo(runner.element) < 0 )
    i get an error that says "runner.element cannot be resolved or is not a field".
    I believe the error comes because i didnt adequately define runner but im not sure how to take care of that. Any suggestions would be most appreciated.
    -peter

    this is all of the code that has a relation to the error I am getting. The error is found in the BasicBTree class and says
    "The method compareTo(T) in the type Comparable<T> is not applicable for the arguments
    (Comparable)"
    Basic Binary Tree Node class
    public class BTreeNode<T extends Comparable<T>> implements Position<T> {
         private BTreeNode<T> _left;
         private BTreeNode<T> _right;
         private BTreeNode<T> _parent;
         private T            _data;
         public T element() {
              return _data;
         }Basic Binary Tree class
    public class BasicBTree<T extends Comparable<T>> implements BinaryTree<T> {
    public void insert(T obj) {
              BTreeNode runner;
              runner = _root;
              if (obj.compareTo (runner.element()) = null) { // ERROR OCCURS HERE
                   _root = new BTreeNode(obj);
              return;   
    }the interface posistion
    public interface Position<T> {
         public T element();
    }

  • How to implement a user-defined function in a mathscript node

    I am trying to use a mathscript node that includes self-defined functions, but I always get an error. I tried to run an NI-example: MathScript using Riemann Zeta.vi ,and I got the same error I get when I run my own programmes:MathScript Node'MathScript Node' (zeta): User-defined function contains an error. I didn't change anything in that example, so what could be wrong?

    Try the Mathscript forum instead. Good luck.
    (Maybe start reading this, for example)
    Message Edited by altenbach on 11-18-2009 01:48 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Defining index in Dynamic parallel processing of workflow

    Hi all,
    I am using dynamic parallel processing feature in workflow for a particular multi-line element. But I am not able to define the index in that particular task.
    Consider that i have a multi-line element "Material". For this element, I need to loop that task for that n number of records. so i am using dynamic parallel processing. Now for each workitem generated, i need to show that particular material in the workitem. I remember that we need to use index, but i couldn't recollect how it is defined.
    Could anyone help me in this regard?
    Thanks in advance

    Nikhil,
    When you use dynamic parallel processing the index is available in <b>_Wf_ParForEach_Index</b>. A reference for the line of the multi line element is automatically generated for each work item created. You can see this in the Binding Editor for the step. In your case this will be "Material()". When you drag this element to the WF to Step binding window, it will be resolved as "&Material[&_Wf_ParForEach_Index&]&. Therefore you can get the material for each WI by defining "Material" in your task container (not as multiline) and doing the appropriate binding. If you in fact need the Index in your method, you can define a container element your task with reference to Type SWC_INDEX and bind to ]_Wf_ParForEach_Index.
    Cheers,
    Ramki Maley.
    Please reward points if the answer is helpful.
    For info on awarding points click on this link: https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm

  • Customer Control in screen painter in Module pool - work like container?

    Customer Control option in screen painter in Module pool - work like container?
    is it true? How?
    Is like any work area or what?
    what is the excat use of that option?
    regards.

    Hello,
    In screen painter ,custom control is used to define the control area on the screen.Just click on that and make your own container area.When you create an ALV grid or TEXT EDITOR or any other control,it will get attached to the screen in that area through the custom container.
    Name the container area as say '<b>CONTAINER</b>'.(in capitals.)
    When you actually create the custom conatiner programatically,you should give the container area name.ie.
    Data : cont type ref to cl_gui_custom_container.
    Create object cont
    exporting
    parent = '<b>CONTAINER</b>'.
    Now,this container that you created-cont is attached to the screen in the area defined by CONTAINER.
    Regards,
    Beejal
    **Reward if this helps

  • Omitting container-transaction in ejb-jar.xml

    Hi,
    This may be an easy answer (although I'm struggling to find onejust now) but if you don't define a <container-transaction> element to the ejb-jar.xml for your EJBs, what transaction attribute is used when using Container Managed Persistence? Are transactions used at all it this scenario or does it default to auto committing after every statement?
    Also, what part does the application server vendor play in this - if any?
    Thanks in advance for any help on this topic.

    I'm still struggling to get a conclusive answer to this issue. Read a few books and the EJB spec itself but nothing seems to give an answer on this issue. This makes me think that it is up to the container if it is not defined.
    Also did some tests on Oracle 9ias and it seems that transactions aren't used when transaction config is not defined for CMT beans as it would only rollback on an error when it was defined. Still need to do some more tests.
    Again, if anyone is able to help shed some light on this then it would be much appreciated.
    Thanks.

  • Shouldn't all methods pertaining to an object be defined inside that class?

    I am trying to understand if I am missing something basic java-wise (I come from other oop environments) or am I facing an ide-style/problem, or maybe I HAVE NO problem.
    The way I always had it, was to place all code (functions/procedures/properties) INSIDE the class that it was meant for. But jDev does not do this, and again maybe its Java I'm up against, but then maybe not. Here is a clear example of what I mean. (All SWING.)
    On a new jFrame, define a container, and inside the container a jComboBox and a jtextfield. The objective is to ADD ITEMS to the combobox, then upon a trigger event, specifically item_changed (when the user chooses an option from the item list), display a message to the jTextfield. (This differs from the tutorial sample requiring a button.) The purpose of jPanel is to tie the combobox and textfield via delegation. Ultimately we want an extended jPanel that I can (drag and drop) import into any project and drop it onto any jframe.
    We have two distinct custom-operations/extensions, 1) is to add_items, and 2) is to talk to another object to display text. First the add_items; ideally I should be able to (if I want to) add_items inside an extended jCombobox and reuse it. Why put the add_items on the jFrame??? jFrame has NOTHING to do here with my little extended-jPanel. I SHOULD be able to choose if to put it into the extended jPanel, as well. (Since this jPanel is built with the purpose of serving a micro-framework for the two objects it contains.)
    Similarly with 2, display the text message. I should be able to define the trigger event message to send upon item_change inside the jComboBox class. jPanel would then receive the message via delegation and take care of sending the message to jTextfield, also preferably to an extended jTextfield. But AT THE LEAST, all methods/properties should be within the extended jPanel. (Again, which I want to simply import and reuse.) Why does the ide put this code at the jFrame level? (By the way, if I copy/paste this jPanel, the ide does NOT add the appropriate imports (for the events) to the target jFrame, and neither does it copy the methods that are triggered. This seems like a bug, but I couldn't care less if I can accomplish what I described here.)
    Having said all this I am ready (and hoping) for an answer that I am missing something basic in Java.
    Thank you all
    -Nat

    In fact, you don't even need the jbInit() method if you're just using the component as a bean in other components.Cool.
    For the component to display properly in the UI editor, it should be a descendent of Component.ok. Does this mean that you can have a component (if not extending jComponent) that does not display properly in the ui editor, and still be properly maintained by the ide? That would be very nice, as long as the ui editor displays a mnemonic/icon instead of that component. I don't [always] NEED the
    cutsy picture displayed, but I DO need to know that a component so-and-so is located 'here'.
    AS a matter of a fact, I would love to have a pseudo-ui mode in jDev where you can build/maintain a frame with panels and icons representing components, where you can visualize the hierarchy, change the layout via drag-drop of the icons, and drill down. I have a gut feeling that people would use this mode more than the full ui mode we have now. Also, performance wise, jDev would be happier. This view allows one to get a clear wide-angle 'picture' of the layout (and delegation paths) of the classes. Coupled with 'drill down' to allow inserting/maintaining components within others, you have a winner!
    Wadda you think? Am I nuts or something?
    Come to think of it, it should not be tough for the jDev team to do this, since jDev is already doing something much more complex in the ui_editor. Instead of drawing pictures, when a bean is dropped, simply leave the icon as-is. 9.0.3??<g>
    WE developers know that sometimes you can add tremendous functionality (especially from a marketing point of view) to a system, with minimal amount of work.
    Sheesh, I forgot what put soapbox mode 'on'. I still would like to know how jDev would currently treat a bean that is not a sub-classed jComponent.
    Thanks
    -Nat

Maybe you are looking for