SAP Function WSD_RELATED_PLANTS - Drop down for Related Plants

Parameter Reference Type Length Default Optional Text
I_APP_NAME WSDT_APPL-APP_NAME C 2 X Applications (for Material Enhancements)
I_HIDE_OWN_PLANT BOOLEAN C 1 X Boolean Variable (X=True, -=False, Space=Unknown)
I_HIDE_PURCH_ORG BOOLEAN C 1 X Boolean Variable (X=True, -=False, Space=Unknown)

Parameter Reference Type Length Text
ET_VALUES TPDA_VRM_VALUES h 120 Value Request Manager: Data Structure

Functionality
This function module is used to filter the fixed values of the domainWSD_PLANTS_DISPLAY depending upon the calling application:
If the calling application is 01 - Sales Order, thePurchasing Organization option is not displayed in the
Related Plants field.
If the calling application is 02 - Purchase Order, 03 - SeasonalProcurement, or 04 - Allocation Table, the SalesOrganization option is not displayed in the Related Plantsfield.
This function module also explicitly controls the display of the OwnPlant value for domain WSD_PLANTS_DISPLAY.

Example
This function module controls the options for the Related Plantsfield used in the Enhanced Material Search function, as well as thescreen to store the personal settings.

Notes