2009 Oct 20 3:38 PM
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.
2009 Oct 20 6:35 PM
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
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.
2009 Oct 20 6:35 PM
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
2009 Oct 20 6:48 PM
Hi,
i am now able to send data from system A to system B.
My doubt here is that
i am using IDOC to do the data transfer between 2 sap systems should i go for ALE instead?
what is the disadvantage of not goin for ALE and choosing IDOC
2009 Oct 20 8:04 PM
Hi,
Please remember ALE is Technology for distributed environment and IDOC is a data container. If you want to send an IDOC for multiple systems ALE is required. IDOC uses ALE Technolgy in distributed environment.