on 12-10-2008 2:27 PM
Hi
I have to copy the standard WF WS10400002 into a custom one having same start conditions
but only with an additional step.
but the start conditions are not copied on doing so.
and when trying to create the start conditions similar to the original one
i dont find the container element Gross Amount(USD) in the copied one
How can i resolve my issue , what else do i need to take care when copying the standard WF.
Please suggest.
Thanks in advance
hi Kittu,
Try giving the start conditions for your workflow using the tcode SWB_COND.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Where does Gross Amount come from? Is it an attribute of the BOR object associated with the workflow? If so, it should be available in the copied workflow - assuming you didn't change the object.
Are both the copy and the original using the same object?
regards
Rick Bakker
Hanabi Technology
Thank you Rick Bakker
I am not sure from where this Gross Amount (USD) has come from.
the copied WF is also using the same BO.
but still i dont see the contaer Gross AMount(USD) .
This container elment should be visible to me when creating the start conditions for the original WF.
Please suggest .
Hi Kittu,
As i said earlier, check in which table the gross amount is stored for the particular document? Then create a database attribute for with reference table and field name as the table and field name where the gross amount is stored. Then save and generate BO. Try testing the BO and check if the value is populated in the attribute. IF it works the use this attribute in a check condition step after the event gets triggered and divert the workflow as per the requirement.
Let me know if you have any queries.
Regards,
Raj
Original WF is using BUS2203.
1.we have Gross amount and also Gross amount(USD) in the container variables of start conditions
2.but we have only Gross amount in the attributes of BUS2203 with out (USD) tag.
Copy WF is using BUS2203
1..Gross amount(USD) is not there in the container elements
2.but we have only Gross amount in the attributes of BUS2203 and also start conditions with out (USD) tag.
so do you still recmmend me to create a new attribute.
If so then i need to create a sub type Zbus2203 and create the new attribute.
Please suggest
Hi Raj
The start condition defined in the std WF is
Gross amount(USD) < 9,999.00
and the in the container varaibles that i can see while defining the start conditions there are two varaibles for gross amount
they are
->EC Confirmation goods
->Gross amount Gross Confirmation Amount in Document Currency
->Gross amount(USD) Gross Confirmation Amount in Document Currency (Currency:USD).
and the BO BUS2203 has only Gross amount in the below format
ProcConfirmationEC.GrossAmount Gross Confirmation Amount in Document Currency
The std BO doesnt have Gross amount(USD)
Copied WF
In the container variables i can see only
->EC Confirmation goods
->Gross amount Gross Confirmation Amount in Document Currency
So i dont have the variable Gross amount(USD) to use it as in the std WF.
Please suggest.
Hi Kittu,
What i understand is some of the container elements are missing that are available in the std workflow.
You can create your own workflow container/ task container and do the binding as in std workflow.
create your own workflow containers and use the data element similar that in std workflow. In case if you need to create a task container, copy the std task that are used in the workflow you just copied using pftc tcode and then create the task container as per the requirement. Then use this task in place of std task in your workflow and do the binding as in std workflow/ as per your requirement.
Correct me if i just went out of track.
Let me know if you have any queries.
Regards,
Raj
Start Condition does not get created automatically. Please note that the Start condition is always created customwise. I checked in my SRM system I do not have this start condition. The comments I have given is just the correct answer. Do you need this GROSS amount(USD) in Workflow? If no why use it just deactivate the start condition and create a new.
Thanks
Arghadip
Hi Kittu,
Check if the container Gross Amount is needed in your workflow. If not needed you can proceed without creating it. For this check your workflow for errors in SWDD. If no errors are reported and if you don't need the check this start condition for your workflow then you can proceed as it is. If you need it somewhere in your workflow then you can create it as workflow container ro you can create it as a attribute and use the same in your workflow for all validations/ conditions.
Let me know if you have any queries.
Regards,
Raj
Ok.
Then create an attribute in BUS2203 (If not there in std BO). Then test your BO if the new attribute is filled the value. Then as soon as the event is triggered, use a check condition step and check gross Amount > 9999. If true divert it to the main workflow. If false bypass the steps in workflow and simply use a process control step to complete the workflow.
Hope this solves your problem.
Regards,
Raj
Hello,
Are you sure there isn't a ZBUS2203 around somewhere that has this missing attribute?
Even after a ZBUS2203 is defined you will only see reference to BUS2203 in many places.
I recently added an attribute to a Z....... BO for use in a start condition and thought it wasn't available, but if you have a close look in the options available when the condition editor is open in SWB_COND, and click on all the ">" symbols, you may still find it.
It's also possible that this has something to do with the option of specifying a default currency in SWB_COND, something which I have never made use of myself. See if it is set for the start conditions of the standard workflow.
regards
Rick Bakker
Hanabi Technology
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.