Skip to Content

Process Controlled workflow

Hello experts,

We are trying to use process controlled work flow for SC approval. Approval process will be multiple based on the amount of shopping cart. Somebody has already activated BC set for one step approval in the system. If i want to have my own process schema ( multiple approval ),what i supposed to do? Do i delete the existing schema attached to BUS2121 or create my own schema ?

How system will determine which schema needs to be picked up after creation of SC?

Regards,

Sagar

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 23, 2010 at 07:44 PM

    Hi

    You don't need to delete any schema.. Please go ahead and create your own schema and create an event with constant expression for your schema name..

    Specify that Event ID under u201CProcess Schema Evaluation folderu201D of BUS2121 object type.. Now your schema will get triggered..

    Let me know if you need more help..

    Thanks!!

    Bharath

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 25, 2010 at 04:53 AM

    Hello Bharat,

    Thanx for reply.

    I have below cases for process controlled workflow.

    1. No approval

    2. One step approval

    3.Multi level approval.

    All the above scenario will be decided based on the Z field which we have added to SC header. My understanding in this case is to have three process schema for above cases. Name of schema will be decided by Evaluation ID.

    Once the schema is decided then i need to define process level for each process schema.

    Please let me know if i am on the right track??

    Regards,

    Sagar

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 25, 2010 at 05:54 PM

    Hello Bhrath,

    I am writing the function module based expression to find out the siutable schema for my above three req. Onlu GUID of SC available in FM. How can i get access to SC other field during creation in this FM?

    Regards,

    Sagar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      SVS,

      You need to write a FM based BRF Expression in this case and following Methods can be called within your custom BRF expression to get the details of SC at header and/or item level.

      ol_pdo_sc->get_header_detail

      and

      ol_pdo_sc->get_item_detail

      Virender Singh

  • Aug 30, 2010 at 01:26 PM

    Hello Bhrath,

    Thanx for your help.

    Now I am able to select schema based on my condition. I am stuck in detrmining multiple approver. As fas as one levl approver is concern, i have added one process level where responsible resolver name is RR_MANAGER and it is working fine.

    But in case of multiple approval, no of approver are going to vary, how am i going to decide the process level in this schema?

    Regards,

    Sagar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sagar,

      You need to implement a BADI (/SAPSRM/BD_WF_RESP_RESOLVER) and create your own Event ID with Z FM or Class to play with process levels dynamically..

      Thanks!!

      Bharath