Ansicht
Dokumentation

VWWS_STORD_SOURCING - NOTRANSL: determine source of supply, use special rule to find to correct

VWWS_STORD_SOURCING - NOTRANSL: determine source of supply, use special rule to find to correct

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module processes a specific document category and material using an associated procurement rule, e.g "If goods available".

Supply source determination is used if required.

If a source of supply is defined, it checks if the procurement rule is complied with.

If no source of supply can be determined, an error message occurs.

Rules implemented so far:

Doc. cat. A Rule: Internal procurement. If goods not available,

determine external supply source.

Doc. cat. B Rule: Internal procurement, if MVKE-LFMAX filled and

< required order quantity, determine new supply

source. First internally. Check MVKE-LFMAX.

If maximum delivery quantity exceeded, find

external supply source.

Example

Material no: 4711

Document category: A

Supplying plant: R001

=> 1. Check availability for R001 if ok !

if not ok, supply source determination.

Find external vendor.

If found, use this.

Vendor x instead of R001 else error !

Notes

if vendor defined, this is processed without any check.

Further information

  • Online documentation
  • Process model
  • Store order

  • Store order processing

  • Supply source determination

  • Order optimizing (order copy)
  • Concepts for Retail Release 1.1 and 1.2





Parameters

BEZUGSTAB
E_LIFNR
E_RESWK
I_AUFTRAGSPOSITION
I_BEZUGSREGEL
I_FINDUNG

Exceptions

ERROR_IN_APPLICATION
NO_SOURCE_FOUND

Function Group

WVFB

Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.

Length: 2466 Date: 20240523 Time: 133732     sap01-206 ( 28 ms )