openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/REPOSITORY_INTERN_EXPAND:
    post:
      tags:
      - SEUA
      operationId: /rfc/REPOSITORY_INTERN_EXPAND
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTROL_DATA:
                  type: object
                  properties:
                    OBJ_TYPE:
                      type: string
                      maxLength: 15
                      description: Object type
                    IS_ENCLOBJ:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    FUNCTION:
                      type: string
                      maxLength: 8
                      description: 'Repository Infosystem: Function ID (S,C,U)'
                    PROGRAM:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    RAW_MAX:
                      type: integer
                      format: int32
                      description: Number of hits
                    VARIANT:
                      type: string
                      maxLength: 14
                      description: 'ABAP: Name of variant (without program name)'
                    F4_SET:
                      type: string
                      maxLength: 1
                      description: Repository Info System Called for F4 Help
                    F4_DISPLAY:
                      type: string
                      maxLength: 1
                      description: Start F4 Help in Display Mode, Without Object Selection
                    LOOPC:
                      type: integer
                      format: int32
                      description: Maximum Number of Selected Entries
                    SELEALL:
                      type: string
                      maxLength: 1
                      description: 'Selection screen: The system displays all selection criteria'
                    SUPPSELE:
                      type: string
                      maxLength: 1
                      description: Skip selection screen
                    NO_DIALOG:
                      type: string
                      maxLength: 1
                      description: Do not Allow Dialogs; Suppress All Pictures
                    POPUP:
                      type: string
                      maxLength: 1
                      description: 'Repos.Infosystem: Send Selection Screen + List in Dialog Box'
                    RESTRICT:
                      type: string
                      maxLength: 1
                      description: 'ABAP/4 Repository Info System: ID for post selection'
                    SYSTEM:
                      type: string
                      maxLength: 10
                      description: Original System of Object
                    F4LASTVAL:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    LINE_SIZE:
                      type: integer
                      format: int32
                      description: Line width of list
                    LINE_COUNT:
                      type: integer
                      format: int32
                      description: Page Length of List
                    EXTERN:
                      type: string
                      maxLength: 1
                      description: 'ABAP/4 Repository Information System: External call'
                    FIRST:
                      type: string
                      maxLength: 1
                      description: 'Information system: First Selection'
                    TAKE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    APPL_HIRA:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    SELECT_SET:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    SELECTDARK:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    SORTFIELD:
                      type: string
                      maxLength: 30
                      description: Field Name
                    KEYFIELD:
                      type: string
                      maxLength: 30
                      description: Field Name
                    KEYFIELD2:
                      type: string
                      maxLength: 30
                      description: Field Name
                    DELETE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    LIST_FORM:
                      type: string
                      maxLength: 5
                      description: R/2 table
                    LIST_STACO:
                      type: integer
                      format: int32
                      description: First List Column Displayed
                    LIST_STARO:
                      type: integer
                      format: int32
                      description: Top Displayed Line
                    LIST_CPAGE:
                      type: integer
                      format: int32
                      description: Current Page Number of a List
                    LIST_COLMN:
                      type: integer
                      format: int32
                      description: Horizontal Cursor Position at PAI
                    LIST_LINE:
                      type: integer
                      format: int32
                      description: Vertical Cursor Position at PAI
                    TADIR_KEY:
                      type: string
                      maxLength: 4
                      description: Object Type
                    MEMOID_OBJ:
                      type: string
                      maxLength: 20
                      description: Char 20
                    IS_EXP_OBJ:
                      type: string
                      maxLength: 1
                      description: 'Repository-Infosystem: List nodes can be expanded'
                    MAX_COMP:
                      type: integer
                      format: int32
                      description: Natural number
                    COUNT_COMP:
                      type: integer
                      format: int32
                      description: Natural number
                    ALL_COMP:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    ALL_FIELDS:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    OBJ_FILL:
                      type: integer
                      format: int32
                      description: Row Number of Internal Tables
                    BATCH_LIST:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    WITH_REST:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    CONTINUE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    MUSTEXPAND:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    GOON:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    REUSE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    SELSCREEN:
                      type: string
                      maxLength: 1
                      description: Start via selection screen
                    REACTIVATE:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    UCOMM:
                      type: string
                      maxLength: 70
                      description: Function code that PAI triggered
                    BLOCKLIST:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    REFRESH:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    ALVVARIANT:
                      type: object
                      properties:
                        REPORT:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        HANDLE:
                          type: string
                          maxLength: 4
                          description: Mgt. ID for repeated calls from the same program
                        LOG_GROUP:
                          type: string
                          maxLength: 4
                          description: Logical group name
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User name for user-specific storage
                        VARIANT:
                          type: string
                          maxLength: 12
                          description: Layout
                        TEXT:
                          type: string
                          maxLength: 40
                          description: Description for layout
                        DEPENDVARS:
                          type: string
                          maxLength: 10
                          description: Dependent variant entry vector
                    OBJLEN:
                      type: string
                      maxLength: 2
                      description: Version Number Component
                    IN_COLLEC:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    START_X:
                      type: integer
                      format: int32
                      description: Natural number
                    START_Y:
                      type: integer
                      format: int32
                      description: Natural number
                    F4STANDARD:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    NODEVCLASS:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    PARALLEL:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    F4NOPRIVAT:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    INDIRECT:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                OBJTYPE:
                  type: string
                  maxLength: 15
                PROGRAM:
                  type: string
                  maxLength: 40
                  description: 'ABAP Program: Current Main Program'
                ENVI_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 15
                        description: Object type
                      OBJECT:
                        type: string
                        maxLength: 180
                        description: 'WB Request: Key for Object in Development Environment'
                      ENCL_OBJ:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      CALL_OBJ:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      CALL_TYPE:
                        type: string
                        maxLength: 15
                        description: Object type
                      CALL_DEVCL:
                        type: string
                        maxLength: 30
                        description: Package
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Object Type
                      ENCL_NUM:
                        type: integer
                        format: int32
                        description: Line index for internal table processing
                      COUNTER:
                        type: integer
                        format: int32
                        description: Line index for internal table processing
                      INT_TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      DONE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TADIR:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      PRIVATE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      FORGN_APP:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      GENFLAG:
                        type: string
                        maxLength: 1
                        description: Generation flag
                      NO_CUST:
                        type: string
                        maxLength: 1
                        description: Flag for Customer Delivery
                      APPL:
                        type: string
                        maxLength: 20
                        description: Function
                      OUTPUT:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      DELETE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                EXPAND_TABIX:
                  type: array
                  items:
                    type: object
                    properties:
                      TABIX:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                FOUND_COLUMNS:
                  type: array
                  items:
                    type: object
                    properties:
                      INCLUDE:
                        type: string
                        maxLength: 72
                        description: Object name in where-used list
                      STATE:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Program Status (Active, Saved, Transported...)'
                      ROW:
                        type: integer
                        format: int32
                        description: Number of source line where token appears (>= 1)
                      COL:
                        type: integer
                        format: int32
                        description: Column position of token (>= 0)
                      MARK_LEN:
                        type: integer
                        format: int32
                        description: Length of token
                REPOSITORY_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      BUFFER:
                        type: string
                        maxLength: 2000
                        description: 'Repository Info System: Data Transfer Buffer'
                      TABIX:
                        type: integer
                        format: int64
                        description: Table Row
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      BUFFER:
                        type: string
                        maxLength: 2000
                        description: 'Repository Info System: Data Transfer Buffer'
                      TABIX:
                        type: integer
                        format: int64
                        description: Table Row
              required:
              - CONTROL_DATA
              - OBJTYPE
              - PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COUNT:
                    type: integer
                    format: int32
                  ENVI_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 15
                          description: Object type
                        OBJECT:
                          type: string
                          maxLength: 180
                          description: 'WB Request: Key for Object in Development Environment'
                        ENCL_OBJ:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        CALL_OBJ:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        CALL_TYPE:
                          type: string
                          maxLength: 15
                          description: Object type
                        CALL_DEVCL:
                          type: string
                          maxLength: 30
                          description: Package
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Object Type
                        ENCL_NUM:
                          type: integer
                          format: int32
                          description: Line index for internal table processing
                        COUNTER:
                          type: integer
                          format: int32
                          description: Line index for internal table processing
                        INT_TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        DONE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        TADIR:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        PRIVATE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        FORGN_APP:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        GENFLAG:
                          type: string
                          maxLength: 1
                          description: Generation flag
                        NO_CUST:
                          type: string
                          maxLength: 1
                          description: Flag for Customer Delivery
                        APPL:
                          type: string
                          maxLength: 20
                          description: Function
                        OUTPUT:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        DELETE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  EXPAND_TABIX:
                    type: array
                    items:
                      type: object
                      properties:
                        TABIX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                  FOUND_COLUMNS:
                    type: array
                    items:
                      type: object
                      properties:
                        INCLUDE:
                          type: string
                          maxLength: 72
                          description: Object name in where-used list
                        STATE:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        ROW:
                          type: integer
                          format: int32
                          description: Number of source line where token appears (>= 1)
                        COL:
                          type: integer
                          format: int32
                          description: Column position of token (>= 0)
                        MARK_LEN:
                          type: integer
                          format: int32
                          description: Length of token
                  REPOSITORY_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        BUFFER:
                          type: string
                          maxLength: 2000
                          description: 'Repository Info System: Data Transfer Buffer'
                        TABIX:
                          type: integer
                          format: int64
                          description: Table Row
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        BUFFER:
                          type: string
                          maxLength: 2000
                          description: 'Repository Info System: Data Transfer Buffer'
                        TABIX:
                          type: integer
                          format: int64
                          description: Table Row
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
