TEMPLATE_GENERATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter TEMPLATE_GENERATE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Program TEMPLATE_GENERATE
Text Symbol: 001 = Template:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
STREE_STRUCTURE_EXIST CALL FUNCTION 'STREE_STRUCTURE_EXIST' EXPORTING STRUCTURE_ID = STRUC_ID IMPORTING MESSAGE = L_MESSAGE STRUCTURE_HEADER = L_STRUCTURE_HEADER.
STREE_GET_PARAMETER_VALUES CALL FUNCTION 'STREE_GET_PARAMETER_VALUES' EXPORTING STRUCTURE_ID = STRUC_ID TABLES PARAMETER_VALUES = L_T_SELECTION_PARAMETERS.
STREE_STRUCTURE_FILTER CALL FUNCTION 'STREE_STRUCTURE_FILTER' EXPORTING STRUCTURE_ID = L_STRUCTURE_HEADER-ID DESCRIPTION = DESCR LANGUAGE = L_STRUCTURE_HEADER-MASTERLANG STRUCTURE_TYPE = L_STRUCTURE_HEADER-TYPE PARENT_STRUCTURE_ID = L_STRUCTURE_HEADER-TREE_ID * PARENT_FILTER_ID = ' ' SWITCH_NODES_OFF = ' ' * REDUCED_FILTER = ' ' * NO_TRANSPORT_CHECK = ' ' DEVELOPMENT_CLASS = DEVCLASS * IMPORTING * MESSAGE = * NEW_STRUCTURE_ID = TABLES * PARENT_STRUCTURE = * LIST_OF_REFERENCES = LIST_OF_NODES = L_T_NODES_FOR_ACTIVATION * SWITCH_OFF_REFERENCES = * SWITCH_OFF_NODES = * FILTERED_STRUCTURE = .
SO_EXPRESS_FLAG_SET CALL FUNCTION 'SO_EXPRESS_FLAG_SET' EXPORTING * CLIENT = ' ' TEXT_INFO = L_TEXT_INFO * PROCESS_PARAM = * PROCDIRECT = 'X' * SINGLENTRY = ' ' INBOX = '' POPUP_TITLE = L_POPUP_TITLE * PERIOD_OF_VALIDITY = '00000000' * IMPORTING * SENT_TO_ALL = TABLES REC_TAB = L_T_REC_TAB EXCEPTIONS * NO_RECEIVER_EXIST = 1 * OFFICE_NAME_ERROR = 2 OTHERS = 0 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.