‎2007 May 31 12:47 PM
What is debugging? How do you proceed the steps in your reports?
What are the parameters passed to fieldcatalog?
What are all the tools used for debugging and run time analysis?
What is RFC? What is its purpose?
‎2007 May 31 12:54 PM
‎2007 May 31 12:52 PM
Hi
For Debugging
Refer to this thread
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
Check these documents.
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
Look at the SAP help link below
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
RFC
RFC (Remote Function Call) is similar to the general SAP fun module: except that in the attributes you click the radio button: RFC enabled;
and you will be passing an Import parameter DESTINATION to it.
Other code and usage will be similar to any fun module;
Have a look at any fun module in SE37 to understand better about the different components of Fun modules;
Refer this link:
http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm
Reward points if useful
Regards
Anji
‎2007 May 31 12:54 PM
‎2007 May 31 12:55 PM
What is debugging? How do you proceed the steps in your reports?
Debugging is to check the program step by step.Even thought if you dont have any stantax errors,if you miss data somewhere,then you check step by step program lines.
If you have want to check from start,then type /h in command propmt and execute the report,then it will go to debug screen,then if u want to check step by step press f6,if you want to go inside perform then f5.
you can have so many options in debugging screen.
What are the parameters passed to fieldcatalog?
so many parameters we can pass,but mainly fieldname,fieldvalue,output name,if you want to add sum for that field,you can set do_sum = 'x' etc.
What are all the tools used for debugging and run time analysis?
debugging you dont use tool,you go in to debug screen by typing /h.
Runtime analysis is used for performance testing and tool is se30.
What is RFC? What is its purpose?
RFC is remote enabled function and its function module.
You can call this function module from difeerent system by configuring in sm59.
Thanks
‎2007 May 31 12:59 PM
Hi,
You use ST05, Trace Request, to do a SQL trace.
When using SQL trace, it is good to run the program in debugger and just before you execute the SQL, go to ST05 in another session and turn the trace on.
After, or when, the SQL is finished, you can turn the trace off.
Then click on List Trace to see the details.
This is the way to control the traces.
If you just turn the trace on and then execute the program, you will get everything and will be overflooded with unnecessary information.
For more information check the following link:
http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html
for Run Time Analysis:
http://www.sapbrain.com/TOOLS/RUNTIMEanalysis/SAP_runtime_analysis.html
Regards,
Bhaskar