Creation of a shipping notification for a PO in EBP from a XML file via XI.

Hi everybody.
We are trying to create a shipping notification for a Purchase Order in Enterprise Buyer from a XML file via XI.
For to do it, we are using ‘DespatchedDeliveryNotification_In’ message interface (transaction SPROXY).
But when we execute it, the system show us next message:
"An error occured within an XI interface: An exception with the type CX_GDT_CONVERSION occurred, but was neither handled locally, nor declared in a RAISING clause Programm: SAPLBBP_BD_MAPPING_SAPXML1; Include: LBBP_BD_MAPPING_SAPXML1F5B; Line: 4"
No more information is available.
Is there any additional transaction to see more information about the error message?
Is there any documentation about this XML file, mandatory fields, examples…?
We populated some fields in our XML file, but we do not know if the problem is with mandatory fields, data, program error…
I will thank for any information
Thanks in advance.
Raúl Moncada.

Raúl,
This is because of the inbound UOM.
The include LBBP_BD_MAPPING_SAPXML1F5B is in charge of mapping the item Unit Of Mesure (UOM) sent in the ASN XML file (it should be an ISO code).
You can test FM UNIT_OF_MEASURE_ISO_TO_SAP with this inbound ISO code.
PS: you should create an OSS message so the mapping sends back an error message instead of generating an uncatched exception (that generates a dump).
Rgds
Christophe
PS: please reward points for helpfull answers

Similar Messages

  • I need for a simple example of  reading a xml file using jdom

    Hello
    I have been looking for a simple example that uses Jdom to read am xml file and use the information for anything( ), and I just can't find one.since I'm just beggining to understand how things work, I need a good example.thanks
    here is just a simple cod for example:
    <xmlMy>
         <table>
              <item name="first" value="123" createdDate="1/1/90"/>
              <item name="second" value="456" createdDate="1/4/96"/>
         </table>
         <server>
              <property name="port" value="12345"/>
              <property name="maxClients" value="3"/>
         </server>
    </xmlMy>Dave

    Hi,
            FileInputStream fileInputStream = null;
            try {
                fileInputStream = new FileInputStream("my_xml_file.xml");
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } finally{
                if (fileInputStream == null) return;
            SAXBuilder saxBuilder = new SAXBuilder();
            saxBuilder.setEntityResolver(new EntityResolver() {
                public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
                    return new InputSource(new StringReader(""));
            Document document = null;
            try {
                document = saxBuilder.build(fileInputStream);
            } catch (JDOMException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            } finally {
                if (document == null) return;
            Element element = document.getRootElement();
            System.out.println(element.getName());
            System.out.println(element.getChild("table").getName());

  • Can someone test a prog for me, and help reading from an exty file

    Okay, I have a program to calculate the Pearson product-moment correlation coefficient ( http://en.wikipedia.org/wiki/Pearson_correlation_coefficient ) from an external file that I've just written for an assignment on Monday.
    I can't actually run it because I can't find a machine with Java on that works, though I can compile it. Why is a long story, but University Admin are going to feel my wrath.
    I would like two things.
    1) would someone be kind enough to try to run it and test it in anyway and report any bugs or inadequacies back to me. (you will need to create a text file called data.dat with some numbers in, e.g.
    14.234 54.4534
    376.56 432.2332
    23432. 23234.23
    2) How can I can the computer to ask the user to enter either a) the name of the file from system.in or b) from a popup dialogue box with a browse feature (or is that incompatible with some OSs?).
    The file follows:
    // Import packages
         import java.io.*; // Import all the Java input/output packages
         import java.util.StringTokenizer; // Import a utility package
    class Pearsontwo
    public static void main (String[] args)
         /* Define variables.
              (double any number with decimal point.
              ints take integer value) */
              double     sumx, sumy,               // sum of x and sum of y
                        sumxx, sumyy,          // sum of x squared and y squared
                        sumxy;                    // sum of products of x and y
              int n;                              // n is number of lines
         // Set name of file to be read
              String fileName = data.dat; // define the name of the file
         //     (Enhancement: use user input. This requires the use of System.in which is a bit complicated.
              //System.out.print("Please type the name of the file you wish to run the analysis on:");
              //fileName = TextIO.getInt();
         // Set things for reading external file
    BufferedReader br;     // Will be used to read the file
    String line;          // Will be used to hold a line read from the file
    StringTokenizer st; // Will be used to break a line into separate words
              String firstWord, secondWord;     // File will be read as string type
    double firstNumber, secondNumber;     // that need to be converted into numbers.
    try // if an error occurs, go to the "catch" block below
    // Create a buffered file reader for the file
         br = new BufferedReader (new FileReader(fileName));
    // Continue to read lines whilst there is one or more left to read
                        while (br.ready())
                        {   line= br.readLine();               // Read one line of the file
                             st = new StringTokenizer(line);     // Prepare to split the line into "words"
                             // Get the first two words (invalid --> error --> catch)
                                  firstWord = st.nextToken();
                                  secondWord = st.nextToken();
                             // Turn words into numbers (invalid --> error --> catch)
                                  firstNumber = Double.parseDouble(firstWord);
                                  secondNumber = Double.parseDouble(secondWord);
                             // Add the numbers to the previously stored numbers
                                  sumx = sumx + firstNumber;
                                  sumy = sumy + secondNumber;
                                  sumxx = sumxx + (firstNumber * firstNumber);
                                  sumyy = sumyy + (secondNumber * secondNumber);
                                  n = n++; add one to the value of n.
    // Close the file
    br.close();
    // Handle any error in opening the file
                   catch (Exception e)
                   {   System.err.println("File input error.\nPlease amend the file " + fileName);
              //     Calcuate r in stages, variance and covariance first.
                   double variancex = (sumx2 - (sumx * sumx / n)) / (n - 1);     // calculates the variance of x ...
                   double variancey = (sumx2 - (sumx * sumx / n)) / (n - 1);     // ... and y
                   double covariance = (sumx * sumy - sumx * sumy / n ) / (n - 1);     // and the covariance of x and y
                   double r = covariance / Math.sqrt(variancex * variancey);     // and the Pearson r value
                   // Printout
                   System.out.print("The Pearson product-moment correlation for these data is:" );
                   System.out.println ( r );
                   // Also print to file ?
    Cheers,
    Duncan.
    (Note: this is my own work by Duncan Harris at Cariff University, so I'm not plaigerising anyone other than myself if I post it here and it subsequently gets found by one of the course organisers who have given permission for this sort of thing anyway!)

    "I can't actually run it because I can't find a machine with Java on that works, though I can compile it. Why is a long story, but University Admin are going to feel my wrath."
    I'm sure they're worried.
    I don't understand this. You can compile, but not run? This makes no sense at all.
    Why can't you simply download the JDK from Sun and install it on a machine? You could both compile and run then.
    You don't need a pop-up dialog box to get an input file name from a user. The command prompt is quite sufficient.

  • Looking for a way to move a rejected xml file after loading it

    Hi all,
    I'm currently looking for a solution to do the following:
    I've loaded multiple xml files into an external table and after firing a few queries on that external table, I've moved the xml data into a normal oracle table
    depending on a few values which need to be met (e.g. last two digits of column a need to be the same as the last two digits of column b)
    All of this works fine, but I'd like to be able to move the xml files which don't meet these requirements to another folder on the filesystem named e.g. 'rejected'
    now, my shell script just moves all the xml files to a processed folder after loading them into an external table.
    I've looked at utl_file.frename but I need to be able to automatically move more than one file if neccesary instead of filling in one filename in the frename statement.
    (maybe the filenames need to be entered into a separate table?)
    Thanks in advance and your help is much appreciated!

    You can look through some of the different Layouts available.
    Select your page.
    Click the "Layout" icon on the lower right hand of the application window.
    Above it will appear a "BACKGROUND" section and a "LAYOUT" section.
    Immediately below the "LAYOUT" is a drop down menu which will show you all the different options.

  • Best Practices for Accessing the Configuration data Modelled as XML File in

    Hi,
    I refer the couple of blof posts/Forum threads on How to model and access the Configuration data as XML inside OSB.
    One of the easiest and way is to
    Re: OSB: What is best practice for reading configuration information
    Another could be
    Uploading XML data as .xq file (Creating .xq file copy paste all the Configuration as XML )
    I need expert answers for following.
    1] I have .xsd file which is representing the Configuration data. Structure of XSD is
    <FrameworkConfig>
    <Config type="common" key="someKey">proprtyvalue</Config>
    <FrameworkConfig>
    2] As my project will move from one env to another the property-value will change according to the Environment...
    For Dev:
    <FrameworkConfig>
    <Config type="common" key="someKey">proprtyvalue_Dev</Config>
    <FrameworkConfig>
    For Stage :
    <FrameworkConfig>
    <Config type="common" key="someKey">proprtyvalue_Stage</Config>
    <FrameworkConfig>
    3] Let say I create the following Folder structure to store the Configuration file specific for dev/stage/prod instance
    OSB Project Folder
    |
    |---Dev
    |
    |--Dev_Config_file.xml
    |
    |---Stage
    |
    |--Stahe_Config_file.xml
    |
    |---Prod
    |
    |-Prod_Config_file.xml
    4] I need a way to load these property file as xml element/variable inside OSb message flow.?? I can't use XPath function fn:doc("URL") coz I don't know exact path of XMl on deployed server.
    5] Also I need to lookup/model the value which will specify the current server type(Dev/Stage/prod) on which OSB MF is running. Let say any construct which will act as a Global configuration and can be acccessible inside the OSb message flow. If I get the vaalue for the Global variable as Dev means I will load the xml config file under the Dev Directory @runtime containing key value pair for Dev environment.
    6] This Re: OSB: What is best practice for reading configuration information
    suggest the designing of the web application which will serve the xml file over the http protocol and getting the contents into variable (which in turn can be used in OSB message flow). Can we address this problem without creating the extra Project and adding the Dependencies? I read configuration file approach too..but the sample configuration file doesn't show entry of .xml file as resources
    Hope I am clear...I really appreciate your comments and suggestion..
    Sushil
    Edited by: Sushil Deshpande on Jan 24, 2011 10:56 AM

    If you can enforce some sort of naming convention for the transport endpoint for this proxy service across the environments, where the environment name is part of the endpoint you may able to retrieve it from $inbound in the message pipeline.
    eg. http://osb_host/service/prod/service1 ==> Prod and http://osb_host/service/prod/service2 ==> stage , then i think $inbound/ctx:transport/ctx:uri can give you /service/prod/service1 or /service/stage/service1 and applying appropriate xpath functions you will be able to extract the environment name.
    Chk this link for details on $inbound/ctx:transport : http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html#wp1080822

  • All I want for my birthday is my jaxrpc-mapping.xml file.........;-)

    I am using JWSDP 2.0 with JDK 1.5. I have developed an ant script for building my web service files. When the script runs, the command line arguments are passed to the wscompile:
    wscompile -d C:\WorkSpaceForMyEclipse\WebService\WebContent\WEB-INF\classes "-features:rpcliteral, wsi" -g -import -keep -nd C:\WorkSpaceForMyEclipse\WebService\descriptors -s C:\WorkSpaceForMyEclipse\WebService\JavaSource -verbose -Xprintstacktrace -Xserializable C:\WorkSpaceForMyEclipse\WebService\WebContent\WEB-INF\wsdl\webservice-config.xml -classpath  <all the jar files from jwsdp project> <project jars>This all works well and good.
    My problem is I am not seeing a jaxrpc-mapping.xml file being created.
    When I add the mapping=${path}/jaxrpc-mapping.xml to the ant task, the builds break saying -mapping is not an option for wscompile....
    Am I doing something wrong? Can some guide me in the right direction for creating the mapping file? When I try axis, the mapping file is created, but it is not populated with any mappings. All I want for Christ is my jaxrpc-mapping.xml file. :-)
    Thanks in advance for reading my post. Any suggestions would be greatly appreciated.
    Russ

    If you are using rpc/literal and jdk 1.5, you would be better off using JAX-WS which does not require a mapping file. JAX-WS is the next generation Web services API that replaces JAX-RPC. Check out http://jax-ws.dev.java.net.

  • Has anyone received a shipping notification for the iPod touch 5 yet?

    Has anyone's ipod shipped yet? Mine was ordered on the 28th and it still says processing, although I can't return order at this point. I wonder if that means it is about to ship or something. Also I read somewhere that apple was shipping them on the 7th I heard that some had already shipped.

    Your frustration is understandable. Leaving an ambiguous "October" on the shipping date is doing them no favors. If I had to guess, I would say that they weren't sure how much time they would be able to devote to manufacturing the iPod Touch vs. the iPhone 5 since they didn't know what the initial demand would be for the iPhone, and they do share some of the same hardware and components. Considering that we are seeing statuses change at all, this does seem to indicate that Apple is at least now moving along with the process. I sincerely hope they communicate accurate shipping dates soon, as even if that date is later in October, at least it will be a solid date.

  • Create and populate pdf forms from a xml file for follow up information

    Forgive my amateurishness, I have a simple .xml that was created with excel with name, address, date of service, age, dob, account #, unit, and business name.  I need a form to be pre-populated with the .xml data but have other fields (mainly Yes/No check boxes) that need to be populated by other users.  This users would then finish filling out the form and return it to me via email.  I have created the form in LC Designer ES2 and created it with Acrobat Pro X.  However when I attempt to import data I can only see the first .xml record.  So my question is, how do I create multiple .pdf forms for each .xml record?  Do I need to use Java within LC Designer?  Or use Adobe Pro?  I am not afraid to attempt to code, (I have many excel programs that batch print to .pdf using vb).
    Thank you in advance

    Try the forum for LiveCycle Designer.

  • Create pdf forms from a xml file for follow up information

    Forgive my amateurishness, I have a simple .xml that was created with excel with name, address, date of service, age, dob, account #, unit, and business name.  I need a form to be pre-populated with the .xml data but have other fields (mainly Yes/No check boxes) that need to be populated by another user.  This user would then finish filling out the form and return it to me via email.  I have created the form in LC Designer ES2 and created it with Acrobat Pro X.  However when I attempt to import data I can only see the first .xml record.  So my question is, how do I create multiple .pdf forms for each .xml record?  Do I need to use Java within LC Designer?  Or use Adobe Pro?  I am not afraid to attempt to code, (I have many excel programs that batch print to .pdf using vb).
    Thank you in advance

    I don't play with forms enough to give an answer. However, you might search the Forms sub-forum for a possible solution. You might also find better answers there, though many of the forms experts drop by here too.

  • The find function (Ctl+F) , doesn't not expanding the xml file , to search for given search. If the the xml file is expanded , then find function finds the tag and data. How to fix this.

    The find function doesn't expanding the xml nodes to search. If the xml is expanded , then find function highlights both matching tag and data. how to fix this.
    == This happened ==
    Every time Firefox opened

    <xsl:value-of select="x"/> produces a string that consists of all text nodes in x.
    <xsl:copy-of select="x"/> produces an exact copy of x.
    Go to http://www.zvon.org/ for more information like this.

  • Best settings for professional printing quality .pdf from Microsoft Publisher file?

    Hello,
    I have created a couble of design documents in Microsoft Publisher, and would like them professionally printed. The printer who will print them has asked me to send him the artwork as a .pdf, with crop marks, color density bars and registration marks.
    I have Acrobat X Pro, and have tried to use the print AdobePDF function from within Microsoft Publisher but I am struggling to get the best quality result with all the printer marks. Can anyone suggest what are the best setting for a professional .pdf?
    I have chosen 'Press Quality' print settings and that helps to make the images look good. But I cant make it work with CMYK? The Adobe printing function doesnt seem to like the 'Composite CMYK' selection needed to make the printing marks available?
    Help!
    Thanks,
    Liz

    Try the "Smallest Size" Preset. As a side note, you can reduce the ppi from 300 to 150 in Image > image size (resample on) to reduce file size and keep quality.
    Gene

  • Best settings for a high quality dvd from FCP reference file?

    Can anyone give me a list of steps to make the best possible quality DVD from an FCP reference file? The film is 10 minutes long, NTSC. Or can someone direct me to some threads that address this issue? Thanks so much.

    This may be of assistance:
    http://www.kenstone.net/fcphomepage/bitbudget.html

  • Is it possible to extract the xpath for fields from a XML file

    Hi,
    After all we do the recording to capture the xpath of the fields, so i thought of extracting xpath from a XML file will be a good idea.
    Is there a way to do this?
    Please suggest
    regards
    Suresh

    Yes, there is.  Go to the Tools menu -> Generate XPaths and load in your xml file.  Select the element you are interested in and you will get the XPath to utilise.
    Regards,
    Jamie

  • MD4C order report for shipping notification doesnu2019t display any component

    Dear guru ,
    I have created a shipping notification for a subcontract order.
    If I run order report (using MD04 or MD4C)  for shipping notification doesnu2019t display any component.
    I have seen note 498217.
    Any workaround does exist ? What do you suggest ?
    I need to have a confirmation date from vendor but also to have a pegging of the requirements.
    Thanks in advance.

    Any suggestions to this? I have the same problem
    rgds
    GAR

  • I need a bapi  for material management advance shipping notifications

    i need a bapi  for material management advance shipping notifications  for developing powls which includes below fields and some more fields.
    •     Inbound delivery number
    •     Due date (GR date)
    •     Vendor delivery number
    •     Material
    •     Name of material
    •     Quantity
    •     Vendor
    •     Name of vendor
    thanks and regards,
    jameer.p

    Hi Jameer,
    This is a hard one, my friend. I understand what you are trying to do.. Try BAPI_DELIVERYPROCESSING_EXEC. It is tricky though.
    Moreover you might want to use a FM to fill the IDOC data. something like IDOC_INPUT_**. this might be a better option.
    cheers,
    Hema.

Maybe you are looking for

  • HP Photosmart 6510 not printing black after cartridge cchange

    I see the issue of not being able to print in black after a black cartridge change is not new.  This is not the first time I have change the black cartridge but it is the first time I had this issue arise.  I have followed the various peices of advic

  • Is there a way to migrate Content Area vía API?

    Hi I have to migrate an Oracle Portal 9.0.2 installation to an 11.1.1.4. Now I had some really unpleasant and even traumatic experiences with the migration. I was wondering is there an API in 11.1.1.4 where I can create a process that takes the 9.0.2

  • Filter previews don't match regular image display

    I'm tearing my hair out trying to figure this out. I'm working on a new computer (MacBook Pro, running 10.5.5) and all my filter previews are more saturated than the image is "normally" in Photoshop. This is true for: - Tiffen DFX - Photoshop's built

  • Adding a radio station

    I have already tried putting the URL under Advanced > Open Stream but it will not work. If anyone would be so kind to try, the station is WBAL 1090 AM from Baltimore. Unless iTunes already has it, I haven't found it. And if not, PLEASE ADD IT! PLEASE

  • Downloading AI issues

    I purchased the download monthly plan but can not download AI to my mac. What's up with this?