10-07-2008 6:39 AM
Hi All,
i need to write a code to find the MM02 views available for my userid. For differnent materials, different views are available so view position of a particular view is getting different. Please help me to find the views available for my userid? any code or FM or anything is there?
if i find the available views for my userid, then i can find the exact position of a particular view.
Thanks in advance,
Srilakshmi.
10-07-2008 6:57 AM
Hi
hi think views are not based on USER ID, it is based on Material itself.
You can use MARA-PSTAT and MARC-PSTAT field to determine the view extension.
Each character in MARA-PSTAT and MARC-PSTAT describes what all views are extended
Press F1 on those fields, you will get more idea
Regards
MD
10-07-2008 6:58 AM
Hi,
you can use table MARA with field VPSTA-Compl. maint. status. It will give you information which views for which material is created.
Here are the list of status related with views.
A Work scheduling
B Accounting
C Classification
D MRP
E Purchasing
F Production resources/tools
G Costing
K Basic data
L Storage
P Forecasting
Q Quality management
S Warehouse management
V Sales
X Plant stocks
Z Storage location stocks
Regards Vassko!
10-07-2008 7:02 AM
Hello
Views in material master are not bound with userID.
Views are defined by maintenance status of complete material (MARA-VPSTA).
Goto MARA, read field VPSTA. Then goto T132 for views.
10-07-2008 7:06 AM
hi,
Material views are defined based on material type through spro transaction.so you have nothing to do with them based on user id.
you can check those details using this path.
spro - logistics general - material master - basic settings - material types - define attributes of material type - select any material type and click display.