openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSWAD_PF_WEBPUBGETVH:
    post:
      tags:
      - RSWAD
      summary: Liest die F4 Werte eines Attributes
      operationId: /rfc/RSWAD_PF_WEBPUBGETVH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CONTEXTXML:
                  type: string
                  description: Request type ( Initialization, Validation, ...)
                I_OBJECTXML:
                  type: string
                  description: Request type ( Initialization, Validation, ...)
                I_PARAMMETADATA:
                  type: object
                  properties:
                    NAMESPACEPREFIX:
                      type: string
                      maxLength: 2
                      description: Namespace Prefix ( Namespace defined in RSZWTEMITEM)
                    MDITEMNAME:
                      type: string
                      maxLength: 30
                      description: 'BW Web Metadata: Template Item Name'
                    VERSION:
                      type: integer
                      format: int64
                      description: 'BW Web Metadata: Version'
                    PARAMNAME:
                      type: string
                      maxLength: 30
                      description: Technical Name of a Parameter
                    MANDATORY:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    DISPLAYORDER:
                      type: integer
                      format: int32
                      description: Parameter Display Order
                    PARAMTYPE:
                      type: string
                      maxLength: 10
                      description: 'Parameter type  enumValues: TECHTEXT=Technical Text, Uppercase,HIDDEN=Parameter is not displayed, rendered into file (blocking),ESCAPED=Escaped content ( A-Za-z0-9&%_-+!?;:,.#*~..., but not ''<>",COMMAND=BI-Command,TSBO=Three-State Boolean ( Commands only , no default),NONE=No Atomic/Choice datatype (e.g. Collection / Composite ),COLOR=Color,TECHNAME=technical  name (Uppercase), not localizble,DATE=A date in SAP ABAP notation YYYYMMDD,ANY=Any character sequence,RAW=Bytestrom,URN=URN,NUMBER=Decimal
                        number, separated by . as decimal sep,e.g. -12345.67,BOOL=Boolean Value  ''X''= TRUE, '' ''=FALSE,MCTECHTEXT=Mixed Case Technical Text,TECHMASK=Technical name mask ( Uppercase ; *; ? ),CONTENT=Item Content (e.g.  for Container Items like Tabstrip).,TEXT=Text for Display, may be localizable ( language dependent ),INTEGER=integer number,OPAQUEXML=Internal Item parameter (XML-Fragment)'
                      enum:
                      - TECHTEXT
                      - HIDDEN
                      - ESCAPED
                      - COMMAND
                      - TSBO
                      - NONE
                      - COLOR
                      - TECHNAME
                      - DATE
                      - ANY
                      - RAW
                      - URN
                      - NUMBER
                      - BOOL
                      - MCTECHTEXT
                      - TECHMASK
                      - CONTENT
                      - TEXT
                      - INTEGER
                      - OPAQUEXML
                    PARAMCAT:
                      type: string
                      maxLength: 2
                      description: 'Parameter Category  enumValues: CO=Composite,1O=One of ... ( Choice ),OL=Ordered List (Collection),AT=Atomic,UL=Unordered List,IP=Internal Parameter'
                      enum:
                      - CO
                      - 1O
                      - OL
                      - AT
                      - UL
                      - IP
                    CHR_MAX_LEN:
                      type: integer
                      format: int64
                      description: Length of a value in character
                    F4TYPE:
                      type: string
                      maxLength: 2
                      description: 'Type of F4 Help  enumValues: CM=Command (BI Command),DQ=Query View Data Provider,CC=Customizing with Chart Control,HI=Hidden, No F4 Help,SE=F4 with BEx Selector,OD=F4 with BEx Open Dialog,CO=Color Value,MC=Customizing with Map Control,ET=Escaped Text Content (Text Dialog and Automatic Escaping),UR=URL,DA=Date Value (Format ddmmyyyy),CD=Chart Control Mapping,F4=Dynamic List,IN=(Logical) Item Name,LI=Static List of Values,DP=(Logical) Data Provider,RC=Report Item
                        Control,FN=Function Name (As Defined in Script),""=No F4 Help Available on Server (get_f4 not redefined),DS=Filter Data Provider'
                      enum:
                      - CM
                      - DQ
                      - CC
                      - HI
                      - SE
                      - OD
                      - CO
                      - MC
                      - ET
                      - UR
                      - DA
                      - CD
                      - F4
                      - IN
                      - LI
                      - DP
                      - RC
                      - FN
                      - ''
                      - DS
                    F4DOMAIN:
                      type: string
                      maxLength: 30
                      description: F4 Domain for Web Application Designer
                    F1HELP:
                      type: string
                      maxLength: 1
                      description: 'F1 Help Exists  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    OD_TYPE:
                      type: string
                      maxLength: 2
                      description: 'Type of reporting object  enumValues: KF=Key Figure,BT=BEx Web Template,BI=BEx Web Item,VA=Variable,SO=Selection Object (in BW WEb Applications),QU=Query,CH=Characteristic,IP=InfoProvider (As Data Provider),""=Nothing,WB=Workbook,IC=InfoCube,IL=Library of Web Items,HT=HTML Template,IT=Item,VW=View of a Query,IA=InfoArea,ST=Structure (Reusable),DP=DataProvider for Web Reporting (Queries and Views),CR=Crystal Report'
                      enum:
                      - KF
                      - BT
                      - BI
                      - VA
                      - SO
                      - QU
                      - CH
                      - IP
                      - ''
                      - WB
                      - IC
                      - IL
                      - HT
                      - IT
                      - VW
                      - IA
                      - ST
                      - DP
                      - CR
                    NOROOT:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    VALUE:
                      type: string
                      maxLength: 250
                      description: Character Display for an Attribute Value
                    GROUPNAME:
                      type: string
                      maxLength: 30
                      description: 'BW Web Metadata: Template Item Name'
                    CAPTION:
                      type: string
                      maxLength: 60
                      description: Long description
                    DESCRIPTION:
                      type: string
                      maxLength: 255
                      description: Char255
                I_PARAMXPATH:
                  type: string
                  description: Request type ( Initialization, Validation, ...)
                I_REQUEST:
                  type: string
                  default: V
                  maxLength: 1
                  description: Request type ( Initialization, Validation, ...)
                I_TMPLID:
                  type: string
                  maxLength: 30
                  description: Request type ( Initialization, Validation, ...)
                E_T_CHAVT:
                  type: array
                  items:
                    type: object
                    properties:
                      CHAVL:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Long description
                E_T_HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
                I_T_PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAMETER:
                        type: string
                        maxLength: 30
                        description: Parameter ID
                      VALUE:
                        type: string
                        maxLength: 250
                        description: 'Parameter Value'' MU:'
                      INDEX:
                        type: integer
                        format: int32
                        description: Natural number
              required:
              - I_CONTEXTXML
              - I_OBJECTXML
              - I_PARAMXPATH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                    description: Message Type
                  E_MESSAGES:
                    type: string
                    description: Request type ( Initialization, Validation, ...)
                  E_RESULT:
                    type: string
                    description: Request type ( Initialization, Validation, ...)
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  E_T_CHAVT:
                    type: array
                    items:
                      type: object
                      properties:
                        CHAVL:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
                  I_T_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAMETER:
                          type: string
                          maxLength: 30
                          description: Parameter ID
                        VALUE:
                          type: string
                          maxLength: 250
                          description: 'Parameter Value'' MU:'
                        INDEX:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
