How to assign two complex type data in message payload

Hi ,
In my xsd file two complex type data is there ,
but when i am trying to add these in message type request and response payload , i can add only one payload,
is it any way to add 2 complex types in message types request and response payloads.
Regards
janardhan

Each request and response has but a single payload. You can change the element of the payload to a single complex type from your XSD, but that's it. You can't assign more than one element to the request (or response) payload. Someone please correct me if I'm wrong.

Similar Messages

  • How to assign a pricing type to the pricing procedure ?

    Business Scenario : When the prices change from the time the order is taken to the time the invoice is created, how can setup the system to  handle the changes automatically ? 
    I would like to know How to create a pricing type and How to assign a pricing type to the pricing procedure so that I can use the 'new pricing document' function in the sales document and 'Update prices' on the condition screens in the Billing document.
    Thanks for your input in advance.
    Oscar

    Hi !! Oscar,
    1) For pricing type definition you would require the help of a developer.
    2) However, most of the commonly occuring requirements are supplied with  standard SAP.
    You can assign a pricing type to pricing procedure as follows:-
    IMG>S & D >Basic Functions>Pricing>Pricing Control>Define & Assign pricing procedures>Maintain pricing procedure> Here, locate your pricing procedure , in the fourth coloumn using the drop down list, you can assign a pricing type to the pricing procedure.
    Now you can use the 'new pricing document' function in the sales document and 'Update prices' on the condition screens in the Billing document !
    Regards,
    PATHIK
    Message was edited by:
            Pathik Pandya

  • How to assign an output type to an Output Device?

    How to assign an output type to an Output Device?
    I'm using SSF_GET_DEVICE_TYPE to get the device type. But for that device type there is no output device configured. How to do that one. I'm getting the output type as PDF1.
    Please help me.

    Hi,
    Guess u need to maintain it in SPAD transaction.
    Cheers
    VJ

  • How to assign the trip type to a particular employee.

    Hi,
    In HR - Module - Travel Management.
    I am trying to create a travel request for an employee.
    i am getting the error message :
    Statutory trip type does not exist in the system (T702G)
    how to assign the trip type to a particular employee.
    regards
    Giri
    *Points will be assigned for all the valid answers.

    If you are applying as employee you need to configure trip schema and single field control for webdynpro provided you are using webdynpro application as employee.
    there in the tri provision variant you need to enter the variant you have created.
    Under that select the travel planning trip schema PL.
    on right hand side you have a field trip schema: statutory where you need to select appropriate schema from drop-down.

  • How to assign the trip type to a particular employee. - Urgent

    Hi,
    In HR - Module - Travel Management.
    I am trying to create a travel request for an employee.
    i am getting the error message :
    Statutory trip type  does not exist in the system (T702G)
    how to assign the trip type to a particular employee.
    regards
    Giri
    *Points will be assigned for all the valid answers.

    Hi Fred,
    If you open any activities or opportunities, you can see the description if you select new button and click on the process type. It will be display Activities and below that New: Activity. Instead of always displaying the same description I want to override the description according to the process type. For me the application is not activity but Incident. Hope I am clear with the question.
    Thanks,
    Anu

  • How to execute two structure type values

    How to execute two structure type values for HWC app in SUP 2,2 ? Added is the screenshot, with the structure and values to be executed. Trying in the preview works fine , but how to process in the application ?

    Thanks Midhun VP i came across result checker , but still checking if there is any work around without result checker. , Will  a HTML view with some Success status work in this scenario .
    Correct me if i am wrong, as per my understanding , Result checkers checks the error code return value from BAPI and shows the respective message.
    If so, what are the Pros and Cons of using Result checker.
    Is it suggested to use Result checker for read only operations applications i,e which does nt involve operations( CUD)

  • Assign an output type to a message type

    Hi all,
    How do I assign an output type to a message type?
    Thanks in advance.
    JM

    You maintain the output type determination settings for the inbound and outbound delivery handlers, so that output types can be determined for deliveries, pursuant to the message control mechanism.
    <b> a.      You maintain the output types in Customizing for Logistics - General ->upply Chain Planning Interfaces (SCPI)-> Auto-ID Backend Integration->IDoc Processing ->Operational IDocs -> Output Type Determination -> Output Type Determination for Inbound/Outbound Deliveries-> Maintain Output Types</b>.
    reward points if it is usefull....
    Girish
    <b></b>

  • Can we assign same  basic type to  different message type in ALE

    Hi Expert
       can we assign same idoc type to different message type?

    Hi,
    Yes you can assign the one idoc type to multiple message type. Message type nothing but it represents the kind of data we transfer.But idoc type is the format in which we transfer data. As an example in Messager types "ORDERS" and "ORDRSP"  both indicates the order related data, and in both case idoc type can be ORDERS01, ORDERS02.............
    Thanks,
    Asit Purbey.
    Edited by: Asit Purbey on Oct 12, 2009 3:07 PM

  • How  we can mention varible substitution for diffrent message payloads

    Hi,
    How  we can mention varible substitution for diffrent message payloads,
    My sceanrio like following,
    According the Outbound idoc message,based on the condition the messages to be split into 9 diffrent files.The sender message may or may not satisfied the condition to one or two messages or  all messages.
    I done the mapping 1:N multimapping in messagemapping & Interface mapping too.
    In reciever file adapter i put the variable substiution like as fallows.
    Variable            Refrence
    Name--            -
    Filename -- payload:message_type_1,1,Segment1,1,Segment2,1,Field_1,1
    <b>How we can mention variable substitution for remaining messages in the same communication channel.my message type names are diffrent for all 9 messagetypes.</b> Any ideas pl forward..,
    When i am testing this scenario,able to processing a one file but the file is not placed in the specified target & gives the follwing error:
    'Conversion configuration error: Unknown structure 'ns1:message_type_2' found in document', probably configuration error in file adapter (XML parser error)'.The file is
    In this case Idoc data satisfied the one message condition only.
    If any ideas & suggestions ..?

    Hi Anjan
    You could always put the "FileName" and "Directory" names into the Dynamic Configuration using a UDF in the map - possibly using a value mapping table to determine the correct values. Then simply reference "%Directory%" and "%FileName%" in the file adapter.  This way you do not have to reference payload variables and you set the names in the map. You will need to tick the box for "use adapter specific message attributes" in the file adapter. you UDF code will look something like
    String dir = "/path";
    String fil = "filename.txt";
    DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,dir);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,fil);
    - Stephen

  • How to assign 2 Delivery Types to a single Internal Confirmation category ?

    Hi all,
    According to this transaction OMGZ that assign the Delivery type to the Internal Confirmation categories, I'll like to assign another Delivery Type to the Internal Confirmation category "2 Shipping Notification".
    I previously created a new Confirmation Control Key (0005) copy from the 0004 for the P.O & a new Confirmation category ZA (copy of the LA - Inbound Delivery).
    My issue is how to use the single Internal Confirmation category "2 Shipping Notification" to the both Inbound Delivery Types ZEL (copy of EL) and ZAL (copy of ZEL) ?
    Thanks for your reply !!!
    Ed

    Hi Steve,
    Thanks for your reply. I know that SAP standard system can't have two. My Client want to distinguish between 2 Delivery Types used for different businesses in the same SAP system. As every Inbound delivery Type will be used in other Z developpements programs. And we don't want to create confusion in our figures. But I thing we can use another PO type to make it.
    Ed

  • How to export & import interface type data object to memory

    Hi experts,
    My greetings to all.
    we have came across a situation where we need to pass interface type data object to memory
    and import same from memory.
    DATA context TYPE REF TO if_timecontext.
    its not possible with regular export statement.
    is their any other way to do it?
    Thanks in advanced,
    Sudhir

    Thank you saurabhmani & sandra.
    @ saurabhmani : i tried assigning object context to memory (field-symbol) and exporting it to memory, but got runtime error.
    @sandra : XML serialization & shared object concept sounds intresting but as you already checked that interface IF_TIMECONTEXT is missing the required IF_SERIALIZABLE_OBJECT interface.
    Istead of exporting context data object to memory we tried different approch and it worked out for our requirement
    Regards
    Sudhir

  • How to map XSD complex type nodes

    Hello In my XSD I have complex type like this:
    How to map this node to Target filed, I can not see PostalCode node my graphical editor:
    <xs:element name="InternationalAddress" nillable="true" type="tns:InternationalAddress" />
      <xs:complexType name="CanadianAddress">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:Address">
            <xs:sequence>
              <xs:element minOccurs="0" name="PostalCode" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="Province" nillable="true" type="tns:ProvinceCodes" />
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>

    How to handle this in my graphical mapping:
    <xs:complexType name="Address">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:BusinessObject">
            <xs:sequence>
              <xs:element minOccurs="0" name="City" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="Line1" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="Line2" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="Line3" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="Line4" nillable="true" type="xs:string">
              </xs:element>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="Address" nillable="true" type="tns:Address" />
      <xs:complexType name="InternationalAddress">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:Address">
            <xs:sequence>
              <xs:element minOccurs="0" name="Region" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="PostalCode" nillable="true" type="xs:string">
              </xs:element>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="InternationalAddress" nillable="true" type="tns:InternationalAddress" />
      <xs:complexType name="CanadianAddress">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:Address">
            <xs:sequence>
              <xs:element minOccurs="0" name="PostalCode" nillable="true" type="xs:string">
              </xs:element>
              <xs:element minOccurs="0" name="Province" nillable="true" type="tns:ProvinceCodes" />
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="CanadianAddress" nillable="true" type="tns:CanadianAddress" />
      <xs:complexType name="AmericanAddress">
        <xs:complexContent mixed="false">
          <xs:extension base="tns:Address">
            <xs:sequence>
              <xs:element minOccurs="0" name="State" nillable="true" type="tns:StateCodes">
              </xs:element>
              <xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string">
              </xs:element>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
      <xs:element name="AmericanAddress" nillable="true" type="tns:AmericanAddress" />

  • How to compare two wage types?

    What is the best way to compare two wage types?
    For example, if I see the wage type attribute screen, I need to select M010 and M110 , one by one and
    compare visually only the wt attributes. It doesn't show the processing classes etc.
    Is there a report or tool to compare and list everything about two wage types?
    Thanks,

    Thanks Arun.
    RPDLGA40 is NOT doing what I was asking. But helps a lot to learn about a given wage type.
    RPDLGA20 has many uer interactions and I am yet to learn how to understand them
    Thanks,

  • How to assign an output type to a document via ABAP

    Hello Guru's
    I have an interface with a 3rd party system to send information from deliveries. When a delivery is created, we trigger output with 'Post goods issue' and output triggers the interface.
    We need to also trigger output with 'reverse goods issue' and here is the problem. When GI is cancelled I don't know how to trigger the interface having the control from Sales not from MM.
    I'm thinking to use the same approach assigning an output to the delivery in a user-exit of GI cancellation process. But I don't know how to assign this output to a delivery document using ABAP. I have looked for BAPI's or Functions but no successful.
    - Do you know how to assign outputs to documents via ABAP?
    - Do you have any other idea to trigger the interface when GI is cancelled?
    Thank you in advance,
    Manuel

    Hi,
    Guess u need to maintain it in SPAD transaction.
    Cheers
    VJ

  • How to assign two states in the Withholding Info W4/W5 US(IT0210)

    Hi,
    I am using SAP ECC6.0, I am trying to assign two states in the Withholding Info W4/W5 US(IT0210) (one state where he resides and another is work state). i am able to create for one and if i create another one record, the tax area or state field is not enabled only the withholding allowance field is enabled. Can anyone provide me a solution for this.
    Lakshmi

    Lakshmi,
    Tax Area/State field is always not allowed for modification, basically you need to select the state (Subtype) before creating the record in PA30.
    Let me know still you are facing the same problem.
    Thanks,
    Kiran.
    Reward points are appreciated.

Maybe you are looking for

  • Lightroom 4 importing causing program to crash.

    Lightroom 4 will not import files. Windows 7 pop-up states; "there is a problem with this program that is preventing it from running correctly will check for solution". "Windows failed to find a solution must shut down program now". This prevents the

  • Optical Audio to Regular Speakers

    Hello, I am planning to purchase a 3rd Gen Apple TV and I want to use it with my Acer monitor (20.1") over DVI with a HDMI-DVI adaptor but if I use that there will be no sound (My monitor has no speakers anyway), So my question is this: How to use th

  • Sync HP IPAQ (Mobile Pocket PC - H5550) and Minidisc Walkman to iMac

    Having just moved from PC to MAC, I have a few questions.... I used to sync my IPAQ with PS using Active Sync. iSync doesn't appear to handle the IPAQ - is there a simple/free plug in needed? If full sync is not possible then I would like to at least

  • Premiere CS6 export taking forever...

    hey friends- i'm new to premiere. i've been a FCP (not X) guy til recently. i've always edited on a macbook pro (intel7, 8G RAM, 2.66GHz) and had no issues with export time in FC. exporting a straight, 1hr clip (1920x1080) is taking anywhere from 3-8

  • Query to fetch all tables created by user

    Hi All, I am Joshi. I would like to draft a query which will return all the tables created by me in one day. Can anyone give me the query to do so. Thanking you Joshi