07-24-2012 4:57 PM
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
07-25-2012 1:19 PM
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
07-24-2012 5:18 PM
Hi,
Views of MM01/02/03 can be controlled by authorization object M_MATE_STA.
Check if it helps in your task.
~SS~
07-25-2012 1:19 PM
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
07-25-2012 1:41 PM
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?
07-25-2012 1:46 PM
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
07-25-2012 2:01 PM
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?
07-25-2012 2:15 PM
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
07-25-2012 3:03 PM
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.
07-25-2012 9:07 PM
Amber, i did find a way to add new custom view.
the link http://scn.sap.com/thread/486556 helped.
07-26-2012 9:31 AM
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
07-27-2012 12:34 AM
yes, i could able to add a new custom view at the end of all views..
this links explains it more clearly..
07-27-2012 10:37 AM
Hi Ramesh,
That is great . I never knew subscreens could work as view. Thats some learning
Regards
Amber
08-03-2012 3:53 PM
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?