openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDU_ENTITY_TABNAME_FETCH:
    post:
      tags:
      - SDU2
      summary: Get UDM entity-table assignments
      operationId: /rfc/SDU_ENTITY_TABNAME_FETCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AS4LOCAL:
                  type: string
                  default: A
                  maxLength: 1
                  description: Validity
                ENTITY:
                  type: string
                  maxLength: 26
                  description: Entity type
                FLG_LONGTXT:
                  type: string
                  maxLength: 1
                  description: Read table short text also? (X)
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Read table short text also? (X)
                TABNAME:
                  type: string
                  default: '*'
                  maxLength: 30
                  description: Attribute name
                TABLE_NAMES:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTID:
                        type: string
                        maxLength: 26
                        description: Entity type name
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                        enum:
                        - S
                        - T
                        - N
                        - A
                        - L
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FLG_ATTAB:
                        type: string
                        maxLength: 1
                        description: 'Flag: table attributes  enumValues: X='
                        enum:
                        - X
                      FSTUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      FSTDATE:
                        type: string
                        format: date
                        description: Date on which the record was created
                      FSTTIME:
                        type: string
                        maxLength: 6
                        description: Creation Time
                      LSTUSER:
                        type: string
                        maxLength: 12
                        description: Changed by
                      LSTDATE:
                        type: string
                        format: date
                        description: Changed on
                      LSTTIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      LOESCHZ:
                        type: string
                        maxLength: 1
                        description: Deletion Indicator
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
              required:
              - ENTITY
              - FLG_LONGTXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TABLE_NAMES:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTID:
                          type: string
                          maxLength: 26
                          description: Entity type name
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                          enum:
                          - S
                          - T
                          - N
                          - A
                          - L
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FLG_ATTAB:
                          type: string
                          maxLength: 1
                          description: 'Flag: table attributes  enumValues: X='
                          enum:
                          - X
                        FSTUSER:
                          type: string
                          maxLength: 12
                          description: Created by
                        FSTDATE:
                          type: string
                          format: date
                          description: Date on which the record was created
                        FSTTIME:
                          type: string
                          maxLength: 6
                          description: Creation Time
                        LSTUSER:
                          type: string
                          maxLength: 12
                          description: Changed by
                        LSTDATE:
                          type: string
                          format: date
                          description: Changed on
                        LSTTIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
                        LOESCHZ:
                          type: string
                          maxLength: 1
                          description: Deletion Indicator
                        DDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
