Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

System variable in variant

SantoshKallem
Active Contributor
0 Kudos

Dear All,

I want the system variable (system date in the variant).

iam creating a job on daily basis. In selection screen i have to pass system date. other then that i have different values which are static.

If i select the variant, todays date should get in the date field.

How can i create that variant.

Thanks & Regards,

santosh reddy

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I think you need to use the function 'RS_CHANGE_CREATED_VARIANT'

please see the below link:

Regards,

Shailaja

2 REPLIES 2

Former Member
0 Kudos

I think you need to use the function 'RS_CHANGE_CREATED_VARIANT'

please see the below link:

Regards,

Shailaja

vinod_vemuru2
Active Contributor
0 Kudos

Hi Santosh,

U have to create a dynamic variant and transport this to ur production system.

Follow below steps. Screen may be slightly different for version 4.6c above.

First fill in all the selection screen data and save the data as variant.

Give some variant name and description. Select the check box corresponding to the Date range as selection variable (L). Next press push button selection variables in the tool bar.

Click on the yellow light corresponds to column D(Stands for Dynamic). It will become green colour.

Then press the down arrow at the end of the date range.

It will display a popup for various calculations. Select any one based on the requirement.

When we press enter next screen will appear with low and high values. Now press

save, you will go back to the previous screen.

Now save this variant.

Thanks,

Vinod.