cancel
Showing results for 
Search instead for 
Did you mean: 

How to read workitem no from url in WDJ.

Former Member
0 Kudos

Hi

I'm trying to design the approval page using WDJ, just like Adobe PCR approval/Rejection page , besed on the workitem no/ PCR no, i want to display the data in the approval page so that manager can see the data and approve/ reject..

How do we achive this.

Regards

Raza

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

on the Transaction SE37 there are some external function modules, look for them with SAP_WAPIWORKITEM*

I really dont know if a WAPI its like BAPI for WD pourpose but it looks like it does.

I would say that you design some WD interface, import the WAPIs

do some page for WI search and listing, like SAP_WAPI_WORKITEMS_BY_TASK, I think!

and there are some other like

SAP_WAPI_WORKITEM_COMPLETE

SAP_WAPI_WORKITEM_CONFIRM

SAP_WAPI_WORKITEM_DELETE

that looks like the one to change WI status...

regards

JC

about "How to read workitem no from url in WDJ"

IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
 
String param = request.getParameter("wi_id");

if need another detail especify plese

Edited by: Jean Carlo Abreu on Jul 15, 2009 5:40 PM