cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Process Type - Creating the variant screen

Former Member
0 Kudos

My custom process type's logic is rather simple: run parts of the process chain only if it is the first day of the month, other parts only if it the last day of the month.

I created a new custom process type (ABAP OO Class), but I am now struggling with creating the logic to create/maintain a variant for my custom process type.

My goal is to have a simple interface with two radio buttons where the user clicks on the "new variant" icon. One choice is "run on the first day of the month", the other choice is "run at the last day of the month".

My understanding is that this logic has to be implemented in the method IF_RSPC_MAINTAIN~MAINTAIN.

To support this, I also created a database table that consists of:

- process chain id

- run type (B = beginning of month / E = end of month)

- current process type id (not quite sure how to populate this field yet...)

Can someone now point me into the direction on how the create the variant logic so that the radio buttons get displayed and the table updated with the user's choice?

Thank you,

Dennis

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Any ideas?

rogerheckly
Explorer
0 Kudos

I'm looking for something similiar - to create a custom process type with an own variant form.

Do you have a solution for that?