Dear friends,
The FM 'SWW_WI_START' throwing below error / exception .
Call of interface SAP_WAPI_CHANGE_WORKITEM_PRIO within the runtime system not permitted
Call of interface SAP_WAPI_CHANGE_WORKITEM_PRIO within the runtime system not permitted
Call of interface SAP_WAPI_CHANGE_WORKITEM_PRIO within the runtime system not permitted
Exception CX_SY_REF_IS_INITIAL triggered by CL_SWF_UTL_RUN_CLIF_METHOD====CCIMP in line 86 with t
Dereferencing the NULL reference
I am passing below 3 parameters.
Most important thing is it is working in other systems except one.
I have cross checked or compared everything ( BO coding,WF builder,Binding,customization..) and was ok.
ALL FUNCTION 'SWW_WI_START'
EXPORTING
creator = xh_creator
IMPORTING
wi_id = x_wi_id
wi_container = lt_container[]
EXCEPTIONS
id_not_created = 1
read_failed = 2
immediate_start_not_possible = 3
execution_failed = 4
invalid_status = 5
OTHERS = 6.
*exception handling
IF sy-subrc NE 0.
exit_return 9002 xh_restart_wf_id space space space.
ENDIF.
Really waiting for somebody's response .....