Ansicht
Dokumentation

WRB_RFC_GET_VENDOR_OPEN_PO - NOTRANSL: Liefert eine Übersicht der offenen Bestellungen eines Lieferante

WRB_RFC_GET_VENDOR_OPEN_PO - NOTRANSL: Liefert eine Übersicht der offenen Bestellungen eines Lieferante

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This module determines all open purchase orders (EKPO-ELIKZ ='') for a vendor (parameter VENDOR). For each open purchase order a row is created in return table VENDOR_OPEN_PO containing various pieces of information (PO number, number of items (total/open), volume of purchase order (total/open/in action/in action and open)). The volumes are returned both as numeral values (type CURR) and as strings, formatted in accordance with the user settings for number display. In order that the different volumes can be compared with one another easily, they are all converted into the unit specified by parameter CURRENCY at the current rate of exchange.

In order 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 also 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

CURRENCY
DELIVERY_DATE_FROM
DELIVERY_DATE_TO
MAX_RESULT_SIZE
SITE_LIST
VENDOR
VENDOR_NAME
VENDOR_OPEN_PO

Exceptions

CANNOT_CONVERT_CURRENCIES
ILLEGAL_DATE_RANGE
MAX_RESULT_SIZE_EXCEEDED
NO_AUTHORITY_FOR_SITES
NO_AUTHORITY_FOR_VENDORS

Function Group

WRB_PO

CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.

Length: 2512 Date: 20240523 Time: 123816     sap01-206 ( 69 ms )