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

Dart, Jocelyn jocelyn.dart at sap.com
Wed Jan 6 00:42:19 EST 2010


Hi Ikhan,
Sounds like you haven't quite got everything there yet...

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.

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.

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.

Regards,
Jocelyn

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of IKhan
Sent: Wednesday, 6 January 2010 3:54 PM
To: SAP Workflow Users' Group
Subject: [LIKELY JUNK]Re: [LIKELY JUNK]Re: [LIKELY JUNK]HCM P&F - How to disable reject button

Hi Jocelyn,
   Sorry, In step 3 i didn't create a new parameter WDCONFIGURATIONID, it was already there, I just hard coded the value of the that parameter to ZTEST1(Application configuration ID) for testing purpose. I thought of testing this scenario in SE80 before moving to UWL, So I made the "Save Draft" 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't work.  Is it mandatory to check this in UWL?

Regards,
IKhan
On Tue, Jan 5, 2010 at 9:02 AM, Dart, Jocelyn <jocelyn.dart at sap.com<mailto:jocelyn.dart at sap.com>> wrote:
Hi Ikhan,
Have you tested that your WD Configuration works when you call the application directly from the test tool in SE80?

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.

You are NOT meant to change ASR_PROCESS_EXECUTE itself to add a parameter directly.

Regards,
Jcoelyn

From: sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu> [mailto:sap-wug-bounces at mit.edu<mailto:sap-wug-bounces at mit.edu>] On Behalf Of IKhan
Sent: Sunday, 20 December 2009 6:55 PM

To: SAP Workflow Users' Group
Subject: [LIKELY JUNK]Re: [LIKELY JUNK]HCM P&F - How to disable reject button

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<mailto: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> [mailto: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<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto: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/20100106/6f7427fb/attachment.htm


More information about the SAP-WUG mailing list