cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the workflow designing for Billing document creation

Former Member
0 Kudos

Hi ,

Due to the new requirement, when we are creating billing document using VF01 for some billing types need to do the custom workflow approval. For this we had created

1. New BOR object (ZVBRK) along with new event (CREATED) by giving delegation to the sap standard object VBRK.

2. Created new custom workflow (WS88000010) to cater to this particular billing types . 

3. Maintained the linkage between new object's event and to this custom workflow template.

4. When creating new billing document, if the billing type is required then I am triggering the CREATED event so that Workflow WS88000010 is triggering.

Now as per requirements it is working fine.  But I have some queries i.e. If in future for some other new billing types if they want to setup with new workflow, how can I achieve this ? Is it good approach to create new events in the same business object for new billing type and  new workflow template. So that we can do even type linkages for the new event and new workflow ?

Thanks & Regards,

Praveen..

Accepted Solutions (0)

Answers (2)

Answers (2)

ronen_weisz
Active Contributor
0 Kudos

"If in future for some other new billing types if they want to setup with new workflow, how can I achieve this ?"


I would recommend as Anjan wrote, don't create a workflow every time but check the requirements, if they are the same, you might be able to use the same workflow, if not, you can create a new workflow and set a starting condition.


Start Conditions for Workflows - WebFlow Engine (BC-BMT-WFM) - SAP Library


"Is it good approach to create new events in the same business object for new billing type and  new workflow template.So that we can do even type linkages for the new event and new workflow ?"


New events - No - create an attribute in your z-object for the type if it doesn't exist and use it in your starting condition on the same event. New workflow - again - check the requirements. 

anjan_paul
Active Contributor
0 Kudos

Hi,

  No need to create workflow everytime. Just  create workflow once, and in the check condition in swdd-> version  Independant -> Start Evetns -> add start condition based  on document  type