INVOIC96a to EDI-XML by Conversion Agent fails, Special Character Problem

Hi,
with your help in another thread, I recognized that the EDIFACT INVIOC96a Parser of the Itemfield Conversion Agent has a Problem with special characters.
So like described in this blog SAP XI supports EDIFACT i created a Library Project and tried to test the conversion.
It is only working when no special characters are in the EDI file. If there a special characters insight the file, conversion agent say's no error, but the xml file is corrupted. In fact you can't display it in IE or by opening it with XMLPad it says "Not well formed".
Hope that someone has an idea for this problem
Thank you
regards

Hi,
I have already faced the same problem when using Itemfield Conversion Agent.
I solved the same with change properties of the project.
In conversion agent project :
opne the menu :  Project --> Properties --> Encoding --> Change the output Encoding Schema (None).
use None in that schema in place of XML.
Your problem can be solved.
Regards,
Sandeep Kaushik

Similar Messages

  • Xml publisher reprot - special character problem

    I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error
    A semi colon character was expected. Error processing resource.
    Below is the code
    CREATE OR REPLACE PACKAGE BODY XML_RPT AS
        FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
        l_ret_str VARCHAR2(5000);
        BEGIN
            l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
            RETURN l_ret_str;
        END XML_TAG;
         PROCEDURE VENDOR(errbuf          OUT  VARCHAR2,
                         retcode         OUT  NUMBER) IS
        CURSOR inv_Cur  IS
            select pv.vendor_name          
            from po_vendors pv;        
         xmldata            varchar2(1000);
         l_sqlstr           varchar2(1000);
         l_seqnum           varchar2(3);
         l_vendor_name      varchar2(100);
        BEGIN
          xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
          xmldata :=xmldata|| '<VENDOR>';
          xmldata := xmldata||' <LIST_VENDOR>';
          fnd_file.put_line(fnd_file.output,xmldata);    
          FOR rpt_rec IN inv_Cur LOOP
              xmldata := '<VENDOR_REC>';
              l_vendor_name := replace(rpt_rec.VENDOR_NAME,'&','&amp');         
              xmldata := xmldata || XXMCG_XML_TAG('VENDOR_NAME',L_VENDOR_NAME);
              xmldata :=xmldata|| '</VENDOR_REC>';
              fnd_file.put_line(fnd_file.output,xmldata);
          END LOOP;
          xmldata := '</LIST_VENDOR>';
          xmldata := xmldata||'</VENDOR>';
         fnd_file.put_line(fnd_file.output,xmldata);
        EXCEPTION
        WHEN OTHERS THEN
             fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
        END VENDOR;
    END XML_RPT;can any one advice.

    Duplicate post ? xml publisher report problem
    Srini

  • Error in XI while using standard EDI Libraries of Conversion Agent

    Hi,
    We are planning to use conversion agent for EDI to XML conversion using standard libraries.
    Right now working on EDI 867 and is working fine in my local system. But when we moved the contents
    to XI server, we are getting the following error
    *“ConversionAgent/ServiceDB/TS_867_Product_Transfer_and_Resale_Report_Parser/TS_867_Product_Transfer
    andResale_Report_parsers_segments.tgp(547): is_optional is not a known profile or PT”*
    Can anybody help us to solve this issue?
    Regards,
    Ravi

    HI,
    The module name must be localejbs/sap.com/com.sap.nw.cm.xi/CMTransformBean.
    The parameter name must be TransformationName.
    The parameter value must be the conversion agent project name deployed in serviceDB. In the above example, the Tutorial_3 project from the documentation in step 1 is used.
    And also it was failed to update the log.See the folder access onceagain.
    many links provided in that blog itself ,plz check.
    Regards
    Chilla..

  • ORDERS96 to XML by Conversion Agent - Problem with XML output (corrupt)

    Hi,
    I try to convert an EDIFACT Orders 96A file to EDI-XML to use it in SAP PI. I worked like described in BLOG
    SAP XI supports EDIFACT
    When I test the scenario conversion in conversion agent it is successful - without any errors.
    But im not able to open the output XML with my browser everytime there's the error "The XML page cannot be displayed" When I use WMHelp XMLPad it shows me not well formed (invalid token) but i can't see anything wrong so has someone an idea to solve this ?
    Thanks
    be sure points will awarded

    Hi,
      Please check the following links to resolve u r problem.
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=316076&SiteID=1
    http://linuxproblem.org/art_22.html
    http://bugs.php.net/bug.php?id=34168
    warm regards
    mahesh.

  • Create EDI 997 with conversion agent

    Hello,
    I work with conversion agent by ItemField to convert EDI messages to xi and from XI to EDI.
    I succeeded to receive EDI 850, to parse this message and to transfer it to the IDOC and create purchase order.
    Now I try to send back to the customer EDI acknowledgment (997).
    I'll be happy to hear if someone use with conversion agent to create EDI 997.
    Elad

    Hi Elad,
    What are 997s?
    997 Functional Acknowledgments are EDI transactions that a receiver of EDI transaction sets sends back to the party that sent the EDI transaction sets. All EDI transactions require an EDI 997 to be sent back.
    Here is an example
    Wal-Mart sends an EDI Purchase Order to a supplier. With EDI Standard X12, Wal-Mart expects a 997 to be sent back to them. The 997 lets Wal-Mart know that the supplier received the Purchase Order. It does not say that the supplier accepts the terms or conditions of the purchase order. It simply lets them know that the supplier successfully received the Purchase Order.
    Here is another example. A supplier sends Wal-Mart an EDI Invoice. Wal-Mart will send a 997 back to the supplier. The 997 informs the supplier that Wal-Mart has successfully received the invoice.
    CovalentWorks handles all of your EDI transactions for you, including 997s, as an outsourced EDI service. If you choose us as your EDI provider, our system will automatically send and receive all your 997 Functional Acknowledgements. And every one of them is processed for you at no charge.
    Thanks,
    Satya Kumar..

  • Urgent: IDOC to EDI with SAP Conversion Agent

    Hi,
    I have a requiremetn like IDOC to EDI ( Gentran ) scenario.
    We have decided to use SAP Conversion Agent to deal the same.
    Can anybody share their experiences on this kind of scenario.
    Needed step by step information to complete would be appreciated with the full of points.
    Cheers.,
    E

    check with tis may helpful for you
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/frameset.htm
    Regds
    Abhishek

  • ANSI X12 meta data availability in conversion agent??

    Hello,
    Is there a provision for availability of ANSI X12 meta data in SAP conversion agent. We are trying to process EDI orders using the X12 INDUSTRY standard. Please advise.
    -Kris

    hi,
    SAP Conversion Agent together with SAP Net Weaver, enables  to automate complex integration activities for a multitude of data and document formats. These include unstructured and partially structured documents such as Office files, data streams, printing applications, and other application-specific formats.
    Easily integrate unstructured and semi-structured data into SAP Net  Weaver Process Integration using the Conversion Agent.
    Conversion Agent dynamically converts unstructured messages from   Microsoft Word,Excel,PDF plain text. 
    Semi-structured formats such as HL7,SWIFT,HIPA, ANSI X12 and COBOL to   PI understandable SOAP XML.
              So that it helps to easily integrate the information need into the back-end systems. Conversion can also be used as the reverse process to convert from XML to unstructured or semi-structured formats
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sap%2bconversion%2bagent%2b-%2bthe%2blong%2bjourney
    Conversion Agent - Handling EDI termination characters
    Conversion Agent a Free Lunch?
    Integrate SAP Conversion Agent by Itemfield with SAP XI
    regards
    sr

  • Conversion Agent ?

    Hi experts,
    Our scenario is EDI-X12 data to XI  to R/3  (both side)
    For Converison Purpose,
    We want to use Conversion Agent by Itemfield, but there are some other options also in the market like  Seeburger and Iway adapters.
    We have approx 50-60 EDI Scenarios.
    Now, we want to justify that why we are using Conversion Agent not other adapters ?
    Please help us ?
    Regards,
    Study SAP

    hi,
    SAP Conversion Agent together with SAP Net Weaver, enables  to automate complex integration activities for a multitude of data and document formats. These include unstructured and partially structured documents such as Office files, data streams, printing applications, and other application-specific formats.
    Easily integrate unstructured and semi-structured data into SAP Net  Weaver Process Integration using the Conversion Agent.
    Conversion Agent dynamically converts unstructured messages from   Microsoft Word,Excel,PDF plain text. 
    Semi-structured formats such as HL7,SWIFT,HIPA, ANSI X12 and COBOL to   PI understandable SOAP XML.
              So that it helps to easily integrate the information need into the back-end systems. Conversion can also be used as the reverse process to convert from XML to unstructured or semi-structured formats
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sap%2bconversion%2bagent%2b-%2bthe%2blong%2bjourney
    Conversion Agent - Handling EDI termination characters
    Conversion Agent a Free Lunch?
    Integrate SAP Conversion Agent by Itemfield with SAP XI
    regards
    sr

  • SAP Conversion Agent - Performance Tuning

    Hi Experts,
    We are working with SAP Conversion agent..we have developed several scenarios on that...
    But, Now we are worried about the performance issues on the same.
    Can anybody share their experience on SAP Conversion Agent and any performance tuning guide on SAP Conversion Agent.
    -S

    Hi,
    /people/bla.suranyi/blog/2006/09/29/conversion-agent--handling-edi-termination-characters
    Conversion Agent
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f - conversion agent
    Thanks,
    Madhu

  • Building PDF file using Conversion Agent

    Hello Experts,
    Is it possible to build a PDF from XML using Conversion Agent?
    Best Regards,
    Artsiom Anichenka

    Hi,
    This might help you
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    /people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi
    /people/paul.medaille/blog/2005/11/18/conversion-agent-a-free-lunch
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    https://websmp102.sap-ag.de/~sapdownload/011000358700001090982006E/ConvAgentDocSP16.zip
    https://websmp102.sap-ag.de/~sapdownload/011000358700004921152005E/ConversionAgent.pdf
    Regards
    Agasthuri Doss

  • XML to EXCEL with Conversion agent error: XML to EXCEL PROCCES FAILD

    Hello,
    I have scenario from Oracle database to Excel.
    For this scenario I use with conversion agent by itemfield to transfer data from XML to EXCEL.
    The scenario not worked.
    Few points:
    1. I add the conversion agent module to SAP XI receiver communication channel.
    2. When I change the scenario to oracle to xml (without using conversion agent) the scenario works OK.
    3. When I drag the CME file to the studio I found the error message: XML to EXCEL PROCCES FAILD.
    4. I use with conversion agent in other scenario (EDI to IDOC) without any problem.
    5. I'm not found any clue for this problem in XI RWB.
    Elad

    hi Elad,
    to do the conversion,you have to define a module and import it into you CC.
    also see nexts blog
    Yet another "from database or internal table to Excel"
    Reading Excel Data from Java Using HSSF API
    Reading Excel line items using the jExcel API
    Read Excel instead of XML through FileAdapter
    Thanks
    Rodrigo

  • Seeburger EDI Text to EDI XML conversion failure should throw an error

    Hi,
    I am expecting an error message to be thrown when EDI Text to EDI XML conversion fails at Message splitter of Seeburger module. I am getting the following error in the log.
    "2012-01-19T01:46:08.032-0800 ERROR [Error:ID=2150;LEVEL=3] counter value (41) of incoming field (UNB.UNH.UNT:0074) doesnt match the calculated value (39).
    DESCRIPTION: Either the counter value is not filled in the source file or the counter field value is wrong. "
    But my expectation is that the channel should show some error in Adapter Engine monitoring itself. As shown below, it is just showing some warning that because of above error, it is not creating the attachment. Now I am expecting the the following warning to be an error rather than just warning. Please let me know if any idea on the same.
    19.01.2012 01:46:08 Information SEEBURGER/MESSAGESPLITTER: Trying to establish CCI Connection to Message Splitter Adapter
    19.01.2012 01:46:08 Information SEEBURGER/MESSAGESPLITTER: Creating CCI Interaction
    19.01.2012 01:46:08 Warning SEEBURGER/MESSAGESPLITTER: There is no attachment to split. So there is nothing to do.
    19.01.2012 01:46:08 Information SEEBURGER/MESSAGESPLITTER: Finished splitting!
    BR,
    Aman

    Thanks you all for your inputs..
    I got the solution for the same.
    I need to set the mapping program name specifically rather than AUTO for bic mappingName parameter. This has turned my communication channel status in RWB into Red for errors.
    Closing this thread ...
    Regards,
    Aman

  • Seeburger EDI conversion Vs XI Conversion Agent EDI conversion?

    We have implemented Seeburger's EDI solution at a client, and our another client wants to an EDI solution for them.
    I cam across this weblog, and it is very interesting. I have some questions.
    1. Does Converstion Agent support the converstion of all versions of native EDI X12 and EDIFACT to the corresponding XML verions, and vice versa.
    2. What are the differences between Seeburger's and XI Conversion Agent's EDI soultions?
    Your feedback would be greatly appreciated.
    Thanks a lot.
    Karma

    Hi Karma,
    SAP Conversion Agent by Itemfield is a data conversion system that enables you to create interfaces between any data formats and XML-based systems. The Conversion Agent can convert unstructured, semi-structured, and structured formats to XML, and the other way around.
    Have a look at these links:
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    http://www.stylusstudio.com/edi/XML_to_X12.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47
    Seeburger EDI Adapter provides an EDI solution on internet via HTTP or AS2 to replace the expensive VAN. It provides some pre-built mappings for IDOC to ANSI X12(810,850,855,856 etc.,) and Idoc to EDIFACT(ORDERS,DESADV,INVOIC etc.,) and has the ability to build your own. These pre-defined mappings transform the IDOC-XML to EDI-XML format.
    These transformed EDI-XML messages are then converted to EDI specific format using the Seeburger's BIC(Business Integration Converter)adapter. In addition, Seeburger provides adapters like AS2,FTP(EDI specific) and so on to route these EDI messages to external EDI Partners.
    For more i would suggest you to go through these links:
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    Seeburger EDI Adapter leverages SAP XI's Adapter Framework. This Adapter is used to perform conversion between EDI and XML format. It also provides some canned EDI layouts and the ability to build your own. It is used to transfer the EDI message via HTTP or AS2 protocols.
    The most direct way of using the Seeburger adapters is to configure the BIC as a module. There is a software component from seeburger called bicmapper which will allow you to do the following:
    1. define or import the inbound message metadefinition in various formats ( edifact, xml,...)
    2. using a mapping create an xml variant as the output metadefinition or edifact in the other direction.
    3. create a one to one mapping between input en output.
    4. export the metadata in xsd or sda format for import in XI.
    5. generate an SDA which can be deployed in XI and used as a module.
    Please go through the following links which clearly explains what you want and it also helps you in understanding the same in depth:
    http://www.seeburger.com
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    There are also a few ways to use EDI with the ALE system of R3.
    inbound EDI to R3
    1.use a 3rd party adapter for the EDI protocol(eg.SEEBURDER) from the EDI system,send the produced XML to the XI ,map the xml message to a matching IDoc using the IDoc adapter.
    outbound ALE message from R3 to EDI system
    1. Configure the ALE system to point to the XI the relevant IDoc (SM59,WE21,WE20...)
    2.use a file adapter3rd party EDI adapter and map the fields to the target structure.
    have a look at this example:
    http://www.ean.se/EANCOM%202000/iftmin/example.htm
    Details on how to configure can be found on SDN
    I hope this helps....
    Regards,
    Abhy

  • Conversion Agent -   (EDI - XI - IDOC)   -  Help

    Hi Experts,
    I am working on the scenario (EDI - XI - IDOC)  using Conversion Agent for Converting EDI data into XML.
    I am facing many problems in Real Time,  can any one who has already worked on the same scenario  send me complete scenario with screen shots,
    I need immediate help, really it is very urgent for me.
    Regards,
    Study SAP

    Hi Kishore,
    Thanks for your reply, We are using Standard IDOC Orders05 and EDI message ANSI X12 - Message Type 850 for Purchase Order.
    Posting EDI Data of Purchase Order in R/3 Sales Order as INBOUND Message.
    Using Conversion Agent Parser for the same and deployed this project at Integration Server in ServiceDB Directory.
    The Conversion Module CMTransformBean is also deployed at XI Server.
    When we are puting file at FTP Server, our XI System is not picking up file while using Conversion Agent Module,
    while it is picking up without conversion module successfully.
    Please help,
    Regards,
    Study SAP
    [email protected]

  • Stylus Studio: EDI-XML Conversion

    Hello all,
    I wanted to convert EDIFact and X12 files in appropriate .xml and .xsd.
    However while using Stylus Studio for this i am encountering some problems.
    File-> New-> Convert to XML. In this i used appropriate EDI format .txt file to convert. I simply go by default options and . After conversion if try to see preview it ask's to save in .conv format. !
    Also File-> Doc Wizard-> EDIFACT to XML Schema where to find the correct version and whether to tick mark the below check boxes.
    I am new to EDI. I tried searching for it but didnt got appropriate answers. Kindly help
    Regards
    Arpil

    Please see this
    go through below links may be too many but some of them are very useful.
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    http://www.stylusstudio.com/edi/XML_to_X12.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47
    Details on XI EDI adapter from seeburger
    Check this for Conversions-
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    SAP Adapters
    EDI with XI
    http://www.seeburger.com
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    http://www.seeburger.com
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    /people/lionel.biennier/blog/2006/07/21/sap-xi-supports-edi-x12
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

Maybe you are looking for

  • DVD drive removed on Asus computer when updating itunes

    I want to delete and, reinstall iTunes because I am getting a blank screen when trying to access the iTunes store. My DVD drive was  deleted from my Asus PC before when doing an update to itunes. Anyone had this problem before. Happened a couple of y

  • Playing Purchased Movies from iTunes to my iPhone via Homesharing

    When I try to play movies purchased from the iTunes Store on my iPhone 3GS via Homesharing, I get  message saying the movie is loading - but it never does. However, when I play movies encoded with HandBreak, the play without any problems. Any ideas?

  • Trial Balance in Document Currency

    Can anyone please advise how we would run a trial balance by document currency ? Thanks Steve

  • COIS024 When trying to display the goods movement in COR2/COR3

    Gents, the system is issuing a COIS024 message (There is no data for the selection) when trying to display the documented goods movements for any process order. The order has both GI & GR. The message is also refering to OPJB saying we should set the

  • Error in HCM Process and Forms

    Hi All, When I test my HCM process and forms I got the error "Complete the required entry field "Pers.administrator" (P0001-SACHP) " but I've not used this field in my form. I got this error while testing my process. Could you please tell me how to s