RFC help!
Hi Experts,
Can anyone explain me about the Rfc usage in our normal abap editor how can we call and create our own RFC ..plz it is urgent...
thanks,
Shahed Khan
Hi Shahed,
RFC: is the Remote Function Call it is a call to the function module running in a system different from the collers..
we hav 3 types of rfcs 1. Synchronous RFC.
2. Asynchronous RFC
3. transactional Rfc.
Synchronous RFc:
while sendin the request from one sever to the other it will wait till the status is recieved.
Asynchroous Rfc:
while sending the request frm ione server to the other it will not wait for the status .
Transactional Rfc:
it sends the request from one server to the other if the server is down it will store the data and when the server is up it again sends the request.
Rfc logs can be checked in Sm58.
to make settings for rfc go tcodeSm59.
to create our own rfc connection:
goto se37 create function group and then create a function module in atttributes tab select radio button ---> Remote enbled then only u can use rfc for other servers.
In import tab:
imagine i want to take kna1 table in tht kunnar filed then
gf_kunnr type kunnr.
Export:
gw_kna1 type kna1.
source code:
select single * into gw_kna1
from kna1
where kunnr = gf_kunnr.
now activate.
Now goto sm59 make settings there ..
Now create the executable program: in se38:
so we need to call the function module:
Call function 'z_function module ' Destination 'zrfcsm59'
here z_function module will be the name if function module which we have created in se37 and zrfcsm59 will be the rfc connection which we hav created in sm59.
then use this in this way ..
Hope u understood try this it will solve ur problem/
Regards,
Sana.
Reward points if found helpful..
Similar Messages
-
Deserializing an XML to object in an RFC : HELP
The requirement in my project is that I pass the Serialized XML String to a Remote Function Module by calling the RFC. In the RFC, I need to deserialize the XML to corresponding class instances/Objects.
CALL TRANSFORMATION id
SOURCE XML i_xml
RESULT ref = O2 .
But this stmt throws an exception in d RFC stating
XML_INVALID_REF A non-existent objectID was referenced (property href).
I have no ideas of getting this work. Please help me if u have any information about it. Looking fwd.. U can as well mail me ur inputs to [email protected]
Thanks,
Srikanthi am not sure about deserializing xml ..check this blog ..it has some information about it..
/people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1
<b>reward if useful..</b>
Message was edited by: Ashok Kumar Prithiviraj -
SAP CRM DECOUPLING - NEEDS BAPI AND RFC HELP
Rt now we are working on Decoupling project.I will explain you the scenario .
Client has sap 4.6 C and CRM 2.0 connected with CRM middleware.
Client is upgrading SAP 4.6 C to ECC 6.0 but not upgrading crm2.0 .
Therefore ECC 6.0 will not suport middleware and we need to restore the connection between SAP ecc 6.0 and crm 2.0 without using middleware.
we will be using bdc rfc bapi and idoc and change pointers to establish the connection and restore the data flow.
Can anyone help me if you have some idea i need the bapi or function module that is used for creating products in CRM 2.0 .Hi james
I have some documents on CRM please give me ur mail id i will send it to you. -
SM59 RFC Help required.
Hi,
I want to save the file to my local machine when the output is issued. I want to use EDI.
Please help me in configuration.
I have configured the partner profile in WE20. I have created the File Port and specified the directory path as d drive.
I am not able to create the RFC connection in SM69 usint TCP/IP : connection type T.
Can anyone help me out?
point will be rewarded for help.
Thanks in advance.hi
Type T destinations are connections to external programs that use the RFC API to receive 'Remote Function Calls'. You must specify the host name and the pathname of the program to be started. The communication method depends on how you select the program location:
'Explicit' selection
In this case, the program is started either by the standard gateway program for the system or by the explicitly specified gateway (gwrd) via 'remote shell'.
Ensure that the computer with the gateway process can access the specified computer by entering '/etc/ping <host name>'.
In order to be able to start a program on another computer using 'remote shell', the target system must fulfil certain conditions. The user ID of the gateway process must exist and a file called .rhosts must also be present in the user's home diretory. The file .rhosts must contain the name of the calling computer. To check this, logon to the computer containing the gateway process with the appropriate user ID and enter the command 'remsh <host name> <program name>'. The <host name> and <program name> must be the same as in SM59. (If you call an RFC server program without any parameters, the RfcAccept call always returns an error code (RFC_HANDLE_NULL) and the program terminates at once.)
'Server'
By entering the 'server', you start the program from the SAP application server.
First, ensure that the program can be accessed from the SAP application server and that the SAP application server has the authorization to start the program.
To check this, logon with the user ID of the SAP application server (e.g. c11adm). If possible, go into the 'work' directory of the SAP application server ('/usr/sap/.../D.../work') and try to start the RFC server program manually from there. (As in the above case, if you call an RFC server program without parameters, the RfcAccept call always returns an error code (RFC_HANDLE_NULL) and the program terminates at once.)
'User'
By entering the 'user', the program is started by 'SAPGUI', i.e. under the user's ID and environment.
Ensure that you can access the program with 'SAPGUI'/'SAPTEMU'.
Ensure that 'SAPGUI' has the authorization to start the program.
To check this, simply call the RFC server program in your environment.
The function call can also be asynchronous (CALL FUNCTION ... IN BACKGROUND TASK DESTINATION ...).
reward if u find use ful
regards
Nagesh.Paruchuri -
Hi,
I want to import a BAPI from a R/3 system.
I have created a Software catalog and imported it into Integration Repository, also created a namespace with selecting the option for RFC enabled.
Now when I right click on RFC to import a RFC, I get only one SAP system , which is the XI server with its client.
I need my R/3 system ID and client to appear in this place. How can i do this ?
I have created the R/3 server in both technical system and also business system.
Thanks in advance.
Regards,
VivekHi Vivek,
Have You created Software component in Int. Repository. ?
If not create one <b>software Component</b>.
Than create <b>Software component version</b>.
In software Component version, you are having options for
Importing RFC and IDoc Interfaces
Click the radio button for Importing option.
Than below that there is an option maintaining the Connection data for Import.
Enter the <b>system name and client</b> data here OR you can provide the data while
importing the Interfaces.
Hope this helps.
Regards,
Vijay -
Hi XI Experts...
I am Beggining with XI and I am in a integration project with PP module of R/3 and I need to send the informetions of PP to SQL Server Database of Non-SAP System !
Someone send a documentation how to receive a RFC in a XI and insert this informations in SQL Server DataBase !
If Possible ...please ...send me a step by step like this:
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Thank's very much to atention and aid !
Best Regards.
MBoni.Marcelo
Go through this urls for step by step procedures:
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
You use this urls and bring your message to XI. From XI since you are using SQL Server you can use JDBC adapter. You can find out how to configure your JDBC adapter in https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1772. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Also go through this url to maintain your RFC destinations centrally:
/people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally
Also go through this SAP Notes: 730870 for FAQs on RFC.
Regards,
---Satish -
Hi Guys,
Would appreciate if someone can guide me on how to learn RFC.
Thnx
SidHI,
Check these threads out
RFC
RFC
RFC
Differences Between RFC & BAPIS
Regards,
Santosh -
Difference between tRFC and RFC
Hi Experts,
Can any one help me in details to differentiate tRFC from RFC in their application perspective.
And also let me know the role of ALE and BAPI in both the connection log.ie,Where we have to use ALE and BAPI.
Regards
KumarHi,
RFC = Remote Function Call and TRFC = Transactional Remote Function Call
Transactional RFC and Queued RFC are variants of the Remote Function Call that make the data transfer between different SAP R/3 systems more reliable and more secure.
Transactional RFC
http://help.sap.com/saphelp_nw04/helpdata/en/8b/ceea3b31aac554e10000000a114084/content.htm
RFC Help link
http://help.sap.com/saphelp_nw04/helpdata/en/b0/eae2a889e711d2956500a0c94260a5/frameset.htm
Refer BAPI & ALE
what is difference between BAPI and ALE
Re: ALE & BAPI communication
Re: bapi-ale interface
/Srinivas -
Mapping with multiple Adaptive rfc's
Hi Experts,
i have 4 radio buttons, i need to create a single adaptive rfc model, to which i need to create a one ECC system rfc and APO system rfc(multiple backend systems). how to add the two rfc systems of logical system name to a single logical system name or Meta data, so that i can assign to a single radio button.
In the same way for model data also if so how?
1. radio button(Ecc rfc and Apo rfc)
2.radio button (Ecc rfc and Apo rfc)
3.radio button(Ecc rfc and Apo rfc)
4.radio button (Ecc rfc and Apo rfc)
help me in doing step by step.
thanks in advance
Thanks&Regards
jayHi Bhargava,
thank you for your effort.
The node structure of web service looks like this:
NewAWS2Model
-Context
Number
NameFirst
NameLast
Street
HouseNo
PostCode
City
-NewOperartion
In
-Request_NewOperation
---NewOperation
---Response
-Response_NewOperation
This web service give no response back. He just starts the BPM Process. Everything works well, except for passing ALL values of the parameters in Context: Number, Name, Street...
When I have two streets, I want that two streets will be saved in parameter street and so on...
Additionally, here is the method created by application for this web service:
public void initRequest_NewOperation( ) {
//@@begin initRequest_NewOperation()
//$$begin Service Controller1(-482113598)
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model newAWS2ModelModel = createAndMapModelInstance_0("com.sap.demo.changedataportaldc.wd.models.newaws2model.NewAWS2Model");
com.sap.demo.changedataportaldc.wd.models.newaws2model.Request_NewOperation request_NewOperation = wdContext.nodeRequest_NewOperation().createAndAddRequest_NewOperationElement().modelObject();
com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation newOperation = new com.sap.demo.changedataportaldc.wd.models.newaws2model.NewOperation(newAWS2ModelModel);
request_NewOperation.setNewOperation(newOperation);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Context in = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Context(newAWS2ModelModel);
newOperation.setIn(in);
com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation response_1 = new com.sap.demo.changedataportaldc.wd.models.newaws2model.Response_NewOperation(newAWS2ModelModel);
request_NewOperation.setResponse(response_1);
I hope this are the inforamtion you need? Or is there something else?
Thank you very much
best regards
Anna -
File sent but no rows created in RFC
File - RFC
I can see no errors in the MM,
no errors in receiver adapter
receiver side CC is showing Green
the file is sent succesfully but I dont see any rows created in my RFC
help !!!!!
regards,
Nikhil.do u mean to say that you have no errors in the both the sender and receiver channels in CC monitoring?
checked by executing the code directly. does it create the rows?
have you done the content conversion on the sender side? if not:
this can help u:
http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm -
Difference among qRFC, tRFC and RFC?
Please help. I am sorry if this is too basic because I do not have too much experience on them.
Thanks a lot!Hi,
This is a much too vast subject to be explained with a few lines forum message.
You'll have to do a lot of reading and you could start here :
[RFC Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/22/042578488911d189490000e829fbbd/frameset.htm]
Regards,
Olivier -
Hi All,
1.how can i get the data into sproxy(application system) from integration builder(integration server)?.
2.how to do setting in TC SM59 for http destination for this?
3.pls give abap mapping scenario
Thanks & Regards,Hi Srinivas
<b>for more details check these also</b>
<b>How to use abap mapping in XI</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
<b>Have a look at this document...</b>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
Hi Refer this Pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
This Blog also
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
Help link - http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
<b>
An excellent How to guide on the same -</b> https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/15ecdf90-0201-0010-d792-941a3c3c30a4
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
https://wwwn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
https://websmp101.sap-ag.de/~sapdownload/011000358700003082332004E/HowToABAPMapping.pdf
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
/people/r.eijpe/blog
ABAP Mapping Vs Java Mapping.
Re: Message Mapping of type ABAP Class not being shown
<b>Start with this...........</b>
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
This document will help you to create ABAP Mapping .
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20abap-mapping%20in%20xi%203.0.pdf
/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Thanks!! -
I am making mapping with software Stylus, soon to transfer it to XSLT TOOL.
But this type of mapping this not working.
The tests with MM of XI were made and I do not have problems.
So that it can be happening?
The scenario is File - XI - RFC
Help me please...!<b><i>xmlns:sdn="http://sdn.sap.com/sapxsl"</i></b>
So that it is used this to header?
it is possible to use another one?
or is necessary a patch in XI so that it can record the data?
the scene finishes to OK and xml sent to R3 this correct one
MONI -> Technical Routing -> Payloads -> MainDocument
<?xml version="1.0" encoding="utf-8" ?>
- <ns1:Z_GL_IESICCSAP_DE023 xmlns:ns0="urn:vivesap:sap:legacy:sicc" xmlns:ns1="urn:sap-com:document:sap:rfc:functions" xmlns:sdn="http://sdn.sap.com/sapxsl">
- <IT_DOCTOS>
- <item>
<TIPPROC>10</TIPPROC>
<BLART />
<BLDAT>20021023</BLDAT>
<BUKRS>ERR</BUKRS>
<BUDAT>20021023</BUDAT>
<WAERS>01</WAERS>
<XBLNR>000000000369</XBLNR>
<BKTXT>037</BKTXT>
<WRBTR>0000000000075896</WRBTR>
<VALUT>20031019</VALUT>
<ZOUNR>000000000369</ZOUNR>
<SGTXT>WALDO MUNIZAGA NAVA XXXXXX</SGTXT>
</item>
</IT_DOCTOS>
</ns1:Z_GL_IESICCSAP_DE023>
But in the table the data is not recorded
Message was edited by: Ximena Gonzalez -
Encryption through bat file in SAP
dear all,
I want to call a *.bat file ( created in Java ) in mm ABAP program to encrypt the file for Bank use.
Can anyone plz help me in this, will RFC help in this? the file is located at local drive in PC.
how to give Input and Output file parameters??Hi,
You can use SM69 to define your command and run this command using MF SXPG_COMMAND_EXECUTE. But this can works if you upload the file on the server.
Regards -
Encryption through bat file.
dear all,
I want to call a *.bat file ( created in Java ) in mm ABAP program to encrypt the file for Bank use.
Can anyone plz help me in this, will RFC help in this? the file is located at local drive in PC.May be you can try these FM.
Use the following FM to encrypt
CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'
Use the following FM to decrypt
CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'
******Reward points,if found useful
Maybe you are looking for
-
The non-email address apple Id I have had for years, now won't work.
I have had an Apple ID for a long time and it has always worked on every Apple device I have until recently. This Apple ID was noot my email address just a random nickname. I just recently downloaded the latest software update and about the same ti
-
Error in F-48 for posing a Asset PO
Hi Gurus When an down payment is made against an Asset PO, the system is not allowing it for posting through F-48. Other than Asset PO the system is accepting for making down payment. Can any one of you suggest me through which transaction can i post
-
How can I install the Amazon Universal Wish List ?
I want to install the Amazon wish list button . This makes it possible to add items from any site to ones Amazon wish list. However , in order to do this one must " drag " the button on the wish list site to the bookmark icon. My knowledge being limi
-
Win 2000 doesn't show netware printers
I installed: A single Novell 5.0 Server with sp6a A Win 2000 PC with Novell client 4.92sp2 IP and IPX with some standard software as MS Office 2000, Adobe Acrobat Reader, Norman Antivirus, Java 1.5 and son more. Using the Windows printer wizard I cho
-
there is a picture of the itunes logo, and a usb cable that i can not get removed, how do I fix it?