Show TOC

Background documentation'its-import_context' Macro Locate this document in the navigation structure

 

You use the its_import_context function to return all context fields of the ITS as an internal table. This is useful is the number of fields returned by the Web browser is too large or is not known.

Example

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.
End of the source code.