openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EFG_FORM_POPUP_HIERARCHY:
    post:
      tags:
      - EFGF
      operationId: /rfc/EFG_FORM_POPUP_HIERARCHY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                X_FORMCLASS:
                  type: string
                  maxLength: 30
                  description: Form Class
                X_SET_TO_CLIPBOARD:
                  type: string
                  maxLength: 1
                YT_SELECTED:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 100
                        description: Character 100
                      STRUCTURE:
                        type: string
                        maxLength: 30
                        description: Name of ABAP Dictionary Object
                      BODY:
                        type: string
                        maxLength: 50
                        description: Body of Variable
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field name
                      AVAILABLE:
                        type: string
                        maxLength: 1
                        description: 'General checkbox: X or SPACE  enumValues: ""=Field not active,X=Field active'
                        enum:
                        - ''
                        - X
                      ID:
                        type: integer
                        format: int64
                        description: 'Internal: Node ID'
                      DDIC:
                        type: string
                        maxLength: 1
                        description: 'General checkbox: X or SPACE  enumValues: ""=Field not active,X=Field active'
                        enum:
                        - ''
                        - X
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Node type
                      FORM_LEVEL:
                        type: string
                        maxLength: 10
                        description: Form level
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
              required:
              - X_FORMCLASS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  YT_SELECTED:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 100
                          description: Character 100
                        STRUCTURE:
                          type: string
                          maxLength: 30
                          description: Name of ABAP Dictionary Object
                        BODY:
                          type: string
                          maxLength: 50
                          description: Body of Variable
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field name
                        AVAILABLE:
                          type: string
                          maxLength: 1
                          description: 'General checkbox: X or SPACE  enumValues: ""=Field not active,X=Field active'
                          enum:
                          - ''
                          - X
                        ID:
                          type: integer
                          format: int64
                          description: 'Internal: Node ID'
                        DDIC:
                          type: string
                          maxLength: 1
                          description: 'General checkbox: X or SPACE  enumValues: ""=Field not active,X=Field active'
                          enum:
                          - ''
                          - X
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Node type
                        FORM_LEVEL:
                          type: string
                          maxLength: 10
                          description: Form level
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: Explanatory short text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
