Show TOC

Process documentationAdditional Print Information Locate this document in the navigation structure

 

The following internal tables must be modified to print or exclude additional fields.

  • STRUCTURE_TABLE contains the structure description of the data to be printed, and has the structure DFIES

  • VALUE_TAB contains the data to be printed, and has the structure specified in the STRUCTURE_TABLE.

Process

The user form routine should be as follows:

Syntax Syntax

  1. FORM name
    DATA: BEGIN OF FTAB pccurs 10.
    INCLUDE STRUCTURE DFIES.
    DATA: END OF FTAB.
    *1. Strukturtabelle modifizieren....
    *1.1. prüfen, ob bereits erledigt
    
    LOOP AT STRUCTURE_TABLE WHERE.......
    EXIT.
    ENDLOOP.
    
    *1.2. falls noch nicht erledigt > modifizieren
    
    IF SY-SUBRC.....
    
    * Feldinformationen für die evtl. hinzuzufügenden
    * Felder besorgen
    * STRUCTURE_TABLE modifizieren, z.B. APPEND oder DELETE
    * 2. Wertetabelle modifzieren, z.B. Feldinhalte an die
    * Zeilen anhängen oder Feldinhalte aus den Zeilen
    * löschen
    LOOP AT VALUE_TAB.
    .......
    ENDLOOP.
    ENDFORM.
End of the source code.