cancel
Showing results for 
Search instead for 
Did you mean: 

Customer exit

Former Member
0 Kudos

hi

Any one provide code for customer exit

to populate default current date

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Refer to following link for details of code,

http://help.sap.com/saphelp_nw70/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/content.htm

Considering Variable ZTEST is created on the info object type date.

DATA: L_S_RANGE TYPE RSR_S_RANGESID.

DATA: L_S_VAR_RANGE TYPE RRRANGEEXIT.

 

CASE I_VNAM.

WHEN 'ZTEST'.

IF I_STEP = 1. 

CLEAR L_S_RANGE.

L_S_RANGE-LOW = SY_DATUM.

L_S_RANGE-SIGN = 'I'.

L_S_RANGE-OPT = 'EQ'.

APPEND L_S_RANGE TO E_T_RANGE.

ENDIF.

ENDCASE.

Hope that helps.

Regards

Mr Kapadia

*Assigning points is the way to say thanks*

Edited by: Mr Kapadia on Dec 15, 2011 3:22 PM

anshu_lilhori
Active Contributor
0 Kudos

Hi,

Where you want to populate the default date in variable screen or you need a separeate column for it.

Please provide some more detail so that we cna valuable inputs on the same.

Regards,

AL

Edited by: AL1112 on Dec 15, 2011 10:50 AM