openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_HELPVALUES_GET:
    post:
      tags:
      - BFHV
      summary: Determine Allowed Input Values (F4) for Fields in BAPI Parameters
      operationId: /rfc/BAPI_HELPVALUES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESCRIPTIONONLY:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Only determine description of help values
                EXPLICIT_SHLP:
                  type: object
                  properties:
                    SHLPNAME:
                      type: string
                      maxLength: 30
                      description: Name of a Search Help
                    SHLPTYPE:
                      type: string
                      maxLength: 2
                      description: Version Number Component
                    TITLE:
                      type: string
                      maxLength: 60
                      description: Explanatory short text
                    REPTEXT:
                      type: string
                      maxLength: 55
                      description: Heading
                FIELD:
                  type: string
                  maxLength: 30
                  description: Field name in the parameter for F4 values
                MAX_OF_ROWS:
                  type: integer
                  format: int32
                  default: 0
                  description: Maximum number of lines of hits
                METHOD:
                  type: string
                  maxLength: 32
                  description: Method name of object type
                OBJNAME:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Object Name
                OBJTYPE:
                  type: string
                  default: ' '
                  maxLength: 10
                  description: Object type
                PARAMETER:
                  type: string
                  maxLength: 32
                  description: Name of parameter in method
                DESCRIPTION_FOR_HELPVALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      POSITION:
                        type: integer
                        format: int64
                        description: Position of the field in the table
                      OFFSET:
                        type: integer
                        format: int64
                        description: Offset of a field
                      LENG:
                        type: integer
                        format: int64
                        description: Length (No. of Characters)
                      FIELDTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
                      SCRTEXT_S:
                        type: string
                        maxLength: 10
                        description: Short Field Label
                      SCRTEXT_M:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      SCRTEXT_L:
                        type: string
                        maxLength: 40
                        description: Long Field Label
                      SHLPNAME:
                        type: string
                        maxLength: 30
                        description: Name of a Search Help
                HELPVALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      HELPVALUES:
                        type: string
                        maxLength: 255
                        description: Char255
                SELECTION_FOR_HELPVALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      SELECT_FLD:
                        type: string
                        maxLength: 30
                        description: Name of a search help parameter
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Include/exclude indicator
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                        enum:
                        - NB
                        - NP
                        - LE
                        - EQ
                        - BT
                        - CP
                        - GT
                        - NE
                        - LT
                        - GE
                      LOW:
                        type: string
                        maxLength: 30
                        description: Lower value of range tables
                      HIGH:
                        type: string
                        maxLength: 30
                        description: Upper value for range tables
                VALUES_FOR_FIELD:
                  type: array
                  items:
                    type: object
                    properties:
                      VALUES:
                        type: string
                        maxLength: 255
                        description: Char255
              required:
              - METHOD
              - PARAMETER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      CODE:
                        type: string
                        maxLength: 5
                        description: Message code
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  DESCRIPTION_FOR_HELPVALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        POSITION:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        OFFSET:
                          type: integer
                          format: int64
                          description: Offset of a field
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        SHLPNAME:
                          type: string
                          maxLength: 30
                          description: Name of a Search Help
                  HELPVALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        HELPVALUES:
                          type: string
                          maxLength: 255
                          description: Char255
                  SELECTION_FOR_HELPVALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        SELECT_FLD:
                          type: string
                          maxLength: 30
                          description: Name of a search help parameter
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Include/exclude indicator
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION for range tables  enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to  (>=Low)'
                          enum:
                          - NB
                          - NP
                          - LE
                          - EQ
                          - BT
                          - CP
                          - GT
                          - NE
                          - LT
                          - GE
                        LOW:
                          type: string
                          maxLength: 30
                          description: Lower value of range tables
                        HIGH:
                          type: string
                          maxLength: 30
                          description: Upper value for range tables
                  VALUES_FOR_FIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        VALUES:
                          type: string
                          maxLength: 255
                          description: Char255
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
