Problem is using collection variables in contracts

Hi all
I am trying to create a contract from master agreement that would pull in the line item information in master agreement in a tabular format in my MS Word based contract.
For the same I have added contract gen variable  "Agreement Line Items (Table format)" in one of the clauses.I am used this clause in my contract generation template. When i create contract using this contract gen template valuse are not getting pulled.
This is working fine for attribute variables like Title, company etc.
Plz help if somebody has faced similar issues
Regards
Tripti
Edited by: Tripti A on Mar 24, 2010 1:12 PM

Hi
Is the functionality working fine for everyone? Please let me know.
Tripti

Similar Messages

  • Problem  in using COLLECT statment

    Hi experts,
    getting problem in using COLLECT statement.  attaching my code below.
    LOOP AT it_final1 INTO wa_final1.
         LOOP AT it_final INTO wa_final WHERE vagrp = wa_final1-vagrp AND verwmerkm = wa_final1-verwmerkm.
           wa_final1-anzwertg = wa_final-anzwertg.
           COLLECT wa_final1 INTO it_final1.
         ENDLOOP.
         CLEAR: wa_final1, wa_final.
       ENDLOOP.
    here , i want to use collect statement only for  "anzwertg" field from internal table. but 2 more fields also getting  compressed .
    attaching screen shot
    here, original_input and max fields also getting compressed.
    could anybody please help me out in this.
    Thanks in advance.
    Regards
    satish

    Hi satish....
    collect statement works based on char fields..
    by default it will taken char fields as a key fields .........
    if any char field is repeated then corresponding numc values will be added....
    other wise it will act as a APPEND statement......
    Here in ur code there is no char field then how it will caliculate that values...
    just check it once..
    Regards,
    Vamsi....

  • Coercion problem when using Shared Variable

    I have a curious coercion problem when using Shared Variables.  I want to share the state of a State Machine, which is an enum saved as a control (typedef) called TYPE State (see attached).  I create a shared variable called State and define it as a Custom Control, using the just-mentioned typedef.  So far, so good.  I've attached three simple VIs -- the first one, Init State, simply wires a constant to the input of the Shared Variable to initialize it -- the wired constant is, of course, defined by the typedef.  However, the Get State and Set State, meant to wire an indicator (for reading the state) or control (for setting it), develop coercion dots when wired into the Shared Variable.  Why?  How do I get rid of the dot?  [I suppose I could abandon my typedef and custom control, but the beauty of typedefs and custom controls is that it "enforces" rules, lets you use enums for clarity, keeps the code "honest", etc. -- I'd hate to give that up just to get rid of a dot!].
    On a related note, the code seems to work.  This is much too simplistic to do anything, but if you open Set State and Get State, set the state to anything, run it (it immediately stops, of course), then run Get State, you'll see the chosen state appear in the indicator.  So it does appear to work.  The "error" (coercion dot) may, I suppose, be a "bug" in Labview because it can't figure out the mapping of the (very simple!) Custom Control, but if so, I hope it gets fixed quickly!
    Bob Schor
    Attachments:
    Coercion Problem1.zip ‏38 KB

    Hello Bob,
    I am also seeing this behavior, I will escalate this question to our LabVIEW developers and post again here no later than next Tuesday, November 27th as National Instruments will be closed for the remainder of this week.
    If this issue does turn into a product suggestion, I would suspect the workaround would to live with the coersion dot for the time being.
    Enjoy the holiday
    Regards,
    Erik J.
    Applications Engineer
    National Instruments

  • Problem in using bind variables.

    I am using following query in my procedure:
    In 1st Query I am getting the result.
    And in 2nd Query when i am using bind variable i got error that " Table or View Does not Exist"
    ---------1st query
    OPEN p_document_details FOR
    SELECT ddd.document_code,
    ddd.document_description,
    ddd.document_level
    FROM dms_document_details ddd,
    dms_document_group_details ddgd
    WHERE UPPER(ddd.document_code) = UPPER(ddgd.document_code)
    AND UPPER(ddgd.document_group_code) = UPPER(p_doc_group_code)
    AND UPPER(ddgd.scheme_type) = UPPER(p_scheme_type)
    AND UPPER(ddgd.process_name) = UPPER(p_process_name) ;
    ---------2nd query
    v_search_sql :=
    ' SELECT ddd.document_code, '
    || ' ddd.document_description, '
    || ' ddd.document_level '
    || ' FROM dms_document_details ddd, dms_document_group_details ddgd '
    || ' WHERE UPPER(ddd.document_code) = UPPER(ddgd.document_code) '
    || ' AND UPPER(ddgd.document_group_code) = :a '
    || ' AND UPPER(ddgd.scheme_type) = :b '
    || ' AND UPPER(ddgd.process_name) = :c ' ;
    Please provide any solution.
    Thanks in advance.
    AgrawalV

    ---------2nd query
    v_search_sql :=
    ' SELECT ddd.document_code, '
    | ' ddd.document_description, '
    || ' ddd.document_level '
    || ' FROM dms_document_details ddd,
    dms_document_group_details ddgd '
    || ' WHERE UPPER(ddd.document_code) =
    UPPER(ddgd.document_code) '
    || ' AND UPPER(ddgd.document_group_code)
    = :a '
    || ' AND UPPER(ddgd.scheme_type) = :b '
    || ' AND UPPER(ddgd.process_name) = :c ' ;
    Hi!
    Try to use chr(10) before from clause. Hope this will solve your problem --
    v_search_sql :=
       ' SELECT ddd.document_code, '
    || ' ddd.document_description, '
    || ' ddd.document_level '
    ||chr(10)
    || ' FROM dms_document_details ddd, dms_document_group_details ddgd '
    ||chr(10)
    || ' WHERE UPPER(ddd.document_code) = UPPER(ddgd.document_code) '
    || ' AND UPPER(ddgd.document_group_code) = :a '
    || ' AND UPPER(ddgd.scheme_type) = :b '
    || ' AND UPPER(ddgd.process_name) = :c ' ;Regards.
    Satyaki De.

  • Query BI7: problem in using the variables of referenced caracteristics.

    Dear Experts,
    I have posted a question in "BI General" yesterday. Untill now, I haven't got any reply. So i decide to post it under this subject. And I hope somebody can help me.
    A query was created on the basis of an Infoset, in which there are many caracteristics created with reference to some existed caracteristics.
    However, in the new query, I was not able to use those variables which are already created and attached to the existed caracteristics. What's more, some variables are declared in the SAP exit, and they are compulsory in the new query.
    Given a very short delay in the project, it seems to me impossible to create all the variables for my new query.
    Is there anybody who has a solution or an idea for this problem?
    Thanks in advance!!!

    I was not able to use those variables which are already created and attached to the existed caracteristics.
    Ya,you cannot use the same variable to two(or more) infoobjects (though they use same reference) but what I observed in was eventhoug you get Error messaga when you do check in query designer.If you ignore and just execute the query it simply works.Just give it a try.
    Else you need to create new variables similar to existing one and use it.

  • Using collection variables

    Hi could you please help me in putting the values (Output from the query ) into collection variable
    The following is the sample one i tried , but confused to use this Record variable.
    CREATE OR REPLACE PACKAGE Pkg_test
    IS
      ----- Record Variable ----
      TYPE rec_job IS RECORD
       ( job1 varchar2(50),
         job2 varchar2(50),
         Rank varchar2(50)
      TYPE typ_job IS TABLE OF rec_job
         INDEX BY VARCHAR2(500)  ;
      ---- Procedure Declaration ----
    PROCEDURE proc_job ( p_d1 IN   number, p_d2 number
                         o_Rat     OUT  typ_job );
    END Pkg_test
    CREATE OR REPLACE PACKAGE BODY Pkg_test
    IS
    PROCEDURE proc_job ( p_d1 IN   number default 10, p_d2 number default 20
                         o_Rat     OUT  typ_job )
      IS
    BEGIN
       select e1_job,e2_job,
    case when e1_job =e2_job
         then '0'
          else '1'
          end as Rating    into O_RAT -- How to use this collection variable
           from (
    select distinct e1_job,e2_job , rank () over (partition by e1_job ,e2_job order by e1_SAL )rn
    from
    (select e1.job e1_job,e1.sal e1_sal,e2.job e2_job from
    emp e1 , emp e2 where e1.deptno =p_d1 and e2.deptno =p_d2 )
    ) where rn =1
    order by 1,2   
    -- How can i keep  e1_job ,e2_job ,Rating values into the collection variable  o_Rat.
    -- Could you hint me to do this                          
    end;Thank you
    Edited by: Smile on May 7, 2012 10:50 AM

    Hi Smile,
    are you asking how to get the output into a collection variable?
    Your o_Rat output parameter is of type typ_job which is an associative array (or index-by table) of records of rec_job type having as index defined as VARCHAR2(500).
    Do you have any specific requirement about this table?
    Why the index is declared as VARCHAR2(500)?
    What do you expect to return as index value?
    If it was a nested table or an associative array with index PLS_INTEGER or BINARY_INTEGER you could have used BULK COLLECT INTO if you want to fill your array.
       select e1_job,e2_job,
    case when e1_job =e2_job
         then '0'
          else '1'
          end as Rating   
              BULK COLLECT into O_RAT -- How to use this collection variable
           from (
    select distinct e1_job,e2_job , rank () over (partition by e1_job ,e2_job order by e1_SAL )rn
    from
    (select e1.job e1_job,e1.sal e1_sal,e2.job e2_job from
    emp e1 , emp e2 where e1.deptno =p_d1 and e2.deptno =p_d2 )
    ) where rn =1
    order by 1,2
    {code}
    This however is not working in your case unless you modify your table to be either a nested table or an associative array with an integer index.
    Please specify what do you expect the output to be.
    I suggest you to check the Oracle documentation to understand collections: http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/collections.htm
    Regards
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem in using 'Path Variable' in Linked resources in Eclipse

    Hi All
    Currently we are working on a J2EE project on which we have established the split-development environment. In this environment we have few UI web sub-projects. These projects are bundled as a one UI project at the time of deploying the application.
    For Example UI proj Structure is as below
    ../UI-Proj-Main/WebContent/sub
                        /jsp1
                        /jsp2
    ../UI-Proj-Sub1/WebContent/sub
                        /jsp1_sub1
                        /jsp2_sub1
    ../UI-Proj-Sub2/WebContent/sub
                        /jsp1_sub2
                        /jsp2_Sub2                    
    In the final ear project which got deployed on the server we have only on war file which have below structure
    ../UI-Proj-Main/sub
                        /jsp1
                        /jsp2
                        /jsp1_sub1
                        /jsp2_sub1
                        /jsp1_sub2
                        /jsp2_Sub2     
    To perform this we have created a linked-source of UI-Proj-Sub1 and UI-Proj-Sub2 in the project UI-Proj-Main. For this a an entry of '<linkedResources>' occured in the .project file of UI-Proj-Main . i.e.,
         <linkedResources>
              <link>
                   <name>UI-Proj-Sub1</name>
                   <type>2</type>
                   <location>C:/myProj/UI-Proj-Sub1/sub</location>
              </link>
              <link>
                   <name>UI-Proj-Sub2</name>
                   <type>2</type>
                   <location>C:/myProj/UI-Proj-Sub2/sub</location>
              </link>
         <linkedResources>
    My Problem:
    The '<location>' tag contains the explicit path of my workspace myProj. If I want to create a different workspace then I need to manually edit the .project file for relinking. If I use the Path variable in location i.e.,
    <linkedResources>
         <link>
              <name>UI-Proj-Sub1</name>
              <type>2</type>
              <location>WORKSPACE_LOCC/UI-Proj-Sub1/sub</location>
         </link>
         <link>
              <name>UI-Proj-Sub2</name>
              <type>2</type>
              <location>WORKSPACE_LOCC/UI-Proj-Sub2/sub</location>
         </link>
    <linkedResources>
    then I got following error at the time of deploying the application
    "Runtime exception occurred in publish task 'Split Source Mapping Generation Task'.Source should be absolute."
    Kindly let us know a way to avoid the absolute path in .project file. Our customer don't want us to change the project structure.

    Disabled where? Project or workspace? You should check both.
    And you must still go to an Eclipse forum and ask for help there, this is not an Eclipse support channel.

  • Problem while using collections

    CREATE OR REPLACE
    TYPE LID_OBJ_TYPE AS OBJECT
    CONTRACT varchar2(120),
    TYPE varchar2(50),
    Sno VARCHAR2 (30),
    PiD varchar2(50),
    INUMBER varchar2(30),
    DMID number,
    STATUS CHAR(1),
    MAP MEMBER FUNCTION dmid_f RETURN NUMBER
    CREATE OR REPLACE
    type body LID_OBJ_TYPE as
    MAP MEMBER FUNCTION dmid_f RETURN NUMBER
    IS
    BEGIN
    return DMID;
    END dmid_f;
    END ;
    CREATE OR REPLACE
    type LID_TAB_TYPE is table of LID_OBJ_TYPE;
    in my procedure in declartion part i used like this
    lid_list lid_tab_type
    := lid_tab_type ();
    CURSOR c_test
    IS
    SELECT lid_obj_type (contract,
    NULL,
    NULL,
    NULL,
    NULL,
    dmid,
    status
    FROM (SELECT contract, dmid,'Y' status
    FROM contracts where dmid >100
    and.....
    in begin section
    OPEN c_test;
    FETCH c_test
    BULK COLLECT INTO lid_list;
    CLOSE c_test;
    if lid_list.count>0 then
    FORALL i IN 1 .. lid_list .COUNT
    UPDATE xx_d
    SET error_msg = 'error'
    WHERE dm_line_id =
    lid_list (i).dmid;
    end if;
    but its giving error as PLS-00436: implementation restriction: cannot reference fields of BULK In-BIND table of records
    how to solve this

    Try this as your FORALL. This should work.
    FORALL i IN 1 .. lid_list.COUNT
             UPDATE xx_d
                SET error_msg    = 'error'
              WHERE dm_line_id = TREAT(lid_list(i) AS LID_OBJ_TYPE).dmid;G.

  • Problem in Using Collections as Web Parameters

    Hello,
    I have tried to use ArrayList and Map variables to pass as web parameter in oc4j(10.1.3.1.0). The interesting this is that, in my web method return type object, if i am declaring a variable of type Map or List, and the variable name is all in small letters, then the wsdl generated is having the proper mappings.
    But if the variable name is in proper case, the wsdl generated is not having the proper definition.
    Eg:
    private List<String> mylist;
    public List<String> getMylist() {
    public setMylist(List<String> mylist){
    as part of my web param or web method return type object, works fine. But,
    private List<String> myList;
    public List<String> getMyList() {
    public setMyList(List<String> myList){
    as part of my web param or web method return type object, is getting failed.
    Any input in this matter will be appreciated.
    Thanks and Regards,
    Dipu

    Hello,
    Thank you very much for your reply.
    Please find the attached java source files (CollectionsTestService.java, FormInformationDTO.java and AnotherDTO.java). Also I have attached the wsdl generated by the ant task <oracle:deploy....>.
    Please find the differences of type definitions, in case of the two sets of variables,
    "genderCodes, testMap, testList" and "gendercodes, testmap, testlist"
    I am not able to find any logical reason for the same, but it is happening in my environment. The type definitions for the second set is well and fine and it satisfies my requirement.
    If you can help me in sorting out this issue, that will be really helpful. As you know I can not impose any restrictions to name the variables, just to make the things work. More than that I am interested in finding the actual reason for this abnormal behavior with OC4J.
    Thanks and Regards,
    Dipu.
    ######CollectionsTestService.java
    package poc;
    import java.util.ArrayList;
    import java.util.List;
    import javax.ejb.Stateless;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    * @author dipu.kumar
    * Description: A web service to test collection objects as peb param return type and arguments.
    @WebService ( name = "CollectionsTestService" )
    @Stateless
    public class CollectionsTestService
    * This is a test method and please dont think about the argument types.
    * @param searchCriteria
    * @return
    @WebMethod ( operationName = "search" )
    public List < FormInformationDTO > search ( FormInformationDTO searchCriteria )
    List < FormInformationDTO > testResults = new ArrayList < FormInformationDTO > ();
    testResults.add ( searchCriteria );
    return testResults;
    #####FormInformationDTO.java
    package poc;
    import java.io.Serializable;
    import java.util.List;
    import java.util.Map;
    public class FormInformationDTO implements Serializable
    private Map < String , Long > genderCodes;
    private Map < String , AnotherDTO > testMap;
    private List < AnotherDTO > testList;
    private Map < String , Long > gendercodes;
    private Map < String , String > testmap;
    private List < AnotherDTO > testlist;
    public Map < String , Long > getGenderCodes ()
    return genderCodes;
    public void setGenderCodes ( Map < String , Long > genderCodes )
    this.genderCodes = genderCodes;
    public List < AnotherDTO > getTestList ()
    return testList;
    public void setTestList ( List < AnotherDTO > testList )
    this.testList = testList;
    public Map < String , AnotherDTO > getTestMap ()
    return testMap;
    public void setTestMap ( Map < String , AnotherDTO > testMap )
    this.testMap = testMap;
    public Map < String , Long > getGendercodes ()
    return gendercodes;
    public void setGendercodes ( Map < String , Long > gendercodes )
    this.gendercodes = gendercodes;
    public List < AnotherDTO > getTestlist ()
    return testlist;
    public void setTestlist ( List < AnotherDTO > testlist )
    this.testlist = testlist;
    public Map < String , String > getTestmap ()
    return testmap;
    public void setTestmap ( Map < String , String > testmap )
    this.testmap = testmap;
    ########AnotherDTO.java
    package poc;
    import java.util.List;
    import java.util.Map;
    public class AnotherDTO
    private Map < String , Long > genderCodes;
    private Map < String , FormInformationDTO > testMap;
    private List < FormInformationDTO > testList;
    private Map < String , Long > gendercodes;
    private Map < String , String > testmap;
    private List < FormInformationDTO > testlist;
    public Map < String , Long > getGenderCodes ()
    return genderCodes;
    public void setGenderCodes ( Map < String , Long > genderCodes )
    this.genderCodes = genderCodes;
    public List < FormInformationDTO > getTestList ()
    return testList;
    public void setTestList ( List < FormInformationDTO > testList )
    this.testList = testList;
    public Map < String , FormInformationDTO > getTestMap ()
    return testMap;
    public void setTestMap ( Map < String , FormInformationDTO > testMap )
    this.testMap = testMap;
    public Map < String , Long > getGendercodes ()
    return gendercodes;
    public void setGendercodes ( Map < String , Long > gendercodes )
    this.gendercodes = gendercodes;
    public List < FormInformationDTO > getTestlist ()
    return testlist;
    public void setTestlist ( List < FormInformationDTO > testlist )
    this.testlist = testlist;
    public Map < String , String > getTestmap ()
    return testmap;
    public void setTestmap ( Map < String , String > testmap )
    this.testmap = testmap;
    ###CollectionsTestService-WSDL.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns0="http://www.oracle.com/webservices/internal/literal" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://poc/" name="CollectionsTestServiceService" targetNamespace="http://poc/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://www.oracle.com/webservices/internal/literal" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://poc/" elementFormDefault="qualified">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <complexType name="FormInformationDTO">
    <sequence>
    <element name="testMap" type="ns1:map" nillable="true"/>
    <element name="testList" type="ns1:list" nillable="true"/>
    <element name="gendercodes" type="tns:MapOfStringToLong" nillable="true"/>
    <element name="genderCodes" type="ns1:map" nillable="true"/>
    <element name="testlist" type="tns:ListOfAnotherDTO" nillable="true"/>
    <element name="testmap" type="tns:MapOfStringToAnotherDTO" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="MapOfStringToLong">
    <sequence>
    <element name="mapEntry" type="tns:MapEntryOfStringToLong" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="MapEntryOfStringToLong">
    <sequence>
    <element name="key" type="string"/>
    <element name="value" type="long"/>
    </sequence>
    </complexType>
    <complexType name="ListOfAnotherDTO">
    <sequence>
    <element name="item" type="tns:AnotherDTO" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="AnotherDTO">
    <sequence>
    <element name="testMap" type="ns1:map" nillable="true"/>
    <element name="testList" type="ns1:list" nillable="true"/>
    <element name="gendercodes" type="tns:MapOfStringToLong" nillable="true"/>
    <element name="genderCodes" type="ns1:map" nillable="true"/>
    <element name="testlist" type="tns:ListOfFormInformationDTO" nillable="true"/>
    <element name="testmap" type="tns:MapOfStringToFormInformationDTO" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ListOfFormInformationDTO">
    <sequence>
    <element name="item" type="tns:FormInformationDTO" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="MapOfStringToFormInformationDTO">
    <sequence>
    <element name="mapEntry" type="tns:MapEntryOfStringToFormInformationDTO" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="MapEntryOfStringToFormInformationDTO">
    <sequence>
    <element name="key" type="string"/>
    <element name="value" type="tns:FormInformationDTO"/>
    </sequence>
    </complexType>
    <complexType name="MapOfStringToAnotherDTO">
    <sequence>
    <element name="mapEntry" type="tns:MapEntryOfStringToAnotherDTO" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="MapEntryOfStringToAnotherDTO">
    <sequence>
    <element name="key" type="string"/>
    <element name="value" type="tns:AnotherDTO"/>
    </sequence>
    </complexType>
    <element name="search" type="tns:search"/>
    <complexType name="search">
    <sequence>
    <element name="searchCriteria" type="tns:FormInformationDTO" nillable="true"/>
    </sequence>
    </complexType>
    <element name="searchResponse" type="tns:searchResponse"/>
    <complexType name="searchResponse">
    <sequence>
    <element name="return" type="tns:ListOfFormInformationDTO" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
    <import namespace="http://poc/"/>
    <complexType name="map">
    <sequence>
    <element name="mapEntry" type="tns:mapEntry" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="mapEntry">
    <sequence>
    <element name="key" type="anyType"/>
    <element name="value" type="anyType"/>
    </sequence>
    </complexType>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="CollectionsTestServicePortType_search">
    <part name="parameters" element="tns:search"/>
    </message>
    <message name="CollectionsTestServicePortType_searchResponse">
    <part name="parameters" element="tns:searchResponse"/>
    </message>
    <portType name="CollectionsTestService">
    <operation name="search">
    <input message="tns:CollectionsTestServicePortType_search"/>
    <output message="tns:CollectionsTestServicePortType_searchResponse"/>
    </operation>
    </portType>
    <binding name="CollectionsTestServiceSoapHttp" type="tns:CollectionsTestService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="search">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="CollectionsTestServiceService">
    <port name="CollectionsTestService" binding="tns:CollectionsTestServiceSoapHttp">
    <soap:address location="http://wdjpd0610005.djp.dintranet:8888/mdpackageejb/CollectionsTestService"/>
    </port>
    </service>
    </definitions>

  • Problems with using a variable of type flash.filesystem.File

    I need to parse a file with my flex app.  I can import flash.filesystem.File with no problem but if I try to create a variable of that type, it does strange things at run time.  If the variable is defined inside a function, it's as if that function no longer exists.  The function doesn't get called and I can't step into it.  If I define a File variable at global scope, the swf simply won't do anything at all.
    I've added all the AIR libs to my project and don't know what else to try at this point.  Any ideas?
    This sample code shows the problem.  If I comment out the File in initData, initData doesn't get called and I can't step into it.  If I comment out the global File, then I get a blank swf.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application           
       xmlns:mx="http://www.adobe.com/2006/mxml" minWidth="955" minHeight="600"
       initialize="initData()">
        <mx:Script>
            <![CDATA[
                import flash.filesystem.File;
                //private var file:File;
                private function initData():void
                    //var file:File;  
                    testLabel.text = "test";   
            ]]>
        </mx:Script>
        <mx:TextArea y="200" id="testLabel" text="hello" />
    </mx:Application>

    sorry for my ignorance, I've only been using flex since 4.0
    shouldn't you be using WindowedApplication rather than Application for an AIR app?
    also there is no need to import File
    below is my code that work's fine
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
                                  layout="absolute"
                                  initialize="initData()">
         <mx:Script>
              <![CDATA[
                   private var file:File;
                   private function initData():void
                        var file:File;
                        testLabel.text = "test";
              ]]>
         </mx:Script>
         <mx:TextArea y="200" id="testLabel" text="hello" />
    </mx:WindowedApplication>

  • Problem in using array variable in PartnerLinks

    I have a stored procedure in Oracle DB,which the parameters is a varray with types,such as
    type temp1 as object (temp_id varchar(10),temp_desc varchar(512));
    TYPE templist AS VARRAY(50) OF TEMP1
    procedure testArray1(accounting_temps IN templist)
    I used the database adapter to generate a partnerlink,it can work,but when I assign the variables to DBAda1_InputVariable (using while to read all data in xml),it only send a array with one value,the last value updates the value before.
    How to add the array (not update) variable in this case??
    Thanks and best regards!!

    I have a stored procedure in Oracle DB,which the parameters is a varray with types,such as
    type temp1 as object (temp_id varchar(10),temp_desc varchar(512));
    TYPE templist AS VARRAY(50) OF TEMP1
    procedure testArray1(accounting_temps IN templist)
    I used the database adapter to generate a partnerlink,it can work,but when I assign the variables to DBAda1_InputVariable (using while to read all data in xml),it only send a array with one value,the last value updates the value before.
    How to add the array (not update) variable in this case??
    Thanks and best regards!!

  • Problem when using Collection in struts

    Hai
    I am using the collction classes like Vector, ArrayList to store details from database and then i assigned that as a session attribute and then i use that to display values in jsp. But at compilation time it displays the following message.
    Note: DatabaseOperation.java uses unchecked of unsafe opertaions.
    Note: Recompile with -Xlint: unchecked for details
    Here DatabaseOperation is a java file in which i am using the following method.
    public ArrayList dbSelectServerDetails(String serverName)
                       ArrayList serverList=new ArrayList();
         try
         st=con.createStatement();
         rs=st.executeQuery("Select * from cx_server where server_name='"+serverName+"'");
         while(rs.next())
         serverList.add(rs.getString(1));
         serverList.add(rs.getString(2));
         serverList.add(rs.getString(3));
         catch(Exception e)
         System.out.println("Error in dbSelectServerDetails : "+e);
         return serverList;
    } I assigned this returned serverList as session attribute named "serverList"
    jsp file
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <logic:present name="serverList">
         <logic:iterate id="serverName" name="serverList">
              <bean:write name="serverName"/>
         </logic:iterate>
    </logic:present>What is problem here? pls help me.

    Double Post: http://forum.java.sun.com/thread.jspa?threadID=631435&messageID=3644257#3644257

  • How to use the variables of Function exit in the include program

    i have a problem of using the variables of a function exit in the include program..
    If i use those variables there will be an error indicating 'Field FEBVW_IN is unknown. It is neither in one of the specified tables nor defined by a DATA statement'. Please help... Below is the code of the function exit:
    FUNCTION EXIT_SAPLIEDP_202.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(IDOC_CONTROL_INDEX)
    *"     VALUE(IDOC_DATA_INDEX)
    *"     VALUE(FEBVW_IN) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_IN) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_IN) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_IN) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_IN) LIKE  FEBPI STRUCTURE  FEBPI
    *"  EXPORTING
    *"     VALUE(I_FIMSG) LIKE  FIMSG STRUCTURE  FIMSG
    *"     VALUE(FEBVW_OUT) LIKE  FEBVW STRUCTURE  FEBVW
    *"     VALUE(FEBKO_OUT) LIKE  FEBKO STRUCTURE  FEBKO
    *"     VALUE(FEBEP_OUT) LIKE  FEBEP STRUCTURE  FEBEP
    *"     VALUE(FEBRE_OUT) LIKE  FEBRE STRUCTURE  FEBRE
    *"     VALUE(FEBPI_OUT) LIKE  FEBPI STRUCTURE  FEBPI
    *"  TABLES
    *"      IDOC_CONTROL STRUCTURE  EDIDC
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_AVIP STRUCTURE  AVIP OPTIONAL
    *"      IDOC_AVIR STRUCTURE  AVIR OPTIONAL
    *"      IDOC_AVIT STRUCTURE  AVIT OPTIONAL
    *"  CHANGING
    *"     REFERENCE(IDOC_AVIK) TYPE  AVIK OPTIONAL
    *"  EXCEPTIONS
    *"      PROC_ERROR
      INCLUDE ZXF08U10.
    Here is the code for the include program.
      INCLUDE ZXF08U10
    MOVE febvw_in TO febvw_out.

    Sometimes you will get this error message when checking include code in exits even though there is really no error - it happens because the include does not realise it is in the function due to the navigation index being out of date.
    Try activating the code - it may work even though the check said there were errors.
    You can also get this issue when trying to drill down on the field in the include to view its structure.
    Andrew

  • Using collections / Bind variables with a PL/SQL functio returning a query

    I have this code, which is supposed to assign collection variables as column names
    FOR i in 1 .. Collection_count -1
    LOOP
    SELECT c002 into :P341_M1 FROM APEX_collections WHERE collection_name = 'MA_SKILLS' AND seq_id=i;
    SELECT c002 into varholder FROM APEX_collections WHERE collection_name = 'MA_SKILLS' AND seq_id=i;
    vQuery:= vQuery || 'SUM(decode(label, ''Aware'', product_'|| i || ', ''Expert'', product_' || i || ', ''Proficient'', product_' || i || ', ''Advanced(Demo)'', product_' || i || ' )) as ';
    vQuery:=vQuery || varholder || ', ' ;
    END LOOP;
    I've tried &P341_M1. , :P341_M1, ':P341_M1', varholder
    When I try '&P341_M1' it returns the whole SUM(decode... line as the label
    Basically Im having a hard time using bind variables with the PL/SQL returning a query...anybody?

    Ok so working through this problem more I have realized that the problem is using the for loop i as an index value
    This will get a value:
    SELECT c002 into :P341_M1 FROM APEX_collections WHERE collection_name = 'MA_SKILLS' AND seq_id=2;
    But this won't
    SELECT c002 into :P341_M1 FROM APEX_collections WHERE collection_name = 'MA_SKILLS' AND seq_id=i;
    I'm in the for loop, and use the i variable in other places within this loop...Is there a reason why I can't compare seq_id to i?
    My new code as follows:
    FOR i in 1 .. Collection_count -1 --apex_application.g_f01.COUNT - 1
    LOOP
    varholder:=i;
    SELECT c002 into :P341_M1 FROM APEX_collections WHERE collection_name = 'MA_SKILLS' AND seq_id=2;
    SELECT c002 into varholder FROM APEX_collections WHERE collection_name = 'MA_SKILLS' AND seq_id=4;
    vQuery:= vQuery || 'SUM(decode(label, ''Aware'', product_'|| i || ', ''Expert'', product_' || i || ', ''Proficient'', product_' || i || ', ''Advanced(Demo)'', product_' || i || ' )) as f';
    vQuery:=vQuery || :P341_M1 ||i||', ' ;
    END LOOP;

  • Problem using local variable in event loop

    I have a state machine from which I want to monitor various controls, including "Start" and "Stop" buttons.  Not every state needs to monitor the controls.  At present, most states run timed loops.  In the first state that reads the front panel, I have an Event structure (inside a While loop) that monitors the various controls' Change Value events.  For numeric controls, I update variables (in shift registers) as needed.  The "Start" button is used to end the While loop controlling the Event structure, allowing the State to exit to the next state.
    My problem comes in subsequent states that employ this same idea.  Here, I put a Local Variable bound to the Start button and use the same code, but it frequently happens that when I enter this particular state, I cannot "turn on" the control -- I push the button, but it stays off.  Curiously, if it was On when I enter, I can turn it off, but then I'm stuck not being able to turn it on.
    I mocked up a very simply routine that illustrates this.  There are two sequences (corresponding to the two states).  Both use an Event loop with a local variable bound to my Stop button (really this is an LED control with custom colors).  I've deliberately moved the "initialization" (the declaration of the control in the block diagram) out of the Event loops -- putting it inside the first loop modifies the behavior in another strange way.
    Here's my thinking on how I would expect this to work:  The code outside Event Loop 1 should have little effect.  Assume the Stop button is initially Off.  You will "sit" in Event Loop 1 until you push the Stop button, changing its value to True; this value will be passed out of the Event case and cause the first While loop to exit.  You now enter the second sequence.  As I understand the Exit tunnel, it defaults to "False", so I'd expect to stay in the second Event loop until I turn the Stop button from On to Off, which will pass out a False, and keep me in the While for one more button push.  However, this doesn't happen -- I immediately exit, as though the "True" value of the Stop local variable is being seen and recognized by the Event loop (even though it hasn't changed, at least not in the context of this second loop).
    An even more curious thing occurs if I start this routine with the Stop button turned on.  Now I start in my Event loop waiting for a change, but this time the change will be from On to Off, which won't cause an exit from the frame.  This will be reflected by having the While loop count increment.  We should now be in the state of the example above, i.e. in an Event loop waiting for the control to be pushed again, and turned On.  However, clicking the control has no effect -- I cannot get it to "turn on".
    Where am I going astray in my thinking?  What is it about this method of doing things that violates the Labview paradigm?  As far as I can tell, what I'm doing is "legal", and I don't see the flaw in my reasoning, above (of course not -- otherwise I'd have fixed it myself!).  Note that because I'm using local variables inside Event loops (and I'm doing this because there are two places in my code where I want to do such testing), the Stop control is not latching (as required).  Is there something that gets triggered/set when one reads a latched control?  Do I need to do this "manually" using my local variable?
    I'll try to attach the simple VI that illustrates this behavior.
    Bob Schor
    Attachments:
    Simple Stop Conundrum.vi ‏14 KB

    altenbach wrote:
    Ravens Fan wrote:
    NEVER have multiple event structures that share the same events. 
    Actually, that's OK.  NOT OK is having multiple event structures in the same sequence structure.
    See also: http://forums.ni.com/ni/board/message?board.id=170&message.id=278981#M278981
    That's interesting.  I had always thought I read more messages discouraging such a thing rather than saying it was okay.  Your link lead me to another thread with this message. http://forums.ni.com/ni/board/message?board.id=170&message.id=245793#M245793.  Now that thread was mainly concentrating on registered user events which would be a different, but related animal. 
    So if you have 2 event structures they each have their own event queue?  So if you have a common event, one structure pulls it off its event queue and it does not affect the other structure's event queue?  I guess the inherent problem with this particular VI was that the second event structure locked the front panel.  Since the code never got to that 2nd event structure because the  first loop never stopped because the change was from true to false.  After reading your post and the others, I did some experimentation and turned off the Lock front panel on the 2nd structure, and that prevented the lockup of the program.
    Overall, the example VI still shows problems with the architecture and I think your answer should put the original poster on the right track.  I think as a rule I would probably never put the same event in multiple structures, I feel there are better ways to communicate the same event between different parts of a program,  but I learned something by reading your reply and about how the event structures work in the background.  Thanks.

Maybe you are looking for

  • I want to check/see the total quantity of items from fixed asset module

    Dear All, When I create purchase requisitions or purchase order, at the time of selection of items (Printer etc)- I want to check/see the total quantity of items from fixed asset module. Please guide, me how can I see the total items are available in

  • Multiple POST-MAPPING Processes Code Generation BUG

    We are testing OWB 10gR2, and we were very happy to see that there is option to include more than one postmapping operator. The idea is to create mapping with two post-mapping operators and that: - one procedure is executed in case of 'Post-Mapping P

  • Infoobj is changed frm Char to NUMC

    Hi Gurus, I have an infoobject which is giving data to another infoobject. We had a requirement to change the former info object from CHAR to NUMC and removing the ALPHA conversion routine. Everything went on well in DEV system, I transported it to Q

  • Help i trying to divide number in adobe reader canat do this plase help i upload a photo

    i need to make script that wain i put the rent amount and the balance the program divide the balance with the rent like you see in the pic so the total balance is $1150.00 and the rent is $250.00 so its 4 month and $75.00 for 3  $25.00 late fees and

  • IPod Nano has stopped uploading my movies...

    My Ipod Nano 4th Generation has stopped uploading movies. It used to before. Yes, I had my movies marked as "watched", but now when I do that it won't show up in my Movies. Not to to long ago, my Nano had stopped working for a bit until I restarted i