TEMPLATE_GENERATE_NEW 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_NEW 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: New method for generating the template filter
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
STREE_STRUCTURE_ENQUEUE CALL FUNCTION 'STREE_STRUCTURE_ENQUEUE' EXPORTING ID = filter IMPORTING MESSAGE = message.
STREE_RAISE_MESSAGE CALL FUNCTION 'STREE_RAISE_MESSAGE' EXPORTING MESSAGE = message.
STREE_STRUCTURE_READ CALL FUNCTION 'STREE_STRUCTURE_READ' EXPORTING STRUCTURE_ID = FILTER IMPORTING * MESSAGE = STRUCTURE_HEADER = TEMPLATE_HEADER TABLES * DESCRIPTION = * POSSIBLE_NODE_TYPES = * VISIBLE_NODE_TYPES = ACTIVE_NODES = ACTIVE_NODES * EXTENSION_SEQUENCE = .
STREE_GET_PARAMETER_VALUES CALL FUNCTION 'STREE_GET_PARAMETER_VALUES' EXPORTING STRUCTURE_ID = filter TABLES PARAMETER_VALUES = MARKED_NODES.
STREE_STRUCTURE_EXIST CALL FUNCTION 'STREE_STRUCTURE_EXIST' EXPORTING STRUCTURE_ID = TEMPLATE_HEADER-TREE_ID * READ_FROM_DATABASE = * DO_NOT_READ_DEVCLASS = ' ' IMPORTING * MESSAGE = STRUCTURE_HEADER = REFSTRUCTURE_HEADER * STRUCTURE_IS_ORIGINAL = * STRUCTURE_IS_TRANSPORTABLE = * STRUCTURE_TADIR = .
RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING FUNCNAME = USER_PARAMS_FB IMPORTING ACTIVE = ACTIVE EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
STREE_NODE_READ CALL FUNCTION 'STREE_NODE_READ' EXPORTING STRUCTURE_ID = TEMPLATE_HEADER-TREE_ID * DATABASE_IDENTIFIER = NODE_ID = NODE_ID IMPORTING NODE_INFO = NODE_INFO * NODE_TEXT = * MESSAGE = * TABLES * NODE_REFERENCES = .
STREE_RESET_INTERNAL_TABLES CALL FUNCTION 'STREE_RESET_INTERNAL_TABLES' EXPORTING STRUCTURE_ID = filter.
STREE_STRUCTURE_DEQUEUE CALL FUNCTION 'STREE_STRUCTURE_DEQUEUE' EXPORTING ID = filter IMPORTING MESSAGE = message.
STREE_RAISE_MESSAGE CALL FUNCTION 'STREE_RAISE_MESSAGE' EXPORTING MESSAGE = message.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
TEMPLATE_GENERATE_NEW - New method for generating the template filter TEMPLATE_GENERATE_NEW - New method for generating the template filter TEMPLATE_GENERATE - Program TEMPLATE_GENERATE TEMPLATE_GENERATE - Program TEMPLATE_GENERATE TEMPLATE_BRFPLUS_FUNCTION_CALL - TEMPLATEBRFPLUSFUNCTIONCALL TECHS_MAINTAIN - Program TECHS_MAINTAIN