User Exit/Field Exit for Field Selection in MM01 & MM02

Dear All,
Please Tell if I want to make Field Purchasing group Mandatory in MM01 & MM02 in Purchasing view only.I dont want the data to be updated in MRP1 view. Please tell me is there any exit for the same.
Regards,
Sandeep

You can customize
via
SPRO>Logistics - General>Material Master>Field Selection>
first from
Assign Fields to Field Selection Groups
you must assign MARC-EKGRP (Purchasing Group)
to a selection Group which will be mandatory.
Then from Maintain Field Selection for Data Screens
you must choose the Material Types which you want to make
Purchasing Group mandatory.
You must check Reqd Entry for the material types you want
Best Regards
Hope will help

Similar Messages

  • Units field MEINS for field TOTQTY of DataSource  ... is hidden

    hI,
    I am getting "Units field MEINS for field TOTQTY of DataSource ZDS_BEALO is hidden
        Message no. R8147 "
    error message while creating the generic extration using fuction module...
    Please help to slove this

    I solved this problem myself by writing ABAP program.
    REPORT  ZTEST.
    TABLES ROOSFIELD.
    DATA: ITAB LIKE ROOSFIELD OCCURS 0 WITH HEADER LINE.
    SELECT * FROM ROOSFIELD INTO TABLE ITAB
                           WHERE OLTPSOURCE = 'DATASOURCE_NAME'
                                 AND FIELD = 'WAERS'.
    *update ROOSFIELD set SELECTION = 'X'.
    *ENDSELECT.
    Create a report program and update the value of field "SELECTION" as above.
    Then try to make changes in RSO2 as it needed.
    Let me know if you need my help..
    Thanks,
    Hanuma

  • Units field WAERS for field NAVALUE  is hidden for DataSource ..

    Hi,
    I am trying to change the DataSource but getting the error "Units field WAERS for field NAVALUE  is hidden for DataSource ..".
    It is not allowing me to get the field list to change after that.
    Can anyone throw somelight on this issue please..
    Thanks,
    Hans

    I solved this problem myself by writing ABAP program.
    REPORT  ZTEST.
    TABLES ROOSFIELD.
    DATA: ITAB LIKE ROOSFIELD OCCURS 0 WITH HEADER LINE.
    SELECT * FROM ROOSFIELD INTO TABLE ITAB
                           WHERE OLTPSOURCE = 'DATASOURCE_NAME'
                                 AND FIELD = 'WAERS'.
    *update ROOSFIELD set SELECTION = 'X'.
    *ENDSELECT.
    Create a report program and update the value of field "SELECTION" as above.
    Then try to make changes in RSO2 as it needed.
    Let me know if you need my help..
    Thanks,
    Hanuma

  • Units field XYZ for field ABC of DataSource ZRST Message no. R8147

    HI,
    When I'm trying to SAVE my datasource ZRST, I've got following error.
    Units field XYZ for field ABC of DataSource ZRST Message no. R8147
    In extraction structure of this datasource thare are at least two fields that use the same unit field.
    Accordign SAP note no 867795:
    One of the fields is displayed and another is hidden.
    Then the unit field is hidden and the above error occurs.
    This note is valid for component SAP_ABA release 700. I'm running my R/3 source system on SAP_ABA     620.
    Could it be the same case as described in this SAP  note?
    Anybody got same problem? Please advise.
    Thanks
    m./

    Hi,
        Please check the dependencies on the fields, as some fields should have the units defined ,check the fields and activate the datasource.
    hope this helps,
    thanks,
    vrrp.

  • Change field label for field IZWEK in transaction AS03

    Hi experts,
    I would like change field label for field IZWEK because I want use it for another purposes. Itu2019s name is Investment Reason at transaction as03.I can change name this label in reports by using se63(translation->abap object->short text->repository text->data element) and giving object name as IZWEK. I get changes in reports only, in help(F1). But I havenu2019t idea what cause change label in as03 transaction.
    Help me please.
    Regds Stenwa

    in tr. AOLK and AOLA you can change this.

  • How to restrict a User to access only 2-3 views in MM01/MM02 ???

    Hi,
    Can anyone tell me how can I restrict a User to access only 2-3 views in MM01/MM02 and also the User should not be allowed to change the View selection by clicking on the Select Views button ?.
    Regards,
    Lucky

    Hi Prashant,
    Can this only be done through changes in Authorization Objects ? Is not there any setting which can be done in SPRO for this ?
    Hi Sheshagiri,
    I could not exactly understand how the access to MM Views can be restricted to User through TCode OMT3B i.e. in SSeq. 01 and Screen 07 ? Subscreen 2154 is for Mat. Groups ? Please explain your answer in detail.
    Regards,
    Lucky

  • Changing field label for standard select option

    Hi All,
    I need to change the label for one of the standard select option for the custom report category.
    the field is PNPSTAT1 - original label is - Customer-Specific Status - which i need to change as per customer requirement.
    Can anyone tell me the way i can do it so that it can be viewed with correct label not only on the selection screen but in further selections mode as well.
    Regards,
    Raunak

    Dear Raunak,
    If you have standard select option for standard selection screen:
    create a implicit enhancement for any standard program and wrote the below code at the end of the program and it is working..
    INITIALIZATION.
    %_s_PNPSTAT1%_app_%-text = 'ANY LABEL'.
    If you have custom report select option, go to above Ravikiran's procedure.
    Best of luck.
    Regards,
    Abbas.

  • User exit or BAdi for field update in ECC system for SUS supplier

    Dear Guru's,
    I am configuring MM-SUS scenario in our srm 7.01 scenario. Not all vendors of our client are going to be SUS vendors. For SUS vendors, the client will be using Purchase Order Acknowledgement and Advanced Shipping Notification key. I am thinking of configuring a confirmation control key which will incoporate requirement of PO acknowledgement and Inbound delivery document. The assignment of confirmation control key and PO Acknowledgement Required checkbox in the vendor master record will default it in the purchase order.
    Now, the question is how to update the existing vendor master data record which will be SUS vendor. I am looking at a solution like user exit or BAdi which updates the confirmation control key and purchase order acknowledgement required check box when the client manually assigns the class 'Z_CRED_SUSMM' to the  ERMS vendor master.
    Could you please help me to find the required exit or BAdi?
    Thanks and regards,
    Ranjan
    Ranjan Sutradhar

    EXIT_SAPMF02K_001 definitely wont work as this is for custom checks. this does not update data in vendor master.
    you can try using below method of VENDOR_ADD_DATA badi.
    IF_EX_VENDOR_ADD_DATA~PRESET_VALUES_PORG
    but you need to read the screen field for classification and then according to that i think you can change the LFM1 data inside this badi

  • Exit of VF01 for field modification

    Dear All,
    I need to enable field for "Billed Quantity" in line item while doing VF01 so that user can change Quantity. what exit/enhancement will be used?. please help.
    Radsamm

    Hi Sasidhar,
    First of all I wrote my code in the user exit you told me but when I go to VF01 and try to cancel a document, this user exit doesn't work. I'm using the same code, i put a break point and it doesn't stop there...
    data l_kunnr like vbpa-kunnr.
    clear l_kunnr.
    select single kunnr
      from vbpa
        into l_kunnr
          where VBELN = vbak-vbeln
            and POSNR = '000000'
            and PARVW = 'RG'.
      SELECT SINGLE KLIMK
        INTO VBRK-ZKLIMK
          FROM KNKK
            WHERE KUNNR = l_kunnr.
      vbrk-zcarga = 'X'.
    Thanks,
    Maria

  • ERROR: Units field CURR1 for field HSL of DataSource 3FI_SL_Z3_SI is hidden

    Hi all,
    This is the error msg i'm getting when trying to activate the extract structure for FI-SL. Did anybody come across it? And how to unhide the HSL,ASL etc fields .. four of my fields got locked and i have no clue what made it hide. these were the fields that werent showing up in the extract structure that was generated, so i appended the extract structure with these fields .. then it asked for a reference table and structure which i provided, but wasnt able to activate it. so i deleted all the fields in the append and the datasource all together. Now when trying to assign a datasource to the ledger ... this is the msg i'm getting for all the fields i tried to include in the append. How can i get rid of the msg(unhide) the fields and what is the right way of appending fields(currency, unit) to the extract structure?
    Any help is appreciated.
    Thanks in Advance.
    Mav.

    You must send the unit/currency with a quantity/amount field, so
    - they must be defined in the structure/view behind your customer datasource,
    - they must be hidden or not together,
    Change  the hidden flag via RSA6 or RSO2.
    Regards,
    Raymond

  • Change field alignment for field type currency / float

    Hello Experts.
    I have a requirement : I want to align the field in the webUI on the right, not the label.
    Actually for the attribute type currency or float, it is at aligned at the right position.
    I see the configuration description and the XML file. I try to modify that XML file to add the attrinute ALIGN = "LEFT" for the field
    But it is too hard and I want to know if there is another solution that reading/modifying this XML file.
    Thanks and regards.

    Hi,
    I had seen the method get_parameter but how to do this? As I know it, it only change the value returned not any kind of format.
    I think the value is correct but the layout of the field is not correct.
    I can change the *.htm of the class and put some css code but I think it is not the solution.
    Can you help me please? it is urgent.
    Thanks and regards

  • 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

  • Service for Object - MM01/MM02/MM03

    We have activated u201Carchive linku201D to ECM (IBM FileNet Application Connector for SAP® R/3® (ACSAP R/3) for business object for material master transactions (MM01/MM02/MM03), so the images associated with material master can be stored in FileNet repository.
    We will be using the SAP standard u201CService for Objectu201D functionality to store the image via create -> store business document.  We want to disable the u201CCreate -> Create Attachmentu201D because we donu2019t want the documents stored on the SAP content repository.   This is possible to do with either through configuration, security or user exit?  If yes, please specify how. 
    Additionally, please provide any security objects which we could utilize to control user from creating/changing /deleting the attached document.  Basically, we want some users to display the document but not alter them in any way.
    Thanks.

    Hi
    The authorization objects for attachment to material are as following:
    Object Class BC_Z Basis - Central Functions
    Authorization Object: S_BDS_DS  
    Authorizations for Document Set
    Authorization Field ACTVT :  30
    Authorization Field CLASSNAME:BUS1001
    Authorization Field CLASSTYPE:BO
    other ACTVT
    01     Create or generate
    02     Change
    03     Display
    04     Print, edit messages
    05     Lock
    06     Delete
    24     Archive
    25     Reload
    30     Determine
    70     Administer
    78     Assign
    82     Supplement
    Note: That to be able to attach user should have MM02 authorization..
    Best Regards
    Hope it helps

  • User exit/BADI  required for coding for the selection custom fields in RSA3

    Hi,
       I have a requirement  in the Datasource extractor. I need to add custom Z fields  in the Data souce of the  2LIS_02_SCL and need to include in the selection part. So I have added the custom filed in the append structure and include the check in the selection checkbox in the transaction LBWE  under the datasource specified above. For the corresponding custom fields, to be populated in the ALV list, I have written the code in corresponding user exit  ZXRSAU01.
    Now I can view my custom Z fields in the list as well as on the selection fileds  while executing the transaction RSA3. But I need to write code for the selection criteria part.  On entering value in the selection criteria of my custom z field, no  values are selected to the corresponding query. Please let me know where should i write the coding part for the selection criteria of the Z fields for the Datasource.
    On debugging, to my understanding only  the standard fields are alone getting filtered by providnig the values in the selection part of the RSA3 tcode. It is called in Macros : Sel  < Datasorce> .... and  the fetch cursor is included inside the macros.
    Please let me know any user exits or Badi;s available for it.
    Thanks in advance

    Hi shivu,
    you might try the BAdI RSU5_SAPI_BADI. A good introduction can be found in the following document:
    [Enhancing DataSources with BAdI RSU5_SAPI_BADI|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
    The BAdI is called at the time of extraction, so this would be the right place to populate your additional fields.
    Best,
    Chris

  • Field Exit - How do I show list for user to select?

    Hi,
    I am writing a field exit for Group Asset on TCode AS01.  The field exit will check a custom table to give the user an option to select values from a dropdown list.
    Any suggestions on how to do this?  I understand how to force a value in the field by putting it in OUTPUT, but not sure how to allow the user to select from a list?
    Thanks!!!

    Thanks for the replies!
    I'm not sure how to attach a search help to it because it is a field on a standard SAP screen that already has a search help.
    This is probably not going to be very clean, but let me give more details as to what I'm trying to accomplish. 
    There is a field "Group Asset" that is on t-codes AS01, AS01, AS11.  There is already a search help provided by SAP.  The functional person wants me to create a field-exit to check a custom table based on Company Code, Cost Center, and Asset Class importing PIDs.  If there is only one group asset that fits the criteria, then I will just place it in the field.  If there are multiple group assets, then the user has to select which one and place it in the field. 
    I appreciate any suggestions.  Thanks!!!
    Mark

Maybe you are looking for