openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FS_API_BP021_REMOVE:
    post:
      tags:
      - FS_API
      summary: Delete Fiscal Year Information
      operationId: /rfc/FS_API_BP021_REMOVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_GENERAL:
                  type: object
                  properties:
                    AUTHORITHY:
                      type: string
                      maxLength: 1
                      description: 'Activate Authorization Check  enumValues: X=TRUE,""=FALSE'
                      enum:
                      - X
                      - ''
                    CHANGE_DOCU:
                      type: string
                      maxLength: 1
                      description: 'Activate Generation of Change Documents  enumValues: X=TRUE,""=FALSE'
                      enum:
                      - X
                      - ''
                    BUFFER:
                      type: string
                      maxLength: 1
                      description: 'Activate Data Buffer up to COMMIT  enumValues: X=TRUE,""=FALSE'
                      enum:
                      - X
                      - ''
                    IDATE:
                      type: string
                      format: date
                      description: DB Field Contents Must Be Valid at This Date
                    TECH_DATE:
                      type: string
                      format: date
                      description: Consider Database Changes up to This Date Limit Only
                IV_PARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                IV_PARTNER_GUID:
                  type: string
                  format: byte
                  description: GUID of a Business Partner
                IV_TESTRUN:
                  type: string
                  maxLength: 1
                  description: Single-Character Indicator
                ET_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      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
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                IT_BP021:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNR:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      BUSINESS_Y:
                        type: integer
                        format: int64
                        description: Fiscal year
                      BAL_SH_CUR:
                        type: string
                        maxLength: 5
                        description: Balance Sheet Currency
                      GEN_MEET_D:
                        type: string
                        format: date
                        description: Date of Annual Stockholders Meeting
                      BU_Y_BEGIN:
                        type: string
                        format: date
                        description: Fiscal Year Start Date
                      BU_Y_END:
                        type: string
                        format: date
                        description: Fiscal Year End Date
                      ANNUAL_ACC:
                        type: string
                        maxLength: 1
                        description: 'Annual Financial Statements  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ANNU_ACC_D:
                        type: string
                        format: date
                        description: Date of Financial Statements for Fiscal Year
                      CONS_FST_D:
                        type: string
                        format: date
                        description: Date of Consolidated Financial Statements of Group Company
                      CAPI_STOCK:
                        type: integer
                        format: int64
                        description: Authorized Capital Stock
                      SHAR_STOCK:
                        type: integer
                        format: int64
                        description: Issued Stock Capital
                      PRSH_STOCK:
                        type: integer
                        format: int64
                        description: Participation Certificates Outstanding
                      EQUITY:
                        type: integer
                        format: int64
                        description: Equity capital
                      GROSS_AMNT:
                        type: integer
                        format: int64
                        description: Gross contribution
                      NET_AMOUNT:
                        type: integer
                        format: int64
                        description: Net contribution
                      TURNOVER:
                        type: integer
                        format: int64
                        description: Annual sales
                      NET_INCOME:
                        type: integer
                        format: int64
                        description: Annual Net Income
                      DIV_DIS_AM:
                        type: integer
                        format: int64
                        description: Dividend/profit distribution amount
                      DEBTS_FACT:
                        type: integer
                        format: int64
                        description: Debt ratio
                      DIS_PROFIT:
                        type: integer
                        format: int64
                        description: Profit Reported by Organization
                      BAL_AMOUNT:
                        type: integer
                        format: int64
                        description: Balance Sheet Total
                      STAFF_COUNT:
                        type: integer
                        format: int64
                        description: Number of Employees
                      CAP_RES:
                        type: integer
                        format: int64
                        description: Capital Reserve
                      REV_RES_LEG:
                        type: integer
                        format: int64
                        description: Legal Revenue Reserves
                      REV_RES_OWN_SHR:
                        type: integer
                        format: int64
                        description: Revenue Reserves for Own Stock
                      REV_RES_BY_LAWS:
                        type: integer
                        format: int64
                        description: Statutory Reserve
                      REV_RES_OTHERS:
                        type: integer
                        format: int64
                        description: Other Revenue Reserves
                      FORW_PROFIT_LOSS:
                        type: integer
                        format: int64
                        description: Profit/Loss Carried Forward
                      LIABILIT_SECOND:
                        type: integer
                        format: int64
                        description: Subordinated Liabilities
                      RET_TOT_CAP_EMPL:
                        type: integer
                        format: int64
                        description: Return on Total Capital Employed
                      REDUC_LONG_TERM:
                        type: integer
                        format: int64
                        description: Debt Clearance Period
                      COEFF_FINANCE:
                        type: integer
                        format: int64
                        description: Financing Coefficient
                      EQUITY_CAPIT:
                        type: integer
                        format: int64
                        description: Equity Ratio
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        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
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  IT_BP021:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNR:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        BUSINESS_Y:
                          type: integer
                          format: int64
                          description: Fiscal year
                        BAL_SH_CUR:
                          type: string
                          maxLength: 5
                          description: Balance Sheet Currency
                        GEN_MEET_D:
                          type: string
                          format: date
                          description: Date of Annual Stockholders Meeting
                        BU_Y_BEGIN:
                          type: string
                          format: date
                          description: Fiscal Year Start Date
                        BU_Y_END:
                          type: string
                          format: date
                          description: Fiscal Year End Date
                        ANNUAL_ACC:
                          type: string
                          maxLength: 1
                          description: 'Annual Financial Statements  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ANNU_ACC_D:
                          type: string
                          format: date
                          description: Date of Financial Statements for Fiscal Year
                        CONS_FST_D:
                          type: string
                          format: date
                          description: Date of Consolidated Financial Statements of Group Company
                        CAPI_STOCK:
                          type: integer
                          format: int64
                          description: Authorized Capital Stock
                        SHAR_STOCK:
                          type: integer
                          format: int64
                          description: Issued Stock Capital
                        PRSH_STOCK:
                          type: integer
                          format: int64
                          description: Participation Certificates Outstanding
                        EQUITY:
                          type: integer
                          format: int64
                          description: Equity capital
                        GROSS_AMNT:
                          type: integer
                          format: int64
                          description: Gross contribution
                        NET_AMOUNT:
                          type: integer
                          format: int64
                          description: Net contribution
                        TURNOVER:
                          type: integer
                          format: int64
                          description: Annual sales
                        NET_INCOME:
                          type: integer
                          format: int64
                          description: Annual Net Income
                        DIV_DIS_AM:
                          type: integer
                          format: int64
                          description: Dividend/profit distribution amount
                        DEBTS_FACT:
                          type: integer
                          format: int64
                          description: Debt ratio
                        DIS_PROFIT:
                          type: integer
                          format: int64
                          description: Profit Reported by Organization
                        BAL_AMOUNT:
                          type: integer
                          format: int64
                          description: Balance Sheet Total
                        STAFF_COUNT:
                          type: integer
                          format: int64
                          description: Number of Employees
                        CAP_RES:
                          type: integer
                          format: int64
                          description: Capital Reserve
                        REV_RES_LEG:
                          type: integer
                          format: int64
                          description: Legal Revenue Reserves
                        REV_RES_OWN_SHR:
                          type: integer
                          format: int64
                          description: Revenue Reserves for Own Stock
                        REV_RES_BY_LAWS:
                          type: integer
                          format: int64
                          description: Statutory Reserve
                        REV_RES_OTHERS:
                          type: integer
                          format: int64
                          description: Other Revenue Reserves
                        FORW_PROFIT_LOSS:
                          type: integer
                          format: int64
                          description: Profit/Loss Carried Forward
                        LIABILIT_SECOND:
                          type: integer
                          format: int64
                          description: Subordinated Liabilities
                        RET_TOT_CAP_EMPL:
                          type: integer
                          format: int64
                          description: Return on Total Capital Employed
                        REDUC_LONG_TERM:
                          type: integer
                          format: int64
                          description: Debt Clearance Period
                        COEFF_FINANCE:
                          type: integer
                          format: int64
                          description: Financing Coefficient
                        EQUITY_CAPIT:
                          type: integer
                          format: int64
                          description: Equity Ratio
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
