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: 

Custom View in MM01/MM02/MM03

ramesh_putta
Participant
0 Kudos

We have created couple of custom tables to store material related data. And we have created custom transactions to maintain this data.

I would like to know if there is any way to maintain this data from MM01/MM02/MM03 by creating a separate view.

I got all the notes/links online where it says to append the MARA/MARC structures to maintain the custom fields, but i want to do it without appending MARA/MARC. I would just like to create a custom view (Just like Basic data1,Basic data2 etc...) and would like to create custom screens to maintain my custom tables.

Please share your knowledge on this.

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Ramesh,

You can append fields and create new field but you cannot create a new view. You can change and add more fields to the same view. Please review note 44410.

Regards

Amber

12 REPLIES 12

satyabrata_sahoo3
Contributor
0 Kudos

Hi,

Views of MM01/02/03 can be controlled by authorization object M_MATE_STA.

Check if it helps in your task.

~SS~

Former Member
0 Kudos

Hello Ramesh,

You can append fields and create new field but you cannot create a new view. You can change and add more fields to the same view. Please review note 44410.

Regards

Amber

0 Kudos

Amber, thanks for the reply.

I have gone through this note , but it again says about appending MARA/MARC tables with custom fields.

And i do not want to add my custom fields in any existing view, i would like to create a new view which contains the subscreen with all my custom fields. Is that not possible?

0 Kudos

Hi Ramesh,

Unfortunately not via standard Enhancments. Views are complicated and it needs a lot of customising therefore it has not been made possible. You will need to modify the standard code but which is generally not recommended by SAP. Why dont you create a new subscreen on one of the views and add all the custom fields on that subscreen ? As that is possible.

Regards

Amber

0 Kudos

Ok, so when you say new subscreen on one of the views, that subscreen is going to display as a new tab?

for eg , lets say i want to add my custom fields in Basic data 1 tab. how is my new subscreen(with custom fields) going to be displayed? is it going to display as a new tab?

0 Kudos

Yes, It will display as new tab . Like you have General data / Material authorisation group /Dimension Eans etc. You can customise them in OMT3B/OMT3R etc. You will find notes on customising screens.

Regards

Amber

0 Kudos

greate, but in my case, i have lot of custom fields to be added on the screen.

or may be i will create a button which re-directs me to the custom transaction with all my custom fields.

I will find a way.. thanks for your help.

0 Kudos

Amber, i did find a way to add new custom view.

the link http://scn.sap.com/thread/486556 helped.

0 Kudos

Hi Ramesh,

It looks like he has suggested to create a sub screen as I advised above and then modify the standard screens. I am not too sure if that will work as a view but ofcourse you can always try. I have never seen that working as a view. The suggestion he has given generally is works as a tab. But you cn alway try and see . Let me know if that works as a view.

Thanks

Amber

0 Kudos

yes, i could able to add a new custom view at the end of all views..

this links explains it more clearly..

http://scn.sap.com/community/abap/blog/2012/04/20/configuring-customized-material-master--adding-sub...

0 Kudos

Hi Ramesh,

That is great . I never knew subscreens could work as view. Thats some learning

Regards

Amber

0 Kudos

Okay,

I could able to add the custom view and maintain my custom fields there.

But when we save it, iam saving the custom fields into my custom table from the PAI in that screen.

everything works OK, but iam not sure this is the correct way of saving it from PAI.

or is there a BADI where i can save my custom table along with all the other material master fields?