2007 May 22 3:30 PM
Hello
We have added custom fields on material master basic data screen following these steps :
1) Copied Func. grp MGD1 to Z Fgrp via Spro -> Logistics General ..
2) Created a subscreen in Z fungrp by copying screen from original program.
3) Deleted the unwanted fields and added new fields to the layout and Fields in PAI.
4) Attached the subscreen in screen sequuence via SPRO
We are now able to see the new fields on the baisc data screen and also able to input data in these fields , but on SAVE the data is not getting saved to database table MARA.
We have also referred to OSS note 44410 but with no help.
Are we missing something , is there anything additional that needs to be done in ECC6.0 ?
Thanks
2007 May 22 3:36 PM
Hi,
You have to Append Structure to the MARA table having the custom fields.
goto MARA create the Z append structure having the Custom fields after that the data will be stored into the MARA table.
thanks and Regards,
Pavankumar
2007 May 22 3:42 PM
Hi Pavankumar
We did append structure to MARA table and we are referring to these fields in subscreens.
Thanks
2007 May 22 3:50 PM
Hi Kalidas,
In your customized subscreen, did you update the PAI to include your custom field?
process before output.
* Verarbeitung vor der Ausgabe
module init_sub.
module get_daten_sub.
module feldauswahl.
module sonderfaus.
module sonfausw_in_fgruppen.
module feldhistorie. "Aenderungsdienst
module bildstatus.
module zusref_vorschlagen_b.
module refdaten_vorschlagen.
module zusref_vorschlagen_a.
module set_daten_sub.
process after input.
module get_daten_sub.
* Put your custom fields here to copy to structure for saving
field: mara-zzcustom.
module set_daten_sub.
2007 May 22 3:55 PM
Hi
after copying the Fuction group Go to Se38 and enter program name as SAPLZMGDI and goto Program--> other object and select the screen radio button and enter screen number 0001 and add your fields to the this screen not to any other screen.
after that customize it throgh SPRO
Thanks and regards,
Pavankumar
2007 May 22 4:05 PM
also pls check if you had followed these
1. Append new fields to table MARA (SE11).
2. Create Program for Customized Subscreens (OMT3C). This transaction generates new function group in which you should include your own subscreens. You can copy subscreens from function groups SAPLMGD1 or SAPLMGD2 to your function group.
3. Copy screen sequence 21 to your own (OMT3B).
4. Insert new data screen in your screen sequence and assign subscreen from your function group to it (also OMT3B).
5. Assign Screen Sequences to User/Material Type/Transaction/Industry Sector (OMT3E). Just replace 21 with your sequence id.
2007 May 22 4:08 PM
We have done all these steps. But still not able to save data.
- Kalidas
2007 Sep 30 3:32 PM
Hi Kalidas,
Know this is a late respond maybe.
I had the same problem, and got really good info from this topic.
I have solved the problem, let me tell you;
In trx OMT3B; in your screen sequence, you have your customized Data Screen.
Click on it and go to Subscreens.
In there exist a list of subscreens where you mentioned your own program name and screen number.
Add program name SAPLMGD1 and screen number 1002 at first place and then your own program and screen numbers.
I guess that solves the problem.
In conclusion, my problem raised because I didn't have material number and short text in my additional screen in MM01. Hope this will help...
By