RFC Trace in SAP R/3
Hello everybody,
I would like to know how to log a RFC Call on SAP R/3 and the data flow from a RFC.
Thanks for your helps,
Use t.code ST01 to activate RFC trace.
Use t.code ST11 to list the file of the trace. The file name should start with dev_rfc . ST11 is sorted by date so double click on the latest changed dev_rfc file.
Here where it gets kind of ugly.
Look for string ' **** Trace file opened at '
A few lines below that you'll find the data stream that was passed to and from SAP via a RFC. The human readable data is on the right side looking like this.
000000 05000000 05000331 00040000 00010331 .......1.......1
000010 03310004 00000002 03310503 00000503 .1.......1......
000020 05140010 C62F2556 F757D147 9D44C888 ....Æ/%V÷WÑG.DÈ.
000030 BB189C64 05140512 00000512 01300028 »..d.........0.(
000040 5341504C 5A48525F 50414E20 20202020 SAPLZHR_PAN
000050 20202020 20202020 20202020 20202020
000060 20202020 20202020 01300335 000C0000 .0.5....
000070 000A0000 00010000 00100335 03020008 ...........5....
000080 000000AB 00000010 03020304 00AB3132 ...«.........«12
000090 30373030 31313030 30313242 6C61636B 07001100012Black
0000a0 74686F72 6E652050 656E6E73 796C7661 thorne Pennsylva
0000b0 6E696120 20202020 20426C61 636B7468 nia Blackth
0000c0 6F726E65 20504120 20202020 20202020 orne PA
0000d0 20202020 20202034 32332053 2E204D61 423 S. Ma
0000e0 696E2053 742E2020 20202020 20202020 in St.
0000f0 20202020 20202020 20202020 20202031 1
000100 38383130 20202020 20417468 656E7320 8810 Athens
000110 20202020 20202020 20202020 20202020
000120 20205553 20504120 20202020 20202030 US PA 0
000130 30303030 33343634 35030403 0400AB31 000034645.....«1
000140 32303135 30313130 30303135 43415261 201501100015CARa
000150 64202020 20202020 20202020 20202020 d
000160 20202020 20202020 20204341 52616420 CARad
000170 20202020 20202020 20202020 20202020
000180 20202020 20202020 32363030 20566961 2600 Via
000190 20466F72 74756E61 2044722C 20537569 Fortuna Dr, Sui
0001a0 74652033 34302020 20202020 20202020 te 340
I hope this helps.
Mike V.
Similar Messages
-
Ingo,
I am getting below error message in BO Test environment when I refresh WebI document.
MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details
It was working when we migrated the objects initially. Subsequently when we try to refresh WebI document we are getting the above error message. It still works in BO Dev environment and the no of records are the same in Dev and Test.
I am able run the underlying BEx query in SAP BW Test environment and it does return data.
I checked ST22 and SM21 log, but no details there.
Is it related to Authorization on the Universe or Bex Query?
We are in the middle of UAT and not able to move forward. I would greatly appreciate your input.
Thanks
RamIngo,
I ran the zip file and added the required entries to registry.
And then I tried to reproduce the error, but the files are not generated instead I noticeed below error message on the server:
The description for Event ID ( 7939 ) in Source ( Crystal OLAP Client ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Registry Access Error: , [HKEY_LOCAL_MACHINE]Software\Business Objects\Suite 12.0\MDA\Log\Modules: The system cannot find the file specified..
Does tha t mean we do not have permissons to read the registry?
I would greatly appreciate your input.
Thanks in advance.
Ram -
RFC Connection From SAP to Iseries server
Hi,
I wish you can help me wtih this issue.
We are running ECC 6.0 on iseries v5r3m0.
We are trying to connect to an other non-SAP V5r1M0 system. We are using OSS note 146624 for this purpose.
Our first problem is that we cannot copy pgm files to a V5R1 system from V5R3 system. This can be solved with manual extraction kernel.
However our problem is that we are getting an "SQL Error 0" short dump when we start abap report. What ever the entry in DBCON table is we get this short dump.
Did anyone configured RFC connection to a non-SAP Iseries system? What methos should we use?
Best RegardsHello Volker,
it is some time ago, you posted the original message here. I have a follow on question and I hope you can help.
Apart from the redbook I can't find any documentation about rfc with iseries and that gives some examples but no real explanation about what you are supost to do
I followed the rfc example "ILE RPG evoked from ABAP" and I can get it to work, as long as I ask for only one parameter from the ABAP.
Do you know how to get multiple parameters from ABAP? Just repeating the RfcGetData with different parameters doesn't work. The ABAP will cancel with "no data to receive" on the second parameter.
Also do you know how to create a rfc-trace for these requests?
Best Regards.
Richard la Croix -
How to interpret RFC trace in ST05: Objects column
Dear all,
I recorded trace for a call of RFC enabled function module in ABAP NetWeaver from external JAVA app in TA ST05.
Here how does it look like:
I'm struggling to interpret it at the moment. My main issue is column called Objects. What is meaning of this column?
Thanks,
m./I figured this out. The column Objects represents remote computer (hostname) which was used to make RFC call to SAP.
-
How to display properly the SM59 RFC Trace
Hello,
I would like to see what are the parameter values of called RFC functions via the RFC trace I have activated via transaction SM59 (I am NOT talking of ST05).
The problem is that we get a kind of hexadecimal output (the RFC format I imagine).
I would like the parameter values to be displayed properly.
I don't have any other solution because I have to ask somebody by phone who is quite novice.
Did someone already try to do that? (have a program?)
Thx a lot
sandraHi,
please check Pran Bhas' blog <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/986">Log Configuration for a Web Dynpro application</a>.
Best regards,
Martin -
Hi
I have a stand alone J2ee application which communicates with SAP backend using JCO, I have a requirement to put the RFC export parameters to the RFC Trace files, Is there any API supporting this.
Regards
Abhijith YSclosing
-
Unable to open RFC connection to SAP System NSP
Hi all,
During installation i am getting an error which is as follows,
"Unable to open RFC connection to SAP System NSP.
Solution: Start the system."
And the second problem is that there are no connections shown in SAPGUI.
Please help me out.
Thanking you,
KranthiHI Kranthi,
Have you checked this thread NW Preview Installation error?
Regards -
JCO.Server Error while trying to execute a RFC program from SAP
Hi,
We are connecting to an external registered server program from SAP via Web Methods.
The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
Number - 10
LUname - dev01
TPName - sapgw00
User - KRAORANE
Status - CONNECTED
Symbolic - PRDB2B
Conversation - 86520353
Prot - REG
SAP return code - 0
CPIC rtn code - 0
The external program returns results as expected.
However sometimes the RFC fails and returns the message JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS.
We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
-KiranHi,
Please see the below links..
JCO.Server Error while trying to execute a RFC program from SAP
Re: JCO.Servcer could not find server function
Re: JCO.Server could not find server function 'SET_SLD_DATA'
/people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
Re: interfacing SAP with an existing java applications
http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
http://www.sapgenie.com/faq/jco.htm
Regards
Chilla.. -
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 -
Creating RFC Destination in SAP R/3
Trying to create an RFC destination in SAP R/3. Looked at few articles in creating them, but I am getting error while testing. It says that the "Program" couldn't not be found. I tried with all options, "Registered in Server Program", "Start on Application Server" etc.,
Is there a place to register a "Program"? Is this program specific to my XI server? How should this program be created or registered.
Any help is greatly appreciated!
Thanks
Satyaone more hit:
http://server:port/rwb/index.jsp
message monitoring
BTW
you have created everything in XI repository & configured everything in xi directory haven't you?
if not you can try this document:
"Validating a Connection Between R/3 and SAP XI with RFC"
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/validating a connection between sap r3 and sap xi with rfc.pdf
by Sridhar Rajan Natarajan
Regards,
michal
Message was edited by: Michal Krawczyk -
Invoke MII Transaction thru RFC Call from SAP
Hi,
We want to get the data from Oracle DB table thru MII (12.0.2).
We need to use RFC call from SAP to MII.
Is it possible to invoke the MII transaction thru RFC by setting in Message Listener?
We have used iDoc messages but not tried with RFC.
How to do that?
Regards,
SenthilI feel MII doesn't have anything equivalent to RFC in ECC. You may try web services in an ABAP program
Hope the article below helps you
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9f101377-0c01-0010-269f-c3ee905d583b&overridelayout=true
Regards,
Musarrat -
Number of remote RFC connections to SAP from third party application
Hi All,
We are using an external application which is using the JCO API to make a connection to the SAP server to pass invoices. But the connections are note properly closed after invoking the RFCs and SAP seems to be not able to handle further requests once the numer of connections reach the maximum limit.
Could you tell whether there is a max limit on the number of connections opened to SAP from remote function calls from a third party product?
Is there anyway by which we can make sure that connections are properly closed in SAP after the each remote call?
Thanks in advance for your pointers.
Regards
ArunDear Arun,
Here are the parameter settings which you can do to set up RFC connections to SAP servers.
http://help.sap.com/saphelp_nw70/helpdata/en/c3/ce70a5cf0ab1499bfbf464e6e92de0/frameset.htm
This will resolve all your problems.
Thanks & Regards
Vivek -
SWCV still contains IDocs/RFCs from an SAP system
Hi
I have imported Idoc to a SWCV. Now am trying to create one more namespace under it. When I try to create another namespace, it automatically selects the check button Import of Idoc and RFC interfaces from SAP systems permitted. If I select not permitted and try to create namespace it gives me this message
Unable to save object XYZ , 1.0 of ABC
Indicator cannot be undone since the software component version still contains IDocs/RFCs from an SAP system
Delete the objects first.
Is it possible for me to create another namespace under a SWCV, to which I have already imported Idoc, by selecting the option " Not permitted ". I want to create another namespace and I don't want to select that option as I have already imported IdocHi,
You no need to touch that check box, you can still create the namespace under software component.
Just double click lick on software component, goto edit mode and click on + symbol to insert namespace and save then activate.
Note:- As you have already imported the RFC and IDoc under your software component(not namspace as you mentioned), you keep that check box import of RFC and IDocs permitted. Dont try to uncheck that.
thanks,
madhu -
Launch a RFC in a SAP system from Redwood CPS
Hi,
How can I launch a rfc in a SAP system from Redwood ?
Ex : in SE37, the function DATE_GET_WEEK, with a date (DD.MM.YYYY) as input parameter returns the corresponding week (YYYYWW)
Regards.Hi,
SAP CPS uses an RFC to communicate with a target SAP system via the XBP interface so that Jobs can be executed. The CPS executable only knows of the calls that are appropriate to that interface or function modules created when CPS transports are loaded. If there was an RFC type interface that exposed your function to an external executable then of course CPS could execute the executable.
Regards,
Simon -
HI,
I need an rfc which fetches sap component version ( ECC 6.0 or 5.0 or 4.7 or 4.6......etc ).
I know we can look in system --> status --> component version.
But i want this data to be passed to external system through rfc or bapi.
I can create custom one which does this but we need standard to work this out.
Is there any such...!!
Regards.On old version there was a system field sy-saprl, alas it is no longer in use. Looking at OSS, i found [ Note 542759 - Replacement for SY-SAPRL|https://service.sap.com/sap/support/notes/542759]
which use a
CALL FUNCTION 'STRUCPACK_RELEASE_GET'
EXPORTING
I_NAME_EXTENSION = 'SAP_BASIS'
IMPORTING
E_RELEASE = l_saprel
EXCEPTIONS
STRUCPACK_NOT_INSTALLED = 1
NO_TSYST_ENTRY = 2
OTHERS = 3.
Depending on you system you may build a RFC enabled FM which return sy-saprl or l_saprel(4).
NB: RFC_GET_SYSTEM_INFO and STRUCPACK_RELEASE_GET did not exist in older versions, but there was a RFC_GET_SAP_SYSTEM_PARAMETERS which returned sy-saprl of course.
So you may (caller) try to call one of the RFC FM and, if it fails, call the other one, or build a custiomer RFC FM (called) which try to call the "modern" FM and if it fails return sy-saprl.
Return
Maybe you are looking for
-
Question about merging 2 Companies in SAP
Hi, our client wants to merge 2 Companies, the company that is going to disapiar is not in SAP. Our approach is to post the account balances and movements into SAP posting them in the SAP Co.COde, ant that is fine, the problem is that they want to ge
-
I am doing an IDOC to file scenario... When ever i am sending an idoc....i am getting this error.. com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_ECC_trion_Hetr :RuntimeException in Message-Mapping t
-
Allow Repeated Key values in WEB
Does anyone know how to turn on Repeating key values in the WEB. This functionality works from the Properties in BEX, but does not appear to be available via the WEB.
-
When I open a HTML document in Safari rather then getting an image, I get a ? in a box. Why is this and how can I change it to get the images back?
-
How Much WIll This Cost Me?
I currently have the cheapest individual iPhone plan using a first generation iPhone. This is the only thing I have with AT&T. The rest of the family is with T-Mobile. Here's what I want to do: Cancel all the T-Mobile accounts (they're out of contrac