cancel
Showing results for 
Search instead for 
Did you mean: 

Date Variable....

Former Member
0 Kudos

Hi,

user want to have a current day as a default value in the variable.

And also he want to have this variable ready for manual entry of the date.

Let me know please if we can do this.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

Use enhancement RSR0001 for this requirement where define a variable filled with customer exit with option "Ready for input"..

In code use following pseudo logic,

if I_STEP = 1 .

date = sy-datum.

endif.

Hope that helps.

Regards

Mr Kapadia

Answers (2)

Answers (2)

former_member205352
Active Contributor
0 Kudos

Create a customer exit variable which is ready for input.

In the CMOD exit populate sy-datum.

Use this variable in the query

Thats it

Hope this helps.

rajkumar_kandula
Active Contributor
0 Kudos

Hi Jeetu,

IF you want a default value to be there in variable you can make use of a customer exit with siome coding in i_step=2.

For info on Customer Exits refere this link

http://help.sap.com/saphelp_nw70/helpdata/EN/f1/0a56f5e09411d2acb90000e829fbfe/content.htm