Ansicht
Dokumentation

SAPAPO/PWB_SOS - BAdI: Source Determination

SAPAPO/PWB_SOS - BAdI: Source Determination

Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

BAdI: Change Source Determination

This Business Add-In (BAdI) is used in the component Sources of Supply.

It enables you to do the following for the "valid sources of supply" determined by the system:

  • Change the sorting
  • Change the data for a source

The system is to take the valid sources into account as follows:

  • When a procurement order is created in the background, sources with the procurement priority 3 are not to be taken into account.
  • When a procurement order is created in dialog mode, sources with the procurement priority 3 are to be displayed as additional procurement alternatives.

To achieve this result, proceed as follows:
In mode P (planning in the background), filter out the sources with the procurement priority 3 by deleting such sources from the table CT_SOURCES_EXTEND.

The parameter IV_LOW_LEVEL_CODE within the method PWB_USEX_SOS indicates whether the BAdI has been called up within the determination of the low-level code. If so, the parameters IV_MINLS and IV_MAXLS are not filled.

This BAdI is not active in the standard system supplied.
This BAdI can be used multiple times.

INCLUDE BADI_IMPLEMENTATION OBJECT DOKU ID TX LANGUAGE EN

Methods

Sorting and/or Restriction of Source Selection(PWB_USEX_SOS)

Reading of Source (PWB_USEX_SOS_ORDER_TRPID)

Interface
/SAPAPO/IF_EX_PWB_SOS






General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.

Length: 2404 Date: 20240523 Time: 200254     sap01-206 ( 43 ms )