Skip to Content

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

Inverte - Date function in Update Rules

Hi All,

We are writing a code for converting the data into a date field using INVERTE-DATE function.

The field GDATU in the Table TCURR needs to be converted.

GDATU - Date As of Which the Exchange Rate Is Effective. This is not in proper format, hence we used the below code to converte in to a proper one.


DATA: tcurr_tab TYPE TABLE OF tcurr.

data: date_normal type sy-datum.


<tcurr_wa> TYPE tcurr.

SELECT gdatu FROM tcurr INTO corresponding fields of

TABLE tcurr_tab.

SORT tcurr_tab BY gdatu.

LOOP AT tcurr_tab ASSIGNING <tcurr_wa>.


CONVERT INVERTED-DATE <tcurr_wa>-gdatu

INTO DATE date_normal. "move that to normal date field

write:/ date_normal. "take a normal date field


when I check for this code... it gives us the below error message

E:Variants with INVERTED-DATE are no longer supported in the OO context.

Use TRANSLATE ... USING '1928374664738291' instead

Can anyone suggest me what could be done to solve this issue.



Former Member
Not what you were looking for? View more on this topic or Ask a question