on 02-01-2010 3:33 AM
Hi Experts,
Now my requirement is to enhance a existing custom workflow, according to track original program, I found a related workflow FM in original program like below. So I use SWDD to search this object 'TS97000065', but system told me 'Single-step tasks cannot be inserted with this function'. so I guess maybe this object 'TS97000065' is a task id. but I still can't found anything in PFTC. So I have two questions on this.
1. Who can tell me how to found this object 'TS97000065' in SAP? What's it?
2. Whether a single-step can be trigger in a service without workflow? If yes, whether we still can see a workflow item in our workflow Inbox?
task = 'TS97000065'.
call function 'SWW_WI_START'
exporting
creator = creator1
task = task
importing
wi_id = wi_id
tables
agents = agents
deadline_agents = deadline_agents
excluded_agents = notification_agents
notification_agents = excluded_agents
secondary_methods = secondary_methods
wi_container = wi_container
comp_events = comp_events
exceptions
id_not_created = 1
read_failed = 2
immediate_start_not_possible = 3
execution_failed = 4
invalid_status = 5
others = 6.
Thanks in advance!
I guess maybe this object 'TS97000065' is a task id.
As you have metnioned , this is a object of type standard task. see you can directly identify whether the object task is a workflow template or standard task by simply looking at the task number.
to make you understand more clearly, even the workflow developments fall under orgnaizational structure here OBJECT ID is TS and object key is 97000065
as we have for user object id as US and object id can be any SAP user name. so when ever there is TS it means you are trying to refer a standard task, when ever you come across any taskid starting with WS the it means your are reffering to workflow template. in org structure the workflow template is identified by the object id WS...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In PFTC..you have to select standard task...
Then Enter 97000065 and click display...
for your 2nd question....
click the trigeering event tab and check the events if any...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sir Swaminathan PJ ,
If this single-steps task not in a exist workflow and the trigeering event tab is nothing, Whether that mean we can't directly trigger this single-steps task in a exist SAP web service? Is it correct?
What's the use for Work item text in the Basic Data tab? It should to implement the description of work flow item in workflow inbox. I don't know whether my understand is correct. If you can give me any idea, I will appreciate it.
Thanks.
If this single-steps task not in a exist workflow and the trigeering event tab is nothing, Whether that mean we can't directly trigger this single-steps task in a exist SAP web service? Is it correct?
If you dont have anything metntioned in triggering events...then these tasks might be started programatically using below FM's
SWE_EVENT_CREATE
SAP_WAPI_CREATE_EVENT
What's the use for Work item text in the Basic Data tab? It should to implement the description of work flow item in workflow inbox. I don't know whether my understand is correct. If you can give me any idea, I will appreciate it.
what you are seeing in Inbox(SBWP) as a subject line is nothing but workitem text defined in basic data tab.
If this single-steps task not in a exist workflow and the trigeering event tab is nothing, Whether that mean we can't directly trigger this single-steps task in a exist SAP web service? Is it correct?
If you dont have anything metntioned in triggering events...then these tasks might be started programatically using below FM's
SWE_EVENT_CREATE
SAP_WAPI_CREATE_EVENT
Then how about this FM SWW_WI_START? If we use 'TS97000065' as a TASK parameter into this FM, What's will be happened?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.