cancel
Showing results for 
Search instead for 
Did you mean: 

Need Approve/ Reject Button in dsplaying document

Former Member
0 Kudos

Hi All,

I have developed one DMS workflow Status changes workflow needs to be trigger, when ever HD Approves it will go for approval levels, when approver1 approves go for second approver.

when HD approves then workitem will go for approver1, when he double clicks display document(cv03n) screen appears, for that i have created one method(dialog) and in abap tab i have passed call transaction CV03n in Zbussiness object.

My Problem is when approver1 double clicks then it shows the display document(cv03n) and need a Approve/Reject Button

there it self, So that approver can see this document and approve or reject?

How can i achive this Approve or Reject button when user double clicks on workitem.

Regards,

Siva

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi All,

When ever double clicks on a workitem need approve / Reject button, How can i acheive this?

Regards,

Siva

former_member554978
Active Contributor
0 Kudos

you have to use decision task after your display method.

Former Member
0 Kudos

HI Swaminathan,

As per my requirement i need that when approver1 double clicks then it shows the display document(cv03n) and need a Approve/Reject Button there it self, So that approver can see this document and he approves or rejects.

How can i achive this Approve or Reject button when user double clicks on workitem.

Regards,

Siva

former_member554978
Active Contributor
0 Kudos

when you have the display option for std tcode then you cannot acheive this.

Because as soon as you call your display method ,it only shows that particular tcode in display mode.

If you use decision task next to this display method.

Then after displaying that tcode, if he/she presses the back button then immediately your decision tasl will be opened to approve or reject the document.

Former Member
0 Kudos

Hi,

Thanks for your reply,

But User decision task is dialog method and that is standard, Here again another workitem will appears, when i double click then it will ask for Approve or Reject? How can i put in background.

Regards,

Siva

Former Member
0 Kudos

I think you can achieve your requirement y using a Decision task and in the task you do a Object->Object(DRAW) binding from Workflow to Task. In doing this you will get a link whoch on clicking will open CV03n.

According to your requirement you can also put the display method in the Method tab of the decision activity step in the Secondary method portion and test. It will suffice your requirement.

Thanks

Arghadip