openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_HRP_COPY_OBJECT:
    post:
      tags:
      - RHWP
      operationId: /rfc/RH_HRP_COPY_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVATION_AUTOM:
                  type: string
                  default: X
                  maxLength: 1
                ACT_TEXT_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                NEW_SHORT:
                  type: string
                  maxLength: 12
                NEW_STEXT:
                  type: string
                  maxLength: 40
                RFCDEST_TO_SOURCE:
                  type: string
                  maxLength: 32
                SAME_OBJID_AS_SOURCE:
                  type: string
                  maxLength: 1
                SOURCE_OBJID:
                  type: integer
                  format: int64
                TARGET_OTYPE:
                  type: string
                  maxLength: 2
                TARGET_PLVAR:
                  type: string
                  maxLength: 2
                ACT_PLOG:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      INFTY:
                        type: string
                        maxLength: 4
                        description: Infotype
                      SUBTY:
                        type: string
                        maxLength: 4
                        description: Subtype
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      PRIOX:
                        type: string
                        maxLength: 2
                        description: Priority
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      VARYF:
                        type: string
                        maxLength: 10
                        description: Variation Field for File PLOG
                      SEQNR:
                        type: integer
                        format: int64
                        description: Number of Infotype Record With Same Key
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      REASN:
                        type: string
                        maxLength: 2
                        description: Reason
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ITXNR:
                        type: integer
                        format: int64
                        description: Text Module for Infotype
                      VDATA:
                        type: string
                        maxLength: 1000
                        description: Variable Data Field in PLOG File
                ACT_TABDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      TABNR:
                        type: string
                        maxLength: 32
                        description: Reference Number to Table Part
                      TABSEQNR:
                        type: integer
                        format: int64
                        description: Sequence Number in Table Part of Table Infotype
                      TDATA:
                        type: string
                        maxLength: 800
                        description: Data Part for New Table Infotype
                HELP_P1205:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      OBJID:
                        type: integer
                        format: int64
                        description: Object ID
                      INFTY:
                        type: string
                        maxLength: 4
                        description: Infotype
                      SUBTY:
                        type: string
                        maxLength: 4
                        description: Subtype
                      ISTAT:
                        type: string
                        maxLength: 1
                        description: Planning Status
                      PRIOX:
                        type: string
                        maxLength: 2
                        description: Priority
                      BEGDA:
                        type: string
                        format: date
                        description: Start Date
                      ENDDA:
                        type: string
                        format: date
                        description: End Date
                      VARYF:
                        type: string
                        maxLength: 10
                        description: Variation Field for File PLOG
                      SEQNR:
                        type: integer
                        format: int64
                        description: Number of Infotype Record With Same Key
                      AEDTM:
                        type: string
                        format: date
                        description: Changed on
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name
                      REASN:
                        type: string
                        maxLength: 2
                        description: Reason
                      HISTO:
                        type: string
                        maxLength: 1
                        description: Historical Record Flag
                      ITXNR:
                        type: integer
                        format: int64
                        description: Text Module for Infotype
                      WFD_ID:
                        type: string
                        maxLength: 10
                        description: Number of workflow definition
                      VERSION:
                        type: string
                        maxLength: 4
                        description: Version
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Active Version of Workflow Definition  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      ACTIV_DATE:
                        type: string
                        format: date
                        description: Changed on
                      ACTIV_TIME:
                        type: string
                        maxLength: 6
                        description: Time
                      SAPRL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
              required:
              - SOURCE_OBJID
              - TARGET_OTYPE
              - TARGET_PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_OBJID:
                    type: integer
                    format: int64
                  ACT_PLOG:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        INFTY:
                          type: string
                          maxLength: 4
                          description: Infotype
                        SUBTY:
                          type: string
                          maxLength: 4
                          description: Subtype
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        PRIOX:
                          type: string
                          maxLength: 2
                          description: Priority
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        VARYF:
                          type: string
                          maxLength: 10
                          description: Variation Field for File PLOG
                        SEQNR:
                          type: integer
                          format: int64
                          description: Number of Infotype Record With Same Key
                        AEDTM:
                          type: string
                          format: date
                          description: Changed on
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        REASN:
                          type: string
                          maxLength: 2
                          description: Reason
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        ITXNR:
                          type: integer
                          format: int64
                          description: Text Module for Infotype
                        VDATA:
                          type: string
                          maxLength: 1000
                          description: Variable Data Field in PLOG File
                  ACT_TABDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        TABNR:
                          type: string
                          maxLength: 32
                          description: Reference Number to Table Part
                        TABSEQNR:
                          type: integer
                          format: int64
                          description: Sequence Number in Table Part of Table Infotype
                        TDATA:
                          type: string
                          maxLength: 800
                          description: Data Part for New Table Infotype
                  HELP_P1205:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        OBJID:
                          type: integer
                          format: int64
                          description: Object ID
                        INFTY:
                          type: string
                          maxLength: 4
                          description: Infotype
                        SUBTY:
                          type: string
                          maxLength: 4
                          description: Subtype
                        ISTAT:
                          type: string
                          maxLength: 1
                          description: Planning Status
                        PRIOX:
                          type: string
                          maxLength: 2
                          description: Priority
                        BEGDA:
                          type: string
                          format: date
                          description: Start Date
                        ENDDA:
                          type: string
                          format: date
                          description: End Date
                        VARYF:
                          type: string
                          maxLength: 10
                          description: Variation Field for File PLOG
                        SEQNR:
                          type: integer
                          format: int64
                          description: Number of Infotype Record With Same Key
                        AEDTM:
                          type: string
                          format: date
                          description: Changed on
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name
                        REASN:
                          type: string
                          maxLength: 2
                          description: Reason
                        HISTO:
                          type: string
                          maxLength: 1
                          description: Historical Record Flag
                        ITXNR:
                          type: integer
                          format: int64
                          description: Text Module for Infotype
                        WFD_ID:
                          type: string
                          maxLength: 10
                          description: Number of workflow definition
                        VERSION:
                          type: string
                          maxLength: 4
                          description: Version
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Active Version of Workflow Definition  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        ACTIV_DATE:
                          type: string
                          format: date
                          description: Changed on
                        ACTIV_TIME:
                          type: string
                          maxLength: 6
                          description: Time
                        SAPRL:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
