cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7 SP 5 expression change causes runtime failure

Former Member
0 Kudos

Within a Process Schema I have an expression that checks whether the Overall value of a Shopping Cart is greater than zero (Overall value > 0) to perform a certain task and this works fine.

The business now require this task to be performed when the value is zero or greater - if I change the formula to reflect this (Overall value >= 0) or (Overall value > 0 OR Overall value = 0) then the application fails when attempting to select items for the shopping cart. The error is "An exception has occurred".

Other expressions within the schema identify when the Overall value is within certain ranges (e.g. (Overall value > 5000 AND Overall value <= 50000), and one other checks for (Overall value > 0).

Can anyone tell me how to resolve this please?

Many thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

> The error is "An exception has occurred".

Where did you find this error? I think debug is easy way for finding the root cause.

Regards,

Masa

Former Member
0 Kudos

Hi Masa

Apologies for the format of the previous posting! How can I attach text that I have 'cut and paste' from a MSWord document into these posts?

The error screen appears as the 'non-catalogue' item selection screen is displayed.

I will have a look at debugging as you suggest.

Many thanks

Andy

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Can you past the SLG1 log ?

Regards,

Masa

Former Member
0 Kudos

>

> Hi,

> Can you past the SLG1 log ?

> Regards,

> Masa

Edited by: ajohnson on Aug 9, 2010 11:17 AM

Hi Masa

Apologies for the daely but I have been trying to find out, without success so far, how to attach a file to a post! When I find out I will be able to post the SLG1 log - which shows no errors, and only a number of warnings about 'get description error'.

The following is the configuration behind the process levels if that might help at all, the first section shows that which works and the latter the additional configuration that causes the failure.

With thanks for your time.

Andy

:

1. The following configuration works ok

Non-Catalogue Shopping Cart Approval Configuration

The Process Schema as implemented consists of 10 schema levels, as below:

Process Schema Definition ZC_SC_600_002

Level Sequence Number 100

Level Type Approval

Evaluation ID ZEV_SC_NC_001

Evaluation Description Check Process Level 1

Resp. Resolver Name SC_RR_PURCHASING_GROUP

Resp. Resolver Description Shopping Cart: Get Purchasers of Purch. Groups for Approval

Resp. Resolver Parameter

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 200

Level Type Approval

Evaluation ID ZEV_SC_NC_003

Evaluation Description Check Process Level 3

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/ZVALUESTREAM

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 250

Level Type Approval

Evaluation ID ZEV_SC_NC_004

Evaluation Description Check Process Level 4

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/ZPRODHEAD

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 300

Level Type Approval

Evaluation ID ZEV_SC_NC_005

Evaluation Description Check Process Level 5

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/ZHEADOFOPS

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 350

Level Type Approval

Evaluation ID ZEV_SC_NC_006

Evaluation Description Check Process Level 6

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/ZGMHEAD

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 360

Level Type Approval

Evaluation ID ZEV_SC_NC_007

Evaluation Description Check Process Level 7

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/Z_L1APPROVER

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 370

Level Type Approval

Evaluation ID ZEV_SC_NC_008

Evaluation Description Check Process Level 8

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/Z_L2APPROVER

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 380

Level Type Approval

Evaluation ID ZEV_SC_NC_009

Evaluation Description Check Process Level 8

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/Z_L3APPROVER

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 390

Level Type Approval

Evaluation ID ZEV_SC_NC_010

Evaluation Description Check Process Level 8

Resp. Resolver Name Z_VSM_CC_RR_ROLE

Resp. Resolver Description Get Valuestream Manager for Cost Center

Resp. Resolver Parameter /SAPSRM/Z_L4APPROVER

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

Level Sequence Number 400

Level Type Automatic (System User)

Evaluation ID 0EV999

Evaluation Description Check Necessity of Automatic Decision

Resp. Resolver Name

Resp. Resolver Description

Resp. Resolver Parameter

Task ID 40007989

Task Description Automatic Rejection

Decision Type Decision For Entire Document

Changeable

BRF Event Configuration

ZEV_SC_NC_001

Calls Expression ZB_SC_NC_LEVEL_001

ZEV_SC_NC_003

Calls Expression ZB_SC_NC_LEVEL_003

ZEV_SC_NC_003

Calls Expression ZB_SC_NC_LEVEL_003

ZEV_SC_NC_004

Calls Expression ZB_SC_NC_LEVEL_004

ZEV_SC_NC_005

Calls Expression ZB_SC_NC_LEVEL_005

ZEV_SC_NC_006

Calls Expression ZB_SC_NC_LEVEL_006

ZEV_SC_NC_007

Calls Expression ZB_SC_NC_LEVEL_007

ZEV_SC_NC_008

Calls Expression ZB_SC_NC_LEVEL_008

ZEV_SC_NC_009

Calls Expression ZB_SC_NC_LEVEL_009

ZEV_SC_NC_010

Calls Expression ZB_SC_NC_LEVEL_010

2.1.1 BRF Expression Configuration

ZB_SC_NC_LEVEL_001

Formula - Overall Value > 0

ZB_SC_NC_LEVEL_003

Formula - Overall Value > 0

ZB_SC_NC_LEVEL_004

Formula - (Overall Value > 10000 AND Overall Value <=100000)

ZB_SC_NC_LEVEL_005

Formula - Overall value > 50.000 AND Overall value <= 500.000

ZB_SC_NC_LEVEL_006

Formula - Overall Value > 500000

ZB_SC_NC_LEVEL_007

Formula - Overall value > 0 AND Overall value <= 5.000

ZB_SC_NC_LEVEL_008

Formula u2013 Overall value > 5.000 AND Overall value <= 50.000

ZB_SC_NC_LEVEL_009

Formula u2013 Overall value > 50.000 AND Overall value <= 500.000

ZB_SC_NC_LEVEL_010

Formula - Overall value > 500.000

2. The following are the changes made that have caused the application to fail when selecting Non-Catalogue items for adding to the Shopping Cart

Level Sequence Number 050 [appears on screen as Level 50]

Level Type Approval

Evaluation ID ZEV_SC_NC_000

Evaluation Description

Resp. Resolver Name SC_RR_PURCHASING_GROUP

Resp. Resolver Description Shopping Cart: Get Purchasers of Purch. Groups for Approval

Resp. Resolver Parameter

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

BRF Event Configuration

ZEV_SC_NC_000

Calls Expression ZB_SC_NC_LEVEL_000

BRF Expression Configuration

ZB_SC_NC_LEVEL_000

Formula - Overall Value = 0

OR

NOT Overall value > 0

We have also tried adding a process level at the end of the schema as follows:

Level Sequence Number 395

Level Type Approval

Evaluation ID ZEV_SC_NC_000

Evaluation Description

Resp. Resolver Name SC_RR_PURCHASING_GROUP

Resp. Resolver Description Shopping Cart: Get Purchasers of Purch. Groups for Approval

Resp. Resolver Parameter

Task ID 40007953

Task Description SRM Shopping Cart Approval (1)

Decision Type Decision For Entire Document

Changeable

BRF Event Configuration

ZEV_SC_NC_000

Calls Expression ZB_SC_NC_LEVEL_000

BRF Expression Configuration

ZB_SC_NC_LEVEL_000

Formula u2013 NOT At Least One Process Level is valid

All the above changes have the same effect in that when the user attempts to select Non-Catalogue items for the shopping cart a popup screen appears with the message u2018An exception has arisenu2019 and they are unable to continue; the expected Non-Catalogue selection screen appears under the popup screen.

Former Member
0 Kudos

Hi Masa

Apologies for the delay but I have been trying to find out how to attach a file to a post!

I now know to submit document for review and attach to this thread and will submit the SLG1 log - which shows no errors, and only a number of warnings about 'get description error', together with a document showing the configuration for this application.

With thanks for your time.

Andy