Ansicht
Dokumentation

BAPI_REPMANCONF1_CREATE_MTS - Carry Out Confirmation in Make-to-Stock Scenario

BAPI_REPMANCONF1_CREATE_MTS - Carry Out Confirmation in Make-to-Stock Scenario

PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

A confirmation process is carried out for the production lot scenario. If the confirmation is not successful, the system displays an appropriate message via the exporting parameter RETURN. If the confirmation is carried out successfully, the exporting parameter RETURN is populated with initial values.

The confirmation process is carried out for a material lot. The costs are collected on a product cost collector.

Goods movements that are posted together with a confirmation can also be passed on. If no goods movements are specified for a confirmation, they are determined according to the standard logic for backflushes relating to a confirmation.

You also have the option of classifying the goods receipt batch.

Meaning of the parameters:

BFLUSHFLAGS: Control of the type and scope of a confirmation

BFLUSHDATAGEN: Parameters for the scenario-dependent confirmation data

BFLUSHDATAMTO: Parameter specifically for the make-to-order scenario

SERIALNR: List of serial numbers

GOODSMOVEMENTS: Table of goods issues

CHARACTERISTICS_BATCH: Table of batch characteristics

RETURN: Return of an error code if the confirmation could not be carried out successfully

Example

Notes

No COMMIT WORK is executed in this module.

Note that immediately after the invocation of this BAPI, a COMMIT WORK is issued. This means that it is not possible to use several writing confirmation BAPIs in sequence and then only issue one single COMMIT WORK after the last BAPI. Should this nevertheless happen, the second BAPI is terminated because the program does not allow such a chain of calls.

A material and a plant or a planned order must be passed on.

The entry of a posting date and a document date is likewise mandatory.

If the associated repetitive manufacturing profile is set up in such a way that correction in dialog is mandatory in the event of withdrawal errors and if a withdrawal error occurs in the confirmation, the confirmation cannot be carried out and an appropriate error code is recorded in the RETURN parameter.

If the associated repetitive manufacturing profile is set up in such a way that a correction in dialog is optional in the event of withdrawal errors and if withdrawal errors occur in the confirmation, postprocessing records are generated for the non-withdrawable components. Therefore, make sure that the generation of postprocessing records is allowed in the repetitive manufacturing profile. Otherwise, the withdrawal errors are not logged and system-supported automatic subsequent posting is not possible.

The confirmation number assigned by the system is returned to the invoker via the CONFIRMATION parameter.

Further information





Parameters

/CWM/BFLUSHDATAGEN
/CWM/GOODSMOVEMENTS
BFLUSHDATAGEN
BFLUSHDATAMTS
BFLUSHFLAGS
CHARACTERISTICS_BATCH
CONFIRMATION
GOODSMOVEMENTS
RETURN
SERIALNR

Exceptions

Function Group

2142

Addresses (Business Address Services)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4205 Date: 20240523 Time: 154638     sap01-206 ( 78 ms )