on 06-18-2010 1:38 PM
Hi Friends,
I want to display User Decision steps / Dialog Step (where user can approve/reject )from my WD application . I was trying with the FM "SWL_WI_EXECUTE" and "SWL_WI_DISPATCH" but both are giving Null Pointer Dump. I debug and found that there is some problem which it generating HTML file .Has anybody any idea .
Thanks In Advance.
Satya
Dear Colleague,
In User Decision steps is not posible to use "SWL_WI_EXECUTE" or "SWL_WI_DISPATCH". With this can you complet any task's.
Tyr this BAPI 'SAP_WAPI_DECISION_COMPLETE'
Regards.
Bülent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bülent,
Thanks for the solution but still i am getting short dump with Null Refernce . FYI.. i want this funtionality in Wendynpro ABAP application . And this BAPI 'SAP_WAPI_DECISION_COMPLETE' is generating some HTML file and which is not supporting in WD ABAP. Is there any other BAPI ?
Thanks,
Satya
Hi Satya,
I am using the same FM SAP_WAPI_DECISION_COMPLETE for approving/rejecting from within my WDA application. I dont see as to why this should not be working for you.
CALL FUNCTION 'SAP_WAPI_DECISION_COMPLETE'
EXPORTING
workitem_id = im_workitem_id
language = sy-langu
decision_key = im_decision_key
IMPORTING
return_code = ex_return_code.
Here the decision key is a value which my workflow consultant had provided me. (In my case its like 0001 for approval, 0002 for rejection & 0003 for sending back the form to the initiator.)
Regards,
Uday
Hi Satya,
I didnt create any seperate view for this. I have an Adobe form embedded within my Web Dynpro component & at the top of this form I have the set of buttons wherein the manager can carry out the approval actions. (These buttons are outside the form i.e, above the InteractiveForm UI element & very much within the same view itself.)
Regards,
Uday
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.