RFC destination for RFC to File scenario
Hi,
I m creating a TCP/IP RFC destination in R/3 system for my RFC to File scenario.
Step 1:
For this a Registered server program is created in Jco RFc Destinations with,
Program Id : pgm1
Gateway host : PI's host
Gateway service : PI's service
application server host: ECC's host
system numer : ECC's number
client : ECC's client
logon user : ECC user
password : pwd
Step 2:
In SM59, TCP/IP connection the following parameters are given:
Program ID : pgm1
Gateway host : PI's host -
> is this correct
Gateway service : PI's service -
> is this correct
Step 3:
So i am calling the RFC in ABAP program (R/3 system) like:
CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
Step 4:
In PI side,
for RFC sender I am passing :
Application server : PI server
Application server service: PI host
program ID: pgm1 which was created in the previos step
For RFC Metadata Repository Parameter, i am passing all the values related to R/3
Please let me know whether the steps and values i given is correct.
B'cos even if i give ECC's information in Gateway host and Gateway service the scenario works fine and if i PI's info then also it works fine.
so i am confused as which is the correct method. pls clarify
Ok I will try to explain....
Assumptions: R3_TO_XI is the name of RFC which I created in ECC of type T.
While creating the RFC in ECC we mention a unique name which is called Progaram ID. Now the same program id we mention in our sender RFC CC.
So now when an ABAP Progarm (where you will call this RFC with it's destination) is scheduled/triggered with the code as mentioned below then since the DESTINATION ('R3_TO_XI') mentioned here contain the same program id which we have mentioned in our sender CC, invokes the adapter in PI and soon after that all pipeline steps get executed in XI.
CALL FUNCTION 'ZBAPI_COMPANY_GETDETAIL'
IN BACKGROUND TASK
DESTINATION 'R3_TO_XI'
TABLES
comp_detail = company_detail.
COMMIT WORK.
Regards,
Sarvesh
Similar Messages
-
RFC Destination for RFC adapters?
What RFC destination is used by RFC receiver adapter?
Hi SSG,
You create remote function call (RFC) destinations on the J2EE engine so that SAP BW can make function calls on remote systems.
Look at these threads.. Shud help u out..
http://help.sap.com/saphelp_nw2004s/helpdata/en/25/76cd3bae738826e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7c95731a9c5918e10000000a1553f7/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/33/c6e63b60c25767e10000000a11402f/frameset.htm
cheers,
Prashanth
P.S Please mark helpful answers -
How to create a RFC destination for extracting data to HANA
Hello All,
Could someone help me in providing a document or note on how to create a RFC destination for extracting data from SAP data source to HANA using SAP LT replication server ?
I am able to create a data base connection while transforming data from non SAP data source,but wasnt able to transform data which is from SAP abap tables .Hi Venkatesh,
In SM59 t.code we create RFC destinations.
Go thru the video link for creating RFC destinations step by step
How to setup a trusted RFC connection between SAP systems: a step-by-step guide - YouTube -
Creation of RFC destination for SAP-Access Connectivity
Hi,
I want to create a RFC destination for SAP-Access connectivity.
Can I get some help regarding it's connection type,activation type and gateway options required for the same.
Regrads,
Anthony D'souzaHi
Please see the following:
1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
TABLE DBCON Entry can be like this...depends on your External database..
CON_NAME Raj Logical name for connection
DBMS MSS Microsoft SQL Server
USER_NAME <User name> For SQL Server
PASSWORD <password> " "
CON_ENV MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
DB_RECO Availability type for an open database connect
FUNCTION z_houston_connect.
""Local interface:
EXEC SQL.
CONNECT TO 'RAJ' AS 'V'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'V'
ENDEXEC.
*- Get the data from MS-SQL Server
EXEC SQL.
open C1 for
select
l.loc_id,
l.loc_name,
a.acc_id,
a.acc_name,
d.person
from ho_loc_mast as l
inner join snd_acc_mast as a on l.loc_id = a.loc_id
inner join snd_acc_addr as d on a.loc_id = d.loc_id and
a.acc_id = d.acc_id
where l.loc_id = '001'
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
ENDEXEC.
IF sy-subrc = 0.
PERFORM loop_output.
ELSE.
EXIT.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE C1
ENDEXEC.
ENDFUNCTION.
Regards,
Raj -
RFC destination for synchronous communication (message type SYNCH)
Hi experts,
I am trying to configuare ALE settings.waht i did is
My sending & receiving systems are one server with different clients.By using SALE transaction
1.crated logical systems.(LS_800 &LR_810)
2.Assigned those to clients.
3.Created RFC destination
4. Created modelview assign sending & receiving
systems and message type.saved it.
4.generated Partner profile.Here i am getting below problem
Target system LR_810
RFC destination for synchronous communication (message
type SYNCH)
Partner profile LR_810 SYNCH does not exist
Generate partner profile or
specify outbound partner profiles for message type
SYNCH
Target system LS_800
RFC destination for synchronous communication (message
type SYNCH)
Partner profile LS_810 SYNCH does not exist
Generate partner profile or
specify outbound partner profiles for message type
SYNCH
Regards;
Upender.Hi Shital;
Thanks for your replay;
Still am getting the Same Error;
Thanks;
Upender. -
RFC destination for your third-party tool
Hello SAP Guru's,
I have recently established external db connect for an iseries database. Now developers wants to use the open hub destination to extract data to non-SAP systems. They are using API: RSB_API_OHS_3RDPARTY_NOTIFY to connect a third-party tool to the BI system and use this third-party tool to distribute data to other non-SAP systems. To do so they need RFC destination for the third party tool. Could you tell me which RFC connection i have to use in SM59 ? I mean is it ABAP connection or TCP/IP connection or HTTP connection to external server?
I would highly appreciate any help on this.
FYI:
I have already gone through below help link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/8de3f4743b22a8e10000000a1553f6/frameset.htmThis will be of type TCP/IP.
You will need to create an RFC server application on the thirdparty system, and implement this function there. You will need to define that server application in your RFC destination definitions (host/Program).
You may need to read up RFC server help documentation; you can also browse the SAPGUI subfolders for RFC server sample applications and C code (if you have installed GUI in full, there should be such subfolders on your PC). You can also ask for help on 'application server' or 'abap' forums for this. -
No defineded RFC destination for global trade service----urgency!!!!
how can i resolve this problem for [<b>STOP]</b> Message, just on one sever, not connect any other R/3 system, when i execute mb1c,input a material information, and try to save the input messages , the system pop up the [<b>stop</b>] error:
<b> no defineded RFC destination for global trade service</b>
my system enviroment is:
win2003 server + db2 8.2 + sap ecc5Hi,
When you post an R/3 material document, the processing terminates with a system message indicating that no RFC destination has been maintained for Global Trade Services GTS.
This system message is unjustified since SAP GTS has not actually been activated.
This is caused by a program error.
Please read the notes-825448, and do the necessary corrections.
Hope this helps you out.
Rgds,
Suman -
Creat RFC destination for portal
Hello,
when i am doing RSPOR_SETUP , i am getting java and abap support package versions are different error message for step 2, i.e creating RFC destination for portal.
Please send me suggestion regarding this issue.
regards
Sreesudhais ur BI and Portal SP versions different ?? ....if true ?? make sure they have the same SP
use this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00bed70a-7501-2a10-ec9e-9a04485ab477
for guidance...... -
Hi,
I am working on ALE for Activity allocation. I am using 3 methods in my distribution model. I need to transfer data from ECC 6.0 source system to R/3 4.7.
BUS6010 Method POST & CHECK
BUS2072 Method FINDDETAILS
I am using the Program RHINLV00_LSO to transfer data.
When i execute this report it's throwing an error
" NO RFC Destination for 2 BAPI's".
An RFC Destination is created in SM59 to link the two systems and i have distributed the distribution model to R/3 4.7.
The Function modules are marked as Remote enabled function modules.
Regards,
Ramesh K.Hello,
Did you test RFC destination whether the definition is working fine or not?
You can test the destination,if it's working fine,then Bapis' should be able to execute.
Thanks.
Mark points if helpful. -
Hi,
I am working on ALE for Activity allocation. I am using 3 methods in my distribution model. I need to transfer data from ECC 6.0 source system to R/3 4.7.
BUS6010 Method POST & CHECK
BUS2072 Method FINDDETAILS
I am using the Program RHINLV00_LSO to transfer data.
When i execute this report it's throwing an error
" NO RFC Destination for 2 BAPI's".
An RFC Destination is created in SM59 to link the two systems and i have distributed the distribution model to R/3 4.7.
The Function modules are marked as Remote enabled function modules.
Regards,
Ramesh K.Hi,
After creating the distribution model with 3 methods in ECC 6.0 (source system). Generated Partner profile automatically from BD64. Then distributed the distribution model to the other system i.e., SAP R/3 4.7 successfully. Then created partner profile from that system automatically.
Port, partner profiles,outbound parameters, inbound parameters were created successfully.
Thanks
Ramesh -
Http RFC destination for ECC to PI Connection Error
Hi,
While doing the proxy runtime configuration http RFC destination for ECC to PI .
I configure the RFC destination as below ---
Target Host -- PI Host
Service No -- 50000
Path Prefix --- /sap/XI/engine/?type=entry
Login Security Details
User Id -- PI user id
Password --- PI password
While doing the Connection Test , I got the error "ICM_HTTP_CONNECTION_FAILED"
I checked T-code in ECC system SMICM and ICM is in green status and I checked the services are activated in SICF transaction.
Please let me know how to resolve this issue.
regards,
RohitHi Rahul,
I checked all service are activated in SMICM and I configured the FQDN also.
Now I cofigured the Service No --- 8000(http port no of PI) instead of 50000(J2EEport no of )
Target Host --- hostname
and did a Connection test...then I am getting a status as "http reponse 500" and status text as "empty http request received".
pls let me know is it correct configured or not.
regards,
Rohit -
RFC destination for VMC (Virtual Machine Container)
Hi ,
Just loaded the CRM 70 system (customers, materials, contacts, ... ) and the KB from the back-office (ECC 6.0).
Calling the IPC via transaction COMMPR01 for a configurable material we have the following call in error :
FUNCTION ipc_get_knowledgebase.
CALL FUNCTION 'CFG_API_GET_KNOWLEDGEBASE' DESTINATION gv_vmc_dest
The RFC destination 'gv_vmc_dest' is empty . How to setup the RFC destination for VMC and the configuration so SAP know the RFC destination is the one to use for the VMC.
Thank youKlaus ,
Thank you , yes VMC is on the same CRM7.0 server , I do get the following short-dump .
Short text
"Found no handler for remote function module CFG_API_GET_KNOWLEDGEBASE"
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLIPC_API_CFG_COMMAND" had to be terminated because
it has
come across a statement that unfortunately cannot be executed.
The error occurred during an RFC call to another system.
In the target system, a short dump has been written as well.
More detailed information on the error cause can be found there.
Error analysis
An error occurred when executing a REMOTE FUNCTION CALL.
It was logged under the name "RFC_EXTERNAL_ABORT"
on the called page.
Trigger Location of Runtime Error
Program SAPLIPC_API_CFG_COMMAND
Include LIPC_API_CFG_COMMANDU07
Row 19
Module type (FUNCTION)
Module Name IPC_GET_KNOWLEDGEBASE -
RFC Destinations for Webdynpro models
Hello Everybody,
I am trying to use RFC Destinations for the Webdynpro model.
I have multiple systems with same RFCs. Based upon the inputs on the screen, I wanted to call respective RFC.
To achieve this, can I use RFC destinations in my webdynpro application?
I know, this could have been solved through XI in between.
That is not a valid path for me right now.
Have anybody used RFC Destinations in Webdynpro models?
I am getting exception: NoClassDefFound when I used DestinationService API for this.
Please help me.
Thanks in Advance,
BhavikHi Bhavik,
RightClick on the project->Goto Properties
try adding library "tcsecdestinations~interface" in the interface references of WebDynpro reference.
"tcsecdestinations~service " in the library references.
Regards, Anilkumar -
RFC Destinations for different clients on same host
Hi
I have an SRM and SUS on the same server and the clients are different. I have a flow from SRM to SUS and also back from SUS from SRM.
Do I have to create seperate RFC Destinations for different clients?
What about the other details likePort, Partner Profile, Logical system etc, do we have to maintain all for both of them seperately ?
Regards
AjithHi Ajith,
Do I have to create seperate RFC Destinations for different clients?
>>> A set of RFC Destination, Port & Parnter Profile is used to connect two systems between one client of source system to one client of Target system. Eg. from clinet 100 of XXX system to clinet 100 of YYY system. So, you need to take this into account and create seperate RFC destination for each different pair of connections.
What about the other details likePort, Partner Profile, Logical system etc, do we have to maintain all for both of them seperately ?
>>>In PI, you need to create BS for each different client of SRM & SUS system.
I hope this helps.
Regards, Gaurav. -
Creating RFC Destination For UNICODE system From NON-UNICODE system
hi
how can i create RFC Destination For UNICODE system( XI ) From NON-UNICODE (R/3) system.
thanks and regards
Mithlesh Kumar JhaHi,
Check these blogs , Hope u would be getting some idea
<b>/people/thomas.jung3/blog/2004/06/24/bsp-150-a-developer146s-journal-part-v-xml-for-rfcs
/people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
/people/sap.user72/blog/2004/06/19/how-i-started-with-sap-web-development</b>
Regards,
Sridhar Reddy
Maybe you are looking for
-
(I don't think I can set up an iCloud account on my computer because my macbook is too old to update to an operating system that supports iCloud, but could set it up on my brother's computer or something if it would be helpful.) This is just really f
-
Hello, I know this has been asked before, but I still have a question. How do I get the .key presentation ready for power point? if Quicktime is involved, how do I transfer it to Quicktime? Will everything work? only part? is it just a much smaller h
-
Can't load pages in Safari 5.1 (Windows 7)
I received an auto notice to upgrade to Safari to Version 5.1 on my Dell E1505 Laptop running Windows 7. After upgrading with the Apple Software Update tool, Safari has quit working. It will not load any page and just hangs. I used the windows con
-
Variables Not Appearing Correctly
I am using RoboHelp 8 and FrameMaker 9. In RoboHelp, I have linked to a FrameMaker book. I have encountered a problem that I cannot seem to resolve. All of my FrameMaker variables have imported correctly. However, in a few instances the following cod
-
Mapping an XML from an input element to Target
Hi , I have an XML coming in source Element as below : <?xml version="1.0" encoding="UTF-8"?> <ResponsePayload> <RespString><?xml version="1.0" encoding="UTF-8"?> <Devices> <Device>1</Device> <Name>1</Name> </Devices></RespString> </Response