Ansicht
Dokumentation

GENCODE - Generate Source Code for API Calls

GENCODE - Generate Source Code for API Calls

Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Description

To generate the source code, a function module is called for each API application for which an example is to be shown. This function module queries the details and displays the resulting code.

To create new function modules, extend the definition of the API tree in form routine TREE_DEFINE. The following call creates an entry in the tree:

perform tree_node using  level           "Ebene des Knotens im Baum
                         text            "darzustellender Text
                         fbaustein.      "Name des aufzurufenden FBau.

To make the tree definition more readable, you can use the macro node. This replaces the "perform tree_node" command and has the same parameter list.

If an entry is a branch node rather than a selectable function, 'X' is transferred for fbaustein.

Requirements

Output

Example






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1446 Date: 20240531 Time: 190710     sap01-206 ( 20 ms )