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: 

Default date field variant

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Hi Prabhu,

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

Just curious to know.

Thanks,

Simha