Skip to Content

Customer exit

hi

Any one provide code for customer exit

to populate default current date

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 15, 2011 at 09:47 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 09:52 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 09:57 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.