cancel
Showing results for 
Search instead for 
Did you mean: 

Aggregate Comments in Workflow

Former Member
0 Kudos

Hi,

I have a requirememnt that is when anyone recieves a workitem he han forward it to another user (There is abutton Refer in my Transaction) .When i Refer the Workitem to another user its mandatory To write comments.

For the next user there is a Log displayed in workitem (transaction ) with the comments.

So i have put a loop and used the same Task so that the workitem continues.

Now how do i handle the comments.

I tried using a database table to store comments .but it restricts comments to 255 chars.

Anyway to store the comments as the comments definetely excedd 255 chars

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Swathi,

One way is to dynamically create a txtnote number and store the note number in the database table and store the comments text of the workitem in standard text object using tcode so10.

restriction problem will be solved by this.

hope this helps you.

regards,

sateesh.

Former Member
0 Kudos

sateesh,

how do i store the comment in the standard texts when i am writing a comment in a textbox in my transaction.

and how do retrieve the text in that standard text at a later level in the Transaction

Former Member
0 Kudos

Hi Swathi,

If your transaction is GOS(Geniric Object services) enabled you can create a

note that goes as attachment for the workitem.

Let me know what transaction is being sent as a workitem.is it a standard

SAP transaction ?

Thank you

Srinivas

Former Member
0 Kudos

Hi,

The transaction is a custom transaction where he can give his comments.

These comments should be available to the next Agent.This forwarding continues for a particular invoice.

The whole history of the comments should be visible to the agent for that particular object.

I dont know how to handle it.

What is a Generic Object Service??

Former Member
0 Kudos

I may be way off track, but did u try the confirm end of processing option ?

This helps you add attachments . Now what you can do is create an activity to append the note business object to a multi line business object element which can be displayed every time to the next processing user.

Lemme know how it goes.

Amit

Former Member
0 Kudos

Hi Swathi,

We had a same problem , what we did was, we have created a popup screen with three input text fields (each 255 chars)to accept the comments and created a table to store the comments with three fields (fld1, fld2, fld3) . These three fields are populated from the popup screen along with the Doc.No(Invoice No.) and the ApproverID..

While displaying the comments simply select all the comments for a particular Invoice No. and display it using the table control on the main screen...

Geniric Object services allows certain features like create a Note, Create Attachments,Start workflow for a particualr Object..These services can be accessed from the toolbox placed on the left top of the transaction if the transaction allow GOS..

Let me know if this helps..

Thank you

Srinivas

Former Member
0 Kudos

Hi Srinivas,

I am just worried if the performance goes down if i store it in database table .And another peoblem is i dont know the length of the comment.And i cannot restrict the lenth to 3 lines.

So was thinking if GOS helps in my situation.I am new to GOS .

Any suggestions how do i go about with GOS

Former Member
0 Kudos

Amit,

My step already has a confirm end of Processing.

In my custom Transaction i have to give a comment before i Forward it .

I donno how to create an activity. and append the note.

Swathi

Former Member
0 Kudos

Hi Swathi,

I found the following blog which talks about enabling GOS for custom transaction

http://www.geocities.com/rmtiwari/main.html?http://www.geocities.com/rmtiwari/Resources/Training/Bus...

Let me know if this helps...

Thank you

Srinivas