Wildcards and reg-ex use in XSLT

I am new to XML and XSLT technology. I am trying to convert one XML into other based on some rules.
The input XML is <?xml version="1.0" encoding="ISO-8859-1"?>
<root>
     <person>
          <id>1 </id>
          <Add_1_street1>happy street</Add_1_street1>
          <Add_1_street2>A Road</Add_1_street2>
          <Add_1_city>City1</Add_1_city>
     </person>
     <person>
          <id>2</id>
          <Add_1_street1>sad street</Add_1_street1>
          <Add_1_street2>B Road</Add_1_street2>
          <Add_1_city>City1</Add_1_city>
          <Add_2_street1>Bore street</Add_2_street1>
          <Add_2_street2>c Road</Add_2_street2>
          <Add_2_city>City2</Add_2_city>
     </person>
</root>And want to convert it to<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
     <person>
          <id>1 </id>
                <Add>
          <street1>happy street</street1>
          <street2>A Road</street2>
          <city>City1</city>
                </Add>
     </person>
     <person>
          <id>2</id>
                <Add>
          <street1>sad street</street1>
          <street2>B Road</street2>
          <city>City1</city>
                </Add>
                <Add>
          <street1>Bore street</street1>
          <street2>c Road</street2>
          <city>City2</city>
                </Add>
     </person>
</root>Can anyone suggest me, what kind of XSL do I have to write to achieve this? All my attempts till now have failed :(
If I am not clear with my requirement, kindly let me know.
Thanks in advance.
Edited by: no_screen_name on Aug 6, 2009 2:51 AM

no_screen_name wrote:
No. A person can have any number of Add s. There is no schema associated with it.Well, unfortunately you are stuck with a bad XML design. You should really have something like this instead:
<Add_street add="1" street="1">happy street</Add_street>So if that was your idea, I would recommend you fix it. If it's somebody else's idea, I would recommend that they fix it too, but realistically that isn't going to happen because people with bad ideas are more resistant to fixing them than other people.
As for what kind of XSLT you have to write, let me suggest that the XPath name() function gives you the element name. There are also string-manipulation functions in XSLT.

Similar Messages

  • How to search for files using wildcards * and ?.

    Hi All,
    I've been searching the forum for a couple of hours now and have been unable to find a good example of how to search a directory (Windows OS) for a file using wildcards * and/or ?. Does anyone out there have a good example that they can share with me?
    Thanks

    Hi All,
    First of all I want to thank everyone for taking the time to respond to my question. All of your responses where greatly appreciated.
    I took the example code that was posted by rkconner, thanks rkconner, and modified it to allow me to search for files in a directory that contain * and/or ?. Yes, I said and/or! Meaning that you can use them both in the same file name, example: r??d*.t* would find readme.txt.
    I've posed my complete and thoroughly document code below. I hope it is very helpful to other as I have searched many forums and spent many hours today trying to resolve this problem.
    Enjoy
    * File Name: WildcardSearch.java
    * Date: Jan 9, 2004
    * This class will search all files in a directory using the
    * asterisk (*) and/or question mark (?) as wildcards which may be
    * used together in the same file name.  A File [] is returned containing
    * an array of all files found that match the wildcard specifications.
    * Command line example:
    * c:\>java WildcardSearch c:\windows s??t*.ini
    * New sWild: s.{1}.{1}t.*.ini
    * system.ini
    * Command line break down: Java Program = java WildcardSearch
    *                          Search Directory (arg[0]) = C:\Windows
    *                          Files To Search (arg[1]) = s??t*.ini
    * Note:  Some commands will not work from the command line for arg[1]
    *        such as *.*, however, this will work if you if it is passed
    *        within Java (hard coded)
    * @author kmportner
    import java.io.File;
    import java.io.FilenameFilter;
    public class WildcardSearch
         private static String sWild = "";
          * @param args - arg[0] = directory to search, arg[1] = wildcard name
         public static void main(String[] args)
              String sExtDir = args[0]; // directory to search
              sWild = args[1];   // wild card to use - example: s??t*.ini
              sWild = replaceWildcards(sWild);
              System.out.println("New sWild: " + sWild);
              File fileDir = new File(sExtDir);
              File[] arrFile = fileDir.listFiles(new FilenameFilter()
                   public boolean accept(File dir, String name)
                        return (name.toLowerCase().matches(sWild));
              for (int i = 0; i < arrFile.length; ++i)
                   System.out.println(arrFile.getName());
         }     // end main
         * Checks for * and ? in the wildcard variable and replaces them correct
         * pattern characters.
         * @param wild - Wildcard name containing * and ?
         * @return - String containing modified wildcard name
         private static String replaceWildcards(String wild)
              StringBuffer buffer = new StringBuffer();
              char [] chars = wild.toCharArray();
              for (int i = 0; i < chars.length; ++i)
                   if (chars[i] == '*')
                        buffer.append(".*");
                   else if (chars[i] == '?')
                        buffer.append(".{1}");
                   else
                        buffer.append(chars[i]);
              return buffer.toString();
         }     // end replaceWildcards method
    }     // end class

  • Which tools can use for XSLT mapping?

    which tools can use for XSLT mapping?

    Hi,
    Altova map force tool , u will get it for 1month trial.and later you can create xslt mapping in notepad itself.
    reg,
    avinash M

  • How to use another XSLT processor

    Hello all,
    Recently, I do need to use XSLT 2.0 processor, but how to install it to the JDK? Please give the detailed steps. And how to use it, just import the package? How to avoid the program to the old processor, because I doubt probably the old processor is part of the JDK. And how does this change impact to the java web service? And how do I change the web service about this change?
    Thank you in advance.

    >
    I want to use SaxonHE9.4.0.3 processor
    >
    Michael Kay provides extensive Installation instructions for all of his products. They are included in the documentation download.
    Here is just a small part of what was provided for the version I use
    >
    Installation of Saxon simply involves unzipping the supplied download file into a suitable directory. The procedure is the same for the Standard product and the Schema-Aware product. The two products can co-exist in the same directory or in different directories.
    One of the files that will be created in this directory is the principal JAR file. This is saxon8.jar in the case of Saxon-B, saxon8sa.jar in the case of Saxon-SA. There are additional JAR files to support optional features including the JDOM interface and the SQL interface. When running Saxon, the principal JAR file should be on the class path. The class path is normally represented by an environment variable named CLASSPATH: see your Java documentation for details. Note that the JAR file itself (not the directory that contains it) should be named on the class path.

  • How to use the XSLT SE in  a composite application

    (The new XSLT SE as of July.)
    I followed the setup using the XSLT wizard in Netbeans and the xsltse driver-tests out of the open-jbi-components checkout and now I am stuck. Kevan points out that BPEL and partnerlinks are no longer needed, so I'm not sure how to construct a CA with it.
    I tried that route anyway by dragging my xsltModule wsdl into my bpelModule flow and it created a partnerlink for me (very cool). I then added both modules to my composite app. When I deployed the app to glassfish, it complained about duplicate xsd types because both of my modules use the same schema imported as rssext.xsd.
    So do anyone have a suggestion as to which route to go and how to do it successfully?
    Jeff

    Kevan,
    Thanks for your help, I finally get what I need to do. :)
    I just need to get past an xslt TransformerException and I'll have it working. I'll reply back here with what I had to do start-to-finish so others can learn from my example.
    Xslt transformation failed: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
    javax.xml.transform.TransformerException: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:651)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281)
            at com.sun.transform.engine.xslt.XsltEngine.process(XsltEngine.java:127)
            at com.sun.transform.engine.xslt.XsltEngine.process(XsltEngine.java:70)
            at com.sun.transform.engine.runtime.impl.TransformUnitImpl.execute(TransformUnitImpl.java:53)
            at com.sun.transform.engine.runtime.impl.EngineImpl.runProcess(EngineImpl.java:130)
            at com.sun.transform.engine.runtime.impl.JbiEngine.process(JbiEngine.java:81)
            at com.sun.transform.engine.runtime.impl.ProcessInstanceImpl.execute(ProcessInstanceImpl.java:116)
            at com.sun.jbi.engine.xslt.process.XsltseMessageListener.onMessage(XsltseMessageListener.java:88)
            at com.sun.jbi.crl.mep.impl.SingleThreadManager.invoke(SingleThreadManager.java:67)
            at com.sun.jbi.crl.mep.impl.DefaultAcceptPoller.run(DefaultAcceptPoller.java:97)
            at java.lang.Thread.run(Thread.java:595)
    Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
            at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:419)
            at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:275)
            at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(SAX2DOM.java:141)
            at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:205)
            at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:524)
            at gcitransform.template$dot$0()
            at gcitransform.applyTemplates()
            at gcitransform.applyTemplates()
            at gcitransform.applyTemplates()
            at gcitransform.transform()
            at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:644)
            ... 11 moreJeff

  • How to apply OSS note and how to use it?--thanks

    Hi, morning all,
    I want to know how to apply OSS notes and how to use it, pls help me.
    Thanks.

    Applying OSS note is a critical activity in the system. Usually this task is carried out by the basis, as they maintain the system and the notes, support packs, etc.
    A OSS note has potential to impact the system in several ways. So it is better to work with the basis if  you need to apply a OSS note to be applied.
    Transaction code is Snotes. But pl dont attempt to apply by yourself.
    Reg your other question as how to use the OSS note, there is nothing like using aOSS note. Just apply and depending on what the notes do, it may change the config, or download a program or something.
    Ravi Thothadri

  • How to create PDF with Form Builder (T-Code:SPF) and how to use it?

    How to create PDF with Form Builder (T-Code:SPF) and how to use it? Is there anyone can show me some doc. or PA material ? << removed >>  Thank you very much!!
    Edited by: Rob Burbank on Nov 11, 2010 1:04 PM

    PDF forms also known as Adobe From or Interactive Forms.
    Check this link -
    Interactive Forms
    REG:ADOBE FORM
    Adobe forms
    Regards,
    Amit

  • When and where to use Dbms_Error_Code, Error_Code and SqlCode.

    I have gone thru some docs and books on dev to understand error messages in Developer. After reading i am more confused reg the difference between
    Dbms_Error_Code, Error_Code and SqlCode.
    Can any one tell me concisely the difference and the situation where these are used.
    This is my understanding so far.....
    DBMS_ERROR_CODE and DBMS_ERROR_TEXT return the last Oracle Server error code and message due to an implicit DML within form application.
    SQLCODE and SQLERRM return the last Oracle Server error code and message due to an explicit DML within a form application.
    So why use ERROR_CODE at all?
    Below is an extract from the Oracle help Docs...
    When an implicit DML raises an error, it is handled with an ON-ERROR trigger using the ERROR_CODE function. This function contains the last Oracle Form error code. These errors are prefixed with FRM-.
    Okay but why not just use DBMS_ERROR_CODE instead of ERROR_CODE?
    Example: /*
    ** Built-in: DBMS_ERROR_CODE,DBMS_ERROR_TEXT
    ** Example: Reword certain Oracle Forms error messages by
    ** evaluating the DBMS error code that caused them
    ** Trigger: On-Error
    DECLARE
    errcode NUMBER := ERROR_CODE;
    dbmserrcode NUMBER;
    dbmserrtext VARCHAR2(200);
    BEGIN
    IF errcode = 40508 THEN
    ** Oracle Forms had a problem INSERTing, so
    ** look at the Database error which
    ** caused the problem.
    dbmserrcode := DBMS_ERROR_CODE;
    dbmserrtext := DBMS_ERROR_TEXT;
    IF dbmserrcode = -1438 THEN
    ** ORA-01438 is "value too large for column"
    Message('Your number is too large. Try again.');
    ELSIF dbmserrcode = -1400 THEN
    ** ORA-01400 is "Mandatory column is NULL"
    Message('You forgot to provide a value. Try again.');
    ELSE
    ** Printout a generic message with the database
    ** error string in it.
    Message('Insert failed because of '||dbmserrtext);
    END IF;
    END IF;
    END;Regards
    Gus

    Sorry Steve as wonderful as your code example may be you are putting the cart before the horse as far as the purpose of this thread goes. I don't need guidance on HOW to use certain error functions at least not until i know WHEN i should use them and thats why i started this thread. There are 3 different sets of Oracle functions below for use in forms but not enough guidance in the docs as to when to use them for the newcomer to forms. All i need is a simple definition as to when these functions should be used appropriately in forms. The rest I will find out for myself when i start using forms properly (including the use of your wonderful code). At the moment i just want to pass the Forms exam and to have a better understanding of what i am doing.
    DBMS_ERROR_CODE & DBMS_ERROR_TEXT
    SQLCODE & SQLERRM
    ERROR_CODE & ERROR_TEXT
    I've got one person saying this....
    DBMS_ERROR_TEXT and DBMS_ERROR_CODE built-ins are intended to be used in a form-level ON-ERROR trigger.
    SQLCODE and SQLERRM functions are intended to be used in a WHEN OTHERS exception handler.
    and another saying ...
    Use error_code to handle Forms error
    Use dbms_error_code to handle database error
    .. then i've got your code which predominantly uses ERROR_CODE.
    Then the STS test papers say this...
    When an implicit DML raises an error, it is handled with an ON-ERROR trigger using the ERROR_CODE function. This function contains the last Oracle Form error code. These errors are prefixed with FRM-.
    Example:
    IF ERROR_CODE = 40508 THEN
      MESSAGE ('Invalid insert');
      RAISE FORM_TRIGGER_FAILURE;
    END IF;DBMS_ERROR_CODE and DBMS_ERROR_TEXT return the last Oracle Server error code and message due to an implicit DML within form application. These errors are prefixed with ORA-.
    SQLCODE and SQLERRM return the last Oracle Server error code and message due to an explicit DML within a form application. These functions must be used in the exception handler of the program unit that issues the DML command.
    A little Confusing to say the least!!!
    Okay, so is this correct...
    SQLCODE and SQLERRM are used with explicit DML within a form application and are used in the exception handler of the program unit that issues the DML command.
    When an implicit DML raises an error, it is handled with an ON-ERROR trigger using the ERROR_CODE function. These errors are prefixed with FRM-.
    DBMS_ERROR_CODE and DBMS_ERROR_TEXT are also used with implicit DML within form application. These errors are prefixed with ORA-.
    So why use DBMS_ERROR_CODE and DBMS_ERROR_TEXT if ERROR_CODE and ERROR_TEXT are to be used in ON-ERROR triggers and if an implicit DML error arises then whats the difference between ERROR_CODE FRM- errors and DBMS_ERROR_CODE ORA- errors? Apart from one being a form error and the other being a server error, what different things do they tell us? If an implicit DML error ocurrs would this generate ORA- and FRM- errors at the same time.
    Cheers
    Gus
    Message was edited by:
    gusora

  • How to query using 3 optional inputs and case insensitive using SQL?

    Hi Folks,
    I am having trouble with the following query:
    select *
    from t1
    where (1=1)
    and lower(fname) like lower ('%mary%')
    and lower(lname) like lower ('%smith%')
    and lower(status) like lower ('%%')
    I need all three statements in the where clause to be completely optional and case insensitve.
    if I just write the following:
    (1=1)
    and lower(fname) like lower ('%mary%')
    and lower(lname) like lower ('%%') <-- Need to ignore this line
    and lower(status) like lower ('%%') <-- need to ignore this line
    nothing is returned. How do I ignore the 2nd and third lines using SQL only. I know about the ask TOM Article using procedures, but I need to do this using SQL only
    thanks in advance
    Edited by: user2184537 on Oct 16, 2009 9:40 AM
    Edited by: user2184537 on Oct 16, 2009 10:10 AM

    Hi,
    Is this query generated dynamically? (That's the only reason I can see for saying "WHERE 1 = 1".)
    If so, test the parameters for NULL, and only add them if a value was given.
    Failing that, you can explicitly test for NULL parameters
    where   (     lower(fname)  = '%' || lower (:p_fname) || '%'
         OR     :p_fname     IS NULL
    and     (     lower(lname)  = '%' || lower (:p_lname) || '%'
         OR     :p_lname     IS NULL
    and     (     lower(status) = '%' || lower (:p_status) || '%'
         OR     :p_status    IS NULL
         )Did you really mean to have all those '%''s? '%' is a wildcard in LIKE operations, but not when using =.
    Perhaps you should be saying:
    where   (     lower(fname)  = lower (:p_fname)
         OR     :p_fname     IS NULL
    and     (     lower(lname)  = lower (:p_lname)
         OR     :p_lname     IS NULL
    and     (     lower(status) = lower (:p_status)
         OR     :p_status    IS NULL
         )You're already handling case-sensitivity, by using LOWER in all the comparisons.
    Unfortunately, you can't just say something like:
    WHERE   LOWER (fname) = LOWER (NVL (:p_fname, fname))because that would discartd rows where fname IS NULL when :p_name is also NULL.
    Edited by: Frank Kulash on Oct 16, 2009 12:54 PM

  • What are the possibilities and limitation of using Out of the box content search webpart on SharePoint Online 2013/O365 ?

    Hi All,
    We are migrating from on-premise SharPoint 2010 to SharePoint online 2013.
    I have few questions below: 
    What are the possibilities and limitations of using Out of the box content search webpart?
    Also, how the cross site publishing will work in SharePoint online something with managed navigations and product catalog apporach? if it is not supported, then what are the alternatives to acheive the same?
    Appriciate any commnets/clarifications.Thanks in advance.
    Thanks,
    Dhananjay.

    Here are the possibilities of Content search webparts
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/when-to-use-the-content-query-web-part-or-the-content-search-web-part-in-sharepoint-HA104206662.aspx
    Compare the strengths and limitations of the Web Parts
    It’s important that you understand the strengths and limitations of the two Web Parts because if you choose the wrong one, your site could run into performance problems. You can use both Web Parts to show content that is based on a query. In a simplified
    world, here’s how you can decide between the two:
    Use the CQWP when you have a limited amount of content, your query is simple, and you don’t expect your content to grow much in the future.
    Use the CSWP in all other scenarios when you want to show content that is based on a query.
    The table below gives a comparison of the two Web Parts:
    Web Part behavior
    Content Query Web Part
    Content Search Web Part
    Query configuration
    Easy
    You’ll need to know about certain search features such as
    managed properties.
    Query across large amounts of content
    Limited
    Yes
    Handle complex queries
    Limited
    Yes
    Scale to handle future content growth
    Limited
    Yes
    Display content from other site collections
    No
    Yes (see
    section below)
    Design of query results can be customized
    Yes, by using XSLT.
    Yes, by using HTML.
    Maintenance cost in a complex site architecture
    High
    Small (see
    section below)
    Narrow down the query results that are displayed in the Web Part
    No
    Yes, in combination with the
    Refinement Web Part.
    It was not there previously but then it was added to Office 365
    http://blogs.office.com/2013/10/29/search-innovations-for-site-and-portal-design-in-sharepoint-online/
    If this helped you resolve your issue, please mark it Answered

  • Error while using custom xslt: Cannot find the script or external object that implements prefix 'ScriptNS0'.

    Hi,
    We had a complex map. Because of some requirement, we used custom xslt on this map. Somehow at runtime that custom xslt is giving below error:
    Cannot find the script or external object that implements prefix 'ScriptNS0'.
    I checked below links, it seems this is a bug in Biztalk 2010/Visual stuio 2010.
    http://sandroaspbiztalkblog.wordpress.com/2012/07/29/biztalk-mapper-patterns-calling-an-external-assembly-from-custom-xslt-in-biztalk-server-2010/
    The above link suggest to add a xml element in the .btm file. I tried that as well but no luck. Can anyone suggest me reason and solution for this?
    Thanks, Girish R. Patil.

    When using the Custom XSLT option, you have to maintain the Extension Xml yourself, just as you would for inline custom Xslt that calls external Assemblies.
    Docs:
    http://msdn.microsoft.com/en-us/library/aa547368.aspx
    Sample:
    http://blog.vertica.dk/2013/03/20/using-custom-xslt-in-biztalk/

  • Error: The chosen certificate was not exported and cannot be used for SSL

    Hello there,
    when I try to configure the profilemanager in OS X Server and it comes to choose a certificate i get the following message:
    The chosen certificate cannot be used.
    The chosen certificate was not exported and cannot be used for SSL.
    I chose our Wildcard certificate we received from Thawte.
    It is completely imported in the Keychain from the Mac.
    (Sorry if any sentence is wrong, I translated it from german to english)
    Best regards,
    Christoph

    Is this a regular web ssl cert or a code signing cert?

  • Can SAX be used with XSLT

    I'm having Java memory problems with 8.1.7 when using a large
    XML file and creating a XML DOM. One solution I may have found
    is to use SAX which will create seperate trees for each
    ROWSET/ROW instead of building the entire tree in memory like
    DOM. But I can't figure out how to use SAX with XSLT. I want
    each record written to the same text file using a XSLT
    template. Anyone know how to do this?

    The solution can be found in the XMLLoader application written
    by Steven Muench, in his book "Building Oracle XML
    Applications". It is also somewhere online under the book's
    O'Reilly pages but I don't have the exact URL.
    The solution is basically that the SAX model is used to parse
    the large file and build a DOM tree as each node is
    encountered. When the SAX model detects the closing tag of a
    subdocument (probably what would be in your <ROWSET></ROWSET>
    tags) then the current DOM tree is used to perform the proper
    database operation. Then the SAX parser goes on with life until
    it finds the next complete subdocument, etc. Pretty slick.
    XMLLoader takes as an argument, the stylesheet you want to apply
    to the data, so you can transform your XML data into something
    that now has the Oracle canonical format on the fly.
    There are numerous posts in this newsgroup regarding XMLLoader,
    and Muench regularly answers questions here as well.
    Good luck!
    Mike

  • XPath Error after using custom xslt

    I made a mapping between my input schema and destination schema through custom xslt.
     After constructing the message when I fetch the destination schema element value through xpath it does not contains
    any value but when I saved that destination message in a location then I got all the elements value.
    When I want to update the value of any element then it shows the following error :
    The XPath expression: ' xpath of element '
    selected a node which is not valid for property or distinguished field retrieval, or it selected no node at all. Only text-only elements or attributes may be selected.
    The xpath is correct.
    Why this is occuring ?
    While I am not using any custom xslt, it is working fine.
    Any kind of help would be appreciated.
    Prakash

    Look like you're trying to use a XPath for an element/node which doesn't exist in the received message.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Deletion of Scheduling Agreement and Delivery Schedule using BAPI

    Hi SAP MM Gurus,
    Please assist in inquiry below:
    My scenario is that I am trying to delete delivery schedules and scheduling lines using BAPIs. I have no issues when there is no GR made yet for the delivery schedules. The error arises when there are already existing Goods Receipts and Invoices for the schedule line that I wish to delete
    When using the BAPIs (either BAPI_SAG_CHANGE or BAPI_SCHEDULE_MAINTAIN), I set the deletion indicator to "L" and set to X all change relevant fields (i.e. DELETION_INDX). However, whenever I execute it, I get the error message 06088. The funny thing is both the Quantities and the delivered quantities that are normally populated are left blank.
    For example:
    Normal error for 06088:
    Quantity 100.0 smaller than quantity delivered 179.0
    Error using BAPI with deletion indicator:
    Quantity  smaller than quantity delivered
    Is this a bug of the BAPI? or am I just missing some settings?
    Your immediate response is appreciated
    Regards,
    DeLo

    Hi,
    Please find the below link check the setting are correct or not
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02cb00a-bfb4-2c10-98aa-e33e7f64ba28?quicklink=index&overridelayout=true
    Reagrds,
    Pramod

Maybe you are looking for