Skip to Content
0
Former Member
Sep 26, 2007 at 01:35 PM

Custom Process Type - Creating the variant screen

15 Views

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