Ansicht
Dokumentation

WRB_PO_GET_DETAILED_OVERVIEW - NOTRANSL: Liefert eine detaillierte Liste von Bestellungen für mehrere Lie

WRB_PO_GET_DETAILED_OVERVIEW - NOTRANSL: Liefert eine detaillierte Liste von Bestellungen für mehrere Lie

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module determines purchase orders from a list of vendors (parameter VENDOR_LIST) that fulfill certain criteria. For each item in a purchase order, a line is created in table DETAILED_LIST containing the following information:

  • Vendor number
  • Vendor name
  • Purchase order number
  • Item number
  • Delivery completed indicator
  • Gross order value of the item
  • Order quantity of the item
  • Summed order quantity of the selected schedule lines of this item
  • Summed goods receipt quantity of the selected schedule lines of this item
  • Currency key for the order currency
  • Promotion number

To limit the number of hits further, you also need to enter a list of plants (parameter SITE_LIST) to which the purchase orders are delivered (EKPO-WERKS) and the time period (beginning and end) for the delivery date (EKET-EINDT).
The information is determined using Join from the corresponding database tables to obtain the best possible performance. Parameter MAX_RESULT_SIZE can also be used to limit the number of hits.

Example

Notes

It is necessary to specify a valid time period for the delivery date (beginning and end must be valid dates and the beginning must be before the end or on the same date) otherwise the exception ILLEGAL_DATE_RANGE is generated. It is not necessary to specify the vendor list and the plant list, however, if you do not, purchase orders for all vendors and/or all plants in the system will be searched. This can cause serious problems with performance. SAP therefore strongly recommends that you limit the selection to a few vendors and plants and also that you make the time period for the delivery date as short as possible (a few days).

Further information





Parameters

DELIVERY_DATE_FROM
DELIVERY_DATE_TO
DETAILED_LIST
MAX_RESULT_SIZE
SITE_LIST
VENDOR_LIST

Exceptions

ILLEGAL_DATE_RANGE
MAX_RESULT_SIZE_EXCEEDED
NO_AUTHORITY_FOR_SITES
NO_AUTHORITY_FOR_VENDORS

Function Group

WRB_PO

TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2687 Date: 20240523 Time: 134453     sap01-206 ( 53 ms )