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.
Similar Messages
-
ST05 LOBSTA what is this and how to interpret it.
Hi all,
there is an object LOBSTA in sql trace called LOBSTA, which has quite big execution time and points to some Classes. Have you any idea how to interpret this object and what to do to improve execution times on it.For example:
12:03:05.098 1.056 CL_GUI_TEXTEDIT===============CP REPOTEXT LOBSTA 234 0 0 0 R/3 OCILobRead2(BLOB locator=076015B8, bufln=65536, piece=FIRST_PIECE) -> amt = ?
19:57:56.246 975 CL_GUI_TEXTEDIT===============CP REPOTEXT LOBSTA 237 0 0 0 R/3 OCILobRead2(BLOB locator=077915B8, bufln=65536, piece=FIRST_PIECE) -> amt = ?
12:03:04.119 965 CL_GUI_TEXTEDIT===============CP REPOTEXT LOBSTA 234 0 0 0 R/3 OCILobRead2(BLOB locator=076015B8, bufln=65536, piece=FIRST_PIECE) -> amt = ?
19:58:56.366 862 CL_GUI_TEXTEDIT===============CP REPOTEXT LOBSTA 237 0 0 0 R/3 OCILobRead2(BLOB locator=077915B8, bufln=65536, piece=FIRST_PIECE) -> amt = ? -
How can I trace creation of objects?
I am wondering how I can trace creation of objects with new. For example:
interface CreationListener {
void objectCreated(Object o);
class CreationNotifier {
static void registerCreationListener(Class cls, CreationListener listener) {
// registers `listener' to be notified after creating any object of class `cls'
class Test {
public static void main(String[] args) {
CreationNotifier.registerCreationListener(Integer.class, new CreationListener() {
public void objectCreated(Object o) {
System.out.println("Created Integer " + ((Integer)o).intValue());
new Integer(2); // Now I would expect to see `Created Integer 2' on my console...
}In other ways I want to get informed about every object of the specified class that gets created
throughout the application.
Does anyone have an idea about it? I was trying to find something appropriate in SecurityManager
but I failed :(
Please help!I think you did not understand exactly what I meant. Your solution is only good for classes written by
me and I wanted to catch all object constructions in any class, e.g. one that I have only in a binary form.
Maybe Hashtable is
not the right data structure but I got to go back to
work :-) Let me know if you come up with a better
implementation.
-- Niladri.I created a WeakHashSet class on top of WeakHashMap which uses one static object as a value and really cares only about the keys. In the registrating class I have a HashMap with keys of type Class and values of WeakHashSet. The register method is simple:
public void register(Object o) {
if (o == null) return;
if (!map.containsKey(o.getClass())) // this is the first object of this class being registered
map.put(o.getClass(), new WeakHashSet());
((WeakHashSet)map.get(o.getClass())).add(o); // WeakHashSet implements Set interface
}This design ensures (because of using WeakHashMap) that I only have live objects in my structure after running GC (in fact, I call System.gc() in methods to find the live objects of a specific class).
As you can see, my only problem is to have the object registration automate for classes that I have not written (and do not have sources).
And using the profiler is not portable (as I guess) - in examples for JProbe they used DLL's and UNIX shared objects. And that requires unusual switches when starting JVM. I would like to have an all-Java language solution as the code fragments which I have described come from a library which I am writing now and I should not make the users of it depend on switches or dynamic libraries...
Anyway, thanks for your good will. :-) -
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 -
How to monitor RFC to JDBC scenario?
How to monitor RFC to JDBC scenario
Hello,
I have update_insert scenario from RFC to Oracle database.
In TOC SXMB_MONI I have black and white flag.
In RWB I found for this scenario only successful status.
But in the database I found only 2 records from the 15 that I sent.
How can I monitor this problem?
What are the steps to investigate this situation?
Have a way to see the exact statement that I sent to the database?
Regards
EladHi Elad,
If nothing can be seen in the Adapter monitor...go to the Database.
Oracle has various developer\system tools that can allow you to get information.
For example Oracle has the TOAD tool which allows you to get the SQL trace of the treatment the XI actually send.
see if the SQL interpreted by the JDBC adapter was really what you meant.
Good luck.
Nimrod.G -
RE: log trace on Service Object
I haven't tried myself; but got a copy from someone of part of technote
10398 which says (the minimum you need is:)
trc:in:1 Prints out information about interpreter state object.
10 - Print method entry/exit
trc:in:2 Trace the interpretation of method invocations and exception
handling
2 - Prints entry/exit and exceptions
trc:in:51:1 Traces method entry/exit by task
trc:in:54:1 Traces method entry/exit by application
Try it.
-----Original Message-----
From: Eric Abécassis [mailto:[email protected]]
Sent: Tuesday, April 13, 1999 10:24 AM
To: Forte User List
Subject: log trace on Service Object
Hi Everybody,
I would like to set log trace on each call (method entry and exit) on a
Service Object, but I didn't find any log flag which helps me.
Does someone have any ideas on how to do that ?
Thank you for your help !
Eric Abécassis <[email protected]>
Senior Architect
Sema Group DTS
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi Eric,
You can find on http://perso.club-internet.fr/dnguyen/ a little tool called CodeAdd which adds Entry and Return trace. I fact, you
can use it to add any kind of code at the beginning and the end of your methods.
It also allows you to add a pre-formated comments header in you code.
In a further version, It may be possible to replace a code sequence from your methods. For instance, you may add a trace class and
change a task.Part.LogMgr.Putline by a call to your own class, or need to suppress some lines.
Just be carefull to use the tool on a local backupo of your repository : CodeAdd updates your methods directly in the repository.
Hope this helps,
Daniel Nguyen
Freelance Forte Consultant
Url : http://perso.club-internet.fr/dnguyen/
Eric =?iso-8859-1?Q?Ab=E9cassis?= a écrit:
Hi Everybody,
I would like to set log trace on each call (method entry and exit) on a
Service Object, but I didn't find any log flag which helps me.
Does someone have any ideas on how to do that ?
Thank you for your help !
Eric Abécassis <[email protected]>
Senior Architect
Sema Group DTS
Eric Abécassis <[email protected]>
Senior Architect
Sema Group DTS
Eric Abécassis
Senior Architect <[email protected]>
Sema Group DTS Courrier HTML
les Algorithmes - Pythagore A route des Lucioles, BP 279;Sophia Antipolis;;06905;France Tél. cellulaire: +33 (0) 6 62 36 68 83
Télécopie: +33 (0) 4 93 95 xx xx
Bureau: +33 (0) 4 93 95 46 50
Informations supplémentaires:
le nom ABECASSIS
Prénom Eric
Version 2.1-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
RFC trace with active filter...
Hi All,
I need to activate RFC trace for a particular RFC connection with a particular user name.
If I activate this trace from st05, what are things that i need to take care before & after activating trace, ex: Space related issues, etc...
Plz share ur experience & thoughts.
Regards
Srinivas KIt depends on what all that user is doing and how long you want to keep the trace active. If it is a single user who will hit the RFC connection one time, then it is probably no big deal to just run it on the fly. If it is a system user that multiple external programs use heavily throughout the day, you may want to adjust the following parameters accordingly:
rstr/max_files
rstr/max_diskspace -
How to get Date Format from Local Object.
Hi All,
I am new to Web Channel.
I need to know Date format From date of locale.
suppose there is a date "01/25/2010" date in date field I want to get string "mm/dd/yyyy". Actually I have to pass date format to backend when I call RFC.
Is there any way to get Date format from "Locale" object. I should get date format for local object
I get local object from "UserSessionData" object but how to get Date format from it.
I am not looking for Date value. I am looking for current local date format ("mm/dd/yyyy or dd/mm/yyyy or mon/dd/yyyy) whatever local date format. I could not find example which show how to get date format from "Locale" object.
Any help will be appreciated with rewards.
Regards.
Web ChannelHi,
You can get it from "User" or "Shop" business object.
Try to get User or Shop Business Object as shown below.
BusinessObjectManager bom = (BusinessObjectManager) userSessionData.getBOM(BusinessObjectManager.ISACORE_BOM);
User user = bom.getUser();
char decimalNotation = user.getDecimalPointFormat().getGroupingSeparator();
If you are seeing "1,234.00" then above code will return "."
I hope this information help you to resolve your issue.
eCommerce Developer. -
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. -
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 -
Hi ,
How to use SQL Tracer..(ST05).
Thanks,
SubbuHi,
ST05: SQL trace
1.create a small ABAP/4 program that contains only the select statement. Before proceeding, test it to ensure that it works.
2.Open that program in the editor so that it is ready and waiting to execute.
3.Open a new session using the menu path System->Create session.
4.Run transaction ST05 (enter /nst05-zero-five, not oh-five-in the Command field, or choose the menu path System->Utilities->SQL Trace). The Trace SQL Database Requests screen is displayed.
5.If the Trace SQL Status Information box reads Trace SQL is switched off, go to step 7.
6.At this point, the Trace SQL Status Information box contains Trace SQL switched on by, followed by the user id who turned on the trace and the date and time it was started. You must switch it off before you can proceed. If the trace was started within the past hour, it is possible that it is still being used. Contact the indicated user or try again later. If the trace was started hours or days ago, the user probably left it on by mistake and it can be safely turned off. To turn off the trace, press the Trace Off pushbutton. The message in the Trace SQL Status Information box should now read Trace SQL is switched off.
7.Press the Trace On pushbutton. The Trace SQL Database Requests dialog box is displayed. The DB-Trace for User field should contain your user ID. If your user ID is not in this field, enter it now.
8.Press the OK button. You are returned to the Trace SQL Database Requests screen and the status information reads Trace SQL switched on by, indicating that you turned on the trace.
9.Switch back to the window containing your editor session (the one with your program waiting to execute).
10.Press F8 to run your program. (Only press F8, do not do anything else, do not even press the Back button.)
11.When your program has run and the hourglass is no longer displayed, switch back to the trace window.
12.Press the Trace Off pushbutton. The status information reads Trace SQL is switched off.
13.Press the List Trace pushbutton. The Trace SQL Database Requests dialog box is displayed. The fields on this screen will already contain values.
14.Press the OK button. You might need to wait a little while, at most a couple of minutes. The Trace SQL: List Database Requests screen is displayed.
15.Type %sc in the Command field and press the Enter key. The Find dialog box is displayed.
16.Type the name of the table you are tracing in the Search For field. (This is the table named in the select statement in your ABAP/4 program.)
17.Press the Find button. A search results list should be displayed with your table name highlighted.
18.Click on the first highlighted table name. You are returned to the Trace SQL: List Database Requests screen. Your cursor is positioned on the first line containing your table name. To the right of it, in the Operation column, should be the word PREPARE, OPEN, or REOPEN.
19.Press the Explain SQL button on the Application toolbar. The Show Execution Plan for SQL Statement screen is displayed.
20.Scroll down to the execution plan. The index used will be displayed in blue.
Jogdand M B -
How to execute sql qurery in st05
how to execute sql qurery in st05
thanks in advanced.Hi,
do this....
1.create a small ABAP/4 program that contains only the select statement. Before proceeding, test it to ensure that it works.
2.Open that program in the editor so that it is ready and waiting to execute.
3.Open a new session using the menu path System->Create session.
4.Run transaction ST05 (enter /nst05-zero-five, not oh-five-in the Command field, or choose the menu path System->Utilities->SQL Trace). The Trace SQL Database Requests screen is displayed.
5.If the Trace SQL Status Information box reads Trace SQL is switched off, go to step 7.
6.At this point, the Trace SQL Status Information box contains Trace SQL switched on by, followed by the user id who turned on the trace and the date and time it was started. You must switch it off before you can proceed. If the trace was started within the past hour, it is possible that it is still being used. Contact the indicated user or try again later. If the trace was started hours or days ago, the user probably left it on by mistake and it can be safely turned off. To turn off the trace, press the Trace Off pushbutton. The message in the Trace SQL Status Information box should now read Trace SQL is switched off.
7.Press the Trace On pushbutton. The Trace SQL Database Requests dialog box is displayed. The DB-Trace for User field should contain your user ID. If your user ID is not in this field, enter it now.
8.Press the OK button. You are returned to the Trace SQL Database Requests screen and the status information reads Trace SQL switched on by, indicating that you turned on the trace.
9.Switch back to the window containing your editor session (the one with your program waiting to execute).
10.Press F8 to run your program. (Only press F8, do not do anything else, do not even press the Back button.)
11.When your program has run and the hourglass is no longer displayed, switch back to the trace window.
12.Press the Trace Off pushbutton. The status information reads Trace SQL is switched off.
13.Press the List Trace pushbutton. The Trace SQL Database Requests dialog box is displayed. The fields on this screen will already contain values.
14.Press the OK button. You might need to wait a little while, at most a couple of minutes. The Trace SQL: List Database Requests screen is displayed.
15.Type %sc in the Command field and press the Enter key. The Find dialog box is displayed.
16.Type the name of the table you are tracing in the Search For field. (This is the table named in the select statement in your ABAP/4 program.)
17.Press the Find button. A search results list should be displayed with your table name highlighted.
18.Click on the first highlighted table name. You are returned to the Trace SQL: List Database Requests screen. Your cursor is positioned on the first line containing your table name. To the right of it, in the Operation column, should be the word PREPARE, OPEN, or REOPEN.
19.Press the Explain SQL button on the Application toolbar. The Show Execution Plan for SQL Statement screen is displayed.
20.Scroll down to the execution plan. The index used will be displayed in blue. -
Hi experts,
does anyone know, how I can delete RFC-Trace files (dev_rfc...) particulary?
I don't like to delete the whole trace like with TA RSRFCTRC.
And also I don't would like to delete them via OS.
Is there no function like ST11 for workproces-logs (they can be deleted from ST11, dev_rfcs not)?
Thx in advance for any tip.thx for the fast answers.
However, this is the same like Ta RSRFCTRC.
So I only can delete all rfc trace files.
Isn't there a possibility to delete the files singular?
thx -
Firefox hangs on opening requiring force quit I have snow leopard Mac It even hangs when I try safe mode. I need to know how to remove all traces of firefox on my mac so I can reinstall. I have tried terminal as advised on firefox webpage. Please advise me
== This happened ==
Every time Firefox opened
== I tried to update firefox add-ons ==
== User Agent ==
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7Try a new profile. See [[Recovering important data from an old profile]]
-
How can I insert values from table object into a regular table
I have a table named "ITEM", an object "T_ITEM_OBJ", a table object "ITEM_TBL" and a stored procedure as below.
CREATE TABLE ITEM
ITEMID VARCHAR2(10) NOT NULL,
PRODUCTID VARCHAR2(10) NOT NULL,
LISTPRICE NUMBER(10,2),
UNITCOST NUMBER(10,2),
SUPPLIER INTEGER,
STATUS VARCHAR2(2),
ATTR1 VARCHAR2(80),
ATTR2 VARCHAR2(80),
ATTR3 VARCHAR2(80),
ATTR4 VARCHAR2(80),
ATTR5 VARCHAR2(80)
TYPE T_ITEM_OBJ AS OBJECT
ITEMID VARCHAR2(10),
PRODUCTID VARCHAR2(10),
LISTPRICE NUMBER(10,2),
UNITCOST NUMBER(10,2),
SUPPLIER INTEGER,
STATUS VARCHAR2(2),
ATTR1 VARCHAR2(80),
ATTR2 VARCHAR2(80),
ATTR3 VARCHAR2(80),
ATTR4 VARCHAR2(80),
ATTR5 VARCHAR2(80)
TYPE ITEM_TBL AS TABLE OF T_ITEM_OBJ;
PROCEDURE InsertItemByObj(p_item_tbl IN ITEM_TBL, p_Count OUT PLS_INTEGER);
When I pass values from my java code through JDBC to this store procedure, how can I insert values from the "p_item_tbl" table object into ITEM table?
In the stored procedure, I wrote the code as below but it doesn't work at all even I can see values if I use something like p_item_tbl(1).itemid. How can I fix the problem?
INSERT INTO ITEM
ITEMID,
PRODUCTID,
LISTPRICE,
UNITCOST,
STATUS,
SUPPLIER,
ATTR1
) SELECT ITEMID, PRODUCTID, LISTPRICE,
UNITCOST, STATUS, SUPPLIER, ATTR1
FROM TABLE( CAST(p_item_tbl AS ITEM_TBL) ) it
WHERE it.ITEMID != NULL;
COMMIT;
Also, how can I count the number of objects in the table object p_item_tbl? and how can I use whole-loop or for-loop to retrieve values from the table object?
Thanks.Sigh. I answered this in your other How can I convert table object into table record format?.
Please do not open multiple threads. It just confuses people and makes the trreads hard to follow. Also, please remember we are not Oracle employees, we are all volunteers here. We answer questions if we can, when we can. There is no SLA so please be patient.
Thank you for your future co-operation.
Cheers, APC
Maybe you are looking for
-
All my events in my calendar have disappeared after it updated! Please help!
Thunderbird updated and now all my events are gone! I updated lightening, but the events are still missing. I have a blank calendar.. My Thunderbird is 31.1.1 My lightening is 3.3.1 Thank you
-
Can no longer attach pdf files into email.
I recently purchased a new computer with Windows 8.1 as the OS. Seems that I am no longer able to attach PDF files into any email. Any clues as to what has gone wrong?
-
Is it possible to recover items you have EMPTIED in the Trash?
I can't believe I did this but I did- please any help???
-
Overall video lightening in Premiere CS6 when working with dark complexions
Presently working on a project in Premiere CS6 shot "live to tape" that was originally planned as "should not" need any post production work. But out of our control and literally in the last few minutes before the show started, the lighting was chan
-
Portal Content error when opening BEx Portfolio in EP
I am trying to open BEx portfolio but an error is coming when i tried to opne it. The error is as below : Portal runtime error. An exception occurred while processing your request. Send the exception ID to your portal administrator. Exception ID: 02: