‎2005 Jul 08 6:48 AM
Hi,
I went to txn pftc and gave the varialbe for workflow container as suggested by Ramki maley ,but now i get the error,cannot assign
'BUS2105' is not an import element and therefore should not be changed
how can I set the import parameter for a variable.
I tried in transaction pftc,but it does not reflect in my binding fo the task specified.
If the value must be set, mark the element BUS2105 as an import parameter so that it can be included in the interface.
how to do this.
Regards,
Latha prabhu.
‎2005 Jul 10 2:12 PM
Hi,
I think Ramki sir is correct, but before that we got to check whethear our event is linked to our workflow or not? We got to go
<b>SAP Menu / Definition Tools / Events / Event Linkages /
Type Linkages</b>.
Here check whethear the repsective Business Object's Event is linked to our workflow or not? If it is linked , check whethear it is actived or not ? If you activate, SAP will ask for a CUSTOMIZING REQUEST. Please dont forget to copy this Customizing request in the respective Testing Client using SCC1 Transaction.
We can explicitly activate the Event linkages using SWU0 also. Plesae check this transaction too.
Regards,
Raja Sekhar.
‎2005 Jul 08 2:14 PM
Hi Latha,
When you define a container variable, you specify the import/export in the properties tab. Edit your WF, in the container tab, double click on your variable and check both the Import & Export flags.
Cheers,
Ramki Maley.
‎2005 Jul 09 4:48 AM
Hi Ramki,
Thanks a lot.But I have a problem,as soonas I save my pr in me51 the workflow should trigger,how can I do it.I passed the number from event container to workflow container,what else should I do .
Regards,
Latha prabhu.
‎2005 Jul 09 12:29 PM
Latha,
Are you certain the event is triggered?
If you have not already done it, you can start the event trace and verify what is happening.
Start the event trace with txn SWELS.
Save your PR.
Verify event is triggered with txn SWEL.
If the event is shown, make sure the receiver is started.
Double click on the event to display the event details.
Verify there are no errors.
You should have a Workitem pushbutton. Click on it and check workflow has no errors.
Also, You should bind the evtobject to a container element based on the PR object . Define a container element based on the PR business object, with properties Imported & Mandatory.
Cheers,
Ramki Maley.
‎2005 Jul 10 2:12 PM
Hi,
I think Ramki sir is correct, but before that we got to check whethear our event is linked to our workflow or not? We got to go
<b>SAP Menu / Definition Tools / Events / Event Linkages /
Type Linkages</b>.
Here check whethear the repsective Business Object's Event is linked to our workflow or not? If it is linked , check whethear it is actived or not ? If you activate, SAP will ask for a CUSTOMIZING REQUEST. Please dont forget to copy this Customizing request in the respective Testing Client using SCC1 Transaction.
We can explicitly activate the Event linkages using SWU0 also. Plesae check this transaction too.
Regards,
Raja Sekhar.
‎2005 Jul 11 4:56 AM
Dear Ramki and Raja shekar,
Thanks for the responses,I'll check and get back to you.
Regards,
Latha prabhu.
Message was edited by: latha prabhu
‎2005 Jul 12 7:35 AM
Hi Ramki,
I had tried your suggestions and found that there were no events when I go to swel.I have done the binding from event container to workflow container,but when I test the workflow the container value is blank .Can you please elaborate, what can be done.
Regards,
Latha prabhu.
‎2005 Jul 12 12:57 PM
Latha,
I assume this is related to your PR workflow. I posted a link to SAP help for PR release workflow in answer to one of your earlier questions. Ceratin configuration must be setup in the MM module for PR workflows - I assume this is what triggers the event. If the configuration client is different, you must import that configuaration into your test client. If the configuration is not done, I suggest you talk to your resident MM functional expert.
Cheers,
Ramki Maley.
‎2005 Jul 13 4:13 AM
Dear Parag and Ramki,
Thanks for the responses.How can I reassign the points.
Regards,
Latha prabhu.
Message was edited by: latha prabhu
‎2005 Jul 12 12:32 PM
Hi Prabhu,
For adding workflow container element,
1>. Run Tcode : SWO1.
2>. Enter Business object type : BUS2105 and First copy as 'Z' then goto change mode of that 'Z' object type
3>. select the method, in which you want to set input and output parameters.
4>. Click on Parameters icon which is available standard application toolbar.
5>. Now add parameters and check import, export and mandatory fields.
6>.Save and active.
Now, when this object type you use in workflow at that this element will come to the workflow container.
Regards,
Parag