Ansicht
Dokumentation

FI_WT_EXCL_INTERM_PO - Read Purchase Order and fill intermediate fields

FI_WT_EXCL_INTERM_PO - Read Purchase Order and fill intermediate fields

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

Functionality

This function module retrieves information such as the purchasing document date and the start and end dates of the validity period from the purchase order header and the principal purchase agreement number and account assignment information from the purchase order (PO) item. This function module retrieves account assignment information from POs with only one account assignment. The system can use this information to determine exclusion.

Example

You set this function module to retrieve the document date of the purchase order. An additional step in the derivation tool uses this document date to decide whether exclusions apply to the expense line being evaluated.

A purchase order exists for a material. A down payment is posted against the purchase order. The system takes withholding tax from this down payment, unless the purchase order was created before January 1, 2012.

Notes

This function module does not determine if a line is excluded. It returns additional information from the purchase order, which allows more fields to be used as criteria for exclusion.

To use the returned information, an additional step is required to evaluate these values and then determine exclusion. The steps are executed in the order shown in the derivation tool.

The STATU field defined in the exporting structure of this function module refers to the Status of Purchasing Document field, which is on the purchase order header. It is not the STATU field on the item, which refers to the RFQ status.

Further information





Parameters

INPUT
OUTPUT

Exceptions

DO_NOT_STOP
NOT_FOUND

Function Group

FWEL_DRV

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

Length: 1847 Date: 20240523 Time: 083034     sap01-206 ( 38 ms )