cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User decision step

Former Member
0 Likes
2,781

Dear Experts,

I have a user decision step in my workflow. I also have a standard BO "BUS2002" that has a display method. This method will display the standard screen of CN23. I want to show this screen to approver before he makes a decision. So in a activity step i have used this display method which will send a workitem to approver. Once he clicks the work item he can see CN23 in display mode. Next i want my approver to approve or reject. So i placed a user decision step in workflow. This will send a workitem to same approver which has approve, reject buttons.

Now i do not want to have two workitems one to display the screen and the other to make decision. Is there any possibility to display CN23 screen as well ask for user decision approve, reject in same workitem. Or is it possible to display a link to CN23 screen in objects and attachments part of user decision step so that user can click that link, see CN23 screen and then come back to make his approve or reject decision. Kindly help me with this issue

Accepted Solutions (1)

Accepted Solutions (1)

surjith_kumar
Active Contributor
0 Likes

Hi,

is it possible to display a link to CN23 screen in objects and attachments part of user decision step so that user can click that link

Yes this is Possible do the following

1) Go to PFTC select the std. Task and enter 00008267

2) Copy it to a Custom Task

3) Go to that Custom Task, then click the Container Tab

4) Create a Element a popup will appear, Give the BO name BUS2002.

5) Save it and generate the binding

6) The go to the SWDD, navigate to user decision for that workflow

7) Go to Control Tab and give that Custom Task which you created and generate the binding.

Regards,

Surjith

Answers (3)

Answers (3)

bpawanchand
Active Contributor
0 Likes

My suggestion to the problem is

1. First create a copy of the Standard Decision Task and create the appropriate conatiner elements in the task.

2. When you insert the Decision task in the workflow template naviagate to the tab WORKITEM DISPLAY. Under this tab you have section with name STEP-SPECIFIC TAB PAGE FOR WORKITEM DISPLAY in this section all you ahve to do is

3. Give the program name and the screen number of the respective txn but you have to do a abit of programming by includeing the include <WIDISP>. This include is responsible to comminucate betweent the screen you developed and workitem specific data.

and when the workitem is in the user's inbox , when he selects the workitem and click's on the display icon you will see a separate tab page where your screen will be displayed.

Former Member
0 Likes

You need to Copy decision Task TS00008267 and then you create a Container element Network which is of type Business Object BUS2002. After this you need to use this task in the decision step and do a Object(Network) to Object(Network) binding from Workflow to task. This will create a link in the decsion task. Upon clicking on this link the Display method will be executed. You can also use this method in the Methods tab of the step and mention this method in secondar Method portion of this method tab.

The choice is yours which one you want to go for.

Thanks

Arghadip

Former Member
0 Likes

Hie Bharath,

What you can do is...Create a Normal User Decision Step.. with you Self made task and pass the BO "BUS2002" in that as the Binding parameter. Now To which ever transaction this BO is linked...

The User can see that by clicking on the link for this BO in the User Decision...

let me know if you need more clarification on this.. !!

Regards,

Kanika

vijy_mukunthan
Active Contributor
0 Likes

Hi Kanika

What you can do is...Create a Normal User Decision Step.. with you Self made task and pass the BO "BUS2002" in that as the Binding parameter. Now To which ever transaction this BO is linked...
The User can see that by clicking on the link for this BO in the User Decision...

How you will do that?. As for as i know what ever you create WF container as a BOR you cannot bind methods you can bind only attributes. Even in the container it will never show the methods list. How you will bind let me know that first.

Regards

vijay

Former Member
0 Likes

Dear Kanika,

As Vijay says even though i create a Wf container element for standard BO that has the display method i am not able to bind it in user decision step. Can anyone please tell me is it possible to attach a link to a BO's display method in user decision step i.e when a click that link the display method will call the required tcode and it will open in display mode.

I am pretty stuck up with this as I am now using two activity steps, one for display method of BO and other for user decision step. This is in not effective as approver receives two work items and he has to open two work item for making a approval.

Regards,

Bharath