In UPSPL , executing planning folder , I have authorization check in the heather for the company code . In lines I have the fieldCost Center , (IO in is maintenance ,Order for F4 help for company is set ) , when I want to select a field in F4 , the system gives me all values for existing Cost Centers , independent if I have or not authorization for them .
More serious , the system does not allow me to filter by company in F4 . Imagine I have 500 Cost center ,,,is complicate for user made his selection without the company field Help . However , if I dont work with authorizations , I dont have this problem and ,In F4 the field Company is show , and enable me to make filter selection in F4
my best regards
you should use two variables. One for company code and another variable for cost center. The cost center variable should be of type exit. In the exit function, read the company code variable and return only the relevant cost centers.
Have a look at the variable how-to paper.
SAP NetWeaver RIG