openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/PORTAL_ALV_DATA_GET2:
    post:
      tags:
      - SKBP_WP
      operationId: /rfc/PORTAL_ALV_DATA_GET2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPL_FUNCTION:
                  type: string
                  maxLength: 30
                CT_FIELDCAT:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      POSITION:
                        type: integer
                        format: int32
                        description: 'ALV: Column Item'
                      FIELDTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      HEADERTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      EMPTYHEADERTEXT:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      HEADER_TOOLTIP:
                        type: string
                        maxLength: 60
                        description: 'ALV: Tooltip'
                      FIELDTEXT_DDIC:
                        type: string
                        maxLength: 1
                        description: 'ALV: Selection of DDIC Text  enumValues: R=Heading (reptext),M=Medium (scrtext_m),S=Short (scrtext_s),F=Short Description (fieldtext),L=Long (scrtext_l)'
                        enum:
                        - R
                        - M
                        - S
                        - F
                        - L
                      HEADERTEXT_DDIC:
                        type: string
                        maxLength: 1
                        description: 'ALV: Selection of DDIC Text  enumValues: R=Heading (reptext),M=Medium (scrtext_m),S=Short (scrtext_s),F=Short Description (fieldtext),L=Long (scrtext_l)'
                        enum:
                        - R
                        - M
                        - S
                        - F
                        - L
                      REF_TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      REF_FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      INVISIBLE:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      DISPTYPE:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View Display Type'
                      DISABLED:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      TEXTWRAP:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      NO_SIGN:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      NO_ZERO:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      DEC_OUT:
                        type: integer
                        format: int32
                        description: 'ALV: No. of Decimal Places for Output'
                      DEC_OUT_FORCE:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      ENCODE:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      ENCODECOLT:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      HALIGN:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View halign'
                      VALIGN:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View valign  enumValues: CENT=Center,TOP=Top,BOTT=Bottom,BASE=Baseline,""=None,MIDD=Middle'
                        enum:
                        - CENT
                        - TOP
                        - BOTT
                        - BASE
                        - ''
                        - MIDD
                      APPUNIT:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      UNIT:
                        type: string
                        maxLength: 5
                        description: 'ALV: Unit of Measure or Currency'
                      UNITFNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      UNITTYPE:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View Unit Type  enumValues: ""=,CURR=Currency,UNIT=Unit,NONE=None'
                        enum:
                        - ''
                        - CURR
                        - UNIT
                        - NONE
                      LINKFNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      LINKTYPE:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View Link Type'
                      CELLSTYLEFNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      TOOLTIP_FNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: Conversion Routine
                      IMAGEPATH:
                        type: string
                        maxLength: 4
                        description: 'ALV: Path for Image'
                      ICON:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      DO_SUM:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      EDIT:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      TECH:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                CT_PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      PNAME:
                        type: string
                        maxLength: 45
                        description: 'ALV: Parameter Name'
                      PVALUE:
                        type: string
                        maxLength: 255
                        description: 'ALV: Parameter Value'
                CT_SORT:
                  type: array
                  items:
                    type: object
                    properties:
                      SORTPOS:
                        type: integer
                        format: int64
                        description: Sort sequence
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      DESCENDING:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      HIDE_SUBTOTAL:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                ET_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1024
                        description: 'ALV: Stream Line'
                ET_HYPERLINKS:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1024
                        description: 'ALV: Stream Line'
                ET_SUBTOTALS:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1024
                        description: 'ALV: Stream Line'
                ET_SUBT_INDEX:
                  type: array
                  items:
                    type: object
                    properties:
                      SUBTOTAL_INDEX:
                        type: integer
                        format: int32
                        description: Line in Subtotals Table
                      DATA_INDEX:
                        type: integer
                        format: int32
                        description: Line in Data Sheet
                      LEVEL:
                        type: integer
                        format: int32
                        description: Summation Level
              required:
              - I_APPL_FUNCTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ERROR:
                    type: string
                    maxLength: 132
                  E_RETURNCODE:
                    type: string
                    maxLength: 40
                  E_TV_PROPERTIES:
                    type: object
                    properties:
                      DESIGN:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View Design  enumValues: ""=,ALT=Alternating,STD=Standard'
                        enum:
                        - ''
                        - ALT
                        - STD
                      EMPTYTXT:
                        type: string
                        maxLength: 132
                        description: 'ALV: Long Text'
                      FILLUP:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      FOOTVISIBLE:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      HEADVISIBLE:
                        type: string
                        maxLength: 1
                        description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                        enum:
                        - ''
                        - '1'
                        - '0'
                      NAVMODE:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View Navigation Mode  enumValues: LINE=By Line,PAGE=By Page'
                        enum:
                        - LINE
                        - PAGE
                      MOBILE:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View Mobile (not supported yet)'
                      IDFNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SELMODE:
                        type: string
                        maxLength: 4
                        description: 'ALV: Table View Selection Mode  enumValues: ""=,MULT=Multi Selection,SGLE=Single Selection,NO=No Selection'
                        enum:
                        - ''
                        - MULT
                        - SGLE
                        - 'NO'
                      VISROWCNT:
                        type: integer
                        format: int32
                        description: Number of Visible Lines
                      TITLE:
                        type: string
                        maxLength: 70
                        description: 'ALV Control: Title Row Text (Web Add-On)'
                  CT_FIELDCAT:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        POSITION:
                          type: integer
                          format: int32
                          description: 'ALV: Column Item'
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        HEADERTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        EMPTYHEADERTEXT:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        HEADER_TOOLTIP:
                          type: string
                          maxLength: 60
                          description: 'ALV: Tooltip'
                        FIELDTEXT_DDIC:
                          type: string
                          maxLength: 1
                          description: 'ALV: Selection of DDIC Text  enumValues: R=Heading (reptext),M=Medium (scrtext_m),S=Short (scrtext_s),F=Short Description (fieldtext),L=Long (scrtext_l)'
                          enum:
                          - R
                          - M
                          - S
                          - F
                          - L
                        HEADERTEXT_DDIC:
                          type: string
                          maxLength: 1
                          description: 'ALV: Selection of DDIC Text  enumValues: R=Heading (reptext),M=Medium (scrtext_m),S=Short (scrtext_s),F=Short Description (fieldtext),L=Long (scrtext_l)'
                          enum:
                          - R
                          - M
                          - S
                          - F
                          - L
                        REF_TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        REF_FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        INVISIBLE:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        DISPTYPE:
                          type: string
                          maxLength: 4
                          description: 'ALV: Table View Display Type'
                        DISABLED:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        TEXTWRAP:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        NO_SIGN:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        NO_ZERO:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        DEC_OUT:
                          type: integer
                          format: int32
                          description: 'ALV: No. of Decimal Places for Output'
                        DEC_OUT_FORCE:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        ENCODE:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        ENCODECOLT:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        HALIGN:
                          type: string
                          maxLength: 4
                          description: 'ALV: Table View halign'
                        VALIGN:
                          type: string
                          maxLength: 4
                          description: 'ALV: Table View valign  enumValues: CENT=Center,TOP=Top,BOTT=Bottom,BASE=Baseline,""=None,MIDD=Middle'
                          enum:
                          - CENT
                          - TOP
                          - BOTT
                          - BASE
                          - ''
                          - MIDD
                        APPUNIT:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        UNIT:
                          type: string
                          maxLength: 5
                          description: 'ALV: Unit of Measure or Currency'
                        UNITFNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        UNITTYPE:
                          type: string
                          maxLength: 4
                          description: 'ALV: Table View Unit Type  enumValues: ""=,CURR=Currency,UNIT=Unit,NONE=None'
                          enum:
                          - ''
                          - CURR
                          - UNIT
                          - NONE
                        LINKFNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        LINKTYPE:
                          type: string
                          maxLength: 4
                          description: 'ALV: Table View Link Type'
                        CELLSTYLEFNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        TOOLTIP_FNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        IMAGEPATH:
                          type: string
                          maxLength: 4
                          description: 'ALV: Path for Image'
                        ICON:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        DO_SUM:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        EDIT:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        TECH:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                  CT_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        PNAME:
                          type: string
                          maxLength: 45
                          description: 'ALV: Parameter Name'
                        PVALUE:
                          type: string
                          maxLength: 255
                          description: 'ALV: Parameter Value'
                  CT_SORT:
                    type: array
                    items:
                      type: object
                      properties:
                        SORTPOS:
                          type: integer
                          format: int64
                          description: Sort sequence
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        DESCENDING:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                        HIDE_SUBTOTAL:
                          type: string
                          maxLength: 1
                          description: 'ALV: Boolean Flag  enumValues: ""=Not Set,1=True,0=False'
                          enum:
                          - ''
                          - '1'
                          - '0'
                  ET_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1024
                          description: 'ALV: Stream Line'
                  ET_HYPERLINKS:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1024
                          description: 'ALV: Stream Line'
                  ET_SUBTOTALS:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1024
                          description: 'ALV: Stream Line'
                  ET_SUBT_INDEX:
                    type: array
                    items:
                      type: object
                      properties:
                        SUBTOTAL_INDEX:
                          type: integer
                          format: int32
                          description: Line in Subtotals Table
                        DATA_INDEX:
                          type: integer
                          format: int32
                          description: Line in Data Sheet
                        LEVEL:
                          type: integer
                          format: int32
                          description: Summation Level
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
