I need one XML File containing one Idoc fields Say Orders01

hiall,
i need one XML File containing one Idoc fields Say Orders01
bye
satish

hi,
<?xml version="1.0" encoding="iso-8859-1"?>
<ORDERS02>
  <IDOC BEGIN="1">
    <EDI_DC40 SEGMENT="1">
      <TABNAM>EDI_DC40</TABNAM>
      <MANDT>800</MANDT>
      <DOCNUM>0000000000213213</DOCNUM>
      <DOCREL>46B</DOCREL>
      <STATUS>30</STATUS>
      <DOCTYP>ORDERS02</DOCTYP>
      <DIRECT>1</DIRECT>
      <RCVPOR>A000000032</RCVPOR>
      <RCVPRT>LS</RCVPRT>
      <RCVPRN>sell</RCVPRN>
      <RCVSAD/>
      <RCVLAD/>
      <STD/>
      <STDVRS/>
      <STDMES/>
      <MESCOD/>
      <MESFCT/>
      <OUTMOD>4</OUTMOD>
      <TEST/>
      <SNDPOR>SAPSID</SNDPOR>
      <SNDPRT>KU</SNDPRT>
      <SNDPRN>23334</SNDPRN>
      <SNDSAD/>
      <SNDLAD/>
      <REFINT/>
      <REFGRP/>
      <REFMES/>
      <ARCKEY/>
      <CREDAT>20061019</CREDAT>
      <CRETIM>205734</CRETIM>
      <MESTYP>ORDERS</MESTYP>
      <IDOCTYP>ORDERS02</IDOCTYP>
      <CIMTYP/>
      <RCVPFC/>
      <SNDPFC/>
      <SERIAL></SERIAL>
      <EXPRSS/>
    </EDI_DC40>
    <E1EDK01 SEGMENT="1">
      <KZABS>X</KZABS>
      <CURCY>USD</CURCY>
      <WKURS>1.000</WKURS>
      <ZTERM>ZZZZ</ZTERM>
      <BSART>EC</BSART>
      <BELNR>300024455</BELNR>
      <RECIPNT_NO>misssa</RECIPNT_NO>
    </E1EDK01>
    <E1EDK14 SEGMENT="1">
      <QUALF>014</QUALF>
      <ORGID>1000</ORGID>
    </E1EDK14>
    <E1EDK14 SEGMENT="1">
      <QUALF>009</QUALF>
      <ORGID>001</ORGID>
    </E1EDK14>
    <E1EDK14 SEGMENT="1">
      <QUALF>011</QUALF>
      <ORGID>1000</ORGID>
    </E1EDK14>
    <E1EDK03 SEGMENT="1">
      <IDDAT>012</IDDAT>
      <DATUM>20061019</DATUM>
    </E1EDK03>
    <E1EDKA1 SEGMENT="1">
      <PARVW>LF</PARVW>
      <PARTN>000002344</PARTN>
      <TELF1></TELF1>
      <BNAME></BNAME>
    </E1EDKA1>
    <E1EDKA1 SEGMENT="1">
      <PARVW>WE</PARVW>
      <LIFNR>1000</LIFNR>
      <NAME1></NAME1>
      <STRAS></STRAS>
      <ORT01></ORT01>
      <PSTLZ>4444</PSTLZ>
      <LAND1>EN</LAND1>
      <TELF1></TELF1>
      <SPRAS>D</SPRAS>
      <ORT02></ORT02>
      <REGIO>02</REGIO>
    </E1EDKA1>
    <E1EDK02 SEGMENT="1">
      <QUALF>001</QUALF>
      <BELNR>600060324</BELNR>
      <DATUM>20061019</DATUM>
      <UZEIT>205736</UZEIT>
    </E1EDK02>
    <E1EDK17 SEGMENT="1">
      <QUALF>001</QUALF>
      <LKOND>EXW</LKOND>
      <LKTEXT>london</LKTEXT>
    </E1EDK17>
    <E1EDK18 SEGMENT="1">
      <QUALF>001</QUALF>
      <TAGE>12</TAGE>
      <PRZNT>4.000</PRZNT>
    </E1EDK18>
    <E1EDK18 SEGMENT="1">
      <QUALF>002</QUALF>
      <TAGE>30</TAGE>
      <PRZNT>2.000</PRZNT>
    </E1EDK18>
    <E1EDK18 SEGMENT="1">
      <QUALF>003</QUALF>
      <TAGE>45</TAGE>
    </E1EDK18>
    <E1EDP01 SEGMENT="1">
      <POSEX>00010</POSEX>
      <PSTYP>0</PSTYP>
      <KZABS>X</KZABS>
      <MENGE>1.000</MENGE>
      <MENEE>EA</MENEE>
      <BMNG2>1.000</BMNG2>
      <PMENE>EA</PMENE>
      <VPREI>3</VPREI>
      <PEINH>1</PEINH>
      <NETWR>3</NETWR>
      <MATKL>001</MATKL>
      <BPUMN>1</BPUMN>
      <BPUMZ>1</BPUMZ>
      <E1EDP20 SEGMENT="1">
        <WMENG>1.000</WMENG>
        <EDATU>19</EDATU>
      </E1EDP20>
      <E1EDP19 SEGMENT="1">
        <QUALF>002</QUALF>
        <IDTNR>100</IDTNR>
      </E1EDP19>
      <E1EDP19 SEGMENT="1">
        <QUALF>001</QUALF>
        <KTEXT>some text</KTEXT>
      </E1EDP19>
    </E1EDP01>
    <E1EDS01 SEGMENT="1">
      <SUMID>002</SUMID>
      <SUMME>3</SUMME>
      <SUNIT>USD</SUNIT>
    </E1EDS01>
  </IDOC>
</ORDERS02>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • Splitting multiple IDoc XML files into single IDoc messages for R/3

    Hi all. I have a problem splitting IDoc XML files coming in to XI. I currently have an interface that takes in single store sale IDoc transactions (type WPUBON01) in an IDoc XML file. I then have some complex graphical mapping on the IDoc before sending to R/3 via the IDoc adapter. This works fine. However, we now wish to include multiple sales in one file i.e. many WPUBON01 IDocs. I could use message splitting to do this BUT the mapping is so complex, I do not wish to have to change it to enable the processing of many IDocs in one file instead of just one.
    What I want to do: have one mapping splitting a multiple IDoc XML file into single IDoc messages and then another taking these single messages as before and performing the mapping. I cannot find a way to do this in one interface; the main problem I'm having is getting XI to split the multiple IDocs into many single IDoc messages within XI itself. I'd be very grateful for any advice on the best way to do this.
    Thankyou.
    Stuart Richards (Halfords, UK)

    Bhavesh,
    Thanks again for a clear explanation... I'm moving forwards but still struggling. I've been on this all afternoon today (after a break on other things) and just cannot get my message to split properly (though the SOAP adapter problem I had earlier is now fixed!). If my initial IDoc XML file contains this format:
    <WPUBON01><IDOC>....</IDOC>
                          <IDOC>....</IDOC>
                          <IDOC>....</IDOC></WPUBON01>
    .. I'm not sure what the cardinaility on the first message mapping and interface mapping should be. I'd have thought the source interface would be 1 and the target would be 0..unbounded but this isn't working. I'm trying different things but I get different errors each time. Currently, I have the above cardinality in my first interface and I'm passing in the following data:
    <WPUBON01><IDOC><EDI_DC40><TABNAM>EDI_DC40</TABNAM><MANDT /><DOCNUM /><DOCREL>620</DOCREL><DIRECT>2</DIRECT><IDOCTYP>WPUBON01</IDOCTYP><MESTYP>WPUBON</MESTYP><MESCOD>ST6</MESCOD><SNDPOR>WPUX</SNDPOR><SNDPRT>KU</SNDPRT><SNDPRN>0518</SNDPRN><RCVPOR /><RCVPRT>KU</RCVPRT><RCVPRN>0518</RCVPRN><REFINT>00000003832292</REFINT></EDI_DC40><E1WPB01 SEGMENT="1"><POSKREIS>0518</POSKREIS><KASSID>29</KASSID><VORGDATUM>20071029</VORGDATUM><VORGZEIT>160633</VORGZEIT><BONNUMMER>1001</BONNUMMER><KASSIERER>100</KASSIERER><CSHNAME> </CSHNAME><BELEGWAERS>GBP</BELEGWAERS><E1WPB02 SEGMENT="2"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="3"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="4"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="5"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="6"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="7"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="8"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="9"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="10"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="11"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="12"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="13"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="14"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="15"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="16"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB06 SEGMENT="17"><VORZEICHEN></VORZEICHEN><ZAHLART>PTCS</ZAHLART><SUMME> </SUMME><KARTENNR /><ZUONR>1001</ZUONR></E1WPB06></E1WPB01></IDOC><IDOC><EDI_DC40><TABNAM>EDI_DC40</TABNAM><MANDT /><DOCNUM /><DOCREL>620</DOCREL><DIRECT>2</DIRECT><IDOCTYP>WPUBON01</IDOCTYP><MESTYP>WPUBON</MESTYP><MESCOD>ST6</MESCOD><SNDPOR>WPUX</SNDPOR><SNDPRT>KU</SNDPRT><SNDPRN>0518</SNDPRN><RCVPOR /><RCVPRT>KU</RCVPRT><RCVPRN>0518</RCVPRN><REFINT>00000003832293</REFINT></EDI_DC40><E1WPB01 SEGMENT="1"><POSKREIS>0518</POSKREIS><KASSID>29</KASSID><VORGDATUM>20071029</VORGDATUM><VORGZEIT>160634</VORGZEIT><BONNUMMER>1002</BONNUMMER><KASSIERER>100</KASSIERER><CSHNAME> </CSHNAME><BELEGWAERS>GBP</BELEGWAERS><E1WPB02 SEGMENT="2"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="3"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="4"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="5"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="6"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="7"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="8"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="9"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="10"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="11"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="12"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="13"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="14"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="15"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="16"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB06 SEGMENT="17"><VORZEICHEN></VORZEICHEN><ZAHLART>PTCS</ZAHLART><SUMME> </SUMME><KARTENNR /><ZUONR>1002</ZUONR></E1WPB06></E1WPB01></IDOC><IDOC><EDI_DC40><TABNAM>EDI_DC40</TABNAM><MANDT /><DOCNUM /><DOCREL>620</DOCREL><DIRECT>2</DIRECT><IDOCTYP>WPUBON01</IDOCTYP><MESTYP>WPUBON</MESTYP><MESCOD>ST6</MESCOD><SNDPOR>WPUX</SNDPOR><SNDPRT>KU</SNDPRT><SNDPRN>0518</SNDPRN><RCVPOR /><RCVPRT>KU</RCVPRT><RCVPRN>0518</RCVPRN><REFINT>00000003832294</REFINT></EDI_DC40><E1WPB01 SEGMENT="1"><POSKREIS>0518</POSKREIS><KASSID>29</KASSID><VORGDATUM>20071029</VORGDATUM><VORGZEIT>160634</VORGZEIT><BONNUMMER>1003</BONNUMMER><KASSIERER>100</KASSIERER><CSHNAME> </CSHNAME><BELEGWAERS>GBP</BELEGWAERS><E1WPB02 SEGMENT="2"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="3"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="4"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="5"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="6"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="7"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="8"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="9"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="10"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="11"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="12"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="13"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB02 SEGMENT="14"><VORGANGART /><QUALARTNR>ARTN</QUALARTNR><ARTNR>000000065601301390</ARTNR><VORZEICHEN>-</VORZEICHEN><MENGE>1</MENGE><AKTIONSNR>0000000000</AKTIONSNR><REFBONNR> </REFBONNR><E1WPB03 SEGMENT="15"><VORZEICHEN /><KONDITION>PN10</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03><E1WPB03 SEGMENT="16"><VORZEICHEN></VORZEICHEN><KONDITION>ZPN1</KONDITION><KONDVALUE>1.00</KONDVALUE><CONDID /><QUALCONDID /></E1WPB03></E1WPB02><E1WPB06 SEGMENT="17"><VORZEICHEN></VORZEICHEN><ZAHLART>PTCS</ZAHLART><SUMME> </SUMME><KARTENNR /><ZUONR>1003</ZUONR></E1WPB06></E1WPB01></IDOC></WPUBON01>
    In the message monitor, I get a chequered flag. Great. However, I get the dreaded error 500 in the SOAP receiver comm channel:
    SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Exception caught by adapter framework: SOAP Error
    Delivery of the message to the application using connection AFW failed, due to: SOAP Error.
    Any ideas as to what this might be?! I'm getting there.... if I get a solution out of this, I promise to write the blog myself!
    Cheers
    Stuart

  • ESB/File Adapter - XML files containing multiple messages

    Hi,
    In all the examples on file adapters I read, if files contain multiple messages, it always concerns non-XML files, such as CSV files.
    In our case, we have an XML file containing multiple messages, which we want to process separately (not in a batch). We selected "Files contain Multiple Messages" and set "Publish Messages in Batches of" to 1.
    However, the OC4J log files show the following error:
    ORABPEL-12505
    Payload Record Element is not DOM source.
    The Resource Adapter sent a Message to the Adapter Framework which could not be converted to a org.w3c.dom.Element.
    Anyone knows whether it's possible to do this for XML files?
    Regards, Ronald

    Maybe I need to give a little bit more background info.
    Ideally, one would only read/pick-up small XML documents in which every XML document forms a single message. In that way they can be processed individually.
    However, in our case an external party supplies multiple messages in a single batch-file, which is in XML format. I want to "work" on individual messages as soon as possible and not put a huge batch file through our ESB and BPEL processes. Unfortunately we can not influence the way the XML file is supplied, since we are not the only subscriber to it.
    So yes, we can use XPath to extract all individual messages from the XML batch-file and start a ESB process instance for each individual message. But that would require the creation of another ESB or BPEL process which only task is to "chop up" the batch file and start the original ESB process for each message.
    I was hoping that the batch option in the File adapter could also do this for XML content and not only for e.g. CSV content. That way it will not require an additional process and manual coding.
    Can anyone confirm this is not supported in ESB?
    Regards,
    Ronald
    Message was edited by:
    Ronald van Luttikhuizen

  • Need one more field based on comparision of other fields

    Report Builder 6.0.8.11.3
    ORACLE Server Release 8.0.6.0.0
    Oracle Procedure Builder 6.0.8.11.0
    Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
    Oracle CORE Version 4.0.6.0.0 - Production
    Oracle Tools Integration Services 6.0.8.10.2
    Oracle Tools Common Area 6.0.5.32.1
    Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
    Resource Object Store 6.0.5.0.1
    Oracle Help 6.0.5.35.0
    Oracle Sqlmgr 6.0.8.11.3
    Oracle Query Builder 6.0.7.0.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 6.0.8.11.3
    Oracle Express 6.0.8.3.5
    Oracle XML Parser     1.0.2.1.0     Production
    Oracle Virtual Graphics System 6.0.5.35.0
    Oracle Image 6.0.5.34.0
    Oracle Multimedia Widget 6.0.5.34.0
    Oracle Tools GUI Utilities 6.0.5.35.0
    Iam having report layout as below
    -- M_6
       -- M_10
          -- B_13
          -- F_94
       -- M_FOR_REP1
          -- R_SALESMAN
             -- M_39
                -- B_74
                -- F_113
             -- M_7
                -- B_33
                -- F_2
             -- M_CUSTOMER
                -- R_CUSTOMER
                   -- F_98
                   -- M_GNAME
                      -- R_5
                         -- M_12
                            -- F_41Above is my full layout of my report how it look like
    (B_33) Sales Men : F_2
    F_2 lists out the all the salesmen.(david, george .... so on)
    F_98 Lists out all the categories of products (Furniture , Automobiles .... so on)
    F_41 Lists out amount of particular category
    F_113 lists out the sum of F_41.
    Parameters that i pass is :
    From Date : 01-AUG-11
    To Date : 31-AUG-11
    Company Code : 110
    Orgn Name : Cytrex OU
    Sales Type :
    Salesmen From : DAVID FOO
    Salesmen To : DAVID FOO
    Customer From :
    Customer To :
    Year From Date : 01-JUN-11
    Year To Date : 31-AUG-11
    Report Detail : Yes
    And the output for my report is
    Item Type                      ProductFamily                  Quantity            Sales
    (MYR)
    Sales Men : DAVID FOO
    01FN
    01FN
    FNDM
    FNUM
    NEW CASA [BROWN (CS5839)]
    CELLINI LEATHER [BEIGE FL35A]
    CELLINI LEATHER [BLACK FL 10B]
    21,585.50i need one more field and the result should like to compare F_2, F-98, F_41
    For every salesman(F-2) there will be different category (F_98), i need to add the amount (F_41) for all the same category.
    like
    Customer :  David
             Sales men :     Thomas
    Furniture                100
    Automotives               50
    Textiles                  20
    Mobiles                   10
             Sales men :    Daniel
    Furniture                 30
    Textiles                  10
    Ship                      20
    Customer : George
             Sales men :      Thomas
    Furniture                 20
    Mobiles                   50
             Sales men :    Daniel
    Furniture                 10
    Mobiles                   20
    {code }
    result Salesmen : Thomas Daniel
    Furniture 120 40
    Automotives 50
    Textiles 20 10
    Mobiles 60 20
    Ship 20
    means all the based on the category for each salesman for different customers should be added.Please explain me how to place the extra field and write the logic for that. i am trying for this from past one month nobody is giving proper feedback, if you want to know anything more regarding this let me know i will provide you with the full fledge information.
    Edited by: user9093700 on Mar 12, 2012 1:08 AM

    your break is nt the better for this
    i think you can create a temporary table
    the fields salesman category and quantity
    insert and update for each record with a formula or create a new sql query and maybe use a matrix to show as you want

  • Import an xml file into adobe designer field using javascript

    Adobe javascript experts ,please help me.
    I need to load the data from an xml file into a text field in designer
    using javascript and then go through each node in the loaded xml and compare that with form fields in designer and if matching fill the value(node's value from the loaded xml) in form fields.
    Please give ur suggestions.
    Thanks in advance!!!
    regards,
    sowmya

    Thanks for the fast response.
    I saw your example and specifically the javascript code
    xfa.host.importData("filename.xml").
    Just by giving this alone how do I access the values in the xml???
    Just by giving the above javascript, my value is not getting populated when I see in pdf preview.
    But apart from that you have done dataconnection also and binding in all the columns.What is this for??
    Could you kindly explain what u r doing step by step??
    Thanks again.
    regards,
    Sowmya

  • How to parse xml file, containing image,  generaged from JAX-RS connector?

    Hi,
    We are using JAX-RS connector and just want to call getBusinessObjects() directly using JerseyMe (basically bypassing sync engine). We have used sync engine so far and want to try as how to bypass it. The method produces the text/xml and verified the xml file in the web by giving the full url. The plan is to call the same URL from the Java Me Client using JerseyMe. When I print the bytes at the client I receive the same xml that I have seen in the web. Actually, I am passing an image that I can see in a different character format in xml (assuming this is bcos of UTF-8 encoding). I am wondering as how to parse this xml file and how to decode the "UTF-8" format? Do we need to use SGMP for this or use kxml or java me webservices spec.
    I would really appreciate if somebody can answer this one.
    I have been observing in this forum that SGMP team is not at all active in answering the questions. Please let us know whether Oracle is keeping this product and we can continue using SGMP1.1. Please let us know so that we can plan accordingly as we are building a product based on SGMP.

    Hi Rajiv,
    The client library is using org.apache.commons.codec.binary.Base64 internally. We don't have the full Commons Codec library bundled, but you can look up the javadoc for the Base64 class online. All you need to do is call Base64.decode(obj.getBytes()) on the objects you get out of the XML.
    In general it isn't a good idea to depend on implementation details of the client library, but in this case, I think it is pretty safe to expect org.apache.commons.codec.binary.Base64 to remain in our library.
    --Ryan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Large XML files containing time based data

    Hi,
    i'm having an extremely large XML files, gegas, it holds some info for displaying graphical representations for users, one of which is the updated view every time instance. i'm stuck with handling this large XML file, obviously i tried using a DOM parser, i got an out of memory exception, i though of using SAX as its event based, but then i'll be stuck going backward through the representation, i need users to go backward and forward representing the graphical representation at different time instances.

    It is gigabytes?
    And this file gets modified by some external application(s), rather than being created one time?
    And you want to keep reprocessing it at the same time other application(s) are modifying it?
    If yes to all of those, then I doubt there is any real solution except to copy it. If you attempt to sync it with the file system then you are either going to be locking it, preventing updates, or you are going to end up with corrupted data and thus ill formed xml.
    If the time data is historical in that a 'user' does something and a new entry is made and you want to report in various ways on that data then parsing it into a database would seem like reasonable solution.

  • Need one more field in standard solman iview

    Hi All,
    I need to add one more field in my standard solman iview which gives only 4 fields and 1 radio button. I require 5 fields and one radio button.
    How can I add an additional field in standard iview?
    Is there any other solman iview which I can use?
    Please Advise.
    Thanks & Regards,

    Shreya,
    you should have system administrator role to work with par file.
    go to system administration -support-portal runtimeBrowse deployment-look for something com.sap.portalepsolman.par.bak and download it.
    you can import that into NWDS and start modifying the jsp files.
    When you import par files into NWDS jar file will be missing in the directory strucuture so you need to add it manually.once you do the changes deploy the par file from NWDS and upload it Portal using system administration-support-portal runtime-administration console-upload
    check these links for more info
    https://forums.sdn.sap.com/click.jspa?searchID=16632942&messageID=6128753
    https://forums.sdn.sap.com/click.jspa?searchID=16632942&messageID=6169428
    If any issue revert to me
    Thanks
    Bala Duvvuri

  • Format Payment Instructions - Need the XML file.

    Hi,
    We have a requirement to print first page of this check print program to go to one printer and the second page onwards should go to different printer.
    In order to achieve this requirement we had planned to have 2 programs. first program will be the standard 'Format Payment Instructions' which will print only the first page and we will have second program which will call the JAVA FO Processing API with the XML file generated from the first program and the layout name to generate the PDF file.
    But the problem here is we are not able to find the XML file for the 'Format Payment Instructions' program. Does this program generates the XML file in a different directory? Can anybody help us with the Unix path name where the XML file will be generated.
    Thanks
    Lakshmanan A.

    You can upload the ECCN XML file from the GTS cockpit -> SAP Compliance Management -> Classification/Master Data -> Load ECCNs from XML file.
    You normally get the ECCN XML files from data provider website.
    Edited by: Howard Dai on Feb 27, 2009 11:36 AM

  • XML files containing huge string

    Hi,
    I'm trying to read in a huge string from an XML file (the string is an encoded file e.g. a video - ideally I want to read in a file over 100MB if possible) It seems fine for small files, but large ones give me the 'out of memory' error, apparently when creating the XML document.
    I gather it's best to use SAX parser rather than DOM for large files to avoid this; however I'm already using SAX. Does anyone have a suggestion as to where I might be going wrong? Maybe there's a better way to store the string in the XML? At the moment it's just an attribute of an object.
    I'm very new to XML and would greatly appreciate anyone's advice here!
    Thanks a lot,
    Kat

    create content handler by over riding defaulthandler. Append to StringBuufer the content you require that way you can recreate chunks you require. Like this
    class myContentHandler extends DefaultHandler
    StringBuffer sb = new StringBuffer();
    public void startElement(String uri,String localName,String qName,
    Attributes attributes) throws SAXException
    sb.append("<").append(qName).append(">");
    public void endElement(String uri, String localName, String qName) throws SAXException
         sb.append("</").append(qName).append(">");
         if ( qName.equalsIgnoreCase("endtag"))
              System.out.println(sb);
    public void characters(char[] ch, int start, int length) throws SAXException
    sb.append(XmlUtil.encodeXmlSpecialChars(ch,start,length));
    Call Sax Parser ==>
    SAXParserFactory parserFactory = SAXParserFactory.newInstance();
    SAXParser parser = parserFactory.newSAXParser();
    parser.parse("myfile.xml",new MycontentHandler());

  • Is there a xml file containing news's author, source etc

    Hi everyone, there are a few corporate news on the front page on the portal, they are html files and saved under root/documents/news/feature news or news achieve.
    When I click it the news page can be displayed in a browser window. When I move the mouse cursor on a file's name the tooltip displays the file's id like f000316a-e2ef-2810-96b4-96263a44e6e1.xml.
    Now I need a xml containing information like news author’s name, source, language, created date, modify person name etc for all the news files.
    If such data is organized in xml file where can I find out?  If such data is saved in database how I can retrieve them?
    Your early reply will be appreciated.
    Best regards.
    Wang

    Hi Wang,
    The question about retrieving this information implies the purpose, how you're going to use these date. Before anybody could help on this you'd have to clarify this more I guess.
    Anyway, I recommend to see this if you haven't check before:
    a) <a href="http://help.sap.com/saphelp_nw70/helpdata/en/f4/9d1f39a27d0e4f8a69c891dc4a4a05/frameset.htm">Properties of XML Documents</a>
    b) <a href="http://help.sap.com/saphelp_nw70/helpdata/en/1a/9a4a3b80f2ec40aa7456bc87a94259/frameset.htm">Predefined Properties</a>
    c) <a href="http://help.sap.com/saphelp_nw70/helpdata/en/67/8882410349213ce10000000a1550b0/frameset.htm">Export and Import of Properties and Metadata</a> - Maybe this is what you're looking for.
    Regards, Peter

  • OUTBOUND XML FILE CONTAINS SPECIAL CHARS AFTER SP08 UPGRADE

    Experts,
    Recently MDM server upgraded to SP08 from SP05.
    In our outbound interface scenario we have 1 hierarchy field. The hierarchy field mapped as complete path(parent to Child)
    ex: 1,Parent > 11,Child > 111,Child > 1111,Child.
    In SP05 XML files are generating correctly & PI also dont have any issues while passing this data to ECC.
    After SP08 Server pack upgrade, xml file generating like  below:
    1??, ??Parent??, ???>?11??, ??Child??, ???>?111??, ??Child??, ???>?1111??, ??Child??, ???
    If open the xml file in non ASCC editor I could able to see these special chars. Due to this ISSUE PI could not processing xml files.
    All XML files are failing& blocking in PI.
    Could you let me know what needs to be done at MDM or PI level.
    Appreciate your inputs.
    Thanks
    Audinarayana

    Hello,
    Please check the Destination preview in the syndicator.
    So an syndication on the local machine, open the XML in an Browser, to see check for the special characters.
    If every things is ok, then just place the file in the outbound ready folder.
    If not then, raise an OSS message with SAP, as this a latest release, error resolution would be best provided by SAP
    Regards,
    Abhishek

  • Need one more field in PO search help ..

    Hi,
    In ME22N, I try to search for a PO, press F4  and use the fields in the tab "Purchasing documents per collective number". Here I want to add one more field, i.e. document date. Existing input fields are ; Collective Number, Purch Org, Purch Doc.
    How to do this ?
    thnks

    Yes Alex. I verified all that and its perfect.
    But I found that when I tested MEKK_T from se12 (menu search help-> test) I was able to see the Document date !!!  This MEKK_T has my new Z_MEKKS search help, so that means my custom search help is working fine in test mode.
    So the assignments are as follows:
    EBELN has MEKK_C as the search help assigned.
    MEKK_C has MEKK_T in its included search help.
    MEKK_T has Z_MEKKS (my custom help) in included search helps list.
    What else could be wrong ?
    thnks

  • XML file containing an ISO-8859-1encoded string not able to see charcater

    We have an XML file with the following encoding:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    The Oracle 10gR2 database is set with the following encoding.
    PARAMETER VALUE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_CHARACTERSET WE8ISO8859P1
    There are some characters that are not displaying within SQL Developer, how do I diagnose this as a database or a client issue?

    Guys, why nobody takes care of at least telling us what characters you cannot see. You describe two random elements of the whole application and expect people to give reasonable answers. Please, read through this forum a bit and you will see how many configuration elements may matter. Then, take some time to describe your problem, including version of software, exact (!) symptoms of the problem, etc. Otherwise, you can just get some guesses instead of a solution!
    -- Sergiusz

  • SAVE XML FILE Only For cetrain field with  Condition

    Hi Team,
    I have to save my journal entries as XML File.
    I have written this code ...It is working
    oJE.GetByKey(3)
                oJE.SaveXML("C:\Documents and Settings\Firos C\Desktop\MyXML3.xml")
    So this code will save all data from OJDT and JDT1. So I dont want to save JDT1.SysCred Field How we do this
    or how we can delete JDT1.SysCred Field  once we save our XML.
    Also I need to give condition while selecting where OJDT.Ref2 <> Null
    How we can resolve this issue...?
    By
    Firos

    Resolved by using XML node deletion operations

Maybe you are looking for