cancel
Showing results for 
Search instead for 
Did you mean: 

How to get RFx's Workitem number Generated

aromalr
Active Participant
0 Kudos

Hi All,

I want to find out the workitems generated for the Rfx using Rfx No or Rfx GUID. I have tried to use cl_swf_rep_item2object=>get_workitem_to_object.

But it give me only first workitem for the Rfx. I want to get all the Workitem including the chage version generated.

I have also checked the table SWWIHEAD, In the workitem desription the Rfx number is there. But it using that would have some performance issue. Please suggest.

Regards

Aromal R

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Aromal,

please try /SAPSRM/_CL_WF_PROCESS_MANAGER=>GET_PROCESS_BY_DOCUMENT( GUID )

Regards

Konstantin

aromalr
Active Participant
0 Kudos

Thankyou Konstantin, it worked for me.

regards

Aromal R

aromalr
Active Participant
0 Kudos

Hi Konstantin,

Is there any way to get last approved workitem number for an Rfx or all work item numbers.

i.e for each change version of an Rfx there can be multiple work item generated.

I would like to get the last approved workitem number . The above piece of code will return only first version of the work item number.

Regards

Aromal R

konstantin_anikeev
Active Contributor
0 Kudos

Hi,

you can try to get all versions with BBP_PROCDOC_VERSION_GET_LIST

And then vor every GUID as above

Regards

Konstantin

aromalr
Active Participant
0 Kudos

thank you very much. it got solved.

Answers (0)