Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
Former Member replied

Hi,

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

Variable = 99999999 - SY-DATUM.

Regards

Sudhir Saripalli.

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question