Skip to Content
avatar image
Former Member

CG42 Add ABAP code and custom variable to report created in CG02 / CG54

Hello experts!

I am new with CG02 / CG54 reports and have an urgent requirement to add a custom date to an existing report. I know report templates can be created or edited in transaction CG42.

I would like to know how to add a custom variable (string) to display date as "DD/MMM/YY", where MMM contains chars ('JAN', 'FEB'... 'DEC'). Current date is displayed as variable in the report. I need to catch this date, format it and display it in the report.

Question: How can I add a custom variable and the corresponding ABAP code to set it properly?

Thank you in advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers