<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RFC trace filtered on function name? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742008#M1674603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to collect in ST05 only the RFCs of a partical function module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on SAP_BASIS 730, in a BI system, and we want to trace the call stacks of &lt;STRONG&gt;all&lt;/STRONG&gt; RFC calls (of any user) of the function module RSAP_DATA_GENERATE. I tried to use the pattern "RSAP_DATA_GENERATE*" as filter for program name, but this didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is the impact on the overall system performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an alternative? SE30 with "special units"? How about performance in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 13:37:37 GMT</pubDate>
    <dc:creator>Ruediger_Plantiko</dc:creator>
    <dc:date>2012-04-10T13:37:37Z</dc:date>
    <item>
      <title>RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742008#M1674603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to collect in ST05 only the RFCs of a partical function module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on SAP_BASIS 730, in a BI system, and we want to trace the call stacks of &lt;STRONG&gt;all&lt;/STRONG&gt; RFC calls (of any user) of the function module RSAP_DATA_GENERATE. I tried to use the pattern "RSAP_DATA_GENERATE*" as filter for program name, but this didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is the impact on the overall system performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an alternative? SE30 with "special units"? How about performance in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 13:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742008#M1674603</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-04-10T13:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742009#M1674604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rüdiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tricky task, but I have a proposal.&lt;/P&gt;&lt;P&gt;Please try to use ST12 in mode User/Tasks. (ST-A/PI 01N SP1).&lt;/P&gt;&lt;P&gt;Switch the trace on for all users for RFC task types with many activations.&lt;/P&gt;&lt;P&gt;When you deactivate the trace after some time you'll get a list of ABAP traces recorded. This screen has a filter on function module. Please try to use this filter to collect only traces of your function module.&lt;/P&gt;&lt;P&gt;Please let me know if it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Greetings from former CRM support member. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; We worked a little bit together back in 2001 on CRM status management problem messages. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 14:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742009#M1674604</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2012-04-10T14:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742010#M1674605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks your ST12 suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I forgot to mention, however, that this is an outgoing RFC call. The ST12 dropdown explicitly speaks of "incoming RFC calls", and there is no option for outgoing RFC calls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, it would be nice to have the RFC function name filter work already in effect when the trace is recorded (to avoid massive data volumes). But it seems this is impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are afraid of the high data volume generated when switching ST05 on in the productive system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since we have all the job chains running in the Q system as well, we decided to switch the trace on there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Thanks for reminding me on good old CRM 1.0 times. Hope the children "CRM_STATUS_MAINTAIN_OW" et al. grew up properly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 07:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742010#M1674605</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-04-13T07:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742011#M1674606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rüdiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;true, only incoming RFCs can be traced in this way.&lt;/P&gt;&lt;P&gt;So you want to know where all the calls to "RSAP_DATA_GENERATE" originate from?&lt;/P&gt;&lt;P&gt;Hmm... I'm not 100% sure, but I guess that call stack trace in ST05 works also with RFC trace.&lt;/P&gt;&lt;P&gt;Did you get a proper result in Q-system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 09:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742011#M1674606</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2012-04-13T09:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742012#M1674607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Did you get a proper result in Q-system?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I can't tell you yet, since I found out that the menu item "Preview results without switching off the trace" doesn't work for RFC trace either&amp;nbsp; (apparently it works only for SQL trace). I can tell you more next week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wishing you a happy weekend,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 12:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742012#M1674607</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-04-13T12:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742013#M1674608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, same to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 15:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742013#M1674608</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2012-04-13T15:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742014#M1674609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rüdiger,&lt;/P&gt;&lt;P&gt;the answer to your first question ("Is it possible to collect in ST05 only the RFCs of a partical function module?") is unfortunately "no". The ST05 UI does not provide this - in fact the kernel API does not offer such a capability. The only filter options that apply to the recording of an RFC trace are those for user, work process number, and transaction xor program.&lt;/P&gt;&lt;P&gt;You mentioned that you want to avoid an alleged massive data volume when recording an RFC trace without filtering for the function module's name. I would not be too concerned about that. First of all, RFC trace records are relatively small - unlike SQL records, they do not contain any information on the variable names and values. But more importantly, the data volume is limited by the number and maximum size of the trace files which is controlled by profile parameters. Once that limit is reached, trace recording overwrites old trace files.&lt;/P&gt;&lt;P&gt;"Display Trace Without First Deactivating" works for all trace types, so you can start analyzing your unrestricted RFC trace while recording continues. And of course you can filter what you want to display.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Manfred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 07:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742014#M1674609</guid>
      <dc:creator>ManfredMensch</dc:creator>
      <dc:date>2012-04-17T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742015#M1674610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manfred and Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your explanations concerning the data storage of trace files. So there is no need to worry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Display trace without first deactivating" works fine for SQL trace, but not for RFC trace on our system (SAP_BASIS 702, Level 10). I just made a test, calling RFC_GET_SYSTEM_INFO and looking at the trace. Without deactivating it, "Display trace without first deactivating" shows an empty list. After deactivating, I find the trace record with "Display trace" as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Yuri: In the meantime, we found the malefactor. The RFC RSAP_DATA_GENERATE we were looking for, has been issued by the function &lt;SPAN style="font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;RSA1_OLTPSOURCE_GET_ALL. Starting this function in single test, the problem could be reproduced. Now, with a reproduceable problem, we can do our usual work and find a solution!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/95898" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 07:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742015#M1674610</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2012-04-24T07:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: RFC trace filtered on function name?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742016#M1674611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rüdiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad that you managed to identify the cause of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerning "Display trace without first deactivating": In YI2 (the SAP_BASIS 702 SP system) it works. Maybe the RFC was not yet finished when you pressed "Display trace without first deactivating".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manfred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 07:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-trace-filtered-on-function-name/m-p/8742016#M1674611</guid>
      <dc:creator>ManfredMensch</dc:creator>
      <dc:date>2012-04-24T07:54:25Z</dc:date>
    </item>
  </channel>
</rss>

