cancel
Showing results for 
Search instead for 
Did you mean: 

BPM CACHE REFRESH -

0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

The error I am getting after refreash CACHE:

The Value of Expression '&INF_SPLITFILELISTBYLINE.PAYLOAD.SETTMENTNUM&' Cannot Serve As the Source of an Assignment

Former Member
0 Kudos

Okay...just do one more check..which will help us to understand error in more details...

Goto trasnction SWDD and put your worflow id here ( BPM Workflow) and click in syntax check...it will give you more details about error if exist.

Nilesh

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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.