MARA - VPSTA and PSTAT fields
MARA - VPSTA and PSTAT fields
http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/mara-vpsta-and-pstat-fields-363888
Can someone kindly explain what is the purpose for fields 
VPSTA (Maintenance status of complete material) and 
PSTAT (Maintenance status) in MARA table? 
Can these fields be maintained manually? Thanks. 
regards, 
Soon Ping
Hi Soon Ping, 
You can use table T133A for its values and descriptions. 
Regards, 
Venkat
http://scn.sap.com/thread/1505259
Different views of material master when maintained are given a unique ID such as:
Work scheduling - A
Accounting - B
Classification - C
MRP - D
Purchasing - E
Production resources/tools - F
Costing - G
Basic data - K
Storage - L
Forecasting - P
Quality management - Q
Warehouse management - S
Sales - V
Plant stocks - X
Storage location stocks - Z
MARA-VPSTA- MARA is the master table for materials and is at client level. VPSTA tells you all the views that have been created for the material. and Plant Stock and Storage Location stock views get created automatically.
MARA-PSTAT - tells you the views that have been created manually.
MARC-PSTAT - tells you the view created manually, relevant to Plant
MARD-PSTAT - tells you the view created manually, relevant to Storage Location data (Storage)
MBEW-PSTAT - tells you the view created manually, relevant to Finance (Accounting and Costing)
Hi...
i'm having to do a big develop to mass upload of materials.
i saw that the marterials has a few views.
so... my question is, wich field of MARA-MARC-MARD-MBEW i have to use (VPSTA, PSTAT)
to do a CASE which asign the view needed and use the BAPI to create the material.
Thanks in advance.
Example
DO lv_largo TIMES.
lv_index = sy-index - 1.
CASE it_fmara-pstat+lv_index(1).
WHEN 'A'.
BAPI_HEAD-WORK_SCHED_VIEW = 'X'.
WHEN 'B'.
bapi_head-account_view = 'X'.
WHEN 'D'.
bapi_head-mrp_view = 'X'.
WHEN 'E'.
bapi_head-purchase_view = 'X'.
WHEN 'F'.
bapi_head-prt_view = 'X'.
WHEN 'G'.
bapi_head-cost_view = 'X'.
WHEN 'K'.
bapi_head-basic_view = 'X'.
WHEN 'L'.
bapi_head-storage_view = 'X'.
WHEN 'P'.
BAPI_HEAD-FORECAST_VIEW = 'X'.
WHEN 'Q'.
BAPI_HEAD-QUALITY_VIEW = 'X'.
WHEN 'S'.
bapi_head-warehouse_view = 'X'.
WHEN 'V'.
bapi_head-sales_view = 'X'.
ENDCASE.
ENDDO.
以下转自:http://www.cnblogs.com/yesno/news/2009/09/16/1591332.html
物料主数据的维护状态,判断哪些视图是否维护
对于 View in MM01 中空缺的几个维护状态视图,我在 MM01 中没有找到,但是从表里看到有 X 和 Z 的值,谁知道它们如何维护的,请告诉我,补充完整,谢谢。
| User department | View in MM01 | Maintenance status | 
|---|---|---|
| Work scheduling | Work Scheduling | A | 
| Accounting | Accounting 1 Accounting 2 | B | 
| Classification | C | |
| MRP | MRP 1 MRP 2 MRP 3 MRP 4 | D | 
| Purchasing | Purchasing Foreign Trade: Import Data Purchase Order Text | E | 
| Production resources/tools | F | |
| Costing | Costing 1 Costing 2 | G | 
| Basic data | Basic Data 1 | K | 
| Storage | General Plant Data / Storage 1 General Plant Data / Storage 2 | L | 
| Forecasting | Forecasting | P | 
| Quality management | Q | |
| Warehouse management | S | |
| Sales | Sales: Sales Org. Data 1 Sales: Sales Org. Data 2 Sales: General/Plant Data Foreign Trade: Export Data Sales Text | V | 
| Plant stocks | X | |
| Storage location stocks | Z | 
 
                    
                     
                    
                 
                    
                
 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号