Ansicht
Dokumentation

WB2_VC_TC_PF_CHECK - Define Pre-Check Groups

WB2_VC_TC_PF_CHECK - Define Pre-Check Groups

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you define pre-check groups with your own pre-check logic for follow-on documents of a trading contract.

The pre-check group is assigned to each action code defined in activityDefine and Configure Processing Types.

A pre-check class performs a single check. Multiple pre-check classes can be assigned under one pre-check group in the desired sequence. You can flexibly design a pre-check logic according to your business needs.

The pre-check logic determines whether follow-on processing from a trading contract can be triggered. If the check is successful, the corresponding follow-on processing can be triggered.

If you need additional checks, you can create your own pre-check class using interface "IF_WB2_TC_PROCESSING_PRE_CHK".

If you set "abap_true" to changing parameter "C_CHECK_ERROR", the system does not perform any further checks. If the check fails, follow-on processes will not be triggered.

Logistics document generation processes, such as goods receipt, delivery and goods issue generation from a trading contract are pre-defined.

For goods receipt generation from a trading contract, the trading contract data must fulfill the following conditions:

  • Trading contract is ready for release (must be approved)
  • Trading contract must not be a pre-contract but a contract with a follow-on document
  • Follow-on purchase order must have a remaining quantity for goods receipt

The check above is defined under pre-check group "0100".

Standard pre-check classes are provided using the naming convention "CL_WB2_TC_PF_PCH_xxxx".

  1. Define pre-check classes.
  2. Define pre-check groups.
  3. Assign pre-check classes to pre-check groups.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2074 Date: 20240523 Time: 185023     sap01-206 ( 29 ms )