SAP Function BAPI_PROCORDCONF_CREATE_ACT - Enter Activity Confirmations for Process Orders

Parameter Reference Type Length Default Optional Text
POST_WRONG_ENTRIES BAPI_CORU_PARAM-INS_ERR C 1 X Key: Insert incorrect confirmation

Parameter Reference Type Length Text
RETURN BAPIRET1 u 470 Return Parameters

Parameter Reference Length Optional Text
ACTIVITIES BAPI_PI_ACTIV 261 Activity Confirmation Process Order
DETAIL_RETURN BAPI_CORU_RETURN 568 X Return Information for APIs

Functionality
This method can be used to enteractivity confirmations for phases of process orders.
If the first confirmation that is entered is an activity confirmation,the status of the phase is set to Partially Confirmed.Activity confirmations do not effect the confirmation status in anyother way.
INCLUDE BAPI_PRODORDCONF_HINT_COMMIT OBJECT DOKU ID TX
Authorization Check
INCLUDE BAPI_PROCORDCONF_CD_BERECHT OBJECT DOKU ID TX
INCLUDE BAPI_PROCORDCONF_CD_RETURN OBJECT DOKU ID TX

Description
The parameter PostWrongEntries controls which confirmationsare transferred to the error pool.
Entries in the error pooll can be corrected and re-posted usingPost-processing of confirmations.

Value range

  • 0: No confirmation

  • 1: Only incorrect confirmations

  • 2: Incorrect confirmations and confirmation that cannot be processed
  • due to a lock situation

    Default
    0: No confirmations

    Description
    The Activities table transfers the confirmations to be createdas time events.
    The confirmed object phase can be identified as one of the followingtypes:

    • By the confirmation number in the CONF_NO field

    • By a combination of the following specifications:

    • Order in the ORDERID field
      Phase in the PHASE field
      Possible secondary resource in the SEC_RESOURCE field
      Each entry in the Activities table represents a separate timeevent, which is checked and processed in the transferred sequence.verarbeitet wird.

      Description
      The DetailReturn table provides one of the following pieces ofinformation for each confirmation:

      • Successful posting

      • Exception situation (on account of incorrect data or current lock
      • situation)
        For each confirmation transferred to the Activities table, anentry is made in the DetailReturn table.
        For the successful posting of a confirmation, the key of theconfirmation is made available in the CONF_NO and CONF_CNTfields.
        Otherwise, all the details for the exception situation are madeavailable in the respective fields and the report text is transferred tothe MESSAGE field. In the event of a lock situation, theFLG_LOCKED indicator is also set.