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

Giving the input as sy-datum to GDATU not working..

Hi Gurus,

I am working on customized function module in this function module one of the input is GDATU for this we are giving the input as sydatum.

But it is not working. When we are manually enter the date like DD.MM.YYYY it' working fine.

I have tried below function modules. But it is not working.

CONVERSION_EXIT_INVDT_INPUT

CONVERSION_EXIT_INVDT_OUTPUT.

Also i have tried below syntax.

CONVERT DATE SY-DATUM INTO INVERTED-DATE DATE_INV.

Please advise.

Regards

Sudhir Saripalli

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2015 at 01:05 PM

    Hi,

    I have solved this problem. For inverted date conversion i have used.

    Variable = 99999999 - SY-DATUM.

    Regards

    Sudhir Saripalli.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2015 at 04:14 PM

    Hi Sudhir,

    Assume you try load since datasource infopackage, try mark conversion routine.

    Regards


    check4.png (18.3 kB)
    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.