Skip to Content

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

Field catalog issue using REUSE_ALV_FIELDCATALOG_MERGE

Hello experts,

I am using FM REUSE_ALV_FIELDCATALOG_MERGE and the field catalog is created fron the program.

The field catalog finds the date field from the program but my internal table has been changed to make the date output YYYY/MM/DD.

When I input the internal table in FM REUSE_ALV_GRID_DISPLAY the output displays the date as DD/MM/YYYY which is not what I want.

How can I get FM REAUSE_ALV_GRID_DISPLAY to output the date in the format YYYY/MM/DD which is in my input table.

I have spent a lot of time researching SDN on this but cannot find a similar solution however I did find some examples of changing the field catalogue. Can anybody suggest this is the way to go and if I would use the edit mask field in the field catalog or is there a better way.

Thanks for any suggestions

Former Member
Former Member replied

The field is type d or dats, right? As a result, the display is by user settings. So, declare the field as char (10). Put your date into it without doing WRITE (concatenate substrings separated by '/').

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