Retain standard SAP order type after copying with user defined order type

Hello SAP Gurus,
We have a requirement of retaining the standard SAP order types after copying with User defined order types. But the issue is we don't want to see the standard SAP order type such as PM01, PM02 in production system while using transaction like IW31 etc.
Is there anybody who has answer to retain these stanadard SAP order types without deleting from system configuration?
Thanks in advance.
Cheers,
Vaibhav

Vaibhav,
When you F4 on the order type field in IW31 you will get the popup showing the order type list. At the top of this list is a button with a green "+" sign (Insert in personal list).
You can use this button to select your favourite list.
This function is available in most F4 drop-down lists.
However, you cannot set this setting for all users. You will need to write an ABAP program to do this.
PeteA

Similar Messages

  • Problem building schema in JDeveloper with  user defined complex type.

    Hi,
    I am facing proble in JDeveloper while assigning input.
    1. Used Oracle BPEL Database Adaper to access the procedure in Oracle DB which accepts input in the form of record typ in database.
    2. XSD file is automatically created.
    3. BPEL process WSDL's, input and output parameter elements are modified as
    per the auto generated XSD file.
    4. Trying to assign the input from BPEL console to the input variable of
    procedure.
    5. Getting error message "Invalid reference:
    xmlns="http://www.w3.org/2001/XMLSchema:XX_QTE_LINE_REC_TYPE" in the Oracle
    BPEL designer when, drilled down at input variable.
    Generated code:
    1. XX_RAC_CREATE_QUOTE_1.XSD --> generated by Oracle BPEL below:
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/BOLINF/XX_RAC_CREATE_QUOTE_1/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/BOLINF/XX_RAC_CREATE_QUOTE_1/">
    <element name="InputParameters">
    <complexType>
    <sequence>
    <element name="P_QTE_HEADER_REC" type="db:XX_RAC_QTE_HEADER_REC_TYPE" db:index="1" db:type="Struct" minOccurs="0" nillable="true"/>
    <element name="P_QTE_LINE_REC" type="db:XX_QTE_LINE_REC_TYPE" db:index="2" db:type="Struct" minOccurs="0" nillable="true"/>
    <element name="P_CIELING_LIMIT" type="decimal" db:index="3" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="P_EXCESS" type="decimal" db:index="4" db:type="NUMBER" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="OutputParameters">
    <complexType>
    <sequence>
    <element name="X_QUOTE_NUMBER" type="string" db:index="5" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    <element name="X_RETURN_STATUS" type="string" db:index="6" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="XX_QTE_LINE_REC_TYPE">
    <sequence>
    <element name="QUOTE_HEADER_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="QUOTE_LINE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ORG_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ITEM_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="PRICE_LIST" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="BILL_TO_ACCOUNT" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="BILL_TO_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="SHIP_TO_ACCOUNT" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="SHIP_TO_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="QUANTITY" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="ORGANIZATION_ID" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="20"/>
    </restriction>
    </simpleType>
    </element>
    <element name="LINE_CATERORY_CODE" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="100"/>
    </restriction>
    </simpleType>
    </element>
    <element name="OPERATION_CODE" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="20"/>
    </restriction>
    </simpleType>
    </element>
    <element name="CREATED_BY" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="100"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    <complexType name="XX_RAC_QTE_HEADER_REC_TYPE">
    <sequence>
    <element name="SR_NUMBER" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="100"/>
    </restriction>
    </simpleType>
    </element>
    <element name="VRN" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="INS_ACCT_NBR" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="INS_ACCT_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="CUST_ACCT_NBR" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="CUST_SITE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
    <element name="CREATED_BY" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    <element name="ORGANIZATION_ID" db:type="VARCHAR2" minOccurs="0" nillable="true">
    <simpleType>
    <restriction base="string">
    <maxLength value="50"/>
    </restriction>
    </simpleType>
    </element>
    </sequence>
    </complexType>
    </schema>
    2. Update QuoteCreationTest.wsdl as per the above generated XSD file below:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="QuoteCreationTest"
    targetNamespace="http://xmlns.oracle.com/QuoteCreationTest"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/QuoteCreationTest"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/QuoteCreationTest"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="QuoteCreationTestProcessRequest">
                        <complexType>
                             <sequence>
    <element name="P_QTE_HEADER_REC" type="XX_RAC_QTE_HEADER_REC_TYPE" minOccurs="0" nillable="true"/>
    <element name="P_QTE_LINE_REC" type="XX_QTE_LINE_REC_TYPE" minOccurs="0" nillable="true"/>
    <element name="P_CIELING_LIMIT" type="decimal" minOccurs="0" nillable="true"/>
    <element name="P_EXCESS" type="decimal" minOccurs="0" nillable="true"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="QuoteCreationTestProcessResponse">
                        <complexType>
                             <sequence>
    <element name="X_QUOTE_NUMBER" type="string" minOccurs="0" nillable="true"/>
    <element name="X_RETURN_STATUS" type="string" minOccurs="0" nillable="true"/>
                             </sequence>
                        </complexType>
                   </element>
    <complexType name="XX_QTE_LINE_REC_TYPE">
    <sequence>
    <element name="QUOTE_HEADER_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="QUOTE_LINE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ORG_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="INVENTORY_ITEM_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="PRICE_LIST" type="string" minOccurs="0" nillable="true" />
    <element name="BILL_TO_ACCOUNT" type="string" minOccurs="0" nillable="true"/>
    <element name="BILL_TO_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="SHIP_TO_ACCOUNT" type="string" minOccurs="0" nillable="true"/>
    <element name="SHIP_TO_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="QUANTITY" type="decimal" minOccurs="0" nillable="true"/>
    <element name="ORGANIZATION_ID" type="string" minOccurs="0" nillable="true"/>
    <element name="LINE_CATERORY_CODE" type="string" minOccurs="0" nillable="true"/>
    <element name="OPERATION_CODE" type="string" minOccurs="0" nillable="true"/>
    <element name="CREATED_BY" type="string" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="XX_RAC_QTE_HEADER_REC_TYPE">
    <sequence>
    <element name="SR_NUMBER" type="string" minOccurs="0" nillable="true"/>
    <element name="VRN" type="string" minOccurs="0" nillable="true"/>
    <element name="INS_ACCT_NBR" type="string" minOccurs="0" nillable="true"/>
    <element name="INS_ACCT_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="CUST_ACCT_NBR" type="string" minOccurs="0" nillable="true"/>
    <element name="CUST_SITE_ID" type="decimal" minOccurs="0" nillable="true"/>
    <element name="CREATED_BY" type="string" minOccurs="0" nillable="true"/>
    <element name="ORGANIZATION_ID" type="string" minOccurs="0" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="QuoteCreationTestRequestMessage">
              <part name="payload" element="client:QuoteCreationTestProcessRequest"/>
         </message>
         <message name="QuoteCreationTestResponseMessage">
              <part name="payload" element="client:QuoteCreationTestProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the QuoteCreationTest BPEL process -->
         <portType name="QuoteCreationTest">
              <operation name="process">
                   <input message="client:QuoteCreationTestRequestMessage" />
                   <output message="client:QuoteCreationTestResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="QuoteCreationTest">
              <plnk:role name="QuoteCreationTestProvider">
                   <plnk:portType name="client:QuoteCreationTest"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    3. Error message when accessing assign from JDeveloper below:
    Invalid reference:
    xmlns='http://www.w3.org/2001/XMLSchema:XX_QTE_LINE_REC_TYPE'
    Can any one please, let me know the reason for the above error generated.
    Thanks and Regards
    Raj

    clemens,
    Now, i have problem with the input variable data type of my client and the input variable type of my receive activity.
    Currenty, my input variable of receive activity is same as the data type of my procedure input parameter, but my client input variable is still string.
    Please, find my client WSDL below:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="QuoteCreation"
    targetNamespace="http://xmlns.oracle.com/QuoteCreation"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/QuoteCreation"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/QuoteCreation"
                   xmlns="http://www.w3.org/2001/XMLSchema">
                   <element name="QuoteCreationProcessRequest">
                        <complexType>
                             <sequence>
                                  <element name="input" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
                   <element name="QuoteCreationProcessResponse">
                        <complexType>
                             <sequence>
                                  <element name="result" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="QuoteCreationRequestMessage">
              <part name="payload" element="client:QuoteCreationProcessRequest"/>
         </message>
         <message name="QuoteCreationResponseMessage">
              <part name="payload" element="client:QuoteCreationProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the QuoteCreation BPEL process -->
         <portType name="QuoteCreation">
              <operation name="process">
                   <input message="client:QuoteCreationRequestMessage" />
                   <output message="client:QuoteCreationResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="QuoteCreation">
              <plnk:role name="QuoteCreationProvider">
                   <plnk:portType name="client:QuoteCreation"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    Cheers
    Raj

  • Fail to create web service with user-defined data type using jwsc Ant task!

    Hello every body!
    I used JAXWS to create WSDL from a jws file.
    This is my jws:
    package ws;
    import javax.jws.WebService;
    import javax.jws.WebMethod;
    import ws.MyDataType;
    *@WebService*
    *public class MyWebService {*
    public MyWebService()
    *@WebMethod*
    public MyDataType MyWebMethod(MyDataType mdt)
    *// mdt.setS("I got it!");*
    return mdt;
    and this is my data type:
    package ws;
    *public class MyDataType {*
    String s;
    public MyDataType()
    *public String getS() {*
    return s;
    *public void setS(String s) {*
    this.s = s;
    and this is my Ant build.xml
    *<project default="all">*
    *<property name="weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/>*
    *<taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">*
    *<classpath>*
    *<path id="weblogic.classpath">*
    *<pathelement path="WEBLOGIC_HOME"/>*
    *<fileset dir="${weblogic.jar.classpath}">*
    *<include name="weblogic.jar"/>*
    *</fileset>*
    *</path>*
    *</classpath>*
    *</taskdef>*
    *<target name="all" depends="clean,build-service"/>*
    *<target name="clean">*
    *<delete dir="output"/>*
    *</target>*
    *<target name="build-service">*
    *<!--add jwsc and related tasks here -->*
    *<jwsc srcdir="" destdir="wsoutput">*
    *<jws file="MyWebService.java" type="JAXWS"/>*
    *</jwsc>*
    *</target>*
    *<!--<target name="deploy"> --><!--add wldeploy task here --><!-- </target>-->*
    *</project>*
    I run the Ant task but I get this error:
    Buildfile: build.xml
    clean:
    build-service:
    [jwsc] JWS: processing module /MyWebService
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /MyWebService
    *[jwsc] [JAM] Warning: failed to resolve class MyDataType*
    [jwsc] JWS: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java Validated.
    [jwsc] Processing 1 JAX-WS web services...
    *[jwsc] error: Could not get TypeDeclaration for: MyDataType in apt round: 1*..........
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: Error processing JAX-WS web services
    Please help me to solve this issue.
    Thank you,
    Mojir

    Thank u very much Jay SenSharma this was helpful
    and thank u sandeep_singh this is the answer,
    I find another answer too :
    adding my class files to the path remove the error:
    <project default="all">
    <property name="weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/>
    <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask">
    <classpath>
    <path id="my.path">
    <pathelement path="D:/Projects/bea103/jdk160_05/lib/tools.jar"/>
    <pathelement path="D:/Projects/bea103/wlserver_10.3/server/lib/weblogic.jar"/>
    *<pathelement path="D:/Projects/LifeInsurance Project Original/BusinessModule/classes/"/>* adding this line solved my problem.
    <pathelement path="${java.class.path}"/>
    </path>
    <path id="weblogic.classpath">
    <pathelement path="WEBLOGIC_HOME"/>
    <fileset dir="${weblogic.jar.classpath}">
    <include name="weblogic.jar"/>
    </fileset>
    </path>
    </classpath>
    </taskdef>
    <target name="all" depends="clean,build-service"/>
    <target name="clean">
    <delete dir="output"/>
    </target>
    <target name="build-service">
    <jwsc sourcepath="mytype" classpathref="my.path" debug="true" srcdir="" destdir="wsoutput">
    <jws file="NegotiationService.java" generatewsdl="true" type="JAXWS"/>
    </jwsc>
    </target>
    </project>
    Thank u very much,
    Mojir

  • Syncing contacts: user defined address type won't show in iPod

    Hey,
    I have contacts in my address book with user defined address types. For example, I defined an address type "parents" to save the postal address of my friend's parents.
    After having synced my contacts using iTunes 7.6, my friend's parental address shows up as her private address whereas her private address isn't displayed at all.
    Is this a bug in the iPod firmware (1.2.3) or in AddressBook (Mac OS 10.5.1)?
    Is there a workaround available?
    Thanks for any hint,
    Markus

    Yep, I had the same problem as sfraize - exactly. Address Book showed in the Dock as being active, but didn't display, and wasn't showing in the Force Quit window either.
    Here's what I did:
    1. removed Address Book from the Dock;
    2. tried to launch it from the Applications folder (but it crashed the Finder and I had to shut down by holding the Start key);
    3. on reboot, launched Address Book again from the Applications folder and this time, magically, it worked;
    4. I've now put it back into the Dock, from where it seems to launch just fine.
    Hope this helps people with similar problems!
    I really don't like this horrible leather-effect-torn-pages appearance of the OS apps, by the way. About as progressive and witty and elegant as printing CDs with images of vinyl records (anyone else remember World Party's 1990 album Goodbye Jumbo?)

  • User defined table type output not coming

    hi all,
    i have a userdefined type delcared as:
    create or replace TYPE SAMPLE_SEARCH AS OBJECT (
    -- LIST OF VARIABLE NAMES AND RESPECTIVE DATA TYPE
    i have a user defined table type defined as:
    create or replace TYPE SAMPLE_SEARCH_TABLE IS TABLE OF SAMPLE_SEARCH;
    I have a stored proc which has an output paramter of type SAMPLE_sEARCH_TABLE.
    that is,
    sp_sample_proc(sample_search_tb OUT SAMPLE_SEARCH_TABLE);
    When i invoke the above stored proc from an anonymous pl/sql block , how can i display the contents of the output parameter using dbms_Output statements?

    Try this.........This is just a sample code.
    CREATE OR REPLACE TYPE address1 AS OBJECT
    (country VARCHAR2(1000),
    city VARCHAR2(1000),
    zip NUMBER,
    add1 VARCHAR2(4000),
    add2 VARCHAR2(4000));
    CREATE OR REPLACE TYPE t_addObj IS TABLE OF address1;
    CREATE OR REPLACE PROCEDURE Sp_Address_Obj(Out_Add_Obj OUT t_Addobj) IS
    v_Addobj t_Addobj := t_Addobj();
    BEGIN
    SELECT Address1(u.Object_Name,
    u.Object_Type,
    u.Object_Id,
    'Add01' || Rownum,
    'Add02' || Rownum) BULK COLLECT
    INTO v_Addobj
    FROM User_Objects u;
    Out_Add_Obj := v_Addobj;
    END Sp_Address_Obj;
    DECLARE
    v_Addobj t_Addobj := t_Addobj();
    BEGIN
    Sp_Address_Obj(v_Addobj);
    Dbms_Output.Put_Line(v_Addobj(1).City);
    FOR i IN 1 .. v_Addobj.Count LOOP
    Dbms_Output.Put_Line(v_Addobj(i).Country || '-' ||
    v_Addobj(i).City || '-' ||
    v_Addobj(i).Zip || '-' ||
    v_Addobj(i).Add1 || '-' ||
    v_Addobj(i).Add2);
    END LOOP;
    END;

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • How to use OracleDbType.Array provided by ODP with  User defined type ?

    Can anyone help me how to use OracleDbType.Array provided by ODP.NET ?
    I need to pass string array to a oracle stored procedure .
    User defined array type defined in oracle is :
    CREATE TYPE TYPE_NAME IS TABLE OF varchar2(20) ;
    This type is defined outside of any package , and i have tested that if definition of type is modified to
    CREATE TYPE TYPE_NAME IS TABLE OF varchar2(20) index by binary_integer , i am able to pass array as AssociativeArray to my Stored Procedure.
    But how to pass array object if the Type's definition does not contain index by clause ?
    Please help how to pass Array object to Oracle Stored Procedure ?

    The solution described in Passing Array of UDT or Collection as IN OUT using OracleDbType.InputOutput
    is working for me.
    Edited by: stzueger on Jan 2, 2012 10:32 AM

  • User defined Catalog type u0093Su0094  - Valuation code field missing

    Hi Quality Experts,
    I have created a user defined catalog type in customization coping the catalog type 3.
    This is required for authorization purposes.
    Transaction Code : QS51.
    For system defined catalog type 3, in QS51 all fields are visible.
    Hence selection set can be created.
    For user defined catalog type S which is a copy of 3,
    for the same transaction code QS51 many field are hidden.
    Hence selection set can not be created.
    15 Columns are existing.
    S.No     System defined Catalog Type "3".     User defined Catalog Type "S".     Remarks
    1     Code Grouop     Code Grouop     OK
    2     Code                      Code                      OK
    3     Short Text for Code     Short Text for Code     OK
    4     Long Text for Code     Long Text for Code     OK
    5     Valuation Code     MISSING                     THIS FIELD IS MISSING
    6     Quality Score     MISSING                     THIS FIELD IS MISSING
    7     Posting Propasal UD     MISSING                     THIS FIELD IS MISSING
    8     Long Term Char.     MISSING                     THIS FIELD IS MISSING
    9     Stock Screen
                    Backgr.                    MISSING                     THIS FIELD IS MISSING
    10     Follow up action     MISSING                      THIS FIELD IS MISSING
    11     Short Text      MISSING                     THIS FIELD IS MISSING
    12     Changed By     Changed By     OK
    13     Changed On     Changed On     OK
    14     Created By     Created By     OK
    15     Created On     Created On     OK
    ===========================================================
    Total  7 fields are missing.
    SAP Version : SAP ECC 6.0
    Please guide.
    With Best Regards,
    Raghu Sharma.

    Hi
    when you have created new Catalog type by copying 3, did you check whether Selected Sets is flagged in the configuration?
    regards
    Srinivas

  • How do i declare a user defined table type sproc parameter as a local variable?

    I have a procedure that uses a user defined table type.
    I am trying to redeclare the @accountList parameter into a local variable but it's not working and says that i must declare the scalar variable @accountList.this is the line that is having the issue: must declare the scalar variable @accountListSET @local_accountList = @accountListALTER PROCEDURE [dbo].[sp_DynamicNumberVisits] @accountList AS integer_list_tbltype READONLY
    ,@startDate NVARCHAR(50)
    ,@endDate NVARCHAR(50)
    AS
    BEGIN
    DECLARE @local_accountList AS integer_list_tbltype
    DECLARE @local_startDate AS NVARCHAR(50)
    DECLARE @local_endDate AS NVARCHAR(50)
    SET @local_accountList = @accountList
    SET @local_startDate = @startDate
    SET @local_endDate = @endDate
    CREATE TYPE [dbo].[integer_list_tbltype] AS TABLE(
    [n] [int] NOT NULL,
    PRIMARY KEY CLUSTERED
    [n] ASC
    )WITH (IGNORE_DUP_KEY = OFF)
    GO

    Why are you asking how to be an awful SQL programmer??  Your whole approach to SQL is wrong.
    We have a DATE data type so your insanely long NVARCHAR(50) of Chinese Unicode strings is absurd. Perhaps you can post your careful research on this? Can you post one example of a fifty character date in any language? 
    The use of the "sp_" prefix has special meaning in T-SQL dialect. Good SQL programmers do not use CREATE TYPE for anything. It is dialect and useless. It is how OO programmers fake it in SQL. 
    The design flaw of using a "tbl-" prefix on town names is called "tibbling" and we laugh at it. 
    There are no lists in RDBMS; all values are shown as scalar values. First Normal Form (1NF)? This looks like a set, which would have a name. 
    In any -- repeat any -- declarative programming language, we do not use local variables. You have done nothing right at any level. You need more help than forum kludges. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • BRFplus: How to create an instance of User-Defined Expression Type?

    Hi,
      I've created an expression type in a System Application and marked its Access Level as Global. I've created a Class & Interface and assigned it to my Expression Type, and activated it successfully.
    Now how do use this Expression Type to create expression in my Customizing Applications?
    Do I have to make any more code changes like extending any more classes or implementing additional interfaces? (I've already created a dummy Query Class and UI class)
    Any documentation or example of how to create a user-defined Expression Type and how to use them will be very helpful for me.
    Thank you & Best Regards

    Well I was going through the PDF documents available on SDN. I came across a document which referred to a document on creating user-defined expression.
    Document Name: [BRFplus XML Export and Import|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20462066-a086-2d10-a999-c9075767ce48?quicklink=index&overridelayout=true].
    The code sample for creating user-defined expression types is available in the How to Create Custom Expression Types document
    Pg. 24
    I had a hard time looking for that document. Couldn't find it though.
    Thank you Mr. Ziegler, now I know that currently there isn't any documentation on User-Defined Expression Types. I'll be awaiting for your  document on this
    Any overview about the steps to be followed in creating a custom expression type, with a few simple steps on how to do it over here would be greatly appreciated. Especially on how to get it seen in the Create Expression Sub-Menu. Also do I have to code a web dynpro for the UI?
    Thank you & Best Regards.

  • Display of document line items with user defined fields

    Hi all,
    I have created two user defined fields in CI_COBL structure and they are available on OBC4 screen. I maintained  optinal for entry in the screen layout. I posted one document with user defined fields and saved.
    Now the document is updated in BSEG table. I then display the document, and it display the doucment
    But when i double click on the one of the line items system gives an error that there is some problem in customising and entries missing in Table COBM.
    I checked OXK3 and see that in field information for user fields, it says entries maintained in table COBM.
    But still i couldnt display my line items in detail.
    Any solutions
    Thanks in advance
    Ram

    Yes your are looking at the correct sap note.
    Things look pretty straight forward in the notes documentation.
    1)Extend the VBKRED structure with the fields you want.
    2)Populate thse values in the user exit in program DBKMVF02 in FORM routine USER_EXIT_FUELLEN_XVBKRED.
    For extending a standard structure you need to create a zstructuree in se11 first and then append it to the standard structure.
    In your case you need to  extend VBKRED_EX1 structure rather than VBKRED.
    Regards,
    ravi

  • ALV with user-defined buttons on toolbar in wd abap

    Hi All,
    I have to create an alv with user defined buttons  in wd abap on its toolbar.Could any one tell me in detail about it or provide me with any tutorial based on it.
    Thanking you all in advance.

    DATA: LR_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
    DATA: LR_INTF_ALV TYPE REF TO IWCI_SALV_WD_TABLE.
    LR_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
    IF LR_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) EQ ABAP_FALSE.
       LR_CMP_USAGE->CREATE_COMPONENT( ).
    ENDIF.
    LR_INTF_ALV = WD_THIS->WD_CPIFC_ALV( ).
    WD_THIS->M_MODEL = LR_INTF_ALV->GET_MODEL( ).
    DATA: LR_FUNCTION TYPE REF TO CL_SALV_WD_FUNCTION.
    LR_FUNCTION =
    WD_THIS->M_MODEL->IF_SALV_WD_FUNCTION_SETTINGS~CREATE_FUNCTION(
                            ID = 'ISSUE' ).
    DATA: LR_BUTTON TYPE REF TO CL_SALV_WD_FE_BUTTON.
    CREATE OBJECT LR_BUTTON.
    LR_BUTTON->SET_TEXT( 'Issue/Receive' ).
    LR_FUNCTION->SET_EDITOR( LR_BUTTON ).
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/101df93f-4b5c-2910-14aa-9eb0338c2110
    Abhi

  • Error when try Specify User-Defined Text Types

    Hi all,
    I have a problem when I try to Specify User-Defined Text Types. The system gave me the error what is described below. Do you know how to solve a problem?
    F1
    Choose the key from the allowed namespace
    Message no. SV019
    Diagnosis
    You have attempted to create an entry and have used a key which is not in your namespace.
    This can cause problems in later upgrades because the entry could be overwritten by an import, or overwrite an existing entry.
    Procedure
    Check your entry and try to enter a key value from your namespace.
    You can display the namespace definition with RDDKOR54.
    If you must use the key entered, document your change so that it can be repeated after an upgrade or release change if necessary. If you put the data in a change request, you can export it before an upgrade or release change, and import it again afterwards.

    do you have more details or advice and so on?

  • User defined table types sometimes show up a unknown data type in Profiler

    A couple of our users have a problem when using user defined table types. Calls are made using UDTT as variables and these are then passed to a stored procedure as parameters. Sometimes the application returns a timeout. In such situations a Profiler-Trace
    shows the following:
    declare @p4 unknown
    whereas the correct trace (that is sometimes displayed) should be:
    declare @p4 dbo.ReportFilterTableType
    ReportFilterTableType is a UDTT. The users do have correct permissions for the UDTT (otherwise they would never be usable for the user). What could be the reason that the data types for the variable
    @p4 in the example are sometimes returned as unknown and at other times are returned correctly as
    ReportFilterTableType? Could this possibly be a network related issue?
    Thank you.
    Graham Goodwin Email: [email protected]

    I know this is a old post, but i am also facing the same issue that too in my production server. Did you find any workarround for this issue. Please do reply. Critical problem we are facing.
    Alka, Is your problem timeouts when passing TVP parameters, or is it that a Profiler Trace shows type "unknown" for the TVP data type name?
    If your problem is timeouts, be aware that TVPs do not have statistics so the optimizer might not be able to generate an optimal plan for non-trivial queries. Declaring a primary key or unique constraint on the table type may help since that will provide
    useful cardinality information.  You may need to resort to hints in some cases.
    I suggest you start a new thread with details of your specific situation if the information in this thread doesn't help.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Calling procedure with user defined IN & OUT parameters

    I have procedure in a package which I need to call from the JDBC. My problem is, that procedure take user-defined data types as IN parameters & gives user-defined OUT paramters. How do I call a procedure like this. Do I need to write the wrapper class. If so from where do I start, I mean I don't have any idea about writing wrapper classes. Below is the package spec which might help you uderstand my question more clearly.
    CREATE OR REPLACE PACKAGE FAM_AR_SUMMARY_PKG IS
    TYPE ar_summ_rec_type IS RECORD (
    CUST_NAME hz_parties.party_name%TYPE,
    CUST_ACCT_NO hz_cust_accounts_all.ACCOUNT_NUMBER%TYPE,
    CUST_ACCT_BAL NUMBER,
    CUST_PAST_DUE_BAL NUMBER,
    CUST_UNAPP_REC_BAL NUMBER,
    CONTRACT_NO okc_k_headers_b.CONTRACT_NUMBER%TYPE,
    ANN_DATE okc_k_headers_b.END_DATE%TYPE,
    TOT_CONTRACT_VALUE okc_k_headers_b.ESTIMATED_AMOUNT%TYPE,
    PAST_DUE_AMT NUMBER,
    DAYS_PAST_DUE NUMBER,
    INV_PAST_DUE NUMBER,
    DEP_INV_BAL NUMBER,
    AMT_CREDITED NUMBER);
    TYPE ar_summ_tbl_type IS TABLE OF ar_summ_rec_type
    INDEX BY BINARY_INTEGER;
    PROCEDURE FAM_GET_AR_SUMMARY(p_cust_name IN hz_parties.party_name%TYPE,
    p_chr_id IN okc_k_headers_b.ID%TYPE,
    x_ar_summ_tbl OUT NOCOPY ar_summ_tbl_type,
    x_excp_message OUT VARCHAR2);
    END FAM_AR_SUMMARY_PKG;

    Hi,
    U cant get the type record from the DB with java. I hope u r using oracle. Instead u can create a Type object and then make it as an OUT parameter. Try reading the oracle documentation for it (JDBC Developer's Guide and Reference).
    Regards,
    Chandru.M

Maybe you are looking for

  • SSRS report with PowerPivot datasource - 401 Unauthorized

    Hello together, I have a tricky issue and hope that you can help me: Problem: I want to build a Reporting Services Report with a PowerPivot datasource with Report Builder 3.0. When I try to access the datasource via Report Builder I get the error: Th

  • Operation ' Change Attribute TSTATE ' could not be carried out for Request

    hi, i am unable to delete the request Id  from  DSO. and when i checked that, it says request is partially activated(error occured during the activation) and when i checked the logs i got the following error messages: Operation ' Change Attribute TST

  • Need urgent help :'The requested resource does not exist error'

    Hi All, I am getting 'The requested resource does not exist error' when trying to acess http://machinename:50000/irj Even when i access http://machinename:50000, i get the same 'The root directory does not exist' error. I checked in visual admin, the

  • Code in badi me_process_po_cust

    Hi,        I Implemented a BADI for PO for me_prcess_po_cust. I would lik to capture Item and header details from the method 'POST'. In this method 2 parameters are there. 1. IM_HEADER type ref of IF_PURCHASE_ORDER_MM. In this  interface several meth

  • Batch tracking and material usage analysis

    how do we track the batches and material usage analysis in case of any customer complaint?