cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic selection for Fiscal year in variant

a_ahmad
Participant
0 Kudos

Hi all,

The idea is to run ABAP program in process chain with a variant where value for Fiscal year is filled in by variable/dynamic selection.

So by clicking on 'Variants' in SE38, created a new variant then 'attributes' button where I can see all attributes. Here for Fiscal Year field, I need to create selection like (Current year - 1)

could you please guide how to do this?

Thanks

Ahmad

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182470
Active Contributor
0 Kudos

The best thing is hardcode in your ABAP code with Currentyear-1.

MGrob
Active Contributor
0 Kudos

Hi

Have you tried to maintain the fiscalvariant in tx STVARV and read it from there with your abap program. This way you can dynamically change the value without transport etc.

hope that is what you look for

Martin

former_member183012
Active Contributor
0 Kudos

This message was moderated.