on 2014 Apr 23 8:05 AM
Hi Experts,
I am new to workflow. I use Mail Step to sent mail to different user in SAP inbox. There are different level of approval in my workflow. so i create table in the Business object and fill with approver IDs. When i use this table in the Mail steps as expression. Mail didnt go to any of the user.
Please suggest where i am getting wrong.
Thanks
imran
Hi Imran,
You need to pass the value of that attribute to your workflow container to use it later in further steps.
The workflow container retains the values as long as the workflow's existence.
You can either create a new attribute to the business object that you are using and can pass the 'ztotal' attribute value in 1st approval or wherever you want to the workflow container.
And later in whatever activity step you want, you can fetch it back from the container.
Please ensure creation of proper binding of the workflow container with your activity step.
Cheers,
Devashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dev,
Issue is resolve. FM 'SAP_WAPI_DECISION_COMPLETE' is use to execute the decision step at run time.
Thanks
Imran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dev,
Issue is resolve now.
Problem : I have used multiple condition under beneath of first contdition step. In multiple condition step i have not giving any contion in OTHER part. thats why the WF giving the error at the vary first step.
Now i came to know that in the beginning only WF check all Condition steps if any one have issue in value assignment it will give error.
Thanks Dev, I really appriciate your affort.
Thanks
Imran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
What is the condition that you actually want to put?
As you told before that it is :
Condition is | &ZSAM_OBJECT.ZUSER_RSM& = &Flag_X& |
But in your above reply, I can see that the condition you have maintained is :
&RSM_X& = X.
Maybe you are not putting the condition right.
When you put any condition, by merely doing a double click on the indicator fields it should show something like :
Regards,
Devashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Devashish, Satish for your response.
I checked. Value is set to X.
Is there any other way to resolve this. Its giving error in workflow when condition is ture.
Thanks
Imran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Devashish,
In the beginnning of WF i have condition check. Its always pass when the condition is FALSE but when the condition is TRUE its give an error message "Error when starting a CASE branch".
Condition is &ZSAM_OBJECT.ZUSER_RSM& = &Flag_X&
&ZSAM_OBJECT.ZUSER_RSM& is Business Object attribute set to 'X' on condition satisfy.
&Flag_X& is constant value 'X'.
I check container value both having same value i.e. 'X' and both parameter are same type.
Please suggest. How can we resolve this.
Many Thanks for your support,
Imran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Devanshish,
You misunderstood my ques. After executing above screen(as you have mention), the list of ID, STATUS etc comes in the second screen, So i require to fectch this ID whose satuts is READY.
Thanks
Imran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The issue was with buffer . I cleared it now its working fine.
one Last ques. how can i get the worklist number which is in Ready status.
Like Tcode SWI1 in the result screen , i required ID whose status is READY for the given Order Number.
Thanks
Imran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Devashish, Dipika
Its very helpful. One Doubth. I have a 5 level of approval in WF.
In the begenning of WF i am calculate total price of all line item and assign into business 'ztotal' attribute and after 2rd or 3rd approval level agent can delete or add line item.
Now the question is , This 'ztotal' will update its value or not. beacuse i have to use the updated total in the 4th level of approval.
Please suggest.
Thanks
Imran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
You need to create a custom rule and assign it in that particular decision step of yours . You can use the below link to check how to create a custom rule :
SAPTechnical.COM Defining custom rules for use with SAP Workflow
Please fetch all your approvers in the function module that you will use inside this rule.
Cheers,
Devashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.