Skip to Content
author's profile photo Former Member
Former Member

Process Schema Not Found

Hi All,

I have created an Eval Id (Z_EVAL01 & this is also event), and this event linked to a case expression (Z_SCHEMA) and I have 3 process levels for the schema.

I have created another custom expression ZEX_SC_CATEGORY of type 0CF001 with result type C.I have copid the std FM "/SAPSRM_WF_BRF_0EXP000" and created a copy "ZSAPSRM_WF_BRF_0EXP000" and assigned that to this expression.

The Parameters are Z_C1_C_CON_CLASS(copy of std class /SAPSRM/CL_WF_RULE_CONTXT_SC) & Z_C2_C_GET_WF_EVENT(Method GET_WF_EVENT). i have to check if user belongs to org1, schema1 will get executed else schema2 else schema3 will be executed.I'm getting Process Schema Not Found error. How to check this condition? Any inputs?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2012 at 05:53 AM

    Hi,

    This error is coming because the expression you have used to select either schema1,2 or 3 is unable to return the desired constant thats your schema name.

    Kindly check the expression used to schema determination,

    Regards

    Sam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2012 at 07:55 PM

    Hi,

    You can take the help of SLG1 to see what condition returned false and then you need to start to check.

    You can also debug the class /SAPSRM/CL_WF_CONFIGURATION method GET_PROCESS_SCHEME

    /SAPSRM/CL_WF_SCHEME_PROVIDER method GET_SCHEME

    select evaluation_id <<<

    to find what is happening.

    Thanks,

    Melina

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.