on 10-24-2007 7:27 PM
Hi Guys:
I would like to capture the Customer Credit Memo to create alert message with it when there is already exists in R/3. I am using BPM, in the BPM i created container element P_SETTNO to capture the customer credit memo number from XPATH expression. When I am testing it cannot get the value for the container element. Then I thought it's better to refresh CACHE so that it can get the latest version. While refreshing CACHE(sxi_cache) it's giving below error.
" The Value of Expression &INF_SPLITBYLINE.P_SETTNO& Cannot Serve As the Source of an Assignment ".
We are on SP19...
Any clues/sugesstion please.
Thanks,
Venkat.
I solved this problem myself. I created container variable with "PROCESS" as it's container. So that the variable value is visible throuhout the process. It's working perfectly.
Thanks for all your help!!!
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
we had a same issue few days back...after carefully debugging I realised it was spelled incorrectly in expression..
Hope this will help
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have carefully reviewed my container variable and the Alert message.
created container element: p_settlement and assign value from expression
inf_SplitFileListByLine./p1:MT_CreditMemoReqFile/recordset/record/settmentNum
then I am using container variable in the alert message like below.
Alert Category: Z_CMREQ_ERROR
Message: Settlement No &p_settlement& Exists in ZSD_CMR_TABLE
Thanks,
Venkat.
Hi Nilesh:
I ran SWDD and I got the same result as I posted before. Please give me your e-mail I can send screen shots.
The Value of Expression '&INF_SPLITFILELISTBYLINE.PAYLOAD.SETTMENTNUM&' Cannot Serve As the Source of an Assignment
Thanks,
Venkat.
Container operation 000078 Fill Settlement NO
-
Step Name Fill Settlement NO
Outcome name Fill Settlement NO!
Result Element P_SETTLEMENT
Assignment = ( Assign contents of table are deleted first)
Expression &INF_SPLITFILELISTBYLINE.PAYLOAD.SETTME
Operator ASSIGN
Okay....if you are abs. sure about spelling...then delete that workflow using same transaction code(SWDD) and reimport BPM from IR to ID.....basically it is still refering to old version of BPM-Workflow.
Deleting and refershing BPM-Worklfow should solve issue.
Give a shot and let us see the result.
Nilesh
Nilesh:
No luck so far. The sequence of steps I did after delete and re import BPM.
1) Assigning expression value to container variable p_settlement, it's is some how
doesn't like the expression, it's giving same error as it was giving about
expression.
2) Then I removed expression and assigned constant value to p_settlement.
This time no error when activating BPM, but alert message is empty. I am
concatenating text like below in the alert message.
<b>text &p_settlement& text</b>
3) Then I even removed container variable and provided static alert message text.
Alert message is displaying in the Alert Inbox.
What I am suspecting is
1) it's not accepting expression value when assigning to container variable p_settlement.
2) When I concatenate text with dynamic value (&p_settlement&) for alert message, it's not understanding to combine static and dynamic data.
I am trying to achieve here is if the settlement is already exists in the custom table, it should send alert to the intended receipients so that they can take action on it.
I hope you can understand the problem.
User | Count |
---|---|
91 | |
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.