Diff btw queue,context and xpath

plzzz provide me the links for diff btw queue,context and xpath....i have searched the sdn but didnt find find any information...!!!
and also please provide me u r usefull ideas
thnx SDNers

Hi ,
Have a look at these links for queue and context  -
1. /people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
2. http://wiki.sdn.sap.com/wiki/display/XI/Detailedlookintothesuppressed+nodes
3. /people/venkat.donela/blog/2005/06/09/introduction-to-queues-in-message-mapping
XPath is used to navigate through elements and attributes in an XML document. It can be used in content based Receiver determination. For details refer to these links -
1. http://www.w3schools.com/xpath/default.asp
2. http://en.wikipedia.org/wiki/XPath
3. /people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
Regards,
Sunil Chandra

Similar Messages

  • Whats is the diff. btw classic badi and new badi

    Hi guy,
    I just found out that there is classic and new badi implementation in SE19, I would like to check out with u guys on what is the diff btw the two?
    thanks.

    <b>Differences Between Classic and New BAdIs</b>
    Classic and new BAdIs differ in a number of features that are important for migration:
    1. BAdI object
    a.      With classic BAdIs, a BAdI object is created by calling a factory method, and referenced via a reference variable of the type of the BAdI interface.
    b.      With new BAdIs, a BAdI object is created via the ABAP statement GET BADIas a handle for the calls of BAdI methods, and referenced via a reference variable of the type of the BAdI. A BAdI object is an instance of an internal BAdI class, which otherwise is invisible to the outside.
    2. Passing comparison values for the filter
    a.      With the classical BAdIs, the filter values are stored in a structure and passed with the call of the BAdI methods.
    b.      With the new BAdIs, the comparison values for the filters used to search for implementations are passed when the BAdI object is created with the GET BADIstatement.
    There is no way of migrating the call of the factory method one-to-one into the ABAP statement, because GET BADI can also return an existing BAdI object, which is not possible with the factory method.
    3. Calling BAdI methods
    Passing comparison values for the filter
    a.      A classic BAdI can be called only once and the call positions are registered centrally.
    b.      With new BAdIs, multiple calls are possible and the call positions are not registered centrally.
    For the above reasons, an automatic call migration is not possible.
    Have a look at below link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ee/6f3b42ea85b26be10000000a155106/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/4d3e42fc94aa04e10000000a1550b0/content.htm
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Diff. btw. xxContainerRenderer.renderShowHeader() and renderPortletHeader()

    Hi,
    Can anyone explain the diff. betw. the renderShowHeader() and renderPortletHeader() methods of the xxxContainerRenderer Class ?
    The the only diff I see is that the renderShowHeader() has a PrintWriter parameter indicating that it prints it out itself AND its only for the SHOW mode, - and the renderPortletHeader() does not contain the printWriter parameter indicating that I need to print it out and that it picks up the MODE the request is in before printing the header ?
    Is there any other subtle differences betw. the two, that would be helpful to know ?
    thanks
    -Ananth

  • Diff btw Bank account and Sub account ??

    Hi all,
    Whats the difference btw Bank account (main) and sub account. Why we should mention BAnk sub account in BOE config. Why not Bank account ??
    Suresh

    Hello Mr.Suresh
    The bank main account is the account where u can find all ur bank transactions at the end of the day and statement of which u can generate as Bank statement at the end of the day.
    Bank sub acounts are the GL accounts created in FI-BANK module where we keep all the open transactions which are still not clear.
    I will give u One complete scenario
    My bank account is ICICI ( main bank acoount)
    My sub accounts are -
    Cheque issued clearing account ( maintened as open item basis,line item display)
    cheque Deposited Clearing account ( maintened as open item basis,line item)
    when u receive the cheque from Customer ---
    <b>Dr - Cheque Received clearing account
    Cr - Customer account</b>But Blance is in that account till u deposite in ICICI and ur cheque get cleared.how u will com to know that it is cleared?when u get the confirmation from the bank or the statement u get.
    then u will post another transaction to clear the sub-account. entry is ---
    <b>Dr - ICICI Main bank account
    Cr - Cheque Received clearing account</b>So u can now check the balance in <b>FBL3N or in FS10N</b>now there is no open itme in the bank sub account.rather it is clear and the balance in the main bank ( ICICI) is increased.
    Similarly it happens with the cheque issued clearing account ( from vendor side)
    while creating the GL account u need to be very careful in <b>numbering the GL</b> account as it will affect while mapping in confuguring the manual bank statement.
    <b>eg-
    Main bank account                                    250000                 
    Cheque deposit clearing account                250001                  
    Cheque issued clearing account                 250002                 
    Masking in configuration -
    Main bank account                          +++++0
    Cheque deposit clearing account      ++++1
    Cheque issued clearing account       +++++2
    same would be for all the house banks
    SO all these accounts are created in ur house banks of the company

  • Diff btw R3 and BI reporting

    Hi All
    Pls explain me what is the exact diff btw R3 reporting i.e, FI,MM,SD,PS  and BI reporting.
    I have searched the forum but not able to find the answer
    Bhanu

    Hello,
    You have your answer here:
    BW vs. R/3 Reporting
    Regards,
    Jorge Diogo

  • What is Context and queue?

    Q.1What is context and queue in graphical mapping?
    Q.2What is the difference between context and queue in graphical mapping and how these concepts are useful in mapping?

    Hi,
    Context Change
    Message mapping works internally by using queues
    If no further elements are imported at a particular hierarchy level, a Context Change is inserted in the queue
    Use node functions to handle changes in the message hierarchy.
    Context changes have impact on:
    User-Defined Functions
    Breaking and inserting of hierarchy levels Manipulation of queues ant contexts
    Explicit context selection on source elements and nodes
    Using node functions
    removeContexts: deletes all context changes of a queue
    SplitByValue: insert additional context changes in a queue
    Check this link for all details.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e55f9548dd
    A tool to display queues:
    -Upload or create source xmldocument in test mode
    - Right-click on box representing element or function
    - Select “Show queue”
    Also check out this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e55f9548dd
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Cannot create target element /Invoice. Values missing in queue context.

    Hi Experts,
    I am working on Idoc to File scenario using SAP PI 7.1. In this scenario I am mapping Invoic02 Idoc with Invoice xsd. I am able to test the mapping in ESR with status as success.
    In ID Tools --> Test Configuration I used the same payload and tried testing the configuration step by step. while executing I am getting an error at Operation Mapping saying "Runtime exception occurred during application mapping com/sap/xi/tf/_MM_SRM_Hubwoo_Invoice_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /Invoice. Valuesmissing in queue context. Target XSD requires a v~"
    Even though the mapping is getting executed successfully in ESR, I am not able to fix this issue. Need your inputs in resolving the same.
    Regards,
    Saurabh
    Edited by: saurabh mathure on Oct 16, 2010 8:14 AM

    Hi ,
    issue"Can not create the target element   value missing the queue context'.
    reason for this issue:
    Target field expecting some value from sender field. so in testing your not getting  any data from source field  for this reason your getting that issue.
    Solution:
    In mapping use node function:Mapwith deafault between source and taget fileds.
    Then activate mapping . now excute the scenario it  will properly without that issue.
    Cheers,
    Meera

  • Display queue context doesn't corresponde to elements in output

    Hi people,
    just a suggestion from you because I don't know any more where to see.
    I realized a mapping in which I have to manipulate the contextes for an element.
    It's happen that watching the context by the Display Queue the number of contextes in output is correct;
    running the mapping in Test mode the elements created is different.
    Why the two behaviours could be so differents?
    Please, I need a suggestion to continue.
    Ciao
    Nicola
    Edited by: Nicola Martella on Jan 21, 2011 9:09 PM

    Ok, it follows my need.
    I have in inbound this structure:
    <item> (1..*)
      <rec> (1..1)
        <typerec>1</typerec>
      <rec> (1..*)
        <typerec>2</typerec>
        <text>
        <lang>
      <rec> (1..*)
        <typerec>3</typerec>
    In outbound I have this structure
    <master> (1..*)
      <rk1> (1..1)
      <rk2> (1..*)
        <recty>
        <text>
        <lang>
      <rk3> (1..*)
    The field-to-field relation is:
    <rec><typerec>1</typerec> --> <rk1> same cardinality
    <rec><typerec>2</typerec> --> <rk2> different cardinality
    <rec><typerec>3</typerec> --> <rk3> same cardinality
    The context change is between rec(typerec(2)) and rk2.
    Each rec(typerec(2)) contains text and language and rec(typerec(2)) are sorted for language.
    rk2 has to concatenate the text for the same language; so, for all rec(typerec(2)) with same <lang> I have to obtain just a rk2 with all rec(typerec(2))-text concatenated.
    An example is follow:
    INBOUND
    <item>
      <rec>
        <typerec>1</typerec>
      </rec>
      <rec>
        <typerec>2</typerec>
        <text>AAA</text>
        <lang>E</lang>
      </rec>
      <rec>
        <typerec>2</typerec>
        <text>BBB</text>
        <lang>E</lang>
      </rec>
      <rec>
        <typerec>2</typerec>
        <text>CCC</text>
        <lang>I</lang>
      </rec>
      <rec>
        <typerec>2</typerec>
        <text>DDD</text>
        <lang>I</lang>
      </rec>
      <rec>
        <typerec>2</typerec>
        <text>EEE</text>
        <lang>S</lang>
      </rec> 
      <rec>
        <typerec>3</typerec>
      </rec>
    OUTBOUND
    <master>
      <rk1>
      </rk1>
      <rk2>
        <text>AAABBB</text>
        <lang>E</lang>
      </rk2>
      <rk2>
        <text>CCCDDD</text>
        <lang>I</lang>
      </rk2>
      <rk2>
        <text>EEE</text>
        <lang>S</lang>
      </rk2> 
      <rk3>
      </rk3>
    In this case, the display queue shows me 3 rk2 context (one for language) but in the test mode I have just the first two rk2 context and missing the last
      <rk2>
        <text>AAABBB</text>
        <lang>E</lang>
      </rk2>
      <rk2>
        <text>CCCDDD</text>
        <lang>I</lang>
      </rk2>
    I hope to be been syntetic and clear in the exposition.

  • Diff btw events in reports

    what is the diff btw start of selection and end of selection

    HI Raja,
    Check out the link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9a0735c111d1829f0000e829fbfe/content.htm
    <b>START-OF-SELECTION</b>      Point after processing the selection screen
    The event START-OF-SELECTION gives you the possibility of creating a processing block after processing the selection screen and before accessing database tables using a logical database. You can use this processing block, for example, to set the values of internal fields or to write informational statements onto the output screen.
    At the START-OF-SELECTION event, also all statements are processed that are not attached to an event keyword except those that are written behind a FORM-ENDFORM block
    <b>END-OF-SELECTION      </b>          Point after processing all lines offered
    by the logical database.
    To define a processing block after the system has read and processed all database tables of a logical database, use the keyword END-OF-SELECTION.
    This is the last of the events called by the runtime environment to occur. It is triggered after all of the data has been read from the logical database, and before the list processor is started. You can use the corresponding event block to process and format the data that the program has stored in internal tables or extracts during the various GET events.
    The following program is connected to the logical database F1S.
    REPORT EVENT_DEMO.
    NODES SPFLI.
    DATA: SPFLI_TAB TYPE SORTED TABLE OF SPFLI
    WITH UNIQUE KEY CITYFROM CITYTO CARRID CONNID,
    SPFLI_LINE TYPE SPFLI.
    START-OF-SELECTION.
    WRITE 'Demo program for END-OF-SELECTION'.
    SKIP.
    GET SPFLI FIELDS CARRID CONNID CITYFROM CITYTO.
    MOVE-CORRESPONDING SPFLI TO SPFLI_LINE.
    INSERT SPFLI_LINE INTO TABLE SPFLI_TAB.
    END-OF-SELECTION.
    LOOP AT SPFLI_TAB INTO SPFLI_LINE.
    WRITE: / SPFLI_LINE-CITYFROM,
    SPFLI_LINE-CITYTO,
    SPFLI_LINE-CARRID,
    SPFLI_LINE-CONNID.
    ENDLOOP.
    This program fills a sorted table with data from the logical database in the GET SPFLI event, and displays them in a list in the END-OF-SELECTIOn event. Depending on what you enter on the selection screen, the beginning of the list display might look like this:
    For rest of events check:
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a1435c111d1829f0000e829fbfe/frameset.htm
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar
    Message was edited by:
            Manish Kumar

  • Sample JMS providing Queue Sender and Receiver programs

    Hi,
    I am using J2EE 1.3 server. I am new to JMS concepts can any one help me in writing a simple sample Queue sender and receiver programs and guide me in deploying it and running the program. How to use JNDI context here.

    here is sun's tutorial on the matter
    http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/client.html#1056518
    it is a pretty straight forward process... Try that out and post some more if you run into any problems.

  • Cannot create target element/ns1:MT_CONTRACT.Value missing in queue context

    Hi Friends,
    AgrmntID,Company_Code,Vendor_No,PurDoc_Type,ValidPeriod_Start,ValidPeriod_End,Pur_Group,Currency,Incoterms,Item_Cat,Tax_Code,Part_No,Document_Desc,Net_Price,Tgt_Qty,Price_Unit,Plant,Price_Revision
    002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,5100000102515,CARD-Twiglets Original 45g x 12,0,1,10,AM04,N
    002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,5100000102515,CARD-Twiglets Original 45g x 12,0,1,10,AM04,N
    002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,6000005,CARD-Twiglets Original 45g x 12,0,125.00,145,AN03,N
    002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,5100000102515,CARD-Twiglets Original 45g x 12,0,1,10,AM04,N
    002,UBUK,1568956,LP,16.02.2011,16.02.2012,3P,GBP,FOB ,D,V1,6000005,CARD-Twiglets Original 45g x 12,0,125.00,145,AN03,N
    that is csv file am trying to convert to xml. but am getting error "Cannot create target element /ns1:MT_CONTRACT. Value missing in queue context."
    my data types is:    MT_CONTRACT_SNDR                                                            MT_CONTRACT
    SUB_ELEMENT:              Recordset                                                                            Recordset
    SUB_ELEMENT:                   Item                                                                                Item
      SUB_ELEMENTS:                    AgrmntID                                                                              AgrmntID
                                                     Company_Code                                                                    Company_Code
                                                     Vendor_No                                                                            Vendor_No
    like this all the 18 elements under Item node. I kept Recordset occurance 0-1 and Item 0-Unbound and all 18subelements as 0-1 in both sender and receiver. And in content conversion:
    Document Name: MT_CONTRACT_SNDR
    Document Offset: 1
    Recordset Structure: Item,*
    Record Sequence: Asending
    Recordsets per Massage: 1
    Key Field Type: String (Case-Sensitive)
    Item.fieldSeperator : ,
    Item.endSeperator: 'nl'
    Item.fieldNames: AgrmntID,Company_Code,Vendor_No,PurDoc_Type,ValidPeriod_Start,ValidPeriod_End,Pur_Group,Currency,Incoterms,Item_Cat,Tax_Code,Part_No,Document_Desc,Net_Price,Tgt_Qty,Price_Unit,Plant,Price_Revision
    KINDLY SUGGEST ME WHAT MISTAKE AM DOING. AM NEW TO SAP PI

    I have this error in audit log. On searching I read that the error is connectivity problem between abap stack and java stack. but I made restart the server but error not cleared. can anyone of you suggest me to solve?
    Audit Log for Message: 7c06ee0d-d70b-406f-07bc-f56228cc1d6a
    Time Stamp Type Description
    10.08.2011 18:05:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for ZFM_SRM_CONTRACT_CREATE with TID XIV0Rk3TSBG6y7lFLYACmTQW.
    10.08.2011 18:05:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for J2EE_GUEST with TID XIV0Rk3TSBG6y7lFLYACmTQW.
    10.08.2011 18:05:07 Error Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught.
    10.08.2011 18:05:07 Error Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught..
    10.08.2011 18:05:07 Information The message status was set to WAIT.
    10.08.2011 18:05:07 Information The asynchronous message was successfully scheduled to be delivered at Wed Aug 10 18:10:07 IST 2011.
    10.08.2011 18:10:07 Information The message status was set to TBDL.
    10.08.2011 18:10:07 Information Retrying to deliver message to the application. Retry: 1
    10.08.2011 18:10:07 Information The message was successfully retrieved from the receive queue.
    10.08.2011 18:10:07 Information The message status was set to DLNG.
    Time Stamp Type Description
    10.08.2011 18:10:07 Information Delivering to channel: CC_Contrct_Recivr
    10.08.2011 18:10:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for ZFM_SRM_CONTRACT_CREATE with TID XIV0Rk3TSBG6y7lFLYACmTQW.
    10.08.2011 18:10:07 Information RfcAdapter received a asynchronous message. Trying to send tRFC for J2EE_GUEST with TID XIV0Rk3TSBG6y7lFLYACmTQW.
    10.08.2011 18:10:08 Error Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught.
    10.08.2011 18:10:08 Error Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZFM_SRM_CONTRACT_CREATE in remote system (RfcClient[CC_Contrct_Recivr]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught..
    10.08.2011 18:10:08 Information The message status was set to WAIT.
    10.08.2011 18:10:08 Information The asynchronous message was successfully scheduled to be delivered at Wed Aug 10 18:15:08 IST 2011.

  • UDF required !! Cannot create target element Values missing in queue context

    Dear Experts,
    I am getting the cannot create target element error with acknowledgement payload in response message mapping  in synchronous interface. I have shared the response payload2. Please suggest do I need write any UDF.
    Message mapping successful with below payload1:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:updateOppResponse xmlns:ns0="http://soap.sforce.com/schemas/class/clientUpdateInqWebService">
       <ns0:result>
          <ns0:Description>Record Updated</ns0:Description>
          <ns0:SFDCId>006M0000007xjTrIAI</ns0:SFDCId>
          <ns0:Status>true</ns0:Status>
       </ns0:result>
    </ns0:updateOppResponse>
    With the below target system response message, Mapping failing with Cannot create target element /ns1:MT_InquiryUpdate_ECC_Ack. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD com.sap.aii.mappingtool.tf7.IllegalInstanceException:
    Actual acknowledgement reply from target system payload2:
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns="http://soap.sforce.com/schemas/class/clientUpdateInqWebService" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Body>
          <updateOppResponse>
             <result>
                <Description>Record Updated</Description>
                <SFDCId>006M0000007xjTrIAI</SFDCId>
                <Status>true</Status>
             </result>
          </updateOppResponse>
       </soapenv:Body>
    </soapenv:Envelope>
    Regards
    RKN

    Hi
    The easiest solution will be , write an simple java map for your response mapping.
    Please provide your target structure , if you need any help on the java mapping.
    Sample code:
    Response message from web service
    target msg:
    java code:
    package com.sap;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    public class populateResponseMessage extends AbstractTransformation {
          public void transform(TransformationInput arg0, TransformationOutput arg1)
                      throws StreamTransformationException {
                try {
                      DocumentBuilderFactory tfactory = DocumentBuilderFactory
                                  .newInstance();
                      DocumentBuilder tbuilder = tfactory.newDocumentBuilder();
                      Document doc = tbuilder.parse(arg0.getInputPayload()
                                  .getInputStream());
                      Document newdoc = tbuilder.newDocument();
                      Element root = (Element) newdoc.createElementNS(
                                  "urn:sap-com:document:sap:rfc:functions",
                                  "ns1:ZTEST_FAULT_MESSAGE_DATA.Response");
                      newdoc.appendChild(root);
                      NodeList nlList = doc.getElementsByTagName("ConversionRateResult");
                      if (nlList.getLength() != 0 && nlList != null) {
                            Node data = nlList.item(0);
                            String sourceval = data.getTextContent();
                            Element rate = (Element) newdoc.createElement("RATE");
                            rate.setTextContent(sourceval);
                            root.appendChild(rate);
                      Transformer transformer = TransformerFactory.newInstance()
                                  .newTransformer();
                      Source source = new DOMSource(newdoc);
                      Result output = new StreamResult(arg1.getOutputPayload().getOutputStream());
                      transformer.transform(source, output);
                } catch (Exception e) {
                      e.printStackTrace();
          }// end of transform

  • Cannot create target element /ns0 Values missing in queue context

    Hi Sdn,
    When I am testing the Message mapping in PI i am getting the below error message .
    Cannot create target element /ns0:TechObjChange. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD See error logs for details
    Could you please tel me what would be the wrong.
    below is the XML file data .
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:TechObjChange xmlns:ns0="http://schemas.xxxxx.com/iiiii/xxxxxx">
       <TechObjChangeFLEQ>
          <FormType/>
          <FunctionalLocation/>
          <Descoffunctionalloc/>
          <Equipment/>
          <DescofEquipment/>
          <StartupDateofTechObj/>
          <Manufacturer/>
          <Manufacturermodelnumber/>
          <Manufacturerpartnumber/>
          <Manufacturerserialnumbe/>
          <Countryofmanufacture/>
          <Yearofconstruction/>
          <Monthofconstruction/>
          <TypeofTechObject/>
          <PlannerGroup/>
          <MainWorkCenter/>
          <CatalogProfile/>
          <NameofUserchangingtheobject/>
          <Characteristic>
             <CharacteristicName/>
             <Characteristicvalue/>
          </Characteristic>
          <MeasuringPoint>
             <MeasurementPosition/>
             <Characteristic/>
             <MeasurementPoint/>
             <MeasuringPointAsIs/>
             <MeasuringPointAsLeft/>
             <PCTCodeGroupMP/>
             <PCTCodeMP/>
          </MeasuringPoint>
       </TechObjChangeFLEQ>
    </ns0:TechObjChange>

    WSDL structure
    WSDL structure
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://schemas.xxxxxxxx">
       <wsdl:types>
          <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:p0="http://schemas.xxxxxxxxx" targetNamespace="http://schemas.xxxxxxxxxx">
             <xsd:element name="TechObjChange">
                <xsd:complexType>
                   <xsd:sequence>
                      <xsd:element name="TechObjChangeFLEQ">
                         <xsd:complexType>
                            <xsd:sequence>
                               <xsd:element name="FormType" type="xsd:string" minOccurs="0" />
                               <xsd:element name="FunctionalLocation" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Descoffunctionalloc" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Equipment" type="xsd:string" minOccurs="0" />
                               <xsd:element name="DescofEquipment" type="xsd:string" minOccurs="0" />
                               <xsd:element name="StartupDateofTechObj" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Manufacturer" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Manufacturermodelnumber" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Manufacturerpartnumber" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Manufacturerserialnumbe" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Countryofmanufacture" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Yearofconstruction" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Monthofconstruction" type="xsd:string" minOccurs="0" />
                               <xsd:element name="TypeofTechObject" type="xsd:string" minOccurs="0" />
                               <xsd:element name="PlannerGroup" type="xsd:string" minOccurs="0" />
                               <xsd:element name="MainWorkCenter" type="xsd:string" minOccurs="0" />
                               <xsd:element name="CatalogProfile" type="xsd:string" minOccurs="0" />
                               <xsd:element name="NameofUserchangingtheobject" type="xsd:string" minOccurs="0" />
                               <xsd:element name="Characteristic" minOccurs="0" maxOccurs="unbounded">
                                  <xsd:complexType>
                                     <xsd:sequence>
                                        <xsd:element name="CharacteristicName" type="xsd:string" minOccurs="0" />
                                        <xsd:element name="Characteristicvalue" type="xsd:string" minOccurs="0" />
                                     </xsd:sequence>
                                  </xsd:complexType>
                               </xsd:element>
                               <xsd:element name="MeasuringPoint" minOccurs="0" maxOccurs="unbounded">
                                  <xsd:complexType>
                                     <xsd:sequence>
                                        <xsd:element name="MeasurementPosition" type="xsd:string" minOccurs="0" />
                                        <xsd:element name="Characteristic" type="xsd:string" minOccurs="0" />
                                        <xsd:element name="MeasurementPoint" type="xsd:string" minOccurs="0" />
                                        <xsd:element name="MeasuringPointAsIs" type="xsd:string" minOccurs="0" />
                                        <xsd:element name="MeasuringPointAsLeft" type="xsd:string" minOccurs="0" />
                                        <xsd:element name="PCTCodeGroupMP" type="xsd:string" minOccurs="0" />
                                        <xsd:element name="PCTCodeMP" type="xsd:string" minOccurs="0" />
                                     </xsd:sequence>
                                  </xsd:complexType>
                               </xsd:element>
                            </xsd:sequence>
                         </xsd:complexType>
                      </xsd:element>
                   </xsd:sequence>
                </xsd:complexType>
             </xsd:element>
          </xsd:schema>
       </wsdl:types>
       <wsdl:message name="TechObjChange">
          <wsdl:part xmlns:p4="http://schemas.xxxxxxx" name="TechObjChange" element="p4:TechObjChange" />
       </wsdl:message>
    </wsdl:definitions>

  • Mapping Mapwthdefault at tiem level -Values Missing in Queue context

    Here is the logic
    If (E1EDP19-IDTNR_EXTR is not empty and (E1EDP19-QULF)=001
    map IDT_EXTR to target Buyerpart
    else
        if E1EDP19-IDTNR is empty and E1EDP19-QULF=002
      if E1EDP01-MENEE IS NOT EQAUL TO AU
      map const (SEE_DESCRIPTION) to target
    All context set to EDP01
    Target is mandatroy field
    1) data : If the 1st item level has the value IDTNR_EXTR and 2nd item level is not .
    In the else condition also QUALF is not matching to 002 so not getting the value for else condition in second item level  .
    So getting the error ItemDetail[2]/ns0:BuyerPartNumber. Values missing in queue context
    How can we add mapwithdefault to not to fail for mandatory field
    2 data I added mapwithdefault befoe else it worked for this data but failed for other test with 3 line items IDTNR_EXTR  values. 2nd line item was getting in target which is not
    Thanks for your help

    Here is udf i tried but not working as expected
    String output = new String();
    for (int i=0; i< qualf.length;i++)
      if(qualf[i].equals("001")&&(idntex[i]!=("")))
          output =  idntex[i];
        else
         if((qualf[i].equals("002"))&&(idtnr[i]==(""))&&(manee[i]!=("AU")))
                 output =  ("Notes") ;
         result.addValue(output);
    if item has only one value of idtnext and 2nd line item also it is displaying same value it should be blank
    Thanks for your help

  • What is diff btw abap 4.7 to netweaver

    what is diff btw abap 4.7 to netweaver abap
    example syntax.

    Hi
    Netweaver ABAP is with most of the code with Object oriented concepts
    see the std programs like SAPMF06p or any std program
    they uses all enhancement-point concept and BADI's a lot
    see the links
    Refer this link for ECC 5.0 & 6.0:
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    A similar post
    /message/1783778#1783778 [original link is broken]
    You can go through the Release Notes for each of the versions after 4.6B (4.6C, 4.7 , ECC 5.0 & ECC 6.0)
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/688055b88f297ee10000000a422035/content.htm
    For 4.7 SAP R/3 http://help.sap.com/saphelp_47x200/helpdata/en/12/9d78d6d8f74043a32e82be87e433b7/content.htm
    Release Notes on SAP Web Application Server 6.30
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/64fc3e9d3b6927e10000000a114084/content.htm
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Check these links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/790e690c-0901-0010-7894-de8b3d91d78e
    http://help.sap.com/saphelp_nw04/helpdata/en/94/c65839bec58b27e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/b9623c44696069e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/c1/1253164e665b4fa635af38b66dc166/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/a9673e42613f7ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/dc/6b7f2f43d711d1893e0000e8323c4f/frameset.htm
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • I can't use my Creative Cloud applications

    Hi! I can download all applications from Creative Cloud (I have student&teacers account), but only one at the time works. If I open one application (e.g. Photoshop), then for example Illustrator does not work. So, where is the problem?

  • I have 30,000 photos on my trash and can not empty it as it crashes. How can I delete them?

    I have a MAC OSX Version 10,9,5 with iPhoto 09 It has 4GB memory The storage has 69 GB free out of 999 GB. 578 GB of photos that I am slowly moving to an external hard drive. While moving the photos I have been deleting them from the iPhoto app witho

  • Mirroring Macbook Display on HDTV

    Hey, I have my macbook connected to an HDTV through a mini dvi to HDMI cable, and it has been working great. Suddenly though, when Mirroring is on, the image on the TV is very strange, like the colors don't match up, and there are a lot of green and

  • EBS F5 263 - The difference is too large for clearing

    Hi, When I am trying to upload the bank file from FF_5, i am getting the error as "(F5 263) The difference is too large for clearing". I have already gone through with posts related with the same error but didn't get the solution. I have checked OBA0

  • EPrint image in (HTML) e-mail

    I'm using the HP Deskjet 3053A All-In-One Printer to print on a remote site. The printing is done by sending an email from an allowed emailaddress to the address of the printer. The email has been made in HTML with markup like an (header)image, table