Idoc Scenario from SAP to SAP  via PI 7.1o

Q: Two idocs will process from SAP to SAP via SAP-PI 7.1o and generated together.
Requirement :
Sync
2 IDOCs – as we explained our design will require two IDOCs. The first IDOC will be developed by a Z code and the second IDOC is generated by 100% Standard SAP BAPIs and 2 IDOCs  send them to PI. Both IDOCs will be generated together by  process code in sap and must be moved to PI and later to the receiver client together(SAP). The process can only be 100% completed when both IDOCs will be processed with success in the receiver side. Any one of the IDOC among 2 idoc's failed all the process should stop.
i think that is not possible , PI will not be able to stop successfull IDOC If another IDOC get fails .
Please give me approaches if any chance .
Thanks, Sanakr

Hi Bhavani,
You can use BPM with correlation to achieve this scenario:
Demonstration of ccBPM Scenario: SAP PI 7.1
**************** - BPM Scenario using Fork and correlation
Regards,
Suman

Similar Messages

  • IDOC Ack from BPM to SAP R3 runs into an error

    Hi All,
    I have a scenario which sends an DEBMAS IDOC to an Integration Process "IP_SPLIT_Site" which process the IDOC and sends it to multiple systems.
    When the IDOC is sent from SAP R3 to the receiving Integration Process "IP_SPLIT_Site" in XI, it is processed successfully.
    Since the SAP system is expecting an acknowledgement from the receiver of the IDOC, the integration process "IP_SPLIT_Site" tries to send back an acknowledgement for the IDOC which runs into an error because it is not able to convert "IP_SPLIT_Site" into an ALE logical system.
    The error displayed is :
    Unable to convert the sender service IP_SPLIT_Site to an ALE logical system
    Error code : ATTRIBUTE_INV_SND_SERV
    I am getting this error in all my scenarios where an IDOC is sent to an Integration Process.
    Is there any solution avoid this error?
    Thanks & Regards;
    Bbnu

    Hi Michal
    The 1st approach seems to be helpful.
    about the 2nd approach if i am sending the Ack through a separate send step in BPM then i suppose it would show the same error "Unable to convert the sender service IP_SPLIT_Site to an ALE logical system".
    OR
    Do you mean to say that we could send a separate message of type ALEAUD to the SAP system?
    for 3rd approach, i wouldn't wanna handle many partner profiles.
    Thanks for your reply,
    Rgds;
    Bbnu

  • Confusion in IDOC scenario

    Hi,
    I have the following IDOC scenario:
    <b>A non-SAP system sends via TRFC an IDOC to XI -> SAP</b>. I want to keep it simple as possible.
    What scenario is that according to the SAP document "How to... Sample IDOC-XI Scenarios"?
    I thought this would be scenario 1 (LS<->LS). Is that correct? But can I maintain in transaction IDX1 a port to the non-SAP system and load metadata with transaction IDX2 (that is not possible)????
    The non-SAP system and the target SAP system have logical system names maintained in the SLD. The adapter-specific-identifiers are populated.
    In the sending system the field EDI_DC40-SNDPR in the message header is populated with logical system name of the non-SAP system (e.g. XYZ).
    But the trace of the non-SAP systems returns the following error message:
    RFC_ERROR_SYSTEM_FAILURE
    Transaction IDX1: Port XYZ, client 100, RFC destination  contain errort
    I have added the port in IDX1 for XYZ, but the same error message is coming. Of course transaction IDX2 is not possible...
    How can I check error messages of the idoc-adapter within XI?
    What is problem?
    Thanks!

    Hi Chris,
    >>a port to the non-SAP system and load metadata with transaction IDX2 (that is not possible)????
    maybe you can try a little trick:
    - in idx1 create a port for your <b>non SAP</b> system
    and but use the destination to your <b>normal R3</b>
    - then in idx2 import manually idoc metadata (Create option) for your non sap system (but you'll be importing from R3 RFC dest)
    then just change the RFC dest in IDX1 from the one pointing to R3 to your non SAP system
    <b>I don't know if this will work</b> but maybe it's worth to try
    BTW
    when you test your RFC dest to your non SAP system does it work? is it R/3 (3) type? 
    Regards,
    michal

  • IDOC Scenario: System not configured as XI integarton engine

    Hello Experts,
    I have beeen trying to solve this since a few days.
    I have created an IDOC scenario  from SAP ECC s/m to PI 7.0.
    The IDOC is being sent successfully fron SAPECC with status 03 in Transaction WE05.
    But in PI 7.0 I am not able to view these messages anywhere in WE05.
    SXMB_MONI of PI 7.0 shows an error record for previous trials and shows error status (red) as "System not configured as XI integration engine"
    I have already set configuration parameters on PI7.0 in SXMB_adm.
    Your suggestions will be appreciated.
    Thanks in advance,
    Elizabeth.

    Hi,
    you can check in PI:
    - TCODE - SXMB_ADM
    - integration server
    - edit - change global config - check if you have: integration server set
    Regards,
    Divya

  • Acknowledgement IDOC's from XI

    Hi Guys,
      Iam sending IDOC's from SAP to XI through ALE setup and for every IDOC i send from SAP iam receiving an Acknowledgement IDOC from XI. Can anyone explain why this is happening and the Possible Solution to stop receiving the Acknowledgement IDOC's from XI into SAP.
    Thanks in Advance.
    Regards,
    Kittu.

    Hi kittu,
    Go thru this:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    Regards
    Suraj

  • IDOC Scenario - User  has no RFC authorization for function group EDIN

    Hi all,
    I'm trying to configure an IDOC scenario from ECC to XI.
    RFC's, ports and destinations already configured. On WE19 I'm creating an IDOC for testing the scenario. The IDOC is sent successfully, and it stops on TRFC Monitor with error "User PIRFCUSER has no RFC authorization for function group EDIN." .
    Some of you knows what authorization is needed? Basis team said the roles are the same at DEV environment, and there this scenario works fine.
    Thanks for your help.
    regards.
    Roberti

    Hi,
    Check with PIRFCUSER user , that is having the right authorization or not ..
    And make sure that this user is present in the system & it should  not locked.
    to check that user is present or not-----goto su01 of the system & check
    Regards
    Seshagiri

  • IDoc Scenario SAP ERP - PI(Receiver IDoc Adapter) - IDoc to Third-Party system

    Dear All,
    I have created a scenario  to send IDocs via PI system (PI 7.1) to a third party system.
    There is no message mapping involved(Only ID part)
    I have imported Idoc Metadata from the source ERP system.
    Created an RFC destination(BC_ERP_SEA) in the PI system of type TCP/IP with registered Server Program to third party system.(Tested success)
    Created a port in IDX1 BC_ERP_SEA with above TCP/IP destination.
    Receiver communication channel of type IDoc is created with the following parameters:
             RFC Destination: BC_ERP_SEA
             Segment Version: 640
             Interface Version: SAP release 4.0 or Higher
             Port: BC_ERP_SEA
             SAP Release: 640
    Now when I execute the scenario, I get the following error in SM58 of PI system.
    Bena IDOC_INBOUND_ASYNCHRONOUS not found on host.
    Request your help for this issue.
    Thanks,
    Jishi

    Hi,
    Check below steps..it may resolve your issue
    1. It is mandatory to specify Ack Destination value in IDoc_AAE sender channel. The value should be an RFC destination name which is connecting to your SAP ECC system.
    2. In inboundRA resource adapter, the value for the property "local" should be set to "true".
    Regards,
    Tulasiram.

  • Connection from DP to SAP PI 7.11 via SOAP/https failed

    Hello Guys,
    we have a problem with connection from DP to SAP PI via SOAP/https.
    DP send a request and get a timeout. timeout is 2 or 3 minutes.
    DP and SAP PI authentificated with certificates.
    Our Problems:
    DP get now failure code
    in commnication channel monitoring in RWB from SAP PI I see no entry, no error
    in java default trace I see no error.
    What could be the Problem? What must we configure for https communication via SOAP Adapter?
    Which Log get me some information?
    Thanks and regards
    Martin

    Hi Neetesh,
    I have check all, but it resolved not my problem.
    I will describe my scenario again:
    scenario:
    syncronous request from system A over DataPower ->SAP PI to SAP system.
    communication DataPower to PI: SOAP over https
    DataPower located in other network zone.
    port is activated in firewall.
    called URL from DataPower:
    https://<host>:5<instance number>01/XISOAPAdapter/MessageServlet?
    channel=:<business system>:<interface>
    Problem:
    authentication looks like ok. No error in ICM Trace, in default java
    trace login from DataPower IP-adress ok.
    but no message is to see in the communication channel.
    no message in the adapter engine, no message in the integration engine
    DataPower get a timeout. (Timeout 2  minutes)
    we find no error, but also no message
    What could be the error? And where find I some information in SAP PI.
    Thanks and regards
    Martin

  • SOAP to IDocs Scenario...IDocs getting locked at SAP

    Dear Experts
    We are sending measuring point details to SAP system from 3rd Party. Scenario is working fine for small amount of load. If more number of messages triggered (say 100) IDocs at SAP are getting stuck u201CMeasPoint 10000211 currently locked -> document processing not possibleu201D.
    I tried configuring Sender SOAP adapter as EOIO and specified the Queue name as Test Queue. Still IDocs are getting stuck at SAP ECC. Now one more issues messages are getting stuck in queue SMQ2. We can control the flow by using BPM in PI. I donu2019t want to use BPM for this. Can we control this from SAP or using Trigger by background program in Partner profiles?
    Please suggest. Thank You.
    SAP Error Details:-MeasPoint 10000211 currently locked -> document processing not possible
    Message no. IR007
    Diagnosis
    The object you want to access is locked, either
    u2022     By yourself in another session, or
    u2022     By another user
    u2022     or by the system, which is still processing data for this object
    System Response
    The system cannot access the object.
    Procedure
    u2022     If you are locking the object yourself in another session, exit processing in the other session and continue processing in this session.
    u2022     If the object is locked by another user, you can
    o     contact the other user
    o     wait until the other user has finished processing the object
    u2022     If the object is locked because the system is still processing its data, wait a while, and then call up the object again.

    1. Create a new process code "Z" and check the enque state of the objects before passing back to standard processing modules. Id also change to process immediate as part of this change
    or
    2. I think assuming RBDAPP01 is still used you may be able to make use of an exit there to do the same thing .. check and wait before processing.
    or
    3. In message mapping place a UDF that has some kind of wait timer in it (this is random and wont always work cause you wont know when the lock is dropped) but should work.
    or
    4. Dont use IDOC's create an abap proxy to do the work as a sync process. Processing will need to finish in the proxy and return to the PI stack before the next message is processed in the EOIO queue - this would be the prefered option as far as im concerned, it guarenteed to work and as long as your proxy sticks to the standard rouintes it should be upgrade friendly.
    or
    5. Use a proxy as above but dont do any processing, just use the proxy to build the IDOC and post it - then check the status of the locks until you are ready then rinse and repeat ..... but like scratching your right ear with your left hand .. but it will work.

  • Reg : Idoc Transfer From SAP R/3 to Gentran

    Hi Floks /
    Any body can transfer SAP R/3 idoc to external Sterling Gentran intgration suite . what are process steps required to sending and what are the transaction codes are available in Gentran and Sap .
    can u please help me out.
    thanks
    suresh

    HI,
    See the below links
    In Gentran
    XI with Gentran
    XI vs Gentran for EDI
    SAP ECC 5.0 Upgrade questions with Gentran, BDC, screens
    Gentran EDI ?
    Interuppting/debugging response from Gentran
    Gentran and XI 3.0 question
    Interuppting/debugging response from Gentran
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
    In R3 IDocs
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    File-XI-IDoc Scenario - File to Idoc
    idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
    IDoc erros troubleshooting - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    see the below links to get more details about IDocs
    ALE/ IDOC/ XML
    Troubleshooting of ALE Process - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    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
    serialization /people/alessandro.guarneri/blog/2006/11/26/content-based-serialization-dynamic-queue-name-in-xi
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.henrikfrank.dk/abapexamples/IDOC/gl_postings2.htm
    http://searchsap.techtarget.com/ sDefinition/0,,sid21_gci852485,00.html - 45k - Cached - Similar pages
    Process codes in IDOC
    http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b806743d711d1893e0000e8323c4f/frameset.htm
    http://edi.stylusstudio.com/msg04418.htm
    Check this link to find out the difference b/w ALE,IDOC and BAPI
    http://www.sap-img.com/abap/ale-bapi.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    ---Split messages :
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Regards
    Chilla

  • Recieving IDOC's from SAP

    Hi Forum,
    In a scenario where SAP sends IDOC's to xMII, what should be the best landscape ?
    Do we need to have both xMII and SAP ECC installed on same machine ?
    I configured a  RFC destination in SAP and i don't see any place where one can mention about the DESTINATION xMII server's address. IDOC's are directed to xMII which is installed on the same machine as SAP server.
    Mike.

    Hi.
    We are just in the middle of doing something similar. Have you been through these docs ??
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/201769e0-3174-2910-e287-baa58d198246
    and
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3861e693-0e01-0010-e791-9b44d2693e6c
    Our landscape is to send IDocs from a central SAP server to a local xMII server at the production site.
    Hopefully of some help.
    BR
    Poul.

  • Simple IDoc to IDoc scenario with SAP PI

    Hi!
    I would like to implement a very simple IDoc_to_IDoc scenario.
    i have two clients in SAP ECC 6.0 and would like to send/receive IDoc (e.g. material) with SAP PI.
    Can some one please give exact the technical steps(tcodes, action in XI Tools) to realize this issue?
    Any helpful information/documentation/SDN blogs will be very appreciated.
    Thom

    hi,
    Communication Channels:
    1) No Sender Channel is required as we are using IDOC.
    2) CC_OUT_IDOC_MATMAS05 [Send the data from Xi to CGNSAP01]. 
    Transaction Codes Used: 
    SM59- To Create RFC Destinations
    WE21- To Create IDoc Ports
    SALE- To Create Logical System
    WE20- To Create Partner Profiles
    BD64- Display Distribution Model
    WE19- To Trigger an IDoc 
    IDX1- Port Maintenance in IDoc Adapter
    IDX2- Metadata Overview for IDoc Adapter 
    Regards.

  • How to send IDocs from a non-SAP system to a SAP system

    Hi everyone i am new to SAP R/3 System.
    Currently i am required to send IDocs from a non-SAP system to a SAP R/3 System.
    There is a guide on Cost-Effective and Quick Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface. But its from a SAP system to a non-SAP system and i am able to do that.
    Is there any step by step guide where they teaches you how to send IDocs from a non-SAP system to SAP system via similar method?
    Thank You!

    Hi,
    I hope this link may help you......
    http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.ds.entpak.sapr3.use.doc/topics/c_pack_r3_Introduction.html

  • How to send IDOC from nonSAP to SAP

    Hi ;
    I need to send IDOC from nonSAP to SAP. I have experience it with XI and BC..but now I need sending IDOC to SAP directl without these tools..
    Can you explain it via sample? (I know already how to create port , define LP from we20,we21 ).
    Firstly Do I need to create a RFC destination ? and I want to send IDOC as XML by HTML post method..Which port must I send?
    Must this port point to this RFC? 
    Thanks.

    Hi,
    Here you have to generate an IDOC and convert into XML format and put at required server
    third party will accept the IDOC XML not the IDOC.
    Just check with ur third party in which format the data is accepted.
    if its IDOC XML then u can use the file receiver adapter and place the IDOC XML file on 3rd party folder.
    You use the IDoc adapter to have IDocs (intermediate documents) processed by the Integration Engine. IDocs from SAP systems Release 3.1x or higher are supported. You can also use the IDoc adapter to connect non-SAP systems to the Integration Engine.
    The IDoc adapter converts the IDocs to IDoc XML format so that they can be processed by the Integration Server pipeline.
    You can also transfer XML in IDoc format received from the Integration Server to connected systems. The Integration Server pipeline must convert the received XML to IDoc XML, and then transfer this IDoc XML to the IDoc adapter. The IDoc adapter converts the IDoc XML to native IDoc format and sends the IDoc to the identified receiver system using the standard IDoc interface.
    Regards,
    Shamma

  • Send/Receive IDOCs (XML) from/to SAP R/3 with XI-SOAP without XI!

    Dear SAP specialists,
    (BACKGROUND) We are using the Microsoft BizTalk Adapter for SAP 1.0, developed on top of the SAP DCOM Connector (we are using the version 6.20 Patch Nr. 177), with Microsoft BizTalk Server 2002 SP1 in order to send and receive IDOC via the tRFC transport protocol. We are using the Microsoft BizTalk Adapter for SAP 1.0 since February 2002, and today we are exchanging more than 25,000 IDOC/day with this architecture.
    When we migrate our SAP R/3 system to the version 4.7 with WAS 6.20, I was very enthusiastic about the possibility of sending the IDOC in XML via the standard HTTP transport protocol, because it would considerably simplify my architecture, i.e. no need of any (expensive) adapter any more! But, I had to realise that the quality of service exactly once will not be there anymore with HTTP as it exists with tRFC. Then, we carry on using the tRFC transport protocol with the adapter.
    (QUESTION) But recently, I followed the SAP Course TBIT40 XI Foundations and I learn that:
    1.     On one hand, the XI-SOAP protocol supports the quality of service exactly once by the usage of a message GUID within the XI-SOAP envelope;
    2.     On the other hand, all mySAP solutions using WAS 6.20 (or higher) carry a “small” Integration Engine (with XI-SOAP as the “native” transport protocol).
    Then, my question is: << Is it possible to exchange IDOC (XML) directly with an SAP R/3 4.7 (WAS 6.20) via the XI-SOAP transport protocol using the “small” Integration Engine embedded into it, with the quality of service exactly once? >>
    Many thanks in advance and best regards,
    Patrice Krakow

    Hello Patrice
    We have same issue. Is it possible to use IDoc (XML) directly with SAP 5.0 with SOAP (HTTP) without XI?
    Since your que is three years old, I'm sure you must have found some method for this.
    We'll highly appreciate your help.
    Regards: Gaurave

Maybe you are looking for

  • Camera Raw in Photoshop Elements 12

    Hello, I read on chip.de that camera raw is freeware if you use a Adobe product. But the camera raw version in my photoshop elements 12 has only very few possibilities compared to the complete version. And there is also no update higher than 8.5. Is

  • How to remove a folder from claud files

    how to remove a folder from claud files?

  • Unwanted startup of Adobe Photoshop Album Starter Edition 3.0

    How do I stop Adobe Photoshop from instantly opening a CD of Pics. that I put into my drive. What I want is to be able to choose how & by what method I open that CD! Photoshop opens up the CD BEFORE I can even run a virus scan on the CD & by then it

  • ITunes won't display

    I have a Sony Vaio with Windows 7 Home Premium 64-bit OS. When I start iTunes, the program launches, shows in Processes as iTunes*32.exe - then the program will not display. This is new problem since iTunes 10, I believe, but am not 100% positive. An

  • Multiple people in one card

    Hi, I'm trying to figure out the best way to manage multiple related people, e.g. a husband, wife, and kids, in my Address Book. Right now I stick them in one card, with fields like FirstName: "Joe & Mary", LastName: "Johnson", and multiple email add