cancel
Showing results for 
Search instead for 
Did you mean: 

Process Controlled workflow

SagarSontakke
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

SagarSontakke
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

SagarSontakke
Active Participant
0 Kudos

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

Former Member
0 Kudos

Use FM BBP_PD_SC_GETDETAIL to get all the information of SC based on SC GUID..

Thanks!!

Bharath

Former Member
0 Kudos

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

SagarSontakke
Active Participant
0 Kudos

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

Former Member
0 Kudos

Yes you are in right direction...

Thanks!!

Bharath

Former Member
0 Kudos

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