openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_RCONTROLS:
    post:
      tags:
      - SCR1
      summary: 'Graphical Screen Painter: Request Controls (List of Controls)'
      operationId: /rfc/RS_SCRP_GF_RCONTROLS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CATEGORY:
                  type: string
                  default: F
                  maxLength: 1
                  description: Category ('A'..ABAP/4 Control, 'F'.. field control)
                QUALIFIER:
                  type: string
                  default: '00'
                  maxLength: 2
                  description: Type (byte info in format 0xFF)
                CONTROLS:
                  type: array
                  items:
                    type: object
                    properties:
                      CATEGORY:
                        type: string
                        maxLength: 1
                        description: 'Controls: Category'
                      TYPESTRING:
                        type: string
                        maxLength: 30
                        description: 'Controls: Type string (ex. Command button control)'
                      QUALIFIER:
                        type: string
                        maxLength: 2
                        description: 'Controls: Qualifier (byte in format 0xFF)'
                      NAME:
                        type: string
                        maxLength: 40
                        description: 'Control: Name (Ex. Forms.CommandButton.1)'
                      GUID:
                        type: string
                        maxLength: 38
                        description: 'Controls: GUID ( {....} )'
                      ICON:
                        type: string
                        maxLength: 132
                        description: 'Controls: Icons'
                      COMMENT:
                        type: string
                        maxLength: 132
                        description: 'Controls: Comment'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTROLS:
                    type: array
                    items:
                      type: object
                      properties:
                        CATEGORY:
                          type: string
                          maxLength: 1
                          description: 'Controls: Category'
                        TYPESTRING:
                          type: string
                          maxLength: 30
                          description: 'Controls: Type string (ex. Command button control)'
                        QUALIFIER:
                          type: string
                          maxLength: 2
                          description: 'Controls: Qualifier (byte in format 0xFF)'
                        NAME:
                          type: string
                          maxLength: 40
                          description: 'Control: Name (Ex. Forms.CommandButton.1)'
                        GUID:
                          type: string
                          maxLength: 38
                          description: 'Controls: GUID ( {....} )'
                        ICON:
                          type: string
                          maxLength: 132
                          description: 'Controls: Icons'
                        COMMENT:
                          type: string
                          maxLength: 132
                          description: 'Controls: Comment'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
