SAP Function /SPE/PLANT_FROM_PARTNER - Determine Plant from Vendor or Customer

Parameter Reference Type Length Default Optional Text
IF_CUSTOMER KUNNR C 10 X Customer Number 1
IF_VENDOR LIFNR C 10 X Account Number of Vendor or Creditor

Parameter Reference Type Length Text
EF_PLANT WERKS_D C 4 Plant

Exception Text
ASSIGNMENT_NOT_UNIQUE Vendor/Customer Assigned to Multiple Plants
INCOMPLETE_INPUT Missing Input Parameters
NO_ASSIGNMENT Vendor/Customer Not Assigned to a Plant