Show TOC

Additional Print InformationLocate this document in the navigation structure

Use

The following internal tables must be modified to provide extra fields for, or to exclude fields from, printing

  • 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:

        
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.