SAP Function WSTN2_SOURCE_OF_SUPPLY - Determine Source of Supply

Parameter Reference Type Length Default Optional Text
IS_AUPO AUPO u 445 Allocation Table Document Item
IV_DATE SYDATUM D 8 X Date for Source of supply determination
IV_DC AUVZ-VZWRK C 4 X Distribution center as plant
IV_EKORG EKORG C 4 Purchasing organization
IV_GENMAT MATNR C 18 X Generic material number
IV_QTY AUFI-PMNGU P 7 Planned qty of sub-item
IV_STORE AUFI-FIWRK C 4 X Store as plant

Parameter Reference Type Length Text
EV_LIFNR AUPO-LIFNR C 10 Account Number of the Vendor
EV_VZENT AUPO-VZENT C 10 Distribution center (as customer)
EV_VZLFR AUPO-VZLFR C 10 Vendor number of plant
EV_VZWRK AUPO-VZWRK C 4 Distribution center as plant

Exception Text
INTERNAL_ERROR some internal error occurred