openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_RCONTROLTYPEINFO:
    post:
      tags:
      - SCR1
      summary: 'Graphical Screen Painter: Request Attributes (Type Info) For a Control'
      operationId: /rfc/RS_SCRP_GF_RCONTROLTYPEINFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                TYPESTRING:
                  type: string
                  maxLength: 30
                CONTROL_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPESTRING:
                        type: string
                        maxLength: 30
                        description: 'Controls: Type string (ex. Command button control)'
                      COMPNAME:
                        type: string
                        maxLength: 30
                        description: 'Control: Component name'
                      PROPERTY:
                        type: string
                        maxLength: 10
                        description: 'Control: Internal property ID'
                      TYPE:
                        type: string
                        maxLength: 30
                        description: 'Control: Component type'
                      LENGTH:
                        type: string
                        maxLength: 5
                        description: 'Control: Length of component value'
                      VALUE:
                        type: string
                        maxLength: 132
                        description: 'Control: Value field of a component'
                      COMMENT:
                        type: string
                        maxLength: 132
                        description: 'Control: Description of a component'
              required:
              - TYPESTRING
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTROL_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPESTRING:
                          type: string
                          maxLength: 30
                          description: 'Controls: Type string (ex. Command button control)'
                        COMPNAME:
                          type: string
                          maxLength: 30
                          description: 'Control: Component name'
                        PROPERTY:
                          type: string
                          maxLength: 10
                          description: 'Control: Internal property ID'
                        TYPE:
                          type: string
                          maxLength: 30
                          description: 'Control: Component type'
                        LENGTH:
                          type: string
                          maxLength: 5
                          description: 'Control: Length of component value'
                        VALUE:
                          type: string
                          maxLength: 132
                          description: 'Control: Value field of a component'
                        COMMENT:
                          type: string
                          maxLength: 132
                          description: 'Control: Description of a component'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
