on ‎2015 Nov 13 11:13 AM
Hi experts,
I have a problem with WorkFlow. I had to copy it from one system to another. System versions are different. First, there wasn't any block scheme, so I had to import it from XML file. Everything looked fine, no errors where found during activation. First steps in this workflow are: "Set Title" and "Set Text":
First step works fine, but there is an error in second block:
I have no clue what is wrong with it. More screens:
WF task:
Binding WF -> task:
Task (in PFTC):
Task container:
Task -> method Binding:
Method in the object:
What I have already tried:
1. Changing method do "Instance-independent" - not working
2. Infinite loop in method - I can't even enter this method, so problem is somewhere earlier - not working
3. SWU3 -> Send to Objects and HR Objects is active - not working
4. Authority: WF-BATCH has SAP_ALL, so it's not a problem - not working
5. Some parameters in object's methods had newer version, so I changed it to older version - not working
6. All tasks used in WorkFlow exist
7. Refreshing buffers didn't help
I have no more ideas what's wrong with that step in WorkFlow, everything looks fine to me.
I'd be really greatful for some clues.
Bartłomiej
Request clarification before answering.
Hello,
Most obvious: Does that &ZWFZPZ& have a value at workflow level *before* the step is called?
If that is okay then the first thing I would do is remove all of the Task to Method binding. It's usually not necessary and can mess things up if it's wrong.
regards
Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I agree with Rick, your BOR is not instanciated,
What is ZWFZPZ ? have you tried to instanciate it in SWO1 ?
One of the first thing a BOR does is checking if it exist (so if you said that the key was in a table then it check that there is an entry in this table)
If you want to use the workflow to make the entry go for an ABAP OO. it does not require the object to exist before the workflow starts;
Cheers
Stephane
"Most obvious: Does that &ZWFZPZ& have a value at workflow level *before* the step is called?" No, it doesn't. Because it's not used in that step I removed it from WF->Task binding. I've restarted workflow in SWPR, bo I got the same error. Now I'll try to remove Task->Method binding.
EDIT:
Removing binding Task->Method also didn't help.
ZWFZPZ Object has no instane (fields are empty). I checked the same workflow on system from which I copied it and everything works fine, even with that object empty.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.