Skip to Content
author's profile photo Former Member
Former Member

Billing Date in vf01 to make default system date

hi all,

i need to make billing date in vf01 as system date(sy-datum) by default.

how to get it done.

any idea.

thanks

Venkat.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 10:23 AM

    Hi,

    You may nuse the field exit for the same. There will be only one line of code in it. Viz.

    OUTPUT = sy-dayum.

    I hope this helps,

    Regards

    Raju Chitale

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 23, 2008 at 10:36 AM

    Hi...

    You can do this with Enhancements Or BADi depending on availble objects for that screen. I will let you know the procedure to achieve same thing with BADI.

    1. goto Class CL_EXITHANDLER from SE24, Double click the method INSTANCE, there is a select statement to pick BADI name into one variable , now make a break point there.

    2. By opening the VF01 this breal point will triggers and you can find corresponding BADI.

    3. Or you can find the BADI name in your way.

    4. Goto SE19

    5. Enter the BADI Name to impliment it...give implimentation name

    6. Inside the BADI yo van have no.of interface methods..with details descriptions

    7. Also find the Attribute name for you Date field, that must be there in one table parameter....

    8. Now double click the interface method to write your code

    9. " TABLE-FIELD = sy-datum " ...is your code here. TABLE is the attribute which you found earlier.

    Thats it.

    All the best.

    Thanks,

    Naveen.I

    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.