Interface scenario: idocs from r/3 to XI

Business Scenario is as follows:
1. We,the client, is R/3 and would post IDOCS forward.
2. These would go to XI/PI platform, which would send it forward as idoc xml or idoc
it thru to XGS (EDI handling system,optional i.e. only in certain cases) towards B2B (intelli-agency who say they can handle idocs). XGS is connected to B2B via AS2.
3. First B2B would then remap for TMS (who have their own Transport Mgmt System) and deliver to TMS.
TMS send it to customers and receive PODs (proof of delivery) and send information or shipments back to client R/3 via the same route.
I want step wise procedure to handle the interfacing from r/3 to XI and from XI to B2B.
for e.g. for delivery (outbound), we need to use idoc TPSSHL which would be posted to XI.
please let me know how can i do this from R/3. (i need the steps).
I am completely new to interfacing and would need a step-wise approach of how to deal with this scenario
and write down the interface specifications for the technical team to work upon.
If you can help with some information, documents, real examples, etc. it would be great.
Thanks in advance.
Best Regards,
Abhishek

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
Configuration steps required for posting idoc's(XI) -
/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
ALE configuration for pushing idocs from SAP to XI -
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
These are already available documents on SDN. So from next time I suggest doing a search before you post a query.
By the by welcome to Interfaces

Similar Messages

  • Invoke Interface Scenario from PL/SQL (using ODIInvoke)

    Hi,
    I wanted to invoke an interface scenario (using ODIInvoke, public web service) from a PL/SQL program. I have already created the Interface Scenario and an Agent. I an using the following PL/SQL for invoking the web-service.
    declare
    soap_request varchar2(2000);
    soap_respond varchar2(2000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    resp XMLType;
    i integer;
    begin
    soap_request:= '<?xml version = "1.0" encoding = "UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">';
    soap_request:= soap_request || '<SOAP-ENV:Body><invokeScenarioRequest><invokeScenarioRequest><RepositoryConnection>';
    soap_request:= soap_request || '<JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>';
    soap_request:= soap_request || '<JdbcUrl>jdbc:oracle:thin:@amskolbluapp008.in.ibm.com:1528:vis</JdbcUrl>';
    soap_request:= soap_request || '<JdbcUser>apps</JdbcUser><JdbcPassword>apps</JdbcPassword>';
    soap_request:= soap_request || '<OdiUser>SUPERVISOR</OdiUser><OdiPassword>SUNOPSIS</OdiPassword>';
    soap_request:= soap_request || '<WorkRepository>WorkRepository</WorkRepository></RepositoryConnection>';
    soap_request:= soap_request || '<Command><ScenName>ALTINTERFACE</ScenName><ScenVersion>001</ScenVersion>';
    soap_request:= soap_request || '<Context>Global</Context><SyncMode>1</SyncMode></Command>';
    soap_request:= soap_request || '<Agent><Host>9.182.220.48</Host><Port>20910</Port></Agent>';
    soap_request:= soap_request || '</invokeScenarioRequest></invokeScenarioRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>';
    dbms_output.put_line('After 1');
    http_req:= utl_http.begin_request
    ( 'http://9.182.220.206:8888/axis2/services/OdiInvoke?invokeScenario'
    , 'POST'
    , 'HTTP/1.1'
    dbms_output.put_line('After 2');               
    utl_http.set_header(http_req, 'Content-Type', 'text/xml'); -- since we are dealing with plain text in XML documents
    utl_http.set_header(http_req, 'Content-Length', length(soap_request));
    utl_http.set_header(http_req, 'SOAPAction', ''); -- required to specify this is a SOAP communication
    dbms_output.put_line('After 3');
    utl_http.write_text(http_req, soap_request);
    dbms_output.put_line('After 4');
    http_resp:= utl_http.get_response(http_req);
    dbms_output.put_line('After 5');
    utl_http.read_text(http_resp, soap_respond);
    dbms_output.put_line('After 6');
    utl_http.end_response(http_resp);
    dbms_output.put_line('After 7');
    resp:= XMLType.createXML(soap_respond);
    dbms_output.put_line('After 8');
    resp:= resp.extract('/soap:Envelop/soap:Body/child::node()'
    , 'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"'
    i:=0;
    loop
    dbms_output.put_line(substr(soap_respond,1+ i*255,250));
    i:= i+1;
    if i*250> length(soap_respond)
    then
    exit;
    end if;
    end loop;
    end;
    Unfortunately after running the program, the SOAP response is like below.
    <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action><
    env:Header><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text xml:lang="en-US">java.lang.StringIndexOutOfBoundsException: String index out of range: 0</soapenv:Text></s
    v:Reason><soapenv:Detail></soapenv:Detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
    Any kind of help to resolve this issue will be very much appreciated.
    Regards.
    Tapas

    Frankly, I can't find a good reference that lists exactly what every privilege does...
    There is an article by one of Oracle's product managers
    http://www.oracle.com/technology/oramag/oracle/03-jul/o43devjvm.html
    that indicates that you should "grant java.io.FilePermission only to explicitly listed files."
    You might try posting over on the JVM forum...
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • IDOC interface change platform (from MQseries to XI)

    Dear all,
    Need your advice. We have existing IDoc inbound and outbound communicating with partner by using EDI XML file port. FYI, MQseries is sitting in between our SAP system and partner system.
    For now, we are changing 2 things:
    1. Replace MQseries with XI. Means in future our inbound and outbound IDoc is going through XI.
    2. While for Port, it is changing from EDI XML file port to normal TRFC port (these are in WE20).
    Might need your favor for below:
    1. For outbound, I need to change the ALE setting by pointing to XI. Am i right?
    2. While for inbound, i do not need to do anything. Am i right?
    3. Since we change the communication method to TRFC port. So just want to know do we need to change or fix anything on the existing Inbound and Outbound program.
    Need your expertise advise here.
    Thanks in advance.

    Hi !
    Check this links:
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    ALE configuration for pushing idocs from SAP to XI
    Regards,
    Matias
    ps: please award points if helpful!

  • Scenario: Idoc - XI - external system (Idoc)

    Hello,
    I am trying to send an idoc from an sap 4.6c system to an external system. The external system is supporting idcos with trfc. This scenario is currently working with ALE. Now i have to set XI between these two systems.
    My problem is to set up the communication channel in the integration builder (configuration) for the external system. The idoc is waitung in XI to transport. So the step XI-> external system causing problems.
    My settings are:
    adapter type: idoc
    transport protocol: idoc
    message protocol: idoc
    adapter engine: integration engine
    rfc destination: xyz (is working fine)
    interface version: sap release 4.0 or higher
    port: ??
    sap release 46c
    My problem is the port. should i set up a port in idx1? But the external system is not an sap system and so i dont have a client.
    In XI i have defined a port in transaction we21 (transactional rfc) for the external system with rfc destination xyz. But if i enter that port in communication channel i got error messages.
    Thanks for any help.

    Hi christian,
    i'm also working in IDOC scenario between ECC to XI to MDM, if u have any document or snapshot then pls fwd it to me.
    [email protected]
    Thanks,
    Jitendra

  • Unable to send IDOCs from SAP PI 7.3 system to a NON-SAP system

    Hi Experts,
       We have a simple file to IDOC scenario in our SAP PI system. There is no mapping as the file is already in the IDOC-XML format.
    However , the target system is a NON-SAP system. We are using a TCP/IP RFC destination to connect to it.
    Here are the settings we have done,
    1) Creates a 3rd party technical system and business system in SLD.
    2) We have assigned a logical system name for the business system (LSKABA100).
    3) Created a port in IDX1 with the same name LSKABA100 and assigned the TCP/IP RFC destination. The RFC destination is pinging fine.
    4) Imported the metadata for the IDOC from a SAP port and copied the same to LSKABA100 port.
    5) Created the sender agreement, receiver determination, interface determination and receiver agreement in ID.
    When we send the file, there is an error on SM58 transaction of our PI system. It says "RFC_ERROR_SYSTEM_FAILURE: IDocException occurred."
    Other than that it does not provide a lot of details.
    We have seen this thread and this blog but did not get any break through.
    Please help us, if someone has any ideas.
    Best Regards,
    Ravikanth Talagana

    Hi all,
        I am not using any SAP Jco user either in my config or in the RFC destination.
    What is the user id that needs to have the authorization?
    I am using a TCP/IP RFC destination and it does not have any user id/pwd.
    There is also, no problem while doing a connection test to the RFC destination.
    Best Regards,
    Ravikanth Talagana

  • Party-based IDOC from external SAP sender

    Hello experts.
    I have PI 7.0
    I have a scenario where I receive an IDOC from an external SAP system - that has SID=PRD and client=400
    I also have an SAP system in my landscape with SID=PRD and client=400.
    when I tried to define a service and edit it's adapter specific identifiers - i received the following error:
    Check Result for Object EXT_SRV
    SAP system ID PRD and client 400 already exist in service | PRD400
    I understood that the PI will not be able to identify the sender if an it will receive an IDOC with SNDPRN=PRD400
    When trying to figure out a way to overcome this and be able to receive the IDOC I came across the term:
    party-based communication. I understood that I should define a party an in it a service for the external SAP system.
    can some one please show me a detailed step by step example of such scenario?
    All I found was this: [Java IDoc Adapter Partner Conversion |http://help.sap.com/saphelp_nw73/helpdata/en/7b/ebc8b9e34b434d9f3e80ef6776d77a/content.htm] and it is only valid for PI 7.3
    Thank you very much.

    Hi ,
             In idoc communication few fields play a vital role SNDPRN,SNDPRT,RCVPRN,RCVPRT,SNDPOR and  RCVPOR in EDI_DC40 segment. These fields actually identify the sender and receiver systems and ports.
    Now in your case as I understood that a new sender SAP system is sending the same  idoc to PI server along with an existing one. In this case you need to alter SNDPRN value to a new value, when you are sending the idoc. All other values will retain same values for same idoc (basic type and message type). In ID add a new party in object list with the new SNDPRN value.
    In the  ID scenario create a copy of each entry in interface determination,receiver determination,sender agreement and receiver agreement.  In each of the copy add the new sender/receiver party information SNDPRN value.
    This should take care of your problem. No need to do any changes in IR as IR will be common for both the senders, what differs will be the ID. PI server will run different instances of the scenario for different SNDPRN value.
    Finally one small request, please kindly if possible close down your threads, in case you got proper and correct solutions to your questions. I noted you closed only one of last five threads you have opened. If you close threads after a solution has worked, then forum users become sure that the solution has worked for your case and therefore is correct.
    Regards
    Anupam

  • Error to send a IDOC from ECC to SUS

    Hi,
    I am trying to connect to SAP SUS System using HTTP adapter using PI 7.0.The scenario is
    ECC ->PI->SAP SRM. I have configured HTTP adapter as the receiver with addressing type as HTTP Destination. I have created a RFC destination of type H pointing to SAP SUS on PI. I have encountered the following error after executing the scenario.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Error during parsing of SOAP header</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Error during parsing of SOAP header</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have configured HTTP receiver with Addressing type HTTP Destination and configured the HTTP destination field with RFC destination(Connection Type H) created on PI. Here my source and target structures are same i.e DELVRY03. I have triggered DELVRY03 idoc from ECC and i am expecting same xml to be sent to SAP SUS but stuck up with the above mentioned error.
    Someone know how fix this problem?
    Tks,
    Erik

    HI,
    As per my understanding to your scenario, You want to send one IDoc from ECC to SAP SUS system using SAP PI.
    So i hope you must have configured on all the steps required to Send one IDoc to PI syste, Secondly, are you using any Standard interface in PI to send data to SAP SUS system? If yes, you need to create an HTTP Destination for that system and then you have to create XI Receiver Adapter with that HTTP destination to post incoming message to SAP SUS system.
    Your error suggests you are using Plain HTTP adapter to post data to SAP SUS, which is in my understanding is incorrect.
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Feb 21, 2011 9:15 AM

  • Scenario IDOC to JDBC

    Hi experts,
    i've scenario IDOC to JDBC:
    the interface receive two idoc's:
    IDOC1: 1field1, 1field2, 1field3
    IDOC2: 2field1, 2field2, 2field3
    and give the data to only one table in the receiver, ie, the table is equally filled by the contents of both idocs,
    the data in this table must be storage by follow:
    field ->       field1        field2        field3
    values ->    1field1      1field2      1field3
                     2field1      2 field2     2 field3
    ¿how can i do this whe i realize the mapping ?
    ¿Is it possible, or it's better to use two interface, one for each idoc?
    very thanks

    If both the idocs are of same basic type, then you may perform Idoc packaging at the sender side. Due to this you could receive idoc at XI with multiple Idoc nodes having data from different idocs. Then you may map directly till node level and achieve the output.
    If the type of idocs are different, use two interfaces or go for BPM to collect.
    Regards,
    Prateek

  • Do we need to create message interfaces for idocs and rfcs thatare imported

    do we need to create message interfaces for idocs and rfcs thatare imported
    from sap server
    in scenarios from sap system to file or vice versa
    i knew that we need not create message types
    do we also skip creating message interfaces

    hi,
    you create an abstract message interface for IDOC only if you want to use
    them in a BPM (integration process)
    for more about IDOCs have a look at my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    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>

  • How to develeop ALE IDOC from scratch?

    Hi All
    Can any body telll me process or sequence of developing ALE-IDOC from scratch?
    Thanks

    Refer this ...this is a good reference...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/03e6e790-0201-0010-9d98-ab8102817a92
    Also you can refer:
    SAP Network Blog: ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    SAP Network Blog: Troubleshooting of ALE Process
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    SAP Network Blog: Configuration Tips for a Business Service/Integration Process to send back ALE audit IDOC
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    SAP Network Blog: XI or ALE....Which one is better ?
    /people/aparna.chaganti2/blog/2007/02/06/xi-or-alewhich-one-is-better
    ALE / IDOC
    Check the following links:
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/ALE_tutorial.html
    http://www.sapmaterial.com/alematerial.html
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/IDOC_tutorial.html
    http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/user_exits_tutorial.html
    http://www.sapmaterial.com/idoc_sample.html
    http://www.sapmaterial.com/user_exit.html
    Check the link below:
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217e1c51ce11d189570000e829fbbd/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Please check this online document for ALE and IDoc.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Also check this links for additional information.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    IDOCS
    http://idocs.de/www5/books/IDocBook/IDOCS_CHAP09-11.pdf
    http://idocs.de/cookbooks/idoc/cb12_idoc_20_outbound/idoc_outbound_45_rsnast00/docu.htm
    IDOC / ALE Blogs
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    /people/kevin.wilson2/blog/2006/11/13/ale-scenario-development-guide
    Suggest you to Search in SDN with key - ALE IDOC
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Refer this
    http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
    http://www.****************/InterviewQ/interviewQ.htm
    http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
    http://ebooks.ebookmall.com/title/sap-ale-idoc-edi-and-interfacing-technology-questions-answers-and-explanations-sap-edi-faq-sanchez-ebooks.htm
    http://abapprogramming.blogspot.com/2008/02/creating-idocs-and-ale-interface-from.html
    www.diesel-ebooks.com/cgi-bin/item/parent-1933804076/SAP-ALE-IDOC-EDI-and-Interfacing-Technology-Question
    Re: ALE/IDOCs
    www.mslit.com/details.asp?bookid=5551518337
    /message/4778587#4778587 [original link is broken]
    ale/idoc
    ALE &  IDOC
    reward me points if helpful

  • Collate IDocs from a vendor

    Hi friends,
    I am using SAP 7.1. I have a scenario where the PO is sent from ECC to File. The interface is triggered hourly and both header and line items pass through it. We are using SFTP at the target. We have a requirement where the IDocs from the same vendor should be collated. If six IDocs come in an hour and if  five pertains to the prticular IDoc then we need to collect all the five Idocs and then the mapping should work for the sixth IDoc.
    Is it possible?
    Regards
    Harish

    Hi Harish,
    I think you are using same Idoc type for all vendors, in this case collecting IDocs based on the spefic vendor type is not possible in ECC.
    You can achieve this requirement using ccBPM , in receiver determination check the condition if the vendor type is single vendor type then call ccBPM process else call different SFTP business component.
    You are going to develop one operation mapping,message mapping for non single type vendor types and going to process these records without collecting it.
    Single vendor type records going to collect then send it.
    correct me if my understanding is wrong.
    Regards,
    Raja

  • IDoc- XI scenario (IDoc should be sent by XI client 500)

    Hi,
    I'd like to set up a scenario mentioned in the subject. As a source SAP system I'd like to use XI client 500. XI client 100 is used as Integration Engine. How can I generate some IDoc from the source SAP system (XI cl 500) to import it into the repository?
    Or do I have to use the R/3 as the source system?
    Do you know some helpful links about the IDoc creation and so on?
    Thanx, Peter

    Hi Peter,
    To import idocs in the IR, you need to perform the followinf steps:
    1) In a SWCV you have a field Imported objects, right click on the link which then shows import of import of SAP objects, please click on that.
    2) A window appears which for <b>Application Server, Systenm number, Username and Password.</b> Please check the system name and its client before moving further. It should be XIserver and client--500 in your case. If it's not there then double click on your SWCV and change it.
    3) Enter the values in these fields, for example system number would be the same as it is given in the SAP logon window.
    3) Here you can see links for IDOCs and RFCs and you can import the IDOC you want.
    Hope this solves your problem.
    Thanks and Regards,
    Varun Joshi

  • Idocs from XI to a flat file

    Dear All,
    I having a scenario in which whenever a Delivery is created in R/3 an idoc is posted into XI. I am able to see the idocs in transaction IDX5. Now I want to download this Idoc into a flat file thru XI.
    Kindly guide me how this can be done oe tell me the suitable links to do the same.
    Warm Regards,
    N.Jain

    HI Jain
    It is IDOC to File Scenario.
    Follow the steps in the wiki ...
    https://wiki.sdn.sap.com/wiki/display/XI/StepbyStepProcedureofIDOCtoFileScenariousingBPM
    see the below links
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    Also
    /people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133
    IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
    Cheers..
    Vasu
    <i>** REward Points if found useful **</i>

  • Error sending IDOC from JCO Client to PI AEX 7.3.1

    Hi All
    We have a requirement to send an IDOC from a non SAP System to our ECC via PI AEX :
    JCO.Client --> PI AEX --> SAP ECC
    At this time, we are testing this scenario with a JAVA Client with JCO Library (3.0.10).
    Destination to PI is OK
    Destination to our SAP ECC (for IDocRepository) is OK
    But by sending the IDOC to PI we are getting the following error, Exception is raised on the PI System and sent back to the JCO Client :
    com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: while trying to invoke the method java.lang.Object.hashCode() of an object loaded from local variable 'key' (raised by system <extern>|PiSystem)
        at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:670)
        at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1881)
        at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1120)
        at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:953)
        at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1465)
        at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:319)
        at com.sap.conn.idoc.jco.JCoIDoc.send(JCoIDoc.java:323)
        at com.sap.conn.idoc.jco.JCoIDoc.send(JCoIDoc.java:353)
        at sap_connector_examples.IDocClientExampleToJavaPO_pbs.main(IDocClientExampleToJavaPO_pbs.java:97)
    Caused by: RfcException: [<extern>|PiSystem]
        message: while trying to invoke the method java.lang.Object.hashCode() of an object loaded from local variable 'key'
        Return code: RFC_SYS_EXCEPTION(3)
        error group: 104
        key: RFC_ERROR_SYSTEM_FAILURE
    Exception raised by <extern>|PiSystem
    PI Destination:
    jco.destination.repository_destination=ABAP_AS_WITHOUT_POOL
    jco.client.gwhost=PiSystem
    jco.client.gwserv=sapgw01
    jco.client.tpname=XI_IDOC_DEFAULT_PID
    jco.client.type=E
    ECC Destination: (ABAP_AS_WITHOUT_POOL)
    jco.client.lang=en
    jco.client.client=100
    jco.client.passwd=****
    jco.client.user=User
    jco.client.sysnr=00
    jco.client.ashost=ECCSystem
    We have already set the PI VM System parameter  jco.allow_non_abap_partner to 1
    ECC User has S_RFC Rolle
    I will be thankful for any advise.
    Thank You
    Regards
    Stéphane

    Hi
    InboundRA (Resource Adapter) is green (Fully available).
    What do you mean by maintaining JCO RFC Destination in PI ?
    We have set the inboundRA Properties has follow :
    ProgramID : XI_IDOC_DEFAULT_PID
    DestinationName : XI_IDOC_DEFAULT_DESTINATION
    Local: true
    mutliRepository : ED1=XI_IDOC_DEFAULT_DESTINATION_ED1;ES4=XI_IDOC_DEFAULT_DESTINATION_ES4;MD1=XI_IDOC_DEFAULT_DESTINATION_MD1;ES1=XI_IDOC_DEFAULT_DESTINATION_ES1;PD1=XI_IDOC_DEFAULT_DESTINATION_PD1;
    GatewayServer and Service are pointing to our PI System
    BindingKey : PI_AAE_IDOC
    And for each Repository we created a destination in NWA pointing to the corresponding ECC System.
    (target host pointing to the ECC System and the Gateway host  pointing to the PI System)
    Our Installation isn't new but it is the first time we are configuring the System for this scenario:
    JCO.client --> PI AEX
    Regards
    Stéphane

  • Import IDoc from SAP R/3 3.1I to ESR

    Hi experts
    For the import of RFC and IDoc structures the SAP Backend needs SAP Release 4.0 and higher.
    But I have the requirement to import an Z-IDoc from an SAP R/3 3.1I to the PI-ESR.
    Is there any way to do this?
    Thx
    Tobias

    As there any other R/3 system in your landscape to transport the RFC or IDOC to and upload from there?
    The interface needs not to be uploaded from the same system as processed later.
    But you cannot use PI for this, as the target system for RFC or IDoc and the system to upload the metadata must be both unicode or both non-unicode.

Maybe you are looking for

  • Tecra M10-10z - 3G does not work after Win 7 installation

    Tecra M10-10z I have installed Windows 7 pro 64bit Everything is configured correctly, but connection 3G does not work: the message is " no network" with Windows XP is ok. I did not find firmware updates or similar. Is there someone who can help me?

  • Document in ASKB transaction

    Hi, when i run ASKB after inter company transfer of assets, i am able to view the document no and amount for the derived depreciation area but when i click the document no. i am not able to view the journal entry. in the spool i am able to view the a

  • Nokia N97mini Firmware update problems

    As I understood there are more than one firware update version: Version 12.0.110 v4.0 and version 12.0.110 v4.01 How is possible to make the update, if phone autoamatically downloads from network provider wrong version? Nokia 1611, 2210, 3110, 5110,

  • Powerbook Printing to a WinXP PC with Shared printer issue

    I've recently made the switch for my laptop to a Powerbook G4 and am very very happy with it. There is only one thing that I cannot seem to get working though. I have a Canon i950 Photo Printer hooked up to my desktop XP machine via USB and have it s

  • How to turn off rollback in DML?

    Hi, I do lot DML statements and I don't require roll back; how can I trun off this to speed up DML statements? Thanx Alfred