TSE05 report header does not populate when creating new program
When I create a new program in SE38, the header defined in TSE05 (Object ABAP and Keyword REPORT // same for Object ADDM) do not come into the editor screen.
In Abap Editor we get this:
Am I missing a setting or something to pull in the values as soon a a report is created?
Manish Kumar replied
The header comes automatically for me via ADDM/REPORT entry in TSE05.
I don't see any setting in ABAP Editor that lets me opt out of report header.
During system debugging, I can see that header is inserted in include LSEDTATTRF10, subroutine INSERT_PROGRAM, call to subroutine fetch_template.
You can breakpoint at above location, or at insert report statement with system debugging (/hs) enabled to see whether program initially creates a header or not.
It is possible that header is present in first call to insert report, and that comment is removed at a later stage either by standard, implicit enhancement, user exit SEUED001.
This would help you to find out why header is missing.
As per correct answer in Template for SE38, you can anyways manipulate the code and insert your custom header using user exit SEUED001. Pay attention to value of parameter OPERATION (edit, show etc).