The Function Module WSTN2_SOURCE_OF_SUPPLY (Determine Source of Supply) is a standard Function Module in SAP ERP and is part of the function group WSTN2 within the package WSTRN.
Function Module | WSTN2_SOURCE_OF_SUPPLY |
Short Text | Determine Source of Supply |
Function Group | WSTN2 |
Package | WSTRN |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
IS_AUPO | TYPE | AUPO | Allocation Table Document Item | |
IV_DATE | TYPE | SYDATUM | Date for Source of supply determination | |
IV_DC | TYPE | AUVZ-VZWRK | Distribution center as plant | |
IV_EKORG | TYPE | EKORG | Purchasing organization | |
IV_GENMAT | TYPE | MATNR | Generic material number | |
IV_QTY | TYPE | AUFI-PMNGU | Planned qty of sub-item | |
IV_STORE | TYPE | AUFI-FIWRK | Store as plant |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
EV_LIFNR | TYPE | AUPO-LIFNR | Account Number of the Vendor | |
EV_VZENT | TYPE | AUPO-VZENT | Distribution center (as customer) | |
EV_VZLFR | TYPE | AUPO-VZLFR | Vendor number of plant | |
EV_VZWRK | TYPE | AUPO-VZWRK | Distribution center as plant |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
INTERNAL_ERROR | some internal error occurred |