[LIKELY JUNK]HCM P&F - How to disable reject button

IKhan ikhansap at gmail.com
Sun Dec 20 02:54:52 EST 2009


Thanks Jocelyn,
  I did the configuration as mentioned in your trailing mail but
unfortunately didn't work. Please find below the config steps which I did,
let me know if I am missing anything.

1. Created a new Component configuration ZTEST for the Webdynpro component
HRASR00_PROCESS_EXECUTE  and changed the property of the Reject button to
"Invisible".

2. Created a new Application configuration ZTEST1 for the Webdynpro
application ASR_PROCESS_EXECUTE and included the component configuration in
the application configuration.

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.

4. Tried to test the application from Portal, but didn't work. I don't think
the UWL customization is required at this point as we have hardcoded
the WDCONFIGURATIONID
in the Webdynpro Application.


Regards,
IKhan

On Fri, Dec 18, 2009 at 8:08 AM, Dart, Jocelyn <jocelyn.dart at sap.com> wrote:

>  Hi IKhan,
>
> Have done this before on site.
>
>
>
> 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.
>
>
>
> 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.
>
> Use your new task in your workflow at the appropriate point.
>
>
>
> 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.
>
> 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).
>
>
>
> Works well, and minimal effort.
>
> Regards,
>
> Jocelyn
>
>
>
>
>
>
>
>
>
>
>
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> Behalf Of *IKhan
> *Sent:* Thursday, 17 December 2009 11:54 PM
> *To:* SAP Workflow Users' Group
> *Subject:* [LIKELY JUNK]HCM P&F - How to disable reject button
>
>
>
> Dear Friends,
> We are using HCM P&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 "Approve" and "Reject". 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.
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20091220/7cb1b9c0/attachment.htm


More information about the SAP-WUG mailing list