Show TOC

HintergrundMakro 'its-import_context' Dieses Dokument in der Navigationsstruktur finden

 

Mit der Funktion its_import_context geben Sie alle Kontextfelder vom ITS als interne Tabelle zurück. Dies ist hilfreich, wenn die Anzahl der Felder, die vom Web-Browser zurückgegeben werden, zu groß oder nicht bekannt ist.

Beispiel

Syntax Syntax

  1. data: context like savwctxt occurs 0 with header line.
      call function 'its_import_context'
         tables
          context = context
         exceptions
          its_not_available = 1
          others = 2.
      if sy-subrc <> 0.
        exit.
      endif.
      loop at context.
      ...
      endloop.
Ende des Codes