IDOC between 2 sap system

Hi,
I need to send Idoc from SAP system(A) to SAP system(B).
In system B i need to store data in custom table.
Correct me for below settings
in system A
1) define RFC that point to system B
2) define port in WE21 that point to above rfc
3) maintain partner profile for outbound idoc in Logical system in WE20
4) trigger IDOC
Now IDOC is sent to system B
In system B
1) maintain receiver port in IDX2 that has system A clinet and RFC pointing to system A
2) maintain inbound partner profile for the same idoc with a Z process code.
write code inside Z process code to save data in custom table.
Now i am not able to Z process code as it says ALE settings not maintained. i created new FM ...assigned it to a z proces code in WE42.
what other steps should i do.
Also my other doubt is if another user maintains for the same message type another process code will 2 idocs get generated in system B whenever i trigger idoc from system A..which i dont wont to happen...is there a way to stop it.

Hi,
It seems that your ALE configuration is not done properly. Check your logical system setting with both System A and System B. then RFC destination with Tcode SM59. After that you go ahead with your logic and  Z program. it will work.
As you ask you dont want others data then you shoul check with your function consultant that they use there data and if data is no longer useful you remove that one eith block that one.
Regds,
Rakesh

Similar Messages

  • Send IDOC from SAP system to IX but can't see any message in SXI_MONITOR

    Hi all,
    I have built up an XI system and configured an IDOC to IDOC scenario between two SAP Systems. After completed all configuration necessary:
    1. Configuration on Source Side (SAP System that send IDOC) and on Target Side (SAP System that receive IDOC) is OK.
    2. SLD is OK: Technical System and Business System are correct for these two SAP System.
    3. Integration Repository: all designed Object is OK.
    4. Integration Directory: all configuration is OK. "Test Configuration" Function is OK.
    5. Runtime WorkBench: is OK. "Test Message"  Function of "Integration Server" is OK.
    In general, it is all OK.
    But when i send an IDOC from SAP System Sour Side (Outbound IDOC from Source Side is OK), on the XI server i can't see any message in Tcode SXI_MONITOR. In this case, my XI server didn't receive any IDOC Message from  this Source Side, and so that my XI server can't process and exchange any IDOC sent from Source Side.
    Anyone can please help me to explain this problem: why my XI server can't receive any IDOC message from SAP System Source Side when all configuration is OK? Do anyone see the same case as this case?
    Thanks a lot for all in advance,
    Best regards,
    Vinh vo

    Hi,
    Possible checks
    At R/3 side
    1) Check in SMQ1 and SM58
    At XI Side
    1) Check in SMQ2 and IDX5
    Check this
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
    Regards
    Seshagiri

  • How to send idocs across SAP  systems in same network

    Hello
    I wander how to send idocs across SAP  systems in same network

    Hi Jan Bo,
        please check the below link
    http://help.sap.com/saphelp_nw04s/helpdata/en/dc/6b7f3c43d711d1893e0000e8323c4f/frameset.htm
    please write if you want more detailes.
    Regards,
    S.Manu.

  • How to post inbound idoc in sap system?

    Dear All,
    How to post inbound Idoc in sap system?
    Regards,
    Amar
    Edited by: amar kumar on Nov 23, 2009 2:53 PM

    Hi Amar,
    Use the FM IDOC_WRITE_AND_START_INBOUND to post an inbound IDoc. Just build the EDIDD and *EDIDC8 tables and enter a profile for a inbound message type from a partner. It returns a IDoc number. Don't forget to do commit work.
    Regards
    Abhii

  • Transfer ports definitions between SAP systems

    Hi,
    I would like to know if there is a way to transfer ports definitions (WE21) between SAP systems ?
      Thanks, Nir.

    There is no program to copy ports into another system. You could write an ABAP program and an RFC FM to read EDIPOA and EDIPORT tables from other client and insert them into the current system tables, but it is not suggested to do that because the RFC destinations should exist and no company wants to do direct update on SAP delivered tables because SAP will not support in case of errors.
    Thats why as far as my experience, I've always created them manually.
    regards
    Shravan

  • SAP system IDOC - XI - SAP system IDOC

    Hi,
    I have created several scenarios for sending IDOCs between different SAP systems, but I have a problem with just one SAP system that is a copy of our production system when is acting as a source.
    When sending the IDOC from source system, I can see the IDOC in SM58, with the following error message;
    "client xxx is not available in this system" where the client is actually the client of the receiving system.
    I have successfully sent IDOCs from other SAP systems to the same target SAP system so there is nothing wrong with the target system.
    Anyone experienced the same? Any ideas?
    best regards
    Torstein

    Hi,
    I am facing the same issue too. My target system is also release 700 and I have done all my SALE config, we21 settings. But still the error repeats as " Client XXX is not available in the system". How did you fix this issue?
    -Teresa

  • Master data synchronization between SAP systems

    Dear all,
    I have 2 SAP systems and I'm required to synchronize some kinds of HR master data between these 2 systems, how can i achieve that without any ABAP developments?
    Does anyone give me any suggestions or others?
    Best regards,
    Bean

    Hi Bean,
    You can achieve this using IDoc and PI using following scenario.
    1) Populate IDoc in 1st SAP system and pass it to the second system as direct IDoc to IDoc transfer.
    Ex: Basic Idoc Type: HRMD_A07
    2) If direct communication between two XI system is not allowed then you can use PI as middle ware to transfer data.
    But for IDoc you need to create partner profile and ports etc.
    Hi,
    Thanks so much for your kind help.
    How to make the transferring automatically whenever the specified kind of master data is changed.
    Best regards,
    Bean

  • What is best way to connect a non-sap sys sending  xml idocs to SAP system

    Hi Can some one please guide as to what will be the best approach in connecting a NON SAP system to a SAP system.
    The non sap system should not be connected to access real time data,it does not support RFC,it can send data in IDOC xml format and i think in teaxt files also.Also I dont think there is any EDI subsystem in place.
    There has to be a periodic upload of material data from SAP /stock status/
    then there will be incoming data into SAP for sales order/purchase order etc
    What would be the best way to connect the two systems,IDOCs with partial EDI looks the best way ,but I am confused as to how will the XML IDOC be converted to normal IDOC and viceversa,how to handle the event triggering mechanism.
    If someone has experience in such a scenario ,please help.
    There is a option to update the database of the application through SQL also...

    Hi,
    Check this link.
    Web Services from Function Module
    it might help u.
    Thanks.

  • During SAP outages,XI unable to send the IDoc to SAP System.

    Hi
    We have an interface in XI which posts IDoc to SAP .
    In the inbound side XI polls the database and executes a query.
    But during SAP outages ( Planned/unplanned) though XI executes SQL and process the messages successfully the message fails in the outbound side as SAP is not available.( Column 'c' will be marked with red flag)
    Is there any way we can queue up the messages till SAP is available and post the IDocs.
    Presently we have to either resend the message from the source system or using
    Run time workbench and payload post the IDoc manually.
    I guess there could be some settings in the J2EE stack if done can help with.
    My environment is XI 3.0 SP14.
    Please suggest a feasible solutions.
    Thanks in advance,
    KP

    Hi,
    if the quality of service is EO then your idoc is stuck in sm58 and you can force the idoc to be delivered once SAP will come back available.
    You can schedule the report RSARFCEX that does exactly this task.
    Normally this job is scheduled to run every 5 minutes.
    This should solve your problem.
    Btw, I suggest you to additionally have a look at this blog <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically">XI : How to Re-Process failed XI Messages Automatically</a>.
    Best Regards,
    Sergio

  • QRFC/TRFC for sending idocs from SAP system to XI

    Hi experts,
    The standard program RFFOEDI1 generates payment orders - first PEXR2002 and then EUPEXR idocs. These idocs are to be sent to the bank from SAP through XI. Bank partner profile is maintained. But these idocs because of TRFC are not getting sent in the order in which they are generated by the SAP system. So I changed the bank partner profile settings from TRFC to QRFC and gave the rule name as first 16 of mes type. But the idocs are struck in the SAP system. Is there any standard program to be run to send the idocs out from SAP system or is it automatic.
    Please suggest a standard method which is to be followed to send the idocs in the same order in which they are getting generated for the scenairo above.
    Regards,
    Asha

    Hi Asha,
    As you said Idocs are stucking,
    To send Idocs to XI, you must have maintain some settings in XI to receive Idocs. Once they are done properly .in R3 side standard way to send idocs to XI is Maintaining<b> <i>Change Pointers</i></b> and shedule the programe to trigger that most of Standard idocs will have standard programs to catch change pointers and send them to external system.
    and to maintain the same order of idocs there is a setting called Quality Of Service in XI side ,that option should be set to Exactly Once In Order .
    Regards,
    Ramesh.

  • Transfer customizing data between SAP System

    Hi to all!
    How I can transfer PS customizing data between R/3 4.5B and R/3 4.7?
    Thanks,
    Gianluca

    Hi,
    Can I suggest a slightly more robust approach?  What Andreas is suggesting, is that in fact you should be able to transfer the customising data by doing a standard transport.  You can create a transport in your 4.5B system and then it can be physically copied (at the operating system level, for example FTP) to your 4.7 system and then imported.
    I think that this is probably the right way to go, but you may have some troubles if the PS system has some changes in 4.7 (as the destination config tables may have different structures to the source tables).
    The change I suggest from Andreas is start by using the IMG to generate the transport.  If you go to every area of customising that you wish to transfer to the 4.7 system and make a change (save to a change request) then change it back and save, you will make sure that you have every table required to be transferred in your change request.  You can then edit the change request (in SE09) and change the keys (by putting an *, rather than the specific data) to ensure you get all the data. 
    I just feel that given the complexity of configuration tables (and the sheer number of them) it would flow smoother if generated the initial list via the IMG, rather than trying to figure them all out yourself.
    After the change request has all the correct entries you will need to release it (to ensure that the object in Unix has all the data from the SAP system).  You can then FTP it to the 4.7 system and do an import of the change request (and cross your fingers that you don't get import errors due to config tables changing in 4.7).
    Hope that helps,
    Brad

  • Re: Transfer Large Files between SAP Systems

    Dear All.
    Please can someone advice a quick way of transferring large files from one sap system to the other. Can we use ALE? Can Ale handle large files? If there are others ways please advice at your earliest. thx alot

    yes ,you can use ALE between two SAP R/3 system..
    it is efficient way to transfer from One SAP R/3 to Other SAP R/3

  • Missing IDOCS with status "qRFC used to send IDoc to SAP system"

    We are running ECC6.0 (HR System) and are sending IDOCS to XI (PI7.0 SP10)for mapping before they end up in a 4.7 system.
    We have implemented the Queue processing here: /people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi
    We have two queues set up for different countries (Eurpoean roll out) and they have different Message Types for the same Logical System. 
    We have been getting serialitazion issues due to IDOCS not being sent, although they are showing in ECC6.0 as sent, they have not hit XI or subsequently the Target System.
    On the whole, this has worked well for a while, but over the last week, something has effected the consistency of the correctly sent IDOCS.  We had an update error with the Update Work Process, which left lots of short dumps, but this was fixed, but since then, we are getting these strange anomalies.
    I appreciate this strange behaviour, but has anyone come across this before?
    More an SAP than an XI issue, I think....  But as I appeciate your repsonses I added it here!  

    Hi Barry,
    03 does not mean the idoc is delivered, it does only mean that it was sent to port.
    The status that indicates that the idoc was delivered is 12 (idoc dispatched).
    For getting this status a report named RBDMOIND has to be run/scheduled.
    After this if the status becomes 12 the idoc is delivered otherwise if it is still 3 that means the idoc is still there.
    Regards,
    Sergio

  • Identifying idoc in SAP system using message id in XI system

    Hello Experts,
               I have executed a couple of XML's that wil be read by XI and passed into my crm system. In XI using the transaction SXMB_MONI i am able to see the executed XML files . Is there any way i can track the exact idoc no for a particular XML that was processed?
    Regards,
    Vignesh

    Hi,
    In the Processed XML message double click on the IDoc(under Technical outbound channel column) near the status u will find the IDoc number that are created for that xml message..
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • How to transport appraisal documents between SAP systems

    Hi, HR experts!
    I'd like to transport some appraisal documents - located, for example, in the transaction code PHAP_ADMIN - from the QAS SAP to the Production SAP and I don't know how to do that. Please, could you send me the required steps?
    The release of our systems is ECC 6.0 and the level of the software component SAP_HR is 0058.
    Thank you.
    Regards,
    Thiago Carvalho

    there is no other solution , only report RHSOBJCH can be used
    Report RHSOBJCH adjusts the transport objects PDST, PDST_LSO,..., that
    are used to transport personnel planning objects. The transport objects
    need to be adjusted, whenever a new infotype is delivered by SAP or
    created in the customer system. We can't deliver the adjustment, because
    the transport object contains both the SAP infotypes as well as the
    customer infotypes.
    Therefore you should select all entries in report RHSOBJCH and add them
    to the transport object. This needs to be done after each upgrade and
    after the creation of a customer infotype.
    You should run the report both in source and target system BEFORE
    transporting the appraisal templates.
    When transporting PD objects to your productive environment
    you should pay attention whether objects are involved in the transport,
    which already exist in the productive system.
    This is described under 5.a) in note 138411,

Maybe you are looking for

  • How to create a table with multiple select on???

    Hi all,         I am  new to webdynpro and my requirement is to create a  table with multiple selection on.I have to add abt 10 rows in the table but only 5 rows should be visible and moreover a verticalscroll should be available to view other rows.C

  • Problem with Local Interfaces (WSAD 5)

    I built an Entity Bean with Local Interface and a Remote Interface (apperently they both have the same JNDI name in WSAD) and when I look up for the name from other Session Bean (same EJB group) and I try to cast it to the local interface there is a

  • My videos on my iPod isn't playing, it's keeps saying connected to tv

    Need to know how to take the tv mood of so I can watch my videos on my iPod again

  • How to send message to Queue using JMS

    Hai Friends, I have written one program, which sends one seriablizable object to the queue. At queuesender.send(objectmessage) statement i am getting the following exception, but message is going to queue. The next statement is not executing. Next st

  • Foreign key constraint on multi-column primary key accepts 1 empty column!?

    Hi, we have a reference table with a two-column primary key. In the child table there is a non-mandatory foreign key constraint to this table. So if both child columns are null it's ok too. But now we see that if one of the two child table columns th