openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TXX_VIEW_SEGMENT_EXECUTE:
    post:
      tags:
      - TXX5
      operationId: /rfc/TXX_VIEW_SEGMENT_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ID_TAX_VIEW:
                  type: string
                  maxLength: 20
                IS_PARAMS:
                  type: object
                  properties:
                    EXPRT_FLG:
                      type: string
                      maxLength: 1
                      description: Output in File = 'X'
                    FILENAME:
                      type: string
                      maxLength: 30
                      description: Name of Data File
                    VOLSET:
                      type: string
                      maxLength: 10
                      description: Data File Directory Set
                    TEXT:
                      type: string
                      maxLength: 60
                      description: Description
                    OVERWR:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Overwrite File  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    VIEWFORMAT:
                      type: string
                      maxLength: 3
                      description: 'View Format: AIS,SEM,FIX'
                    TXVIEW:
                      type: string
                      maxLength: 20
                      description: View Name
                    FISC_YEAR:
                      type: integer
                      format: int64
                      description: Fiscal Year
                    BUKRS:
                      type: string
                      maxLength: 4
                      description: Company Code
                    XTRCT_UUID:
                      type: string
                      maxLength: 32
                      description: UUID Identifier
                    HEADERLINES:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Insert Header Row with Column Titles  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    MAXHITS:
                      type: integer
                      format: int32
                      description: Maximum Number of Hits
                    STARTROW:
                      type: integer
                      format: int32
                      description: Start Data Record in the Selection
                    SELDATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    SELTIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    SELUSER:
                      type: string
                      maxLength: 12
                      description: User Name
                    REFTAX_VIEW:
                      type: string
                      maxLength: 20
                      description: View Name
                    REF_FILE_UUID:
                      type: string
                      maxLength: 32
                      description: UUID Identifier
                    VWLOG_UUID:
                      type: string
                      maxLength: 32
                      description: UUID Identifier
                    VMONAT:
                      type: integer
                      format: int64
                      description: From Period
                    BMONAT:
                      type: integer
                      format: int64
                      description: To Period
                IS_SOURCE_RES:
                  type: object
                  properties:
                    SEGMENT:
                      type: string
                      maxLength: 30
                      description: Segment Name
                    XTRCT_UUID:
                      type: string
                      maxLength: 32
                      description: UUID Identifier
              required:
              - ID_TAX_VIEW
              - IS_PARAMS
              - IS_SOURCE_RES
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
