openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DD_VIHD_GET:
    post:
      tags:
      - SDVI
      operationId: /rfc/DD_VIHD_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GET_STATE:
                  type: string
                  default: M
                  maxLength: 1
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                PRID:
                  type: integer
                  format: int32
                  default: 0
                VIEW_NAME:
                  type: string
                  default: ' '
                  maxLength: 30
                WITHTEXT:
                  type: string
                  default: ' '
                  maxLength: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DD25V_WA_A:
                    type: object
                    properties:
                      VIEWNAME:
                        type: string
                        maxLength: 30
                        description: Name of SAP table view
                      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
                      AS4VERS:
                        type: integer
                        format: int64
                        description: Version of the entry (not used)
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AGGTYPE:
                        type: string
                        maxLength: 1
                        description: 'Aggregate Type  enumValues: M=Matchcode object,V=View,E=Lock object'
                        enum:
                        - M
                        - V
                        - E
                      APPLCLASS:
                        type: string
                        maxLength: 4
                        description: Application class for DD objects (not used)
                      AUTHCLASS:
                        type: integer
                        format: int64
                        description: 'Activation type  enumValues: 10=Initial table required before R3TRANS runs,02=C structures must be adapted when tables are changed,00=No classification,01=Nametab generation not in online (only via C program)'
                        enum:
                        - '10'
                        - '02'
                        - '00'
                        - '01'
                      READONLY:
                        type: string
                        maxLength: 1
                        description: 'Read-only flag for views  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      ROOTTAB:
                        type: string
                        maxLength: 30
                        description: Primary table of an aggregate
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      VIEWCLASS:
                        type: string
                        maxLength: 1
                        description: 'View Type  enumValues: ""=,P=Projection view,E=Entity view (no longer supported),C=Maintenance view,H=Help view,D=Database view,V=View variant,A=Append view,S=Structure view, data selection not possible'
                        enum:
                        - ''
                        - P
                        - E
                        - C
                        - H
                        - D
                        - V
                        - A
                        - S
                      ACTFLAG:
                        type: string
                        maxLength: 1
                        description: 'Activation flag  enumValues: I=Internal checks successful,""=Start of activation or activation successful,U=External checks for object OK or table as dependent faulty'
                        enum:
                        - I
                        - ''
                        - U
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      CUSTOMAUTH:
                        type: string
                        maxLength: 1
                        description: 'Delivery class  enumValues: C=Customizing table, maintenance only by cust., not SAP import,G=Customizing table, protected against SAP Upd., only INS all.,A=Application table (master and transaction data),E=Control table, SAP and customer have separate key areas,W=System table, contents transportable via separate TR objects,S=System table, maint. only by SAP, change = modification,L=Table for storing temporary data, delivered empty'
                        enum:
                        - C
                        - G
                        - A
                        - E
                        - W
                        - S
                        - L
                      VIEWGRANT:
                        type: string
                        maxLength: 1
                        description: 'Maintenance status (modif. authorization) for view data  enumValues: M=Time-dependent views: like U, validity data like '' '',U=read and change,R=read only,""=read, change, delete and insert'
                        enum:
                        - M
                        - U
                        - R
                        - ''
                      GLOBALFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag if Maintenance with Standard Tools is allowed  enumValues: N=Display/Maintenance Not Allowed,""=Display/Maintenance Allowed with Restrictions,X=Display/Maintenance Allowed'
                        enum:
                        - N
                        - ''
                        - X
                      MANKEY:
                        type: string
                        maxLength: 1
                        description: 'Permit manual maintenance of key attribute  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                  DD25V_WA_N:
                    type: object
                    properties:
                      VIEWNAME:
                        type: string
                        maxLength: 30
                        description: Name of SAP table view
                      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
                      AS4VERS:
                        type: integer
                        format: int64
                        description: Version of the entry (not used)
                      DDLANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      AGGTYPE:
                        type: string
                        maxLength: 1
                        description: 'Aggregate Type  enumValues: M=Matchcode object,V=View,E=Lock object'
                        enum:
                        - M
                        - V
                        - E
                      APPLCLASS:
                        type: string
                        maxLength: 4
                        description: Application class for DD objects (not used)
                      AUTHCLASS:
                        type: integer
                        format: int64
                        description: 'Activation type  enumValues: 10=Initial table required before R3TRANS runs,02=C structures must be adapted when tables are changed,00=No classification,01=Nametab generation not in online (only via C program)'
                        enum:
                        - '10'
                        - '02'
                        - '00'
                        - '01'
                      READONLY:
                        type: string
                        maxLength: 1
                        description: 'Read-only flag for views  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      ROOTTAB:
                        type: string
                        maxLength: 30
                        description: Primary table of an aggregate
                      AS4USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      AS4DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      AS4TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      DDTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      VIEWCLASS:
                        type: string
                        maxLength: 1
                        description: 'View Type  enumValues: ""=,P=Projection view,E=Entity view (no longer supported),C=Maintenance view,H=Help view,D=Database view,V=View variant,A=Append view,S=Structure view, data selection not possible'
                        enum:
                        - ''
                        - P
                        - E
                        - C
                        - H
                        - D
                        - V
                        - A
                        - S
                      ACTFLAG:
                        type: string
                        maxLength: 1
                        description: 'Activation flag  enumValues: I=Internal checks successful,""=Start of activation or activation successful,U=External checks for object OK or table as dependent faulty'
                        enum:
                        - I
                        - ''
                        - U
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      CUSTOMAUTH:
                        type: string
                        maxLength: 1
                        description: 'Delivery class  enumValues: C=Customizing table, maintenance only by cust., not SAP import,G=Customizing table, protected against SAP Upd., only INS all.,A=Application table (master and transaction data),E=Control table, SAP and customer have separate key areas,W=System table, contents transportable via separate TR objects,S=System table, maint. only by SAP, change = modification,L=Table for storing temporary data, delivered empty'
                        enum:
                        - C
                        - G
                        - A
                        - E
                        - W
                        - S
                        - L
                      VIEWGRANT:
                        type: string
                        maxLength: 1
                        description: 'Maintenance status (modif. authorization) for view data  enumValues: M=Time-dependent views: like U, validity data like '' '',U=read and change,R=read only,""=read, change, delete and insert'
                        enum:
                        - M
                        - U
                        - R
                        - ''
                      GLOBALFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag if Maintenance with Standard Tools is allowed  enumValues: N=Display/Maintenance Not Allowed,""=Display/Maintenance Allowed with Restrictions,X=Display/Maintenance Allowed'
                        enum:
                        - N
                        - ''
                        - X
                      MANKEY:
                        type: string
                        maxLength: 1
                        description: 'Permit manual maintenance of key attribute  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                  GOT_STATE:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
