openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_CHNGCONTROL_READ_CB:
    post:
      tags:
      - CPE_CHNGCONTROL_CB
      summary: CPE_C - Controlling Action on Data Change - Read from Customizing Buffer
      operationId: /rfc/CPE_CHNGCONTROL_READ_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_APPLICATION:
                  type: string
                  maxLength: 4
                  description: CPE Caller - Application using CPE
                IV_DOCCATEGORY:
                  type: integer
                  format: int64
                  description: CPE Caller - Document Category
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_NO_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
              required:
              - IV_APPLICATION
              - IV_DOCCATEGORY
              - IV_LOGSYS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_CHNGCONTROL:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      APPLICATION:
                        type: string
                        maxLength: 4
                        description: 'CPE Caller - Application using CPE  enumValues: M=ERP Materials Management,CRM=Customer Relationship Management,V=ERP Sales and Distribution'
                        enum:
                        - M
                        - CRM
                        - V
                      DOCCATEGORY:
                        type: integer
                        format: int64
                        description: 'CPE Caller - Document Category  enumValues: 020=Commodity Coverage,007=Credit Memo Request,009=Invoice,019=Purchase Contract,015=Credit Memo Cancellation,018=Purchase Order,017=Returns Delivery for Order,001=Inquiry,013=Credit Memo,012=Intercompany Credit Memo,002=Quotation,006=Returns,014=Debit Memo,011=Intercompany Invoice,021=Opportunity,010=Invoice Cancellation,004=Contract,016=Goods Movement,003=Sales Order,005=Master Contract,008=Debit Memo Request'
                        enum:
                        - '020'
                        - '007'
                        - '009'
                        - '019'
                        - '015'
                        - '018'
                        - '017'
                        - '001'
                        - '013'
                        - '012'
                        - '002'
                        - '006'
                        - '014'
                        - '011'
                        - '021'
                        - '010'
                        - '004'
                        - '016'
                        - '003'
                        - '005'
                        - '008'
                      HEADER_CHANGE:
                        type: integer
                        format: int64
                        description: 'CPE - Reaction to Change Made to Document Header Data  enumValues: 1=Change CPE Data,2=Do not Change CPE Data,0=Send Dialog Box (Default)'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                      ITEM_CHANGE:
                        type: integer
                        format: int64
                        description: 'CPE - Reaction to Change Made to Document Item Data  enumValues: 1=Change CPE Data,2=Do not Change CPE Data,0=Send Dialog Box (Default)'
                        enum:
                        - '1'
                        - '2'
                        - '0'
                      DEFAULT_CHANGE:
                        type: integer
                        format: int64
                        description: 'CPE Default Value - Reaction to Change  enumValues: 1=Change CPE Data,2=Do not Change CPE Data,0=Send Dialog Box (Default)'
                        enum:
                        - '1'
                        - '2'
                        - '0'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
