Third party system (JCO) ---RFC--- PI ---RFC--- ECC
Hello all,
We are trying to implement the following scenario:
Third party system (JCO) -RFC-> PI -RFC-> SAP ECC
The third party system connect to PI via Java Connector API with a know user id in PI. After that third party system tries to obtain the RFC that is already implemented and remote enabled in SAP ECC environment. But at this step there is something wrong in third party system software because we are not able to obtain the RFC interface and metadata from PI repository.
1. This step is working correctly. Connection is OK.
JCO.Client mConnectionPI = JCO.createClient("100", // SAP client
"user_id", // userid
"********", // password
"pt", // language
"10.x.x.x", // application server host name
"01"); // system number
mConnectionPI.connect();
2. This step is not working correctly:
JCO.Repository repository = new JCO.Repository("TestRep", mConnectionPI);
IFunctionTemplate ftemplate = repository.getFunctionTemplate("Z_RFC_XXX"); - not found exception
We would like to know if there is something missing in any environment that we have to configure or implement in order to fix this issue. Thanks a lot.
Hi Primini,
couple of stupid-but-necessary questions:
1) have you imported the RFC model in PI Repository?
You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
Check the "Activities" session of this link for more details:
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
2) if you have done 1), have you configured the RFC Sender scenario properly?
I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
This should make your scenario work.
If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
Let us know the results.
Best regards,
Henrique.
Similar Messages
-
Rollback work in third party system thru RFC
Hi Gurus,
Here is my scenario:
I am using RFC_UPDATE_TAXES_DOC to update records in third party system.
After successful updation only , I am calling BAPI_ACC_GL_POSTING_POST to post records into SAP.
Suppose I could post Taxes successfully into third party through RFC, but my BAPI gave me some error, I need to revert back the updation done in third party system as well.
Could you please suggest me an RFC which could do this or guide me with some pointers on how to achieve this.
Many Thanks,
MadanHi Primini,
couple of stupid-but-necessary questions:
1) have you imported the RFC model in PI Repository?
You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
Check the "Activities" session of this link for more details:
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
2) if you have done 1), have you configured the RFC Sender scenario properly?
I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
This should make your scenario work.
If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
Let us know the results.
Best regards,
Henrique. -
RFC Not found from the Third party system
Dear Friends,
I have customized a RFC, All components are active.
When I am searching the RFC from third party system this RFC is not able to find, others are showing.
What could be the reason..../
Thanks & RegardsHi Sachin,
Just to be sure, could you please check whether the RFC radio button is selected in ATTRIBUTES Tab of SE37 for your RFC. Also check if the RFC is active.
Best regards,
Prashant -
Third party system call function module/BAPI through RFC to update Z table
Dear Friends,
We have a third party system which directly inserts a Z table in SAP through its programming, which is an auditing issue.
We want the third party system should call function module/BAPI through RFC so that the Z table gets updated.
waiting for inputs..
Thanks,
Kumarif third party system is capable of making Remote Function call, then writing a Function module & making it remote enable is not difficult task in ABAP.
You may have to prepare specifications first to decide if third party system is going to Read, insert, update, delete records from Zee table. -
ECC Via XI to Third Party system through Idocs
Hello,
I have done all the setting required to IDOC communication,
RFC's are created,
Distribution Model
Imported the Meta data
Partner Profile
ESR Objects Made (IDoc as my Source and WSDL as External Definition for Target)
ID Configuration made, sender channel is SOAP.
SLD Configuration (Business and technical system as third party systems and ECC as ABAP system)
Sender is ECC, no sender channel will be required (correct me if i am wrong), where as
now when i test my scenario with WE19, i do not see my XML while using tcode sxi_monitor.
have i missed any step.
Any help will be appreciated,
Regards,
Abhishekin IDX5 System is not a Central Integration System: unable to start program is the error, if i fix this error what will be impacts on the system
please follw bwlow step:
Check SXMB_ADM --> Check the Integration Engine Configuration
In the Global Configuration Data :
Role of Business System should be Integration server
Corresponding IS should point to Pipeline URL.
please check below link
Configure Role of Business System " as Central Integration Server , PI
and
Transaction SAP Adapter u2013 Monitoring (IDX5) : provides you with an overview of all messages sent to or from the Integration Server as IDocs. Double-clicking a message provides you with detailed information on this message in the Integration Server.
You can monitor the status of all XML messages by using transaction Integration Engine u2013 Monitoring (SXMB_MONI).
You can use transaction SM58 to monitor native RFC communication on the Integration Server. This type of communication protocol is used in two places here:
To send an IDoc from an SAP system to the Integration Server
To send an IDoc from the Integration Server to an SAP system
and one more thing are you tested Rfc destination ? is it working ? -
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,
JishiHi,
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. -
Adding Third Party system in PI SLD
Hello Experts,
I new to PI and would like to know, how to add any Third part system in the SLD, and
scenario where sender is ABAP Proxy and receiver is Third party system, via SOAP Adapter.
Regards,
Abhishekhi,
How do i maintain the entries for all the component in SLD. -> generally we dont have authorizations to create Business system,products in sld.
if you have, then follow what was i posted earlier link:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50924080-0627-2a10-2b89-8cb87b972fb1?QuickLink=index&overridelayout=true
any information on IDOC to SOAP Scenario.
In R3 :
1.Craete Logical system for R3 say SAPR3
2.assign client to this LS.
3.Create Logical system for XI say SAPXI
4.create RFC pointing to XI say R3_To_XI
5.Crate port of type Transactional RFC say PORT_To_XI.... give RFC created in step 4.
5.Create Partner Profile of type LS.
Give Partner no as SAPXI (LS of XI created in step 3)
In outbound parameters add ur Message type
Double click on message type & give Port PORT_TO_XI created in step 5.
6.Create Distribution Model..... Transaction BD64
In XI
SM59 - R3 connection pointing to R3
IDX1 - define the port with the above dest.
in ESR:
import Idoc and create everthing based on your requirement.
please refer below threads:
IDOC to SOAP scenario
IDOC to websevice (SOAP) scenario
thanks, -
Integration with third party system....!
Hello All,
I want to integrate R/3 to Third Party system which can accept IDOCs. Can any body plz guide me in RFC destination part..? What type of connection should i use?
TCP/IP or HTTP???? and how to find the Gateway service for third party system?
Thanks in advance.
Regards,
Atul.you want to send idoc to third party system (NONSAP).
what kind of system is it? can it handle http requests
or
can it handle webservice?
which version of R/3 you are using?
what is the mechanism the receiving system has, to receive data?
Regards
Raja -
RFID for third party system(rosetta net)
hi friends
Iam new for this Scenario, customers send the Purchase order through the ASN to the Rosetta net software. We are using the Rosetta net software for receive the purchase order from the customer.
Our business process I want to convert purchase order to sale order from the Rosetta net .after sale order number generated.
I am cleared about using the RFC program only helping to convert the data to SAP data between the system .but I want to know how I SAP system is connect to third party system and what are configuration required for this scenario .pls send me your sugggestion
with regards
dinesh
Edited by: code acess on Oct 15, 2010 5:00 AMif third party system is capable of making Remote Function call, then writing a Function module & making it remote enable is not difficult task in ABAP.
You may have to prepare specifications first to decide if third party system is going to Read, insert, update, delete records from Zee table. -
How to configure https to send wsdl file to third party systems
Hi Experts,
instead of using http, i need to use https. so for this in xi system what steps do i need to follow to send wsdl file to any third party systems. here iam using pi 7.1 as a xi system.
please help me in this.
thanks
jas>> to send wsdl file to any third party
In no communication you send wsdl to third party. You always send related http message.
For HTTPS, in the receiver channel, use HTTP Destination.
Goto sm59 in PI and create RFC destination type G. There under "Logon & Security", set SSL as Active.
For this to work, certificates should be imported on ABAP stack using STRUST.
Regards,
Prateek -
Integrating third party system
hi,
I have a requirement - when i press F4 in a standard SAP transaction I have to get the values from the third party system.
Please let me know if we can do this using BAPI or not.
If yes whats the procedure.
Any help will be appreciated.
Thanks!Hi Pankaj,
Yes this is possible.
Create an RFC using SM37 transaction.
Build the logic to retrieve the data.
The 3rd party system also should have the necessary logic to be triggered once there is a call from RFC & get the primary keys based on which it will retrieve data & pass it to SAP.
Best regards,
Prashant -
Howto Send IDOC to third-party system. programID can not be registered.
Hi, guys.
I want to post IDOC to a third-party system through XI. And for sure, the third-party system can receive IDOC.
In the receiver communication channel, I would fill in the RFC Destination with a RFC connection defined in SM59.
In SM59, it is a tcp/ip connection and in technical settings the activation type is Registered Server Program. I name the Program ID randomly with 'a.a'. In Gateway Options, I fill the host with XI server and service with sapgw01.
Then I test the connection, the result is program a.a not registered on XI server.
My question is how to register the progam when I want to use this RFC to send IDOC to the third-party system. And how the RFC know which system he would connect. I don't find anyplace with the connection information such as IP or something like this.Sergio Cipolla
Thank you for your material. I have read the doc you refered.
Almost I understand the process, there is one part.
I should register the program ID in saprfc.ini file with the following content:
DEST=FROMXI
TYPE=R
GWHOST=saphost
GWSERV=sapgateway
PROGID=a.a
Here I am wondering the fiield "DEST" represent for. Does it mean the hostname of the target external system?
And Here is the UNIX system, what is the path location of the file saprfc.ini or where I should put this file to be effective.
Thanks in advance.
Bu Ju -
Commitment Interface from SAP to third party system!
When we created Purchase Requisition or Purchase Order, the commitment will be created. The third party system needs to track the commitment. So SAP needs to send the commitment to the third party system by this interface.
But when the Goods have been delivered, the commitment will be zero out and the actual will be posted to SAP. SAP needs to send the offsetting records to the third party system. In this way, the third party systems knows that how much commitments have been reduced.
My problem is that I cannot find the right table to record the offsetting entry. In the table COSP, I can identify the commitment by the Business Transaction -- RMBA and RMBE. But it did not record the offsetting entry. It just becomes zero when the goods have been delivered. But I have nothing from that table to send to the third party system.
Does anyone meet this problem before? Can you share some experience on this?
ThanksHi ,
As pointed ...above you can for a file to file scenario you can create just the Business service in integration Directory and create two file communication channels for sender and reciever under it.
However if it was file to idoc or file to rfc ..
then you need create ts web as abap ..identifying your R/3 system
System Name: <you can give a 3 character id here of r/3 system ...i.e like IDS>
System Home : <can be found in status of R/3 system>
Installtion Number : In transaction Slicense in R/3
Host Name : Same as System home can be specified.
Message Server: <3600+instance Number can be found in the log pad to the r/3 system itself >
associate a bussiness system with this ...create a product and a software component version ...In swcv in respository ..develop your object under it ...
Import this business system in Configuration ..and create your communication chanel under it.
Regards ,
Deepak -
Hi
i have a scenario like transfer data from SAP Ztable to the third party system with platform /os/db as mainframe/DB2 .. which adapter i have to use ( file or any other ) and which protocol i have to use..
generally what kind of questions i have to ask network enginner for using the FTP protocol..
venkatHi ,
As pointed ...above you can for a file to file scenario you can create just the Business service in integration Directory and create two file communication channels for sender and reciever under it.
However if it was file to idoc or file to rfc ..
then you need create ts web as abap ..identifying your R/3 system
System Name: <you can give a 3 character id here of r/3 system ...i.e like IDS>
System Home : <can be found in status of R/3 system>
Installtion Number : In transaction Slicense in R/3
Host Name : Same as System home can be specified.
Message Server: <3600+instance Number can be found in the log pad to the r/3 system itself >
associate a bussiness system with this ...create a product and a software component version ...In swcv in respository ..develop your object under it ...
Import this business system in Configuration ..and create your communication chanel under it.
Regards ,
Deepak -
Avtivation of BC set from Third party system
Dear All,
We are using BC sets for configuration of regular business organizational units. We also have a workflow in third party system (like MS Share Point) for approval of such elements. Now we are looking to call BC sets for configuration of these elements Via third party system upon approval in workflow.
Kindly help me to understand the feasibility & possible approach to develop the system.
Thanks & Regards,
SandipHi,
Your question if i understood correctly.
You cannot transfer the BC Set from one system to another.
BC sets are used to have a snap shot for your customizing in SAP.
This are predefined by SAP, which as per mine knowledge you cannot transfer from an external tool to SAP ECC.
Kindly refer the below doc which may help you...
Business Configuration Sets (BC Sets) and their use - Basis Corner - SCN Wiki
Rgds,
Maybe you are looking for
-
Provided below
-
Just get the spinning ball all the time in FCP
When I use Final Cut Pro (newest update) I get the spinning ball all the time when I do ordinary things like dobbleclicking a videoclip (DVCpro HD) or a sequence. If I try to force quit FCP it seems like it quits, the report problem to Apple screen a
-
Dynamically generate terget directory in receiver FTP adapter
Hi guys, I'm trying to set up a scenario where the file will be placed into a terget directiry based on values from the incoming message. I can't use variable substitution as my target message does not contain the needed value, so I'm trying to set u
-
Workitem attachment missing in mail Outlook/Lotus
When an email is generated from a particular workflow. I get the following message in my outlook inbox Subject :Please release purchase requisition 0013001141 Body : Work item in R/3 System: DEV Please log on to the R/3 System and look in your inbox
-
Xpath Expression/Functions in XSLT Mapper
Manual says I can use the orcl functions as well as Xpath Expressions, but when I try to execute it does not work? am I missing something her? Trying to get a variable data into the target schema , the var is not in the source data schema? Any sugges