<div dir="ltr">Thanks Jocelyn, I will check and come back to you.<br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 9:42 PM, Dart, Jocelyn <span dir="ltr">&lt;<a href="mailto:jocelyn.dart@sap.com">jocelyn.dart@sap.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-AU">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Ikhan, </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Sounds like you haven’t quite got everything there yet…
</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You really need to test it first from SE80 to make sure you have
set up your application and component configurations correctly.  If it’s
not working in SE80 it won’t work in the UWL.   </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Try using the admin test option on the context menu of the
application configuration – that will let you check/change the configuration
as you execute it. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">It might be the link between the application and component
config, or it might be you need to hide the UI element group and not just the
button. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards,</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Jocelyn </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>
[mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b>On Behalf Of </b>IKhan<br>
<b>Sent:</b> Wednesday, 6 January 2010 3:54 PM<div class="im"><br>
<b>To:</b> SAP Workflow Users&#39; Group<br>
</div><b>Subject:</b> [LIKELY JUNK]Re: [LIKELY JUNK]Re: [LIKELY JUNK]HCM P&amp;F -
How to disable reject button</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;">Hi Jocelyn,<br>
   Sorry, In step 3 i didn&#39;t create a new parameter
WDCONFIGURATIONID, it was already there, I just hard coded the value of the
that parameter to <span style="color: rgb(0, 0, 153);">ZTEST1(Application configuration
ID) for testing purpose. </span>I thought of testing this scenario in SE80
before moving to UWL, So I made the &quot;Save Draft&quot; buttton disabled
using the Component configuration, as the first page which is called when we
execute the webdynpro application asr_process_execute has this button. But
still doesn&#39;t work.  Is it mandatory to check this in UWL?<br>
<br>
Regards,<br>
IKhan</p>

<div>

<p class="MsoNormal">On Tue, Jan 5, 2010 at 9:02 AM, Dart, Jocelyn &lt;<a href="mailto:jocelyn.dart@sap.com" target="_blank">jocelyn.dart@sap.com</a>&gt; wrote:</p>

<div>

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Ikhan, </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Have you tested that your WD
Configuration works when you call the application directly from the test tool
in SE80? </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I think you may have misunderstood step
3.  You need to pass the appropriate parameter in the UWL configuration,
e.g. using the Dynamic Parameters property in SWFVISU.  If you look at
what parameter is generated when you use the test tool in SE80 against the
application configuration that might help. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You are NOT meant to change
ASR_PROCESS_EXECUTE itself to add a parameter directly. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards,</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Jcoelyn </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>]
<b>On Behalf Of </b>IKhan<br>
<b>Sent:</b> Sunday, 20 December 2009 6:55 PM</span></p>

<div>

<p class="MsoNormal"><span style="font-size: 10pt;" lang="EN-US"><br>
<b>To:</b> SAP Workflow Users&#39; Group</span></p>

</div>

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">Subject:</span></b><span style="font-size: 10pt;" lang="EN-US"> [LIKELY JUNK]Re: [LIKELY JUNK]HCM P&amp;F
- How to disable reject button</span></p>

</div>

<div>

<div>

<p class="MsoNormal"> </p>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;">Thanks
Jocelyn,<br>
  I did the configuration as mentioned in your trailing mail but
unfortunately didn&#39;t work. Please find below the config steps which I did, let
me know if I am missing anything.<br>
<br>
<span style="color: rgb(0, 0, 153);">1. Created a new Component configuration ZTEST for
the Webdynpro component HRASR00_PROCESS_EXECUTE  and changed the property
of the Reject button to &quot;Invisible&quot;.<br>
<br>
2. Created a new Application configuration ZTEST1 for the Webdynpro application
ASR_PROCESS_EXECUTE and included the component configuration in the application
configuration.<br>
<br>
3. Created an Application Parameter WDCONFIGURATIONID for the Webdynpro
application ASR_PROCESS_EXECUTE and hard coded its value as ZTEST1(Application
configuration ID) for testing purpose.<br>
<br>
4. Tried to test the application from Portal, but didn&#39;t work.</span> I don&#39;t
think the UWL customization is required at this point as we have hardcoded the <span style="color: rgb(0, 0, 153);">WDCONFIGURATIONID in the Webdynpro Application.</span><br>
<br>
<br>
Regards,<br>
IKhan</p>

<div>

<p class="MsoNormal">On
Fri, Dec 18, 2009 at 8:08 AM, Dart, Jocelyn &lt;<a href="mailto:jocelyn.dart@sap.com" target="_blank">jocelyn.dart@sap.com</a>&gt;
wrote:</p>

<div>

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi IKhan, </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Have done this before on site. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Use Web Dynpro Configuration to create a
configuration for the component that hides the button, and a configuration for
the application that links to the component configuration. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Copy the TS17900101 task and create your
own task to use in your workflow.  Make sure you copy the entries in transaction
SWFVISU as well. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Use your new task in your workflow at
the appropriate point. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">In a custom UWL XML config file, copy
the ItemType tag for TS17900101 into your own custom file and rename all the
TS17900101 references to your own task.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">In the call to the WebDynpro
application, add the parameter needed to apply the WebDynpro Configuration (you
can use the Test option in SE80 on the application configuration to see the
name you need to use). </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Works well, and minimal effort.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards,</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Jocelyn </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>]
<b>On Behalf Of </b>IKhan<br>
<b>Sent:</b> Thursday, 17 December 2009 11:54 PM<br>
<b>To:</b> SAP Workflow Users&#39; Group<br>
<b>Subject:</b> [LIKELY JUNK]HCM P&amp;F - How to disable reject button</span></p>

</div>

<div>

<p class="MsoNormal"> </p>

<div>

<p class="MsoNormal">Dear
Friends,<br>
We are using HCM P&amp;F for employee contract approval. Our scenario is : The
manager will raise the form and it will goto his manager for approval, once he
approves the form will goto HR Admin to do some manual updation of infotype
records and then complete this step. At this stage the HR Admin should not have
option to Reject the form, only she should have completion option. But the
workflow task TS17900101 used at this step calls the webdynpro application
which has two buttons &quot;Approve&quot; and &quot;Reject&quot;. We need to
disable this Reject button. Please let me know if this is possible. We also
tried the other workflow task TS17900100 which is used for completion which has
only one button called “Check and Send” , but the issue is it is
allowing the HR Admin to edit the form fields (for e.g. change the radio
button), even though we have restricted that this field is non-editable in the
config. As per the SAP documentation it states that this workflow
task(TS17900100) is meant for Editing the Form, i think that’s why it is
allowing the HR Admin to edit the form, overriding the config. So we cannot use
this task as well.So please advice how can resolve this issue.</p>

</div>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></p>

</div>

<p class="MsoNormal"> </p>

</div>

</div>

</div>

</div>

</div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></p>

</div>

<p class="MsoNormal"> </p>

</div>

</div></div></div>

</div>


<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div>