EDI content with SAP

Hi,
Could anyone please explain me as to how we could verify that the data in SAP system matches with the EDI subsystem. Is there a transaction to verify the content of the data in SAP is same as that in EDI.
Many Thanks, SR.

There is no transaction for such global comparison. You can compare the data in EDI system and SAP item by item. For example, if you use EDI to send purchase orders, then you could get a list of POs in EDI and then run a query for them in SAP.
If you use IDocs, you can see the IDocs in WE05 transaction and also compare tto EDI one by one. There is no magical transaction to compare "everything" to "everything".

Similar Messages

  • Replacing EDI subsystem with SAP XI

    Hi Everyone,
    I have a scenario in place where i want to replace the EDI subsystem with SAP XI.
    I know that using Content Master is one of the solution but i have also heard that Content Master is having some license issues. Now after Content Master what is the next best solution for parsing the EDIFACT and X12 format files.
    Thanks and Regards
    Rahul Nawale

    Hi Rahul,
    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

  • Standered business package for BI reports with SAP EP Integration

    Hi Friends,
    I want to know is there any standered business package for integrating BI content with SAP enterprise portal.As i heard the business package come up with predefined iview and which can be customized as per our requirement .
    I have worked on Cognos business package in my previous project .but current requirement is  i need to dispay the BI Reports strucuture in Portal as folder  heirachy with Icons.
    I am using BI and EP portal version as 7.0.
    please share the package name ASAP.
    Regards
    Ratnakar

    closed
    Edited by: ratnakar reddy alwala on Oct 3, 2008 11:46 AM

  • What contents we can include under JAVA with SAP NetWeaver 7.0?

    hi friends,
    i want to know about JAVA with SAP NetWeaver 7.0.
    whether it covers only java programming or java-WebDynpro,portal and many more?
    can somebody give details on this?
    i have worked on java-WebDynpro,portal.is that enough to get certification on JAVA with SAP NetWeaver 7.0-Associate  C_JAVA_70?
    please provide me details.
    thanks
    Nutan.

    Hi Rajesh,
    I cleared this certification last year. Go through the syllabus mentioned. In our time there were 13 different sections e.g NWDI, EJBs, WD etc which had multiple choice qs and u need to click on the radio button for that.
    How to prepare.
    Go through the topics and course books mentioned in the syllabus well. U should be clear with all the basics especially EJBs and NWDI, lot many qs asked from these. WedDynpro qs are basically easy.if u dnt have books chk sdn and help site fot the topics.Qs chk your understanding of the content. They come from syllabus but are not direct and multiple choice make it difficult to answer.
    How to answer the questions.
    Chk every option in case of mutiple choice. Mark only those options which u are full confident and den if more than 50% confident bcoz we heard there were -ve markings although not sure how they calculated marks.
    Is any sample test program is there?
    There are no sample test program for this.
    All D Best for the certification.
    Regards
    Priyanka

  • Log on to Infoview with SAP authentication

    Hi Gurus ,
    Please can some one provide me documentation , to configure , Infoview with SAP authentication .
    I have R/3 system where i have a datasource and then one Remote cube in BW . On the cube developed a BEx Query  . I want to log into Infoview using SAP authentication .Now, i am able to login into Infoview using Enterprise as authentication .
    Thanks ,
    Madhu .

    Hi Madhu,
       You can go to help SAP and download the BusinessObjects SAP Kit manual, here is the link for SAP BusinessObjects products.  [http://help.sap.com/content/bobj/bobj/index.htm]
      Link for BusinessObjects XI Integration for SAP Installation Guide (XI3.1SP2) [https://websmp105.sap-ag.de/~sapidb/011000358700000843912009E/xi31_sp2_bip_sap_install.pdf]
      Link for BusinessObjects XI Integration for SAP User's Guide  (XI3.1SP2) [http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_bip_sap_user_en.pdf]
    I hope this help you.
    Best regards,
       Fede

  • Read IDOC WMMBID02 information and compare inventory data with SAP

    Hi All,
    Here is an explanation of the issue:
    I need to read the data from an inbound IDOC, status 64, of standard type WMMBID02 and message type WMMBXY. I do not want to post the IDOC, but only read the IDOC information which is mainly the material number, batch, status(INSMK), quantity and unit. This data I have to compare with SAP data and see if it is same for the selected material numbers. Now to read and process the inbound IDOC we have a program RBDAPP01 (BD20 Transaction) which calls the process code WMMB (WE42 transaction) which in turn calls the function module L_IDOC_INPUT_WMMBXY. This FM posts the IDOC. I have created a function module with the same import, export and tables parameters like this FM and have attached it to a custom process code ZWMMB. This function module should just read the data of the IDOC and put it in the table TB_IDOC_DATA like EDIDD (IDOC data records). I then loop into this table, extract SDATA and split it into the 3 segments of WMMBID02 and then extract my required data, MATNR, CHARG, INSMK, MENGE & MEINS.
    My Question:
    How do I trigger the process code ZWMMB so that I can read the IDOC data when it is fired (status 64), just like program RBDAPP01. Is there any standard code that can be copied and modified or how to do it???
    I have tried to be very clear with the question, please reply if the question is not clear. If I am clear, please help
    Thanks Anirban

    I am able to read the contents of the IDOC, but I need to run the FM when I fire the IDOC of message type ZWMMBXY. I have created a custome FM which will behave as a stndard FM for inbound IDOC processing.

  • Error in using XI-SOAP adapter, but no error  with SAP-BC

    Hi,
    I am working on RFC->XI->Webmethod (.asp) scenatio.
    I am using SOAP adapter.
    Whin I am not using "Do not use SOAP Envelop".
    I am getting "com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML" Error in SXMB_MONI.
    But when I am using "Do not use SOAP Envelop" then I am not getting any error. in SXMB_MONI status showing Successfully Processed. But the responce i am getting is "You are not authorized to view this page  // HTTP 401.1 - Unauthorized: Logon Failed"
    But same web-service is working fine while connected with SAP-BC.
    Please Help why scenario is working with BC, but not with XI.
    Thanks & Regards

    Hi Bhavesh,
    Thanks for reply.
    I am getting all success in message monitoring, but still web-services sying they are not getting any message.
    I am attaching all 4 logs for one synchronous communication of message monitoring.
    I am not able to understand where message going and why XI showing success every where.
    ********1st(Sent Messages)
    Success SOAP: response message leaving the adapter
    Success Application attempting to send an XI message asynchronously using connection AFW.
    Success Trying to put the message into the send queue.
    Success The response message for message cf4fd921-4a74-11db-9312-001279933263(INBOUND) was successfully transmitted to the calling application.
    Success The message status set to DLVD.
    Success The application sent the message asynchronously using connection AFW. Returning to application.
    ********2nd (Sent Messages)
    Success RFC adapter received sRFC for Z_PA_SAP_TO_Webservice from D02/230. Attempting to send message synchronously
    Success Application attempting to send an XI message synchronously using connection AFW.
    Success Trying to put the message into the call queue.
    Success Message successfully put into the queue.
    Success The message was successfully retrieved from the call queue.
    Success The message status set to DLNG.
    Success The message was successfully transmitted to endpoint http://XYZ.com:8000/sap/xi/engine?type=entry using connection AFW.
    Success The application sent the message synchronously using connection AFW. Returning to application.
    Success The message status set to DLVD
    **********3rd (Received Messages)
    Success Using connection AFW. Trying to put the message into the receive queue.
    Success The XI response message for message d0372be1-4a74-11db-91d7-001279933263(INBOUND) was successfully returned to the calling application.
    Success The message status set to DLVD.
    **********4th (Received Messages)
    Success The message was successfully received by the messaging system. Profile: XI URL: http://XYZ.com:50000/MessagingSystem/receive/AFW/XI
    Success Using connection AFW. Trying to put the message into the request queue.
    Success Message successfully put into the queue.
    Success The message was successfully retrieved from the request queue.
    Success The message status set to DLNG.
    Success Delivering to channel: IF_O_502_WebserviceBusService_SOAP_In_02
    Success SOAP: request message entering the adapter
    Success SOAP: completed the processing
    Success SOAP: response message received d0372be1-4a74-11db-91d7-001279933263
    Success The message status set to DLVD.
    Success The message was successfully delivered to the application using connection AFW.

  • Error in loading Portal Content with IE

    Hi,
    I have some problems with customization of Sap Portal, maybe someone can help me
    with some informations.
    I am using Sap Netweaver Portal 7.0 with IE 6.0.2900 SP2 and Mozzila Mozilla/5.0.
    When I try to display Content Administration -> Portal Catalog with IE I have one
    error(after a long period of "Loading..."):
    Error: Object required - and the Portal Content is not displayed at all .
    In this way, I don't have acces to Portal Content with IE.
    I also tried with other browsers (Opera, Netscape, Lotus) but there is the
    same issue.
    In Firefox, the Portal Content it's displayed, but there is another issue:
    I open a Role object and I try to Edit it's properties: these aren't displayed
    in the right corner of the screen. I checked in the Error Console of Firefox
    and there is a JS err: event is not defined: error in roleeditor.js
    In this way I am not able to handle any issue regarding Portal Content.
    Maybe some of you, guys, had this problem or have any idea about solving it.
    Thanks.
    Edited by: Andreea Melinte on Nov 21, 2008 3:02 PM
    Edited by: Andreea Melinte on Nov 21, 2008 3:03 PM

    Yes, the error appears when you access the portal with the IP address which should not be the approach.
    Use the domain name instead ... i.e hostname.domain.com:portnumber.

  • JSPM Error with SAP-JEE component SP16

    Hi
    I am depolying a queue in JSPM SP16.1 for an ECC6 700 SR3 installed ABAP/Java system and it errors with the component SAP-JEE SP16 (installed level is SP14 as delivered in the SR3 kit)
    The log has the messages:
    Oct 8, 2008 1:49:57 PM   Warning: Caught CVersProxyAccessException while saving repository: CVersAccessException: Cannot access CVers due to missing or incorrect configuration.
    Additional error message is:
    com.sap.sdm.apiint.serverext.servertype.TargetServiceException: Cannot provide connect data for database target system "CONFIG_DB".
    Additional error message is:
    com.sap.sdm.serverext.servertype.dbsc.DatabaseConnectException: Creation of DataSource for database "WFQ" failed. (com.sap.sql.log.OpenSQLException: Error while accessing secure store: Encryption or decryption is not possible because the full version of the SAP Java Crypto Toolkit was not found (iaik_jce.jar is required, iaik_jce_export.jar is not sufficient) or the JCE Jurisdiction Policy Files don't allow the use of the "PbeWithSHAAnd3_KeyTripleDES_CBC" algorithm..)
    regards
    Michael

    Hi Philipp
    My version is 700 and the database is DB2/400 for IBM System i.
    The sapcrypto is treated differently on this platform, so I havent done anything with it as yet.
    I logged a message with SAP which has gone to the BC-JAS-SEC queue and the reply I received is below. Please let me know if this has helped you as I have not had the chance to get back to the system to try these steps :
    regards
    Michael.
    To do the further investigation, may I check info below with you:
    - are you able to read the content of the
    /sapbwtest/global/security/lib/tools/iaik_jce.jar file with jar
    - do you have the full strength JCE files installed for this JDK?
    See note: 739043
    - What user is used to connect to the Database from the java side in
    the secure store? check if the password is correct or the user
    is unlocked.
    Make sure the connection details in Secure Store are the correct ones
    you can check it in the config tool:
    the jdbc/pool/<SID>/Password and jdbc/pool/<SID>/User
    Edited by: Michael Power on Oct 15, 2008 8:52 PM

  • Catch all error information while validating xml content with xsd schema

    Hi experts,
    I created a java mapping to validating the input xml content with xsd schema (schema validation). What I want is to catch all error message to the xml not just the first error. I used SAXParser in sapxmltoolkit.jar to do the schema validation. The below is a part of my java mapping.
    XMLReader parser = XMLReaderFactory.createXMLReader("com.sap.engine.lib.xml.parser.SAXParser");
    parser.setFeature( "http://xml.org/sax/features/validation" ,  true);
    parser.setFeature( "http://apache.org/xml/features/validation/schema" , true);
    parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");          parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource",this.getClass().getClassLoader().getResourceAsStream(schema)); // schema is my schema name
    parser.setErrorHandler(new ParseErrorHandler()); // ParseErrorHandler is my own ErrorHandler which extends DefaultHandler
    parser.parse(new InputSource(new ByteArrayInputStream(sinput.getBytes())));
    // In error handler, I comment all code so as not to throw any exception
    public class ParseErrorHandler extends DefaultHandler
         public void error(SAXParseException e) throws SAXException
              // sSystem.out.println("Error" + e.getMessage());
              // throw e;
         public void fatalError(SAXParseException e)
              // throw e;
              // System.out.println("SAP Fatal Error" + e.getMessage());
    Unfortunately the program always stopped while catching the first error. Check the below log.
    com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    ERRORS :
    cvc-simple-type : information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is not valid, because it's value does not satisfy the constraints of facet 'minLength' with value '1'.
    cvc-data : information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is is not valid with respoct to the corresponding simple type definition.
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' is associated with invalid data.
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]/:To[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]/:Header[1]' is not valid with respect to it's complex type definition..
    cvc-element : element information item '/:ShipNotice[1]' is not valid with respect to it's complex type definition..
    -> com.sap.engine.lib.xml.parser.ParserException:
    I tried using Xerces and JAXP to do validation, the same error happened. I have no idea on this. Does xi has its own error handler logic? Is there any body can make me get out of this?
    Thanks.

    <h6>Hi experts,
    <h6>
    <h6>I created a java mapping to validating the input xml content with xsd schema (schema validation). What I want is to catch all <h6>error message to the xml not just the first error. I used SAXParser in sapxmltoolkit.jar to do the schema validation. The below <h6>is a part of my java mapping.
    <h6>XMLReader parser = XMLReaderFactory.createXMLReader("com.sap.engine.lib.xml.parser.SAXParser");
    <h6>parser.setFeature( "http://xml.org/sax/features/validation" ,  true);
    <h6>parser.setFeature( "http://apache.org/xml/features/validation/schema" , true);
    <h6>parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");          <h6>parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaSource",this.getClass().getClassLoader().getResourceAsStream(schema)); <h6>// schema is my schema name
    <h6>parser.setErrorHandler(new ParseErrorHandler()); // ParseErrorHandler is my own ErrorHandler which extends Default Handler
    <h6>parser.parse(new InputSource(new ByteArrayInputStream(sinput.getBytes())));
    <h6>
    <h6>// In error handler, I comment all code so as not to throw any exception
    <h6>public class ParseErrorHandler extends DefaultHandler
    <h6>{
    <h6>     public void error(SAXParseException e) throws SAXException
    <h6>     {
    <h6>          // sSystem.out.println("Error" + e.getMessage());
    <h6>          // throw e;
    <h6>     }
    <h6>
    <h6>     public void fatalError(SAXParseException e)
    <h6>     {
    <h6>          // throw e;
    <h6>          // System.out.println("SAP Fatal Error" + e.getMessage());
    <h6>
    <h6>     }
    <h6>
    <h6>}
    <h6>
    <h6>Unfortunately the program always stopped while catching the first error. Check the below log.
    <h6>
    <h6>com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    <h6>ERRORS :
    <h6>cvc-simple-type : information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is not valid, because it's value does not satisfy the constraints of facet 'minLength' with value '1'.
    <h6>cvc-data : information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is is not valid with respoct to the corresponding simple type definition.
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]/:CityName[1]' <h6>is associated with invalid data.
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]/:AddressInformation[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]/:PartnerInformation[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]/:To[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item <h6>'/:ShipNotice[1]/:Header[1]' <h6>is not valid with respect to it's complex type definition..
    <h6>cvc-element : element information item '/:ShipNotice[1]' is not valid with <h6>respect to it's complex type definition..
    <h6> -> com.sap.engine.lib.xml.parser.ParserException:
    <h6>
    <h6>
    <h6>I tried using Xerces and JAXP to do validation, the same error happened. I have no idea on this. Does xi has its own error <h6>handler logic? Is there any body can make me get out of this?
    <h6>Thanks.

  • Integrating with SAP SRM 4.0

    Hi all,
    I'm currently involved in an e-procurement project that will have to integrate SAP SRM 4.0 with the EAI solution of our company (webMethods).
    As I don't know much about SRM 4.0 technology, I'd like to know the standard way of integration with SRM 4.0:
    - Is SRM 4.0 capable of exposing IDocs?
    - Is SRM 4.0 capable of invoking BAPIs?
    - If so, how can a Purchase Order put into the arguments of the BAPI?
    - Is SRM 4.0 compelled to talk with XML messages (particularly SOAP XI) or are IDocs and BAPIs a suitable solution?
    - Is SRM 4.0 standard output xCBL?
    - Can SRM 4.0 expose and invoke Web Services natively?
    In other words, I'd like to know whether we are obliged to use the XI Content of SRM 4.0 in order to integrate with webMethods. We have already done integration with R/3 4.6 and we used IDocs with the SAP Adapter. We would like to capitalize on our previous experience and save us from having to assess the feasibility of an integration with SRM via XI.
    Thank you in advance for all your answers.
    Regards,
    /ML

    Hi Marcel,
       Underlying technology is WAS (Web Application Server) which is an enhanced version of the middleware BASIS technology used by 46C. XI is a replacement for messaging platforms like webmethods, so if you are using webmethods with SAP adaptor you don't need to use XI because you are already using a messaging platform. Only reason you may want to use XI would be if you can build upon the XI content available to you. If you are not interested in the XI content then go ahead and use webmethods using SAP adaptor to connect to SRM. I don't see any problem in that.
    Regards,
    Sanjeev

  • XML IDOC post to R/3 Via WAS - want to see error content with JavaScript

    Hi,
    I am posting XML IDOCs to our R/3 system via a webpage that I have built with JavaScript.  I am posting to the WAS, which is configured to read the XML IDOC with SAP's standard class handler CL_HTTP_IDOC_XML_REQUEST.  We are on basis 620 support pack SAPKB62041.
    In my webpage, I have the JavaScript code set to read the status and statusText so I can see the response from WAS when I post my XML IDOC.  However, I am getting back very generic information when I encounter a 409 error.  THe statusText is always "input_not_found".  So I debugged the class handler code and found that SAP is returning back the more descriptive error info in HTML format.
    I ran a packet sniffer to see what WAS returns and the info looks like this:
    <html><head><title>IDoc-XML-inbound not ok</title><h1>IDoc-XML-inbound not ok</h1></head><body>
    E:Table Lookup Error:300 Cannot map value for field MESCOD in table ZFI_IF_IDOCORG using values
    SNDSAD = |TE|  and RCVLAD = |GL|  and MESTYP = |ACC_DOCUMENT|</body></html>
    I want to know how I can get my webpage to read this HTML info and store that into an alert so I can read this text that I'm returning back to the HTTP post.
    This is how my script looks.  I'm using IE6.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Test XML</title>
    <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
    <!--
    function XMLHTTPButton_onclick(DataToSend) {
         var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
         xmlhttp.Open("POST","http://some_server:1089/sap/bc/zxml_idoc?sap-client=200&sap-language=EN",false);
         xmlhttp.setRequestHeader("Content-Type", "text/xml");
         xmlhttp.send(DataToSend);
            alert(xmlhttp.Status);
            alert(xmlhttp.statusText);
         alert(xmlhttp.responseXML.xml);
    //-->
    </SCRIPT>
    </head>
    <body>
    <BR>
    This page posts to
    <BR>
    http://some_server:1089/sap/bc/zxml_idoc?sap-client=200&sap-language=EN
    <FORM name=xmlform method=post >
    <P><TEXTAREA style="WIDTH: 623px; HEIGHT: 369px" name=xmlData rows=23 cols=77>
    </TEXTAREA>
    <P>
    <INPUT type="button" value="Submit XMLHTTP" id=XMLHTTPButton name=XMLHTTPButton
    LANGUAGE=javascript onclick="return XMLHTTPButton_onclick(document.xmlform.xmlData.value)">
    </form>
    Previously with this class handler, SAP returned the detailed info back to the "alert(xmlhttp.statusText)" and I had no problem seeing the return info.  But now they have decided to format it in HTML and I don't know how to view this text since it has no ID on it to pull this into an alert box.
    If anyone has any ideas, please let me know.
    Thanks,
    Andrea

    Ok!
    I have solve the problem. So, I was trying to connect via SSO within an user that was not registered in R/3 and I forgot it.
    Sorry for the inconvenience.

  • How to connect SAP R/3- System with SAP NetWeaver Portal (2004s)?

    Hello to all,
    sorry, can someone help me? How can I connect SAP R/3- System with SAP NetWeaver Portal (2004s)?
    Thanks and regards,
    Galyna

    Hi,
    In previous link contain this info
    This describes how to connect an SAP R/3 system to SAP NetWeaver Portal using an iView
    1)      Go to System Administration
    2)      Go to System Configuration
    3)      Go to Portal Content (Right Side Panel), open that folder.
    4)      Right Click on Portal Content, a Panel is displayed select "System (from Template)".
    5)      That will display a new view on right side, now select "SAP system using dedicated application server" from
    the existing templates. (Other templates are possible - for example, load balanced or through a SAProuter connection string).
    For this exercise, we'll use the simplest type.
    6)      Choose next
    7)      Give the System Name and System Id (which are mandatory fields) incase you want to give any brief notes
    about the system then give them in the "Description" field.
    8)      Open the Newly Created System.
    9)      Now when you want to create a New System, you have to fill four Properties they are:
    "Connector" - contains basic connectivty details
    "Internet transaction Server (ITS) - if you wish to use SAPGUI for HTML and/or IACs",
    "Web Application Server" - if you wish to access BSPs and/or Web Dynpro for ABAP and
    "User Management".
    You also need at least one "System Alias" has to be defined from the Display drop down menu.
    Make sure you have set end user access in the Permissions drop down menu to all users who need to access the system
    10)  Select "Connector" property, now fill the required fields such as:
    a)      Application Host (should be fully qualified hostname) - Give the R/3 "Application Name",
    which can be obtained from the SAP Logon Pad (check what R/3 system you are using, right click on it , go to the properties,
    it will open a window which has the Application Server Name.
    b)      Logical System Name - Give the logical name as defined in the backend system
    c)      SAP Client - Check the Client in the backend system and give the appropriate number (3 digits)
    d)      SAP System ID(SID)* - Check the R/3 properties and give the check for System ID
    e)      System Type* - Since we are connecting to R/3, select SAP_R3 system.
    f)       System Number - This is a two digit number that you can find in the SAP Logon Pad
    11)  Select "Internet transaction Server (ITS)" property, now fill the required fields like
    a)      ITS Description à Give some Description
    b)      ITS Host Name - Same as "Application Host" of R/3 (when integrated ITS) and should be attached with the
    port number of ITS Server (to get port number detailed description is given below). ex: hostname : port number
    c)      ITS Path - To get the path along with the port number you have to Log on to R/3 system. Use the
    Transaction Code "SICF", it opens a new window go to:
          default_host -> sap -> bc -> gui -> sap -> its -> webgui -> SAP GUI for HTML -> right click on
    that and click "Test Service'. This will open a new window, on the address bar you will find the "port number", and
    the path something like (/sap/bc/gui/sap/its/webgui). Use the path after the port number.
    d)      ITS Protocol - There are two protocols "http" & "https", select the appropriate protocol which is
    visible when you opened "Test Service" window.
    12)  Select "Web Application Server" property , now fill the required fields like
    a)      Web AS Description -> Give some Description
    b)      Web AS Host Name - same as ITS Host Name
    c)      Web AS Path - usually /sap/bc/bsp/sapd)*    
    Web AS Protocol - should be same as the ITS Protocol.
    13)   Select "User Management" property, now fill the required fields like
    a)      Authentication Ticket Type - Since we are not using SSO leave the field
    empty i.e. put in select mode. (Please note that longer term you will probably want to use SSO)
    b)      Logon Method - Select UIDPW.
    c)      User Mapping Type - In case you have administration rights then you choose "admin" or in case you
    just have user rights then choose "user", better go for "admin/user".
    14)   Since all the required fields are filled appropriately now create a System Alias name, this can be done by following steps:
    a) go to Display -> Select "System Aliases" give some Alias Name, let's call it "SAP_R/3"
    15)  Now that System is created we have to create a iView which will display the given Transaction Code.
    16)  Go To "Content Administration".
    17)  Go To "Portal Content".
    18)  Go to Portal Content (Right Side Panel), open that folder
    19)  Right Click on Portal Content, a Panel is displayed select "New" -> iView
    20)  Select iView template, click next
    21)  Select "SAP Transaction iView" from the list of templates available. Click next.
    22)  Give the iView name and iView ID. Incase you want to give any brief notes about the iView then give it in "Description" field. Click next
    23)   Select "SAP GUI for HTML" radio button. Click next
    24)  Now select the system which you have create "SAP_R/3", give some Transaction Code, say SE12 (Dictionary Display). Click next and Finish.
    25)  Now Preview the iView
    26)  You will see a new Window where in SE12 Dictionary Display window is displayed.
    Regards,
    Senthil K.

  • Is it possible to Replace faxserver with SAP PI.

    Hi,
    Current scenario which is running:
    ECC>Faxserver> Faxmachines
    upgrade to PI by replacing fax machine:
    ECC>PI>Faxmachine/Faxserver
    We have to send the message by dialling to the fax machine..
    Right now, the file/message is sent from ECC to faxserver which inturn dial to the receiver fax machine.
    Now we got a proposal of replacing this fax server with SAP PI. Is there any way we can replace this fax server with PI by using some custom adapter?
    Does anyone done this kind of scenario?
    Is there any custom adapter module we can write to handle in PI instead of using Faxserver?
    I think this is not possible to replace?  Any suggestions please?
    Thanks
    Deepthi

    Hi Abhishek,
    Thank you. I will check about the webservice with the vendors.
    Meanwhile we got few small vendors whom doesn't have any other option other than receiving orders through Fax machine. So I'm just wondering is there any way we can send messages directly to their fax machine from PI (may be using Mail adapter)..
    I was going through below link and looks like there is a way by using mail adapter...?
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    Exchanging faxes and text messages (pager/SMS) using SMTP is also possible. For this, faxes and messages are packed as e-mails. For the send process, the mail server analyzes the domain of the recipient addresses and either forwards the e-mails to an internal fax-/text message server (for example SMS=491759628717 at sms-server.company.com) or to an external provider (for example FAX=16105954900 at fax-provider.com).
    What do you think?
    Thanks

  • MS Word integration with SAP CRM: can a PDF be created from the MS Word doc

    21/11
    Gurus,
    I know have a better understanding of the topic but still have 2 open questions.
    I now know that StreamServe cannot read .DOC files but can read and work with .PDF files.
    Since we are in a SAP forum and not a StreamServe forum,
    1/ I am wondering if SAP CRM 2007 can convert the MS Word generated and populated documents into .PDF. Possibly immediatly.
    2/ Can the MS Word generated and populated documents be saved by SAP CRM 2007 as .XML files?
    Thanks again.
    Dear All,
    On my project, there is a requirement to generate ad-hoc and amendable letters in CRM (2007).
    We might have +150 letters so I am thinking about using MS Word integration with SAP CRM to deliver this.
    With SAP CRM 2007, I understand that it is indeed possible to generate WebServices that will then be consumed by Word templates through the mail merge functionality. So agents will not have to enter BP name, address and so on. All this can be done by configuration which is great.
    My point of concern is how to integrate this design to StreamServe for printing purpose (we do not want to go into local printing)
    Can StreamServe collects the Word generated document?
    Should this Word document be converted as PDF before or can StreamServe do it?
    Should StreamServe exploits the XML contents within the Word generated document?
    Thanks for your help and insights about this.
    Brice.
    Edited by: Brice Vialle on Nov 21, 2008 9:26 PM
    Edited by: Brice Vialle on Nov 21, 2008 9:34 PM

    Hi Chris,
        Your advice helps me a lot, thank you.
        I upload an XML-Format template Word Doc to server as a MIME Object.
        When OfficeControl is started in Web Dynpro, OfficeControl automatically open the XML-Format template.
       For the first time, I get the XString-type Context attribute bind to the content of the Word Doc,
       then translate it to string, I got the XML-format content, it's great!
       However, after the first time, when I input any new contents in MS Word in Web Dynpro,
       no matter I execute "Ctrl + S" or click the "savedocument" button,
       when I translate the XString Context attribute to String, I got messy code. (but the first time, it is good plain text)
       I use the function module: ECATT_CONV_XSTRING_TO_STRING (good for first time, dump after first time),
       SCMS_XSTRING_TO_BINARY, SCMS_BINARY_TO_STRING (good for first time, messy code after first time).
       My Demo source code is in: (system) SMV --> (local object) zhaode --> (Dynpro Component) ztest_office_control
       core source code is as:
       clear itab.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER = lv_datas
        IMPORTING
          OUTPUT_LENGTH = lv_length
        TABLES
          binary_tab = itab.
      CALL FUNCTION 'SCMS_BINARY_TO_STRING'
        EXPORTING
          input_length = lv_length
          mimetype = 'text/plain; charset=utf-8'
        IMPORTING
          text_buffer = lv_datas_string
          output_length = lv_data_len
        TABLES
          binary_tab = itab.
        Can you give me some advice?
    Best Regards,
    Derek

Maybe you are looking for