<?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 Re: ST01 trace = Return Code 4 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480691#M836731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pankaj. I understand that your question is answered and you solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Jurjen: Would you like to discuss this further? I still think that a role with this value in P_TCODE should not have the value in S_TCODE. Take a look at the SU24 indicators. Only P_TCODE is proposed. This indicates that the authorizations required to complete the transaction need to come from some other transaction.... the calling one! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also did a where-used-list on it: nothing, except possible "dynamic calls".... i.e. CALL SCREEN or CALL TRANSACTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 16:14:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T16:14:04Z</dc:date>
    <item>
      <title>ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480684#M836724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using transaction ST01, all return codes are 0 except for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_TCODE          RC=4         TCD=FCH8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RC=4 (no profile contained in user buffer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Panks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 09:35:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480684#M836724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480685#M836725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look for the role with FCH8 in the S_TCODE object (AGR_1251, filter on S_TCODE) and add the object P_TCODE with value FCH8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a role whit this object (P_TCODE) in it and assign the value FCH8. Generate the profile and assign the role to this user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 09:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480685#M836725</guid>
      <dc:creator>jurjen_heeck</dc:creator>
      <dc:date>2008-03-12T09:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480686#M836726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jurjen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for the reply. Error on my part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing was carried out in the wrong landscape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Auth. Obj. P_TCODE is defined with FCH8 in the correct landscape/client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We shall retest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 09:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480686#M836726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T09:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480687#M836727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Look for the role with FCH8 in the S_TCODE object (AGR_1251, filter on S_TCODE) and add the object P_TCODE with value FCH8.&lt;/P&gt;&lt;P&gt;This would be seem a bit illogical, to me. Why would the user need P_TCODE with FCH8, when they could start it directly via the ok-code field, checking S_TCODE? I would think that it would be required for a role which does not have FCH8 in S_TCODE, and that is assuming that FCH8 is at all an executable transaction code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius (not logged on).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 09:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480687#M836727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T09:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480688#M836728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &amp;gt; Look for the role with FCH8 in the S_TCODE object (AGR_1251, filter on S_TCODE) and add the object P_TCODE with value FCH8.&lt;/P&gt;&lt;P&gt;&amp;gt; This would be seem a bit illogical, to me. Why would the user need P_TCODE with FCH8, when they could start it directly via the ok-code field, checking S_TCODE? &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some HR transactions check both as far as I know. Going by the OP's sentence about the trace giving RC=0 except for P_TCODE I assumed the S_TCODE check was passed successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 10:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480688#M836728</guid>
      <dc:creator>jurjen_heeck</dc:creator>
      <dc:date>2008-03-12T10:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480689#M836729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be undesirable that the user can enter FCH8 (Reverse Check Payment!) directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see any HR related checks except possibly P_ORGIN, so would think that those checks are taken care of by the calling program, and FCH8 is called with a different screen (or without stopping in screen 800 at all).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was just a thought which occurred to me,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 10:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480689#M836729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480690#M836730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Some HR transactions check both as far as I know. Going by the OP's sentence about the trace giving RC=0 except for P_TCODE I assumed the S_TCODE check was passed successfully.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The S_TCODE code was checked and passed. You are right that certain HR transactions do check both S_TCODE and P_TCODE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 10:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480690#M836730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T10:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480691#M836731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pankaj. I understand that your question is answered and you solved the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Jurjen: Would you like to discuss this further? I still think that a role with this value in P_TCODE should not have the value in S_TCODE. Take a look at the SU24 indicators. Only P_TCODE is proposed. This indicates that the authorizations required to complete the transaction need to come from some other transaction.... the calling one! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also did a where-used-list on it: nothing, except possible "dynamic calls".... i.e. CALL SCREEN or CALL TRANSACTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 16:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480691#M836731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T16:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480692#M836732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; @ Jurjen: Would you like to discuss this further?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Sure, but what is 'this'?&lt;/P&gt;&lt;P&gt;&amp;gt; I still think that a role with this value in P_TCODE should not have the value in S_TCODE. Take a look at the SU24 indicators. Only P_TCODE is proposed. This indicates that the authorizations required to complete the transaction need to come from some other transaction.... the calling one! &lt;/P&gt;&lt;P&gt;I Haven't got a system at hand right now and must admit I do not know this transaction. The trace results Pankaj gave us suggested that P_TCODE was missing so it could have been a called transaction or S_TCODE was in the users' roles. (I expect the latter reading Pankaj 's responses)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I also did a where-used-list on it: nothing, except possible "dynamic calls".... i.e. CALL SCREEN or CALL TRANSACTION.&lt;/P&gt;&lt;P&gt;What point are you trying to make? That S_TCODE shouldn't be given to the user in this case? He/she already had it. The S_TCODE check passed, but P_TCODE check failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jurjen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 17:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480692#M836732</guid>
      <dc:creator>jurjen_heeck</dc:creator>
      <dc:date>2008-03-12T17:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: ST01 trace = Return Code 4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480693#M836733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jurjen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, I thought earlier it was going to be an area menu, but then I took a look and discovered it is a dialog transaction, and SU24 only proposes F_PAYR_BUK actvt 05 (void check information) for it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is often an indicator that other business transactions provide the required authorization to complete this transaction, or it is a "core transaction" for parameter transactions or generic use transactions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also checks P_TCODE object for this TCD value, and HR objects, if a special indicator in the payment file is set to flag it as HR relevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My instinct told me that the user is not meant to enter the transaction directly (hence no S_TCODE), but I might have been wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 19:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/st01-trace-return-code-4/m-p/3480693#M836733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T19:59:04Z</dc:date>
    </item>
  </channel>
</rss>

