Skip to Content

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

Jan 14, 2017 at 03:09 AM


avatar image
Former Member

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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers