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

Work flow popup

Former Member
0 Likes
633

Hi Experts,

I am developing FI Invoice approval work flow by extending FIPP business object.

I have a decision task with APPROVE,CHANGE,REJECT buttons.

if the user press CHANGE or REJECT buttons then a pop up should come to enter the reason details.

The popup should have ok and cancel button and IF the user pressing the cancel button of the popup with put entering any reason then i should retain the decesion task .currently i have created the pop up in seperate task after the decesion task.

Once they click on change or reject button ,pop up is coming but as the popup is developed in next task of decesion ,i am unable to retain the decesion task ,if the user press the cancel button of the pop up with out data.

Please anybody provide me suggesstions how to handle this issue.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Likes

Hi,

Please verify this link.

and the wiki link

http://wiki.sdn.sap.com/wiki/display/ABAP/ApprovalDecisiononApproveorRejectwithReasonsor+Comments

-Keerthi

sudhahar_ramachandran
Active Participant
0 Likes

Its simple. block the approver from closing the text window without entering the comment.

Former Member
0 Likes

Hi,

In your approval step under details tab - workitem response.Check the advance with dialog option.

Regards,

Keerthi

former_member184495
Active Contributor
0 Likes

Hi AV,

check the forum, lots of threads on your issue.

check CATSXT_SIMPLE_TEXT_EDITOR Function module.

Hope it helps.

Aditya

Former Member
0 Likes

Thanks for the replies.

i am already using the same function module inside my task.

I having problem with display of the pop up task in decesion work item only.

kindly let me know if you have any thoughts.

the work item response is "advance with dialog only".

please let me know how to call the function module in standard decession task .

Former Member
0 Likes

Hi,

I think what you can do is check if the FM returns a value reflecting cancelation action you can loop the outcome back to the decision task viz...

1. Cancellation case

Decision task -> Comment task-> check the cancellation, if yes, loop it back to decision.

2. Normal case

Decision task -> comment task -> check cancelation , if no, move forward , no loop back required.

Regards

Gautam