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

Default date field variant

Former Member
0 Likes
1,033

Hi All,

We have a program where in we are populating default date range as ysetreday to today.No i need to build a variant which accepts these default values.When i set up a variant i cant give dates.The variant has to pickup the default date populated from the program.

how do we achieve this?

Please help.

Thanks,

Sai Prasad

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
844

Hi Sai,

I guess you have defined the date as select options, right.

1. Then when you are managing the date range programatically why to have date as select options in selection screen?

2. If you want the date range to be in selection screen, then create a variant and make the date selection dynamic thru variant.

3. Or submit the program by giving the date range thru another program.

regards,

Simha

4 REPLIES 4
Read only

Former Member
0 Likes
845

Hi Sai,

I guess you have defined the date as select options, right.

1. Then when you are managing the date range programatically why to have date as select options in selection screen?

2. If you want the date range to be in selection screen, then create a variant and make the date selection dynamic thru variant.

3. Or submit the program by giving the date range thru another program.

regards,

Simha

Read only

Former Member
0 Likes
844

Hi Sai,

This was a scenario which I had once encountered but to be specific look out for the following links to get a clear idea.If not revert for further exact solution.

http://help.sap.com/saphelp_nw04/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c0/980398e58611d194cc00a0c94260a5/content.htm

Thanks And regards

Srikanth.P

Read only

Former Member
0 Likes
844

another way of doing it is by using Selection variable maintenance.

Read only

0 Likes
844

Hi Prabhu,

Can you throw some light as to what you meant by 'Selection variable maintenance'

Just curious to know.

Thanks,

Simha