Ansicht
Dokumentation

BAPI_PRODORDCONF_CREATE_ACT - Enter Activity Confirmation

BAPI_PRODORDCONF_CREATE_ACT - Enter Activity Confirmation

PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to enter pure activity confirmations for operations in production orders.

Activity confirmations are special, since they do not generally afffect the confirmation status. Only if the very first confirmation for an operation is an activity confirmation, does the operation receive the status "partially confirmed".

Notes

INCLUDE BAPI_PRODORDCONF_HINT_COMMIT OBJECT DOKU ID TX

Authorization check

The authorization object C_AFRU_AWK is checked together with the activity 01 (create) as well as the order type and plant of the production order to be confirmed.

Parameter

  • PostWrongEntries
You use the PostWrongEntries parameter to control whether in an exception (incorrect data/ locked objects) the confirmations are accepted by the SAP system and placed in the pool of incorrect confirmations.
Exceptions for confirmations are logged in the DetailReturn parameter table.
The following characteristic values of the PostWrongEntries parameter are possible:
  • " ": Confirmations, in which no exception occurred, are posted. All the confirmations are not processed, they are not placed in the pool for incorrect confirmations.

  • "1": Confirmations, in which no exception occurred, are posted. All confirmations with incorrect data are placed in the pool for incorrect confirmations. On the other hand, confirmations that are not posted due a lock situation are not processed, they are not placed in the pool.

  • "2": Confirmations, in which no exception occurred, are posted. All confirmations with exceptions are placed in the pool.

  • Return
If confirmations could not be processed, due to a serious error, you receive information about the error in the Return parameter.
  • Activities
The data from the activity confirmation is copied to the Activities table.
  • DetailReturn
The DetailReturn table informs you for each confirmation to be entered, whether a confirmation could not be entered due to a lock conflict or which error occurred.
  • If the confirmation could be enterd successfully, the key of the confirmation is logged in the fields DetailReturn-Conf_No and DetailReturn-Conf_Cnt.

  • In the case of a lock conflict, the DetailReturn-Flg_Locked indicator is set.

  • If the data is found to be incorrect, a corresponding error message is written in the relevant fileds of the DetailReturn table.





Parameters

ACTIVITIES
DETAIL_RETURN
POST_WRONG_ENTRIES
RETURN

Exceptions

Function Group

2116

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4145 Date: 20240523 Time: 170012     sap01-206 ( 36 ms )