openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FIMA_STEPS_UPDATE:
    post:
      tags:
      - FF51
      operationId: /rfc/FIMA_STEPS_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_GENERAL_DATA:
                  type: object
                  properties:
                    NUMBER_PERIODS:
                      type: integer
                      format: int64
                      description: Number of Periods
                    UNIT_PERIODS:
                      type: integer
                      format: int64
                      description: 'Periods  enumValues: 12=Years,01=Months,03=Quarters,06=Half-Years'
                      enum:
                      - '12'
                      - '01'
                      - '03'
                      - '06'
                    PAYMENT_FORM:
                      type: integer
                      format: int64
                      description: 'Payment Form (Period Start, Mid-Period, Period End, Other)  enumValues: 3=At End of Period,4=Individual,2=Mid-Period,1=At Start of Period'
                      enum:
                      - '3'
                      - '4'
                      - '2'
                      - '1'
                    TERM_START_DATE:
                      type: string
                      format: date
                      description: Date of 'Calculation from'
                    TERM_END_DATE:
                      type: string
                      format: date
                      description: '''Calculation to'' date'
                    FIRST_DUE_DATE:
                      type: string
                      format: date
                      description: Due date
                    AMOUNT_TO_FINANCE:
                      type: integer
                      format: int64
                      description: Amount Financed
                    DOWN_PAYMENT:
                      type: integer
                      format: int64
                      description: Down Payment
                    RESIDUAL_VALUE:
                      type: integer
                      format: int64
                      description: Residual Value
                    BALANCE:
                      type: integer
                      format: int64
                      description: Remaining Capital
                    INSTALLMENT:
                      type: integer
                      format: int64
                      description: Determined Installment
                    INTEREST_RATE:
                      type: integer
                      format: int64
                      description: Nomminal Annual Rate of Interest
                    INTERST_CALC_METHOD:
                      type: string
                      maxLength: 1
                      description: 'Interest Calculation Method  enumValues: 1=360E/360,9=*365.25/360,A=ActW/252,3=Act/365,E=Act/364,4=Act/366,B=360E/365,5=Act/ActP (ISMA),2=Act/360,C=365/365,0=Not Specified,G=Act/ActE (AFB),8=*365/360,D=365/360,7=360/360,6=Act/ActY (ISDA),I=360E/ActY'
                      enum:
                      - '1'
                      - '9'
                      - A
                      - '3'
                      - E
                      - '4'
                      - B
                      - '5'
                      - '2'
                      - C
                      - '0'
                      - G
                      - '8'
                      - D
                      - '7'
                      - '6'
                      - I
                    IRR:
                      type: integer
                      format: int64
                      description: Effective interest
                    IRR_METHOD:
                      type: integer
                      format: int64
                      description: 'Effective Interest Method (Financial Mathematics)  enumValues: 2=AIBD/ISMA,4=Moosmueller,6=EU Act/365,5=US method,3=Braess,8=EU 30.42/365,1=PAngV,9=Linear'
                      enum:
                      - '2'
                      - '4'
                      - '6'
                      - '5'
                      - '3'
                      - '8'
                      - '1'
                      - '9'
                    COMPOUND_EXPO:
                      type: integer
                      format: int64
                      description: 'Type of interest calculation  enumValues: 2=Percentage Calculation,0=Linear Interest Calculation,1=Exponential Interest Calculation'
                      enum:
                      - '2'
                      - '0'
                      - '1'
                    AMMRHYZV:
                      type: integer
                      format: int64
                      description: 'Interest Settlement Frequency for Exponential Interest Calc.  enumValues: 97=Daily Interest Settlement (360),00=Annual Interest Settlement,03=Quarterly Interest Settlement,01=Monthly Interest Settlement,99=Continuous Interest Settlement,06=Interest Settlement Every Six Months,98=Daily Interest Settlement (365),52=Weekly Interest Settlement'
                      enum:
                      - '97'
                      - '00'
                      - '03'
                      - '01'
                      - '99'
                      - '06'
                      - '98'
                      - '52'
                    PERIOD_RETURN:
                      type: integer
                      format: int64
                      description: Interest Rate for the Period (Moosmueller)
                    CURRKEY:
                      type: string
                      maxLength: 5
                      description: Currency Key
                    CURRKEY_TEXT:
                      type: string
                      maxLength: 15
                      description: Short text
                    ALTIRR_CALC_MODE:
                      type: string
                      maxLength: 1
                      description: 'Calculation Mode: Alternative Effective Interest Calculation  enumValues: 1=Calculate Condition,2=Calculate Disbursement Amount'
                      enum:
                      - '1'
                      - '2'
                    KEYDAY:
                      type: integer
                      format: int64
                      description: 'Key Date for Update of Calculation Date  enumValues: 01='
                      enum:
                      - '01'
                    SFWERK:
                      type: integer
                      format: int64
                      description: 'Shift Due Date to Working Day  enumValues: 1=Next working day,3=Previous working day,0=No shift,4=Previous working day modified,2=Next working day modified'
                      enum:
                      - '1'
                      - '3'
                      - '0'
                      - '4'
                      - '2'
                    SKALID:
                      type: string
                      maxLength: 2
                      description: Factory calendar
                I_INSTALLMENT:
                  type: integer
                  format: int64
                  description: Installment
                I_INSTALLMENT_UPDATE:
                  type: string
                  maxLength: 1
                I_INTEREST_RATE:
                  type: integer
                  format: int64
                  description: Nominal interest rate
                I_INTEREST_RATE_UPDATE:
                  type: string
                  maxLength: 1
                IO_STEPS:
                  type: array
                  items:
                    type: object
                    properties:
                      FLAG_BLOCKED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Fix Item  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      DVALUT:
                        type: string
                        format: date
                        description: Calculation Date
                      SVULT:
                        type: string
                        maxLength: 1
                        description: 'Month-end indicator for value date  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FIRST_DUE_DATE:
                        type: string
                        format: date
                        description: Due date
                      NUMBER_PERIODS:
                        type: integer
                        format: int64
                        description: Number of Periods
                      UNIT_PERIODS:
                        type: integer
                        format: int64
                        description: 'Periods  enumValues: 06=Half-Yearly Installments,11=Installment Every Eleven Months,07=Installment Every Seven Months,08=Installment Every Eight Months,12=Annual Installments,05=Installment Every Five Months,01=Monthly Installments,02=Installment Every Two Months,04=Installment Every Four Months,10=Installment Every Ten Months,09=Installment Every Nine Months,03=Quarterly Installments'
                        enum:
                        - '06'
                        - '11'
                        - '07'
                        - '08'
                        - '12'
                        - '05'
                        - '01'
                        - '02'
                        - '04'
                        - '10'
                        - '09'
                        - '03'
                      REPAYMENT_TYPE:
                        type: integer
                        format: int64
                        description: 'Repayment Type  enumValues: 1=Interest,3=Installments,2=Annuity,0=None'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                        - '0'
                      PAYMENT_FORM:
                        type: integer
                        format: int64
                        description: 'Payment Form (Period Start, Mid-Period, Period End, Other)  enumValues: 3=At End of Period,4=Individual,2=Mid-Period,1=At Start of Period'
                        enum:
                        - '3'
                        - '4'
                        - '2'
                        - '1'
                      AMOUNT_EFFECTIVE:
                        type: integer
                        format: int64
                        description: Effective installment (currency amount)
                      AMOUNT:
                        type: integer
                        format: int64
                        description: Specified Installment (Currency Amount)
                      PERCENTAGE:
                        type: integer
                        format: int64
                        description: Specified Rate (Percentage of Fictitious Installment)
                      PPAYMENT:
                        type: integer
                        format: int64
                        description: Payment Rate (Used Within FIMA to Map Time Periods)
                      VALID_FROM:
                        type: string
                        format: date
                        description: 'Date: Item is Valid From'
                      VALID_TO:
                        type: string
                        format: date
                        description: 'Date: Item is Valid To'
                      INTEREST_RATE:
                        type: integer
                        format: int64
                        description: Nomminal Annual Rate of Interest
                      JGESUCHT:
                        type: string
                        maxLength: 1
                        description: Int. indicator for alternative calculations
                      CURRKEY:
                        type: string
                        maxLength: 5
                        description: Currency Key
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IO_STEPS:
                    type: array
                    items:
                      type: object
                      properties:
                        FLAG_BLOCKED:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Fix Item  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        DVALUT:
                          type: string
                          format: date
                          description: Calculation Date
                        SVULT:
                          type: string
                          maxLength: 1
                          description: 'Month-end indicator for value date  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        FIRST_DUE_DATE:
                          type: string
                          format: date
                          description: Due date
                        NUMBER_PERIODS:
                          type: integer
                          format: int64
                          description: Number of Periods
                        UNIT_PERIODS:
                          type: integer
                          format: int64
                          description: 'Periods  enumValues: 06=Half-Yearly Installments,11=Installment Every Eleven Months,07=Installment Every Seven Months,08=Installment Every Eight Months,12=Annual Installments,05=Installment Every Five Months,01=Monthly Installments,02=Installment Every Two Months,04=Installment Every Four Months,10=Installment Every Ten Months,09=Installment Every Nine Months,03=Quarterly Installments'
                          enum:
                          - '06'
                          - '11'
                          - '07'
                          - '08'
                          - '12'
                          - '05'
                          - '01'
                          - '02'
                          - '04'
                          - '10'
                          - '09'
                          - '03'
                        REPAYMENT_TYPE:
                          type: integer
                          format: int64
                          description: 'Repayment Type  enumValues: 1=Interest,3=Installments,2=Annuity,0=None'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                          - '0'
                        PAYMENT_FORM:
                          type: integer
                          format: int64
                          description: 'Payment Form (Period Start, Mid-Period, Period End, Other)  enumValues: 3=At End of Period,4=Individual,2=Mid-Period,1=At Start of Period'
                          enum:
                          - '3'
                          - '4'
                          - '2'
                          - '1'
                        AMOUNT_EFFECTIVE:
                          type: integer
                          format: int64
                          description: Effective installment (currency amount)
                        AMOUNT:
                          type: integer
                          format: int64
                          description: Specified Installment (Currency Amount)
                        PERCENTAGE:
                          type: integer
                          format: int64
                          description: Specified Rate (Percentage of Fictitious Installment)
                        PPAYMENT:
                          type: integer
                          format: int64
                          description: Payment Rate (Used Within FIMA to Map Time Periods)
                        VALID_FROM:
                          type: string
                          format: date
                          description: 'Date: Item is Valid From'
                        VALID_TO:
                          type: string
                          format: date
                          description: 'Date: Item is Valid To'
                        INTEREST_RATE:
                          type: integer
                          format: int64
                          description: Nomminal Annual Rate of Interest
                        JGESUCHT:
                          type: string
                          maxLength: 1
                          description: Int. indicator for alternative calculations
                        CURRKEY:
                          type: string
                          maxLength: 5
                          description: Currency Key
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
