openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BM_SELECT_SB04_DATA:
    post:
      tags:
      - SF03
      summary: Selects the data maintained in SB04
      operationId: /rfc/BM_SELECT_SB04_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SB04_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      CUSOBJ_TYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CUSOBJ_ID:
                        type: string
                        maxLength: 32
                        description: Business Configuration Set
                      MODEL_TYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MODEL_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      PARMOD_TYP:
                        type: string
                        maxLength: 4
                        description: Object Type
                      PARMOD_ID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      PRIMASSIGN:
                        type: string
                        maxLength: 1
                        description: 'Primary assignment  enumValues: ""=Attribute does not apply,X=Attribute applies'
                        enum:
                        - ''
                        - X
                      SORT_POS:
                        type: string
                        maxLength: 10
                        description: Position on a hierarchy level
                      EXCLUDE:
                        type: string
                        maxLength: 1
                        description: 'Selected  enumValues: ""=Undefined/new,I=Deselected,A=Selected,P=Protected (deselected at original node)'
                        enum:
                        - ''
                        - I
                        - A
                        - P
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SB04_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        CUSOBJ_TYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CUSOBJ_ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        MODEL_TYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MODEL_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        PARMOD_TYP:
                          type: string
                          maxLength: 4
                          description: Object Type
                        PARMOD_ID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        PRIMASSIGN:
                          type: string
                          maxLength: 1
                          description: 'Primary assignment  enumValues: ""=Attribute does not apply,X=Attribute applies'
                          enum:
                          - ''
                          - X
                        SORT_POS:
                          type: string
                          maxLength: 10
                          description: Position on a hierarchy level
                        EXCLUDE:
                          type: string
                          maxLength: 1
                          description: 'Selected  enumValues: ""=Undefined/new,I=Deselected,A=Selected,P=Protected (deselected at original node)'
                          enum:
                          - ''
                          - I
                          - A
                          - P
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
