Add a custom-field in the table MARC and manage it in MM01/MM02/MM03

Good day to all of you!
I have this task: To add a custom-field to the table MARC. This custom-field will be managed through the MM01/MM02/MM03 transaction as follows:
In the Basic Data 1 or Basic Data 2 the custom-field data will be added. Let's say the field is MATNR OBSOLETE.
I have searched and implemented the things in customizing: Made a copy of function group MGD1, added the field on the screen.
MY PROBLEM! How to manage it??? When the user enters MM01/MM02/MM03 and update this field, the field should be updated in MARC.
1. I am not sure that this custom-field should be on Basic Data1 or Basic Data2.They want it at plant level.
2. How to manage the data transfer from SAP Standard Program and my Custom Function Group.
PLs: Do not paste me link to sap technical site with that example, because there takes the custom fields and UPDATE a CUSTOM TABLE. I need to update MARC!
All the documentations i have read until now tell you how to add the field, ONLY the first part of the SOLUTION.
Any help, pls?
Good day and thank you!

Hi Alex,
In which way you are trying to update that custom filed. Have you written any logic in EXITS/BADIS?
http://pavelgk.pbworks.com/f/6729224-Implement-Screen-Exit-for-MM01-Adding-New-Fields-in-Screen.pdf
and
Just read the OSS note mentioned earlier.
Symptom
You want to integrate customer-specific fields in material master maintenance.
Other terms
SAPLMGMM, RMDATIND, ALE, CI_MMH1, EXIT_SAPLMGMU_001 
Solution
To add customer-specific fields to an existing material master table (such as MARA or MARC) , you can proceed as follows as of Release 3.0C:
      1. Use an append structure to add the fields to the required table in the Dictionary (this is not a modification; for details, see the SAP document "ABAP/4 Dictionary"). In Release 3.x, the length of the field names must be the same as  the standard five character fields. This is necessary because of dynamic assignments. As of Release 4.0A, the lengths of the field names can be longer than five characters. If the changes of the fields should be recorded in the change document and taken into account during ALE distribution, set the 'Change document-relevant' indicator for the corresponding data elements. For table MARA in Release 3.x, you must also enhance the database view MARU because the database changes are carried out using this view. This small modification is no longer necessary as of Release 4.0A because the database view MARU is enhanced automatically when you enhance table MARA or the include EMARA (which is the data part of table MARA).
      2. Enhancing online maintenance in customized material master maintenance:
      Define a subscreen with your customer-specific fields in a customer-specific function group created as a copy of the standard function group MGD1.
      In Customizing, assign this subscreen to a maintenance screen using the "Copy customized material master" function. For details, see the Implementation Guide (IMG). As of Release 4.0A, program COPYMGD1 is available. You can use this program to create customer-specific function groups as required. This program is also incorporated in the Customizing function 'Configure customized material master'. Ensure that each field of the subscreen has a field statement in the flow logic, otherwise the data is not transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
      If you want these fields to be subject to standard field selection, you must add new entries for them to the central field table for material master maintenance (T130F): 
      Application examples for standard field selection:
      The field is mandatory and is to be flagged with a "?".
      The field belongs exclusively to the purchasing user department. Purchasing data and MRP data are both contained on one screen. However, the MRP controller is not to see the purchasing data.
      The following data is required for each field:
            a) Field name        (T130F-FNAME)
            b) Field selection group (T130F-FGRUP)
            Here, you should use a standard field group if the customer field is subject to the same field selection as the standard fields of the standard field group. If it is not, use a customer-specific field group.
            You must then check and, if necessary, modify the attribute of the field group using the function "Maintain field selection for data screens" in Customizing under "Logistics Basic Data -> Material Master".
            Field groups 111 through 120 that are not used in the standard system are reserved as customer-specific field groups. As of Release 3.0F, additional customer field groups are available. (For details, see the IMG).
            c) Maintenance status (T130F-PSTAT)
            List of the user departments that may maintain the field. You can display possible values by using the input help for the maintenance status field in the Customizing activity "Configure Material Master" when maintaining logical screens.
            d) Reference        (T130F-KZREF)
            This indicator must be set if the field from the reference material should be proposed during creation with reference.
Note: You cannot yet use Customizing to enhance table T130F; you can use only transaction SE16 (Data Browser) or transaction SM31. Future releases will include a separate Customizing function for maintaining customer-specific fields. See Note 306966. By implementing this note you can add entries to table T130F within Customizing. This type of maintenance is possible as of Release 4.5B.
You may change the entries for standard fields only with regard to the reference data and field selection group. Changing other data for standard fields constitutes a modification. Therefore, you cannot use the Customizing function "Assign Fields to Field Groups" to change this data.
In addition, you must not add new standard fields to table T130F.
      3. If you want to maintain customer-specific fields using data transfer by direct input or via ALE distribution, proceed as follows:
      Add the fields to central field table T130F (see above).
      Add the customer-specific fields to the data structures for the data transfer (for example, BMMH1 for the main data).
      Also, add the customer-specific fields to the tables in which the incorrect data is stored during direct input. These tables have the same name as the corresponding master data table and also have the suffix _TMP.
      For example: If you add customer-specific fields to table MARA, you should add the same fields to table MARA_TMP.
      If you use ALE, you must also add fields to the IDoc. To process enhanced IDocs, you can use enhancement MGV00001 with customer exit EXIT_SAPLMV01_002 for creating the IDocs and customer exit EXIT_SAPLMV02_002 for posting the IDocs.
      Prior to Release 3.0E, enhancing structure BMMH1 constitutes a modification. In this case, you must add the new fields tot the end of the structure before the last field (SENDE = record end indicator).
      As of Release 3.0F, structure BMMH1 contains the customer include CI_MMH1, which is part of the enhancement MGA0001. Here, you must proceed as follows:
            a) Add the customer-specific fields to include CI_MMH1.
            The names of the fields in CI_MMH1 must be identical to those of the corresponding fields in material master tables MARA, MARC and so on.
            Important: The fields must be CHAR type fields. Therefore, create CHAR type data elements whose lengths are identical to the output length of your fields in  table MARA and so on. Use these data elements in include CI_MMH1, but use the field names from table MARA and so on.
            b) Activate include CI_MMH1.
            c) If you have not used customer structure ZMMH1 before, create it as a copy of structure BMMH1 and delete the standard fields that you do not require. You are not permitted to delete field STYPE and include CI_MMH1 when doing this. If you have already used structure ZMMH1, add include CI_MMH1 to it.
            d) Activate structure ZMMH1. This also adds the customer-specific fields to ZMMH1.
Run program RMDATING. This program generates routines which are supplied to your customer-specific fields from the input file. As of Release 4.5A, you also need to activate the routines/function modules generated by program RMDATING (especially, the MAT_MOVE_BMMH1_XXXX modules). Details about this subject (especially the procedure when using customer structure ZMMH1) are described in the IMG for transferring the material data under item 'Maintain Transfer Structure'. Also, check the declaration of structure WA in program RMMMBIMC to see whether it is declared with sufficient length. If necessary, enhance the declaration (for the time being, this still constitutes a minor modification).
In addition, lengthen domain DI_DATA with CHAR 5000. As of Release 3.1H, this has already been done.
Important: When using customer-specific fields, you can use only structure ZMMH1 to transfer the data. Otherwise, after the next SAP upgrade which contains new standard fields in structure BMMH1, the input files no longer match. If you want these new standard fields to be transferred, add them after your customer-specific fields (the order of the fields in structure ZMMH1 does not need to be the same as the order of the fields in BMMH1).
If you want foreign key dependencies or fixed domain values to be checked, or another check for a customer field, this is possible up to and including Release 3.0D only by modifying the corresponding check function modules. As of Release 3.0E, you can use function exit EXIT_SAPLMGMU_001 (SAP enhancement MGA00001) for these purposes.
If you want to use engineering change management to schedule future changes for your customer-specific fields or you want to use the 'Display at Key Date' function, execute program GENERATE in addition. This program generates the necessary assignments for interpreting the change documents. With regard to engineering change management, you must read Notes 60281, 60973, and 48962.
To date, it is not possible to integrate customer-specific tables in material master maintenance without making a modification. However, you can create customer-specific development objects containing the essential additional logic. You can then integrate these development objects in your system as part of only a minor modification.
check this link. It may helps you to solve your issue.
Thanks
Sravan

Similar Messages

  • Add custom field to MAKT to get a larger descritpion in MM01/MM02/MM03

    Hi, I already know how to add a new field to MARA and show/maintain it at MM01-03 transactions using this procedure (copied from another thread):
    Create the append structure on the MARA table.
    The SAP note 44410 describes how to add the new fields to the screen and how the updating will work.
    1. Make a copy of function group MGD1to ZMGDI as stated inthe Ossnote using program COPYMGDI.
    2. Goto Se38 enter program name SAPLZMGDI Click Display and goto> program-> other object---> enter screen number '0001' and add your fields to the subscreen which should apper on the the general data section of the basic data1 tab for the tcode MM01
    2. Make the changes stated in SAP Note.
    3. After make the changes the functional analyst will need to make some configuration changes.
    4. SPRO -> Logistic General -> Material Master -> Configuring Materal Master -> Define Structure of Data Screens Sequence.
    5. Select SSq = 21 then click on Subscreens select Basic DATA1
    6. Enter in the new screens that were built
    7. Change the row that was create putting in the program (function group program) that was created in step 2.
    But now, I need to add a language dependent description to have larger material description than MAKT-MAKTX. I've added the Z field to the MAKT table, generated the subscreen and copied the PBO and PAI from the screen 1002 (which is saving the MAKTX data). But it doesn't work and I'm not sure what I have to do...

    Solved by myself
    I write here the response because I didn't found it anywhere:
    When you are adding a custom field to MAKT table you have to add it to appending structres SKTEXT and DMAKT too because the standard uses them to read/write the data to MAKT. It's easy to do but hard to find out

  • Add custom field in MRP area-MRP 2 in material master(MM01/MM02/MM03)

    Hi
    As per my requirementn we have to add one field in the Material master(MM01/MM02/Mm03). Mentioned path below.
    MM01/MM02)--> MRP1 tab --> in the MRP areas > click on MRP AREAS button>Pop will come with MRP AREA --> double click on entry > MRP area screen will appear> In MRP2 data tab> i've to add a new custom field. Program Name> SAPLMD_MGD1
    Screen --> 0040
    Is there any exit/customization which can be used to do this?
    i was unable to find a exit for the same.
    Thanks,
    Gauri

    Hi Gauri,
    See Note 44410 - Integrating cust.-specific fields in matl master, I think that it will help you
    Regards
    Eduardo

  • Add columns with custom fields in the table control of MIGO

    Hi,
    I have to add custom fields in the table control view of item in the MIGO.  I have added the fields in the GOITEM structure and i am able to display it in the item details tab.  I want the same fields to be visible as columns in the table control view of the items.
    I found that TV_GOITEM is the control in SAPLMIGO program referring to the table control of items but it is referring only to the standard fields available in Screen 200.
    Please let me know if there is any screen exit or option to add the custom fields in the control TV_GOITEM.
    Thanks.

    Hi,
    Thanks for your reply.  I have added the custom fields in the item detail.  But the customer wants the custom fields in the table view also.
    Is there any screen exit available to modify the table control of MIGO?
    Thanks.

  • In SD i am looking to add some custom fields to the delivery document.

    In SD i am looking to add some custom fields to the delivery document. can any one help me out.

    hi,
    u have get the access key for the program with respective to the delivery document & user exit has has to done.
    This is job of abaper
    regards,
    Arun prasad

  • How to add a custom field to the "Projects" page "Group by" data menu list

    Hi,
    I'm deploying Project Online and I want to group projects by a custom field on the "Projects" page. Currently I can see options for group by Project Name, Start, Finish, % complete etc. I would like to group by a custom field of programme name
    which is filled in on the Project Details form.
    I can create the enterprise field etc, however I can't work out how to make the new enterprise field appear in this list. Or am I barking up the wrong tree and should be creating separate Project Types for each programme?
    Any help an advise greatly appreciated.
    Regards,
    Conrad

    Hello, add the programme field to the Project Center view then it will be available to group by. Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How to add a Custom field in the Standard SAP Sales Order main screen

    Dear Experts,
    We have a requirement of adding a Custom field in the Sales Order screen. I know how to add the Customer field in the Additional data B tab of the Sales Order Header Screen as that is the screen user exit provided by SAP. Can someone tell me how to add the Custom field in the Sales Order main screen. Program Name - SAPMV45A and Screen Number - 4001. What is all I need to take care.
    Thanks,
    SNK.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

  • How to add a new field to the Quote: Shipping and Bill Tab Payment region

    Hello All,
    We have a requirement to add payment description column to the Payment Region of Shipping and Bill tab in Quoting User(Quote Page).
    We have extended the View object HeaderPaymentsVOObj and created a custom view object, then created and ported the substitution.
    In Quotes page, 'Shipping and Bills' tab Payments region, we have created a new item(Payment Description), assigned the custom View object instance and attribute to it.
    We are able to enter and update the payment details before substitution, but after substitution while entering payment details we are facing the below error.
    At most one payment record can exist at quote header/line level.
    Help and inputs are highly appreciated.
    Thanks in advance.
    Regards,
    Supriya.

    Hi,
    So you need that this new field have data in old records?
    1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
    2.- If condition "1" is not yours.
    First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
    Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
    To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
    Hope it helps. Regards, Federico

  • How to add custom field to the task via CSOM?

    Hello!
    I'm trying to add custom fields to my programmatically created task in project 2013. Tasks are created. Then I get them and load custom fields by:
    DraftProject projCheckedOut = tstProj.CheckOut();
    projContext.Load(projCheckedOut.Tasks);
    projContext.ExecuteQuery();
    foreach (var task in projCheckedOut.Tasks)
    projContext.Load(task.CustomFields);
    projContext.ExecuteQuery();
    But the each CusomFieldCollection object has only 1 field (Health, because it have a default value and created automatically). But when I load my project in Project professional i saw more than 1 field, but they are empty.
    Then I tried to add a new custom field to each CusomFieldCollection of each task.
    var newField = new CustomFieldCreationInformation();
    newField.FieldType = CustomFieldType.TEXT;
    newField.Name = "F_1";
    newField.Description = "test description";
    task.CustomFields.Add(newField);
    task.CustomFields.Update();
    New field added to the collection, but when I update the project and publish it nothing is happened.
    How to add a custom field to the each task and set it value?
    Or how to attach enterprise task custom field to my tasks.
    I'm using Microsoft.ProjectServer.Client.

    Hi
    Hope the below posts are of some  helpful for you 
    http://social.msdn.microsoft.com/Forums/en-US/d79f22f2-7fd2-46af-b778-e189c8611120/use-csom-to-update-projects-custom-fields?forum=project2010custprog
    http://msdn.microsoft.com/en-us/library/microsoft.projectserver.client.project.setcustomfieldvalue.aspx
    Thanks
    Geeth
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

  • How to add a custom column in a table?

    Hi,
    I have a requirement to add a custom field into the table of view InrLastHist of component ICCMP_BT_IRHIST. The data to be display in the column will be based on the standard category column.
    I was thinking of adding a value attribute into the current BTORDERCUSTHIST, and write its get method to display the custom data, BUT the add attribute wizard doesnt allow me to do so. There is a note saying "Value attribute: Attribute that is not contained in any BOL entities (not supported in this version)".
    So how do I do it? Pls advice.

    Hi,
    You need to find this bol in trx GENIL_MODEL_BROWSER, find the structure associeted and you have to create a field in this structure, after you create the attribute using this field that you created.
    Regards,
    Caíque Escaler

  • Add a Z field in the VBAP table and include that in the custom IDoc Struct

    Hi All,
    I have appended a z field in the table VBAP and want to populate that in the BAPI structure for sales order change. This z field is coming at the line item level. I need to find a user exit to populate this field in the BAPI structure.
    Thanks,
    MSDent009

    Hello,
    I need to do the same for retail and the procedure is not pretty clear yet. Could you please tell how you have it done?
    I need namely to add aditional fields to material master data to display them on additional data tab. I have created append-structure in MARA and also have created a subscreen for all the additional fields. Now some customizing should be done to adjust this subscreen. What should i do after it? These additional fields need to be sent with Pricat IDOC later.
    Any hints on that would be very requiered.
    Thanks,
    Marina

  • How  to add custom fields to the  sap standard  program ukm_bp_display

    How  to add new custom  fields to the  sap standard  program ukm_bp_display .
    could u  please any one help me on this?

    Hello Kumar,
    You have to modify below structure, as this structure is providing the field catalog for output display (ALV).
    Here you can see there are a lot of include structures, so if you want to add fields in the output display you can add those fileds as an append structure to any of the below mentioned structures (Like ukm_s_account, ukm_s_bp_cms_sgm etc as per your requiremnt and positon at which you need to dispaly your fields.)
    DATA: BEGIN OF gt_grid_alv OCCURS 0.
           partner LIKE but000-partner,
           credit_sgmnt LIKE ukmbp_cms_sgm-credit_sgmnt.
            INCLUDE STRUCTURE ukm_s_account.
            INCLUDE STRUCTURE ukm_s_bp_cms_sgm.
    DATA:   credit_sgmnt_txt LIKE ukmcred_sgm0t-credit_sgmnt_txt.
          Gruppe Vector
            INCLUDE STRUCTURE ukm_s_bp_vector.
          Gruppe OBL = Obligo
          include structure UKM_S_BP_CMS_MALUSDSP_OUT.
            INCLUDE STRUCTURE ukm_s_display_segment.
            INCLUDE STRUCTURE ukm_s_bp_cms.
            INCLUDE STRUCTURE bus000_dat.
    *DATA:   icon(4).
          Gruppe RAST (Raster)
    DATA:
             rast01 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast02 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast03 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast04 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast05 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast06 LIKE ukm_s_display_segment-AMOUNT_GRID.
    DATA:    rast2_6 LIKE ukm_s_display_segment-AMOUNT_GRID.
    "Summe raster 2 bis 6
    DATA:  END OF gt_grid_alv.
    Another way is you can  go  to SE38, and you can create implicit enhancements.One enhancement point is available here in this required area. so create an implementation and add your fileds with data types.This way is also simple.
    Hope this will solve yiour problems.
    Regards,
    Antony Thomas

  • MR51 : add custom field in the alv list

    Dear.
    I need to add a custom field in the alv layout of MR51.
    Do you know any exit in order to obtain this ?
    Thanks.

    Hi,
    try this
    I think there is no exits for same
    copy program of MR51 and make z one and add filed what filed you want to add
    Regards
    kailas Ugale

  • Custom Field in the header of Shopping Cart

    Dear all,
    We have to add a Custom field on the header of the Shopping Cart which will have three values.
    This field has to flow thru the Bid invitation, Contract and the PO ...
    Can anybody provide the technical details of the same ?? Which all are the structures to be changed ?
    Thanks in Advance ...
    Regards,
    Vivek K

    Hi
    To add  custom fields to the shopping cart, please try this process ->
    Please refer to these SAP OSS notes ->
    <u>Note 458591 - User-defined fields: Preparation and use
    Note 672960 - User-defined fields 2
    Note 822424 - CUF. Customer fields cannot be changed in the bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 798731 - Bid: Bid Inv. Customer fields not visible
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields</u>
    Please go through the documentation of following 3 Business Add-Ins using SE18 transaction.
    BBP_BUPA_GET_CUF Customer Fields for Vendor Master Data
    BBP_CUF_BADI-Customer Fields. Call-up of User-Defined Screen
    BBP_CUF_BADI_2-Customer Fields. Use of Standard Table Control
    Please refer to these links for details ->
    <b>Re: MAP USer SRM defined fields in backend for PO
    Re: HI SRM experts...
    Custom fields to a Bid Invitation
    Addition of custom fields in Contract and mapping it with the fields in SRM
    urgent help request - How to add custom fields to  header BID.
    Re: Add custom fields to Contract Transaction in SRM 4.0
    Custom Fields
    custom fields in Carry out sourcing screen..
    Custom Fields Not Display In Basic Data In SRM 5.5 Server..
    Regards
    - Atul

  • Regarding adding a Custom field to Standard Table

    Hi ABAPers,
    Can any one explain the below spec-description.
    "The purpose of this design is to provide the foundation for a more automated solution to the invoice reconciliation process.  This design calls for adding a custom field to the standard SAP table EINE as well as a data maintenance tool for the same.  There will also be a new custom table for storing values associated with the new EINE field.  These new tables will also provide users with the ability to determine which PIR are soon to expire."
    We have to add one custom field to standard table EINE, how we can add this custom field to STND table.
    According to me we can add it through append structure. is it correct or not.
    and what is data maintenance tool.
    Pls.............Explain in details.
    Thanks in advance.
    Regards,
    Ramana Prasad. T

    Hi,
    Goto SE11 ,give ur table name.Then press display button.Then in the application tool bar press on append structure ...Now create a zstructure and add ur custom field and then activate the table.
    Regards,
    nagaraj

Maybe you are looking for

  • Macbook Pro intranet will not work on iPads

    I'm trying to set up an intranet network hosted on my MacBook Pro running Mountain Lion 10.8.5.  I have created a local web site hosted in the Apache server on the MBP, and I want 5 iPads to access it.  Its event photos for sale.  The problem is, the

  • How do I get back on my iPhone 5s?

    I reset (by holding down the lock and home buttons) my iPhone 5s today because the screen kept freezing. When it came back on it was the white activation screen and it won't let me use the phone at all until I enter my apple ID and password that I us

  • Printing Comments (Sticky Notes) in Adobe Reader 9

    Hi, I know this question has been asked several times before, but I haven't seen any resolution to this problem. Does anyone know if Adobe is working on a patch/ fix for this problem? In any case, my question is this: how do I print comments (sticky

  • Program Runing slow

    Hi, Our user ran one report four days back and it took very long time. I want to know the reason for it. i canot run it again as it shud be run monthly once. can any body help me? Regards, Sameer

  • Starting over: how do I restart my audio setup from scratch?

    I've had JACK, Pulseaudio and ALSA on my desktop at one point or another and seem to be having real issues as of late (ex: VOIP, bluetooth headset works great for audio out, but mic volume stays maxed out and unusable... built-in audio mic works grea