Application Development and Automation 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: 
Read only

how to create variant with variable field

Former Member
0 Likes
2,715

i want ot creat a variant ..when selected will fill up the last date of the previous month in one of the fields.This will be the variant the user will using always.I can't code in intialization part Because they have given the variant name. and don't want to see any initail value before entering the values

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,406

Hi,

SE38 -> Enter program

Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.

Now the selection screen will display with a button "Variant Attributes" at the top.

Click on that button.

In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.

In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.

Now whenever you run the prgrm with this variant, date will be displayed by default.

Regards,

Subramanian

1 REPLY 1
Read only

Former Member
0 Likes
1,407

Hi,

SE38 -> Enter program

Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.

Now the selection screen will display with a button "Variant Attributes" at the top.

Click on that button.

In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.

In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.

Now whenever you run the prgrm with this variant, date will be displayed by default.

Regards,

Subramanian