openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OSP/REPORT_GET_PARAM_DETAILS:
    post:
      tags:
      - /OSP/R3_REPORT
      summary: Get details of a selection screen parameters of a report
      operationId: /rfc/OSP/REPORT_GET_PARAM_DETAILS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_REPORT_NAME:
                  type: string
                  maxLength: 40
                  description: Report Name
              required:
              - IV_REPORT_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_PARAM_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: ' Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: Type of selection
                        RADIO:
                          type: string
                          maxLength: 1
                          description: Checkbox field
                        RADIOGROUP:
                          type: string
                          maxLength: 4
                          description: Character field of length 4
                        CHECKBOX:
                          type: string
                          maxLength: 1
                          description: Checkbox field
                        NO_DISPLAY:
                          type: string
                          maxLength: 1
                          description: Checkbox field
                        DFLT_SIGN:
                          type: string
                          maxLength: 1
                          description: ' I/E (include/exclude values)'
                        DFLT_OPTN:
                          type: string
                          maxLength: 2
                          description: ' Selection option (EQ/BT/CP/...)'
                        DFLT_LOW:
                          type: string
                          maxLength: 45
                          description: Selection value (LOW or HIGH value, external format)
                        DFLT_HIGH:
                          type: string
                          maxLength: 45
                          description: Selection value (LOW or HIGH value, external format)
                        REFFIELD:
                          type: string
                          maxLength: 132
                          description: Name of a Screen Element
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Name Language-dependent text in ABAP/4 text pool
                        OBLIGATORY:
                          type: string
                          maxLength: 1
                          description: Flag
                        NAME:
                          type: string
                          maxLength: 8
                          description: ' Name of SELECT-OPTION / PARAMETER'
                        NUMB:
                          type: integer
                          format: int32
                          description: Sequential selection number
                        OLENGTH:
                          type: integer
                          format: int32
                          description: Output length of selection condition
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Selection field type
                        DTYP:
                          type: string
                          maxLength: 4
                          description: Dictionary type of a selection
                        DBFIELD:
                          type: string
                          maxLength: 132
                          description: Reference field for selection
                        MISCELL:
                          type: string
                          maxLength: 30
                          description: 'Load table SSCR: Field for all purposes'
                        DB:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag: Selection of log. database?'
                        APPENDAGE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag for various purposes (selections)'
                        OFFSET_ABAP:
                          type: integer
                          format: int32
                          description: 'ABAP: Offset on selection screen'
                        LENGTH:
                          type: integer
                          format: int32
                          description: 'ABAP/4: Length of selection field'
                        MATCHCODE:
                          type: string
                          maxLength: 30
                          description: 'ABAP/4: Matchcode entry on selection screen'
                        SPAGPA:
                          type: string
                          maxLength: 60
                          description: Memory ID for EXPORT/IMPORT memory ID
                        LOWER_ABAP:
                          type: string
                          maxLength: 1
                          description: Case Sense
                        NOSELSET:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: No value set allowed for selection?'
                        GROUP1:
                          type: string
                          maxLength: 4
                          description: 'ABAP: Group ID of a selection on the screen'
                        FLAG1:
                          type: string
                          format: byte
                          description: Flag for selection screen description
                        FLAG2:
                          type: string
                          format: byte
                          description: Flag for selection screen description
                        FLAG3:
                          type: string
                          format: byte
                          description: Flag for selection screen description
                        FLAG4:
                          type: string
                          format: byte
                          description: Flag for selection screen description
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
