Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

To find MM02 views available for an userid

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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!

Former Member
0 Kudos

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.

GauthamV
Active Contributor
0 Kudos

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.