SAP Function TR_READ_REQUEST - Read Individual Parts of a Request (Subsequently)

Parameter Reference Type Length Default Optional Text
IV_READ_ATTRIBUTES C C 0 ' ' X 'X': Read request attributes
IV_READ_E070 C C 0 ' ' X 'X': Read request header information
IV_READ_E070C C C 0 ' ' X 'X': Read request client
IV_READ_E070M C C 0 ' ' X 'X': Read request client
IV_READ_E07T C C 0 ' ' X 'X': Read request short text
IV_READ_OBJS_KEYS C C 0 ' ' X 'X': Read objects and key of the request
IV_TRKORR TRKORR C 20 X

Parameter Reference Type Length Default Optional Text
CS_REQUEST TRWBO_REQUEST 0 X Complete request

Exception Text
ERROR_OCCURED Error during reading
NO_AUTHORIZATION No read or display authorization

Functionality
This function module reads a complete request from the database:Request header, objects and keys, attributes.
The module accesses the following tables:

  • E070, if parameter iv_read_e070 = 'X'

  • E070C, if parameter iv_read_e070C = 'X'

  • E07T, if parameter iv_read_e07t = 'X'

  • E070M, if parameter iv_read_e070m = 'X'

  • E071 and E071K, if parameter iv_read_objs_keys = 'X'

  • (also E070, and maybe E070C, E070TC and E071C)
    • E070A, if parameter iv_read_attributes = 'X'
    • Notes
      If you want to read the objects (table E071) of a releasedrequest, the lock flag (E071-LOCKFLAG) is read in a special way:

      • The request originates in the current system

      • sy-mandt = e070c-client
        Always display space
        sy-mandt <> e070c-client
        E070TC entry for sy-mandt does not exist
        Always display space
        E070TC entry for sy-mandt exists
        Display E071C-LOCKFLAG if it exists, otherwise space
        RESET N1
        • The request does not originate in the current system

        • E070TC entry for sy-mandt exists, or the request does not have anE070TC entry for any client
          Display E071C-LOCKFLAG if it exists, otherwise E071-LOCKFLAG
          There is an E070TC entry for another client, but not for sy-mandt
          Always display space