cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Comments in Workflow

Former Member
0 Kudos

Hi Experts,

I have a Requirement. There is a Scenario where I am Sending a Decision to a User for Approval/Rejection using a Workflow. This is being tested on User-Interface and not SAP-GUI.

"Now the Requirement is that when that User is taking a Decision, there he should be able to Enter some kind of Comments like Why he is Approving or Why he is Rejecting that Decision?"

How can I implement this Functionality in the Workflows?

Regards,

Kanika!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try to use step type FORM where u can create ur own fields like rejecting/approving reason .

Give form step type in the following order:

1) FORM in change, Where user enters the rejecting reason,

2 FORM approve ,Where user enter approve/reject button.

For using FORM ,the prerequisite is u have to create a database structure as it will be used as referrence while creating container for the form with all fields needed,

Regards,

Sivakaran.

Former Member
0 Kudos

Hi Experts,

There are some further Clarifications that i should Make.

1> I am working on SAP_CRM Server where TS20000139 does not exists.

2> I am testing this Functionality from UI, where a new pop-up screen does not works.It works only on GUI.

Kindly help me resolve the issue.

Regards,

Kanika

Former Member
0 Kudos

Hi Experts,

There are some further Clarifications that i should Make.

1> I am working on SAP_CRM Server where TS20000139 for pop-up does not exists.

2> I am testing this Functionality from UI, where a new pop-up screen does not works.It works only on GUI.

Kindly help me resolve the issue.

Regards,

Kanika

surjith_kumar
Active Contributor
0 Kudos

Hi,

In this Task TS20000139, Business Object SOFM i called, in that COMPOSE method is mapped, So in SRM check whether the SOFM is mapped to any other Std. Task. If found call the Task, if not found in you BO copy the same code of the method COMPOSE and achieve it.

Regards,

Surjith

Former Member
0 Kudos

One issue I see with this, is that after the workflow has ended, do you need to be able to see the comments associated with the approval or rejection of the BO. The comments in the FORM, are held within the workflow.

John

Former Member
0 Kudos

Hi All,

For capturing comments after a decision in the WF is it not correct creating a program with a screen and capturing the value in that screen by calling it through a transaction code attachd to it in your Method of the BO ??

Pls correct me if I am wrong.

Regards,

Krishna.

rejish_balakrishnan
Contributor
0 Kudos

Hi,

Add method GETCOMMENTS to the BO and call FM POPUP_GET_VALUES.

bpawanchand
Active Contributor
0 Kudos

Check this [Thread|; the same issue has been discussed