cancel
Showing results for 
Search instead for 
Did you mean: 

help,who are familiar with function u2018SAP_WAPI_START_WORKFLOWu2019

Former Member
0 Kudos

hi experts.

i use this function in a program,and the value of the parameter 'TASK' is TS90500026..that is ok...everything go well.

and now i copy TS90500031 from TS90500026, i didn't change anything,just copy it.i hope to use TASK TS90500031 instead of TS90500026 in the function ''SAP_WAPI_START_WORKFLOW''.but the export parameter 'workitem_id' is initial while if i use TS90500026,then return a workitem_id.

i don't know what else i should do....i want to work it out why the function don't return me a workitem_id if i use TS90500031..

anyone who are familiar with this function plz help me..thanks a lot.

regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

IF I am not wrong there should be any object and event in the triggerring event field of the task.

Try to replicate the same oject and event present in the tasks triggerring tab. Activate the event - task linkage for the new task. so that task gets triggered successfully and gives the workitem id in the export parameters.

Regards,

Sabari Prabhu.

Former Member
0 Kudos

hi,

the correct task 'TS90500026' don't have trriger event either.....

i guess it is not the point of my question..

thanks all the same

Former Member
0 Kudos

Hi,

is this a background task ? Give us some info on this 'TS90500031' .What's the BO & Method used etc.,

If this is a Dialog task, even if you have copied from 'TS90500026' , you need to do the Agent assignment etc.

Anyway, more info on the task would be useful in understanding your issue.

venu

former_member185167
Active Contributor
0 Kudos

Hello,

Try making TS90500031 a General task.

regards

Rick Bakker

Hanabi Technology

Answers (2)

Answers (2)

Former Member
0 Kudos

Please check the Method that the Task is executing. I think the WI_ID that is being returned from the Method is not used in Task. Please check whether you have task container element WI_ID.

Thanks

Arghadip

Former Member
0 Kudos

Hi,

Have you activated TS90500031, even if you copy you have to activate the copied workflow.

If activating does not work try generating the workflow and re execute your FM.

Regards,

Sujatha.

Former Member
0 Kudos

Can you explain why are u using the ............FM SAP_WAPI_START_WORKFLOW in application program.

Former Member
0 Kudos

TS90500031 is a single task, just need to be saved ,no activate button will be found in TCODE PFTC...