on 2010 Mar 22 1:25 AM
Hi ,
I am in SRM 7.0 SP5.
I am trying to create custom BRF for expression type 0CE001 to determine dynamic schema based on catalog. my requirement is to determine approval path based on catalog and free item.
When i try to create custom BRF expression with type of 0CE001 i got an error message 'The expressions of WHEN lines do not all deliver the same result type' . When i look in detail, i have found that the CASE expression is not suppose to the result type is 'C'. I don't get this error when the CASE expression is Boolean. I have also found that the standard BRF expression '1V_SC_SCHEME' is giving same error. My question is can't I declare CASE expression with 'C'?.
john.
Request clarification before answering.
Hi Peter,
within the when table there are two columns at the right of your result column in German it is called "Ergebnistyp" I think in English its result type. You have to choose the resulttyp for all lines in your when table with the same type. Example C. The length of the type depends on the longest result in your result column and will be calculated automatically. After fill the columns you are able to save your expression without error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rico,
Thank you for your input. Now i am able to create CASE expression, But when I assign the CASE expression to Schema Evaluation Event to trigger the Process schema dynamically, I am getting error message as 'Process scheme not found'. Here is what i did .
My requirement is to trigger the process controlled workflow based on u2018catalogu2019 and u2018noncatalogu2019. I have created a custom BRF 'ZSC_DYNAM_SCHEMA' type of '0CE001'. Case Expression of ''ZSC_DYNAM_SCHEMA' is 'ZSC_EX_CAT_NONCAT' type of '0CF001' and result type is 'C' with size of '26'. i have coded in the method of expression 'ZSC_EX_CAT_NONCAT' to pass the 'catalog -'ZSC_CAT_SCHEMA ' or 'noncatalog-''ZSC_NONCAT_SCHEMA'' to EV_VALUE . Now i assign the expression 'ZSC_DYNAM_SCHEMA' to event ''ZSC_EV_DYNAM_EVA'. event 'ZSC_EV_DYNAM_EVA' is schema evaluation. I have configured in schema definition such as BUS2121 'ZSC_CAT_SCHEMA' and BUS2121 ''ZSC_NONCAT_SCHEMA'. Hope you understand my question. But I am getting an error message said that u2018Process scheme not foundu2019. your help will be highly appreciated .
john.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.