on 08-25-2014 4:36 PM
All dear Gurus,
We have designed a custom Workflow for Travel. When manager rejects the rejects a popup will appear to justify the reason for rejection. When we do this via NWBC, the popup is not coming when we reject. it simply got rejected without justification. How can we solve it..?
Any have idea on this..?
Regards,
Namsheed
Hi Namsheed,
How is the popup designed in the workflow? Can you confirm if it is based on the settings available in the new SAP releases. We have an option to configure the Rejection / Approval reasons in the decison task itself when we specify the decision outcomes:
If it is designed as above, you can try note: 1137323 (if applicable to your release).
If the note does not helps and you have used the above way, it would be good to raise an OSS support ticket for this.
Regards,
Modak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Namsheed
The ECC functionality for mandatory popup was added as per note 1643764. The functionality can be added only using the right SP level....which is there in your system.
SAP also came out with note to fix similar issue with Extended Notifications, where users were not given this mandatory note popup - see note 1964571
However, I could not find any for a fix for NWBC. So, I would again recommend that you raise an OSS message for this for SAP support giving them complete details and the SP level of your system.
Regards,
Modak
Hi Namsheed
I am not sure what they will reply because the part which you are using in the custom workflow ( the mandatory note option) is standard.
Best is to create a custom WF with one step - decision step. Use the standard task for decision and see if you can create an example for them.
Even if they say that some config is missing in NWBC, we may get some idea on how to proceed further.
regards,
modak
Dear Vaibhav,
In R/3, the popup is coming perfectly...!
I will show you all the screenshots in R/3 as well as NWBC.
In R/3, when suprvisor/manager receives a workitem(Travel request send by the employee)...through SBWP he can perform the following :
When Supervisor Click on Reject, He will get a popup to justify the reason for rejection.
So in R/3, it is fine...Now in NWBC, When supervisor tries to reject, it is getting rejected without the justification popup.
When we select Reject & click on OK, this popup is disappearing. I refreshed many times but no way to give the reason for rejection.
You said you have also faced this issue before & resolved.
Can you let me know what changes you have done to solve it..?
Regards,
Namsheed.
Hi
I faced this issue in case of SAP portal not nwbc where in it comes as a separate workitem.
Refer : http://help.sap.com/saphelp_nw2004s/helpdata/en/7a/df014b037141ca9afc6433ed42b519/content.htm
regards
Vaibhav
Hi
I can tell you for portal ,No clue for NWBC.
I am not able to check that with my portal guy right now. But managed to find that it is possible via changes in UWL .I think you haven't made any changes in UWL.
Refer this link :
and also refer this :
It shows some changes in UWL where u have to make
<Property name="UserDecisionNote" value="mandatory" />
Regards
Vaibhav Juneja
OK, I suppose we'll create a ticket too if the business really wants this functionality. Did you try to add the decision note by enhancing the SAP-standard ?
I had a quick look and the actual workflow class/method to update the task with the decision info contains a variable for a note, but to pass it from the Webdynpro component view to this method requires changing/enhancing in several places
Hi Igor,
Better you also create a OSS ticket to SAP. If you want I will share my ticket number as well
And in workflow we haven't try to enhance the standard SAP decision note, but as an work around do you know what we have done.?
We created a Z role of SAP_BC_BMT_WFM_NWBC_END_USER and assigned to managers.
This is role for SBWP inbox. Here the travel request will apprear. If we check the decision note for reason for rejection, we will get a pop-up to enter the reason for rejection.
And the workflow consultant did some coding to send this reason for rejection to employee automatically.
This is not at all a good solution. but as we don't have any other option we have did like this.
Please update here the reply SAP going to give .
Regards,
Namsheed.
Hi Matin,
Please raise a ticket to SAP for this. What SAP has replied to me is that "no customer has raised such a requirement and if more customers are requesting for the same, they will release some developments/notes or something. But nothing has happened as of now.
And how we have solved the customers requirement is through some different way. It is not a right method and i don't recommend it. But if you have no option, you can go for it.
First you need the help of a workflow consultant.
Then assign copy of this role to the manager : SAP_BC_BMT_WFM_NWBC_END_USER
The description of this role which you see in NWBC, you can change it to some Travel approval with rejection or something like that.
In the workflow make the rejection reason is mandatory. Then open NWBC and open this Workitem inbox instead of normal workitem where you go to approve/reject.
Here when you try to reject, you will get a pop up to write the reason. Now the problem, how you will send this reason to the employee.
Here comes the role of workflow consultant. He needs to write some code and the reason for rejection will send to the employee finally.
We have done like this even though this is not a correct approach.
Raise a SAP ticket now itself with very high priority and update me what they are replying @ namsheedks@gmail.com.
Hope this is helpful.
Regards,
Namsheed.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.