View of Txn MM02

Hello all,
I wanted to change the view of BasicData1 in MM02 .Under Basicdata1 tab in  Dimensions/EANS I want fields  length , height and width of the material , is it possible to change the screen ..if so how ?
Regards
Edited by: BrightSide on Jun 9, 2009 4:05 PM

there is ONE WAY but i dont think it is recommended.
go to transaction SPRO-under logistics general-material master-Define Structure of Data Screens for Each Screen Sequence-execute
niow you will be able to see screen seq and screen sequence description.
ask your functional guy with which screen sequences are being used.
i am taking Screen sequence 01 as an example.
select the screen sequence 01 and click on the datascreens present on the left side
now you will be seeing screen sequence as 01 and screen numbers for example 07,08,09 10 etc with screen number desc.
select the screen number 41 this is for my case or search for unit of measures in the screen number description.
now select the screen number 41 or units of measures row and click on subscreens
now you will be able to see two screen on the right side they are 8020 and 1002.
now you hange is present in Screen number 8020. besides 8020 there is a function group main program(SAPLMGD1)
now copy the function group mgd1 to zmgd1 and modify  the screen 8020 fields as required.
afetr doing the changes and activation of the function group.
replace the prog name sapmgd1 with sapzmgd1  besides the screen 8020 .

Similar Messages

  • 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

  • Choosing the view dynamically from mm02

    Hi Experts,
    I am making a BDC Program  of transaction MM02, As per the requirement I need to choose a particular  view
    and  change the value of a field (which is a custom field added through extention)
    now  i have cheked many materials , with change of material no the  position of the views differs in the sequence,
    for eg : if the view  is sales org 
    for material 001 it is on 5th No and for material 002 it is  on 4th noi
    i need to pick the same view for every material irrespective of the position of  the view in the sequence
    if record with matarial 001 the cursor would go 5th no ;while uploading materials like 002  the program would pick the view on 5th no which would not be sales org.
    Could u please tell me if there is a way through which we can pick a particular view for all materials dynamically.
    Edited by: sabsvk on Sep 21, 2009 12:54 PM

    Since the views are dependent on material types so you have to go by the material type of the material which you can find out in MARA table.
    Apart from the previuos replies you can check the following code for your BDC.
    DATA: lv_tkstatus(15),
          lv_dispstatus LIKE t130m-pstat.
    DATA: BEGIN OF lt_bildtab OCCURS 30.
            INCLUDE STRUCTURE mbildtab.
    DATA: END OF lt_bildtab.
    PARAMETERS : p_mtart LIKE t134-mtart.
    SELECT SINGLE pstat INTO lv_tkstatus FROM t134 WHERE mtart = p_mtart.
    CALL FUNCTION 'SELECTION_VIEWS_FIND'
      EXPORTING
        bildsequenz  = '21'
        pflegestatus = lv_tkstatus"mara-pstat
      TABLES
        bildtab      = lt_bildtab.
    LOOP AT lt_bildtab.
      IF lt_bildtab-pstat CA lv_tkstatus.
        IF lt_bildtab-kzanz IS INITIAL.
          lt_bildtab-kzanz = 'X'.
          MODIFY lt_bildtab.
        ENDIF.
      ELSE.
        IF NOT lt_bildtab-kzanz IS INITIAL.
          CLEAR lt_bildtab-kzanz.
          MODIFY lt_bildtab.
        ENDIF.
      ENDIF.
    ENDLOOP.
    READ TABLE lt_bildtab WITH KEY dytxt = 'MRP 1'.
    * Take the SY-TABIX value to locate the position.
    May be some help you will get.
    Regards
    Shiba Prasad Dutta

  • REgarding view selection  in mm02 while using bdc

    hi,
    i m using function module 'MATERIAL_BTCI_SELECTION_NEW'' for selecting the single view automatically in bdc,its working fine..but for another scenario i have to select the multiple views so for this what sud i do i how cud i pass multiple views in single parameter 'selection'.
    plz help me.
    thnx in advance.

    We had to make a BDC recently for multiple views. For most of them we used BAPI_MATERIAL_SAVEDATA, but there are some views which are not available (Accounting 2 for example).
    For others there are some other BAPIs, as BAPI_MATINSPCTRL_SAVEREPLICA for Quality Management, or BAPI_OBJCL_CHANGE fo Classification.
    Anyway, for those views that need to be filled using BDC, the better way we have seen is to select at the beginning of BDC the Basic Data 1 view (which is always at the top of the list and is not dependent of the views that are available for a particular material) and then navigate between views with the following OK_CODEs:
    Basic data 1 = SP01
    Basic data 2 = SP02
    External Objects = SP03
    Classification = SP04
    Sales: Sales Org. Data 1 = SP05
    Sales: Sales Org. Data 2 = SP06
    Sales: General/Plant Data = SP07
    Foreign Trade: Export Data = SP08
    Sales and Distribution Text = SP09
    Purchasing = SP10
    Foreign Trade: Import Data = SP11
    Purchase order text = SP12
    MRP 1 = SP13
    MRP 2 = SP14
    MRP 3 = SP15
    MRP 4 = SP16
    Forecast = SP17
    Work scheduling = SP18
    Production resources and tools = SP19
    General Plant Data / Storage 1 = SP20
    General Plant Data / Storage 2 = SP21
    Warehouse Management 1 = SP22
    Warehouse Management 2 = SP23
    Quality Management = SP24
    Accounting 1 = SP25
    Accounting 2 = SP26
    Cost Estimate 1 = SP27
    Costing 2 = SP28
    Plant stock = SP29
    Storage location stock = SP30

  • How to set MM02 should not allow to change account and costing view

    Hi all guru's
    How to set MM02 should not allow to change account and costing view details for orher users expect me,plz help me
    thanks
    ramesh

    Hi Ramesh,
                       Use the Authorization Object:  M_MATE_STA     Material Master: Maintenance Statuses
    Below are the Views for the MM02, Field STATM
    Whichever not wanted to be changed, please dont provide them.
    A     Work scheduling
    B     Accounting
    C     Classification
    D     MRP
    E     Purchasing
    F     Production resources/tools
    G     Costing
    K     Basic data
    L     Storage
    P     Forecasting
    Q     Quality management
    S     Warehouse management
    V     Sales
    X     Plant stocks
    Z     Storage location stocks
    Regards,
    Yawar Khan
    Edited by: 1234_abcd on Jan 10, 2012 8:14 AM

  • How to get the list data in MM01/MM02 Classification view

    Hi,
    Anyone know the FM that we use for getting the list in Clasification View of MM01/MM02?
    Thanks,
    Alfred

    hii,
    U can use the below fm to get the classification view in MM02..
    CLFM_OBJECT_CLASSIFICATION
    CLFM_OBJECTS_CLASSIFICATION
    BAPI_OBJCL_CREATE_KEY
    CLFM_CLASS_CLASSIFICATION
    or if u want data from classificaton view then use this function module.
    CLAF_CLASSIFICATION_OF_OBJECTS
    Regards,
    Anil N.

  • MM02 - MRP view - III

    Hi,
    I am  changing some of the fields in MRP view of MM02 transaction using a BDC program, while doing recording, the MRP view is of VIEW number 06 in the list of views.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSICHTAUSW-DYTXT(06)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SCHL'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(06)'
                                  'X'.
    But for some materials this  'MSICHTAUSW-KZSEL(06)', is going to some other views instead of MRP view.
    In any way, can we define the MRP view name instead of giving the view number as 06.
    Thanks in advance,
    KC

    Hi,
    Please check this sample code on how to find views number in MM02.
    TABLES : t130m,
                   t134.
    DATA: kstatus LIKE t130m-pstat,
    hstatus LIKE t130m-pstat,
    tkstatus LIKE t130m-pstat,
    bildsequenz LIKE t133k-bilds,
    berecht_akt(2) TYPE c.
    DATA: BEGIN OF ztab_new OCCURS 30.
    INCLUDE STRUCTURE mbildtab.
    DATA: END OF ztab_new.
    CLEAR t134.
    SELECT SINGLE * FROM t134 WHERE mtart = <mtart>.
    CALL FUNCTION 'MATERIAL_INIT'
    EXPORTING
    tcode = 'MM01' or MM02
    kz_berprf = 'X'
    IMPORTING
    it130m = t130m
    tkstatus = tkstatus
    EXCEPTIONS
    no_authority = 1
    wrong_call = 2
    kstatus_empty = 3
    tkstatus_empty = 4
    aktyp_tcode_mismatch = 5
    tcode_not_found = 6
    material_article_mismatch = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'BILDSEQUENZ_IDENTIFY'
    EXPORTING
    materialart = 'HALB' "Material Type
    tcode_ref = t130m-trref
    IMPORTING
    bildsequenz = bildsequenz.
    CALL FUNCTION 'SELECTION_VIEWS_FIND'
    EXPORTING
    bildsequenz = bildsequenz
    pflegestatus = t134-pstat "tkstatus
    TABLES
    bildtab = gt_bild
    EXCEPTIONS
    call_wrong = 1
    empty_selection = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    http://sap4.com/contentid-110.html
    Also you can check  view VCM_T133A or tables T133A and T133B.
    Regards,
    Ferry Lianto

  • Updation of Material Master Views

    Dear All,
    I am facing a design problem in creation of Material Master.
    A certain user group creates X,Y,Z views in MM01 , MM02 but the other views data which would be of relevance to other users needs to be updated based on certain conditions like Material Type etc.
    Eg : PLM user making Basic Data view .
           FI views and Sales View to be created automatically for other users.
    The issue is this <b>updation of data in other views</b> which is of two categories :
    i) if material type = 'abc'.
          MRP profile = 'fgh'.
    ii) if material type = literature.
       then plants = '1111', '2222' , '3333' etc....
    Regarding i):-
    This data can being updated in a user exit , eg '<b>MGA00001</b>'  called in MM01.
    But it <b>doesnot allow to change any other structure other than WMARA</b> where as we need to update data for WMARC, WMBEW, WMVKE etc.
    Regarding ii) :-
    How can I create material on <b>many plants while the material is under creation in MM01</b> ?
    How can i) and ii) be cracked ?
    Pls give solutions asap .
    Rewards are sure for helpful answers!!
    Regards,
    Shweta

    >
    zkarnalkar wrote:
    > Hi,
    >  I have a requirement, insted of user authorization conept, we wanrt that the user can view only the assign views of material master to that view
    >
    > e.g  if user is ABC, this user whenever display or chnage matetial master he can only view the screen of basic data nad purchasing,  and if user XYZ login with MM02 or MM03  he can only view the Basic data, work scheduling and accounting view not the remaning can we control this with customizing,  also   How we can  find alll the authorization obejct releated to material master screen,  or related to one transaction.
    >
    > regards,
    >  zafar
    To know the authorization objects of material master screen, check the following link on my blog
    http://aroopsnotepad.wordpress.com/2010/09/09/material-master-authorization/
    To find all authorization objects for a transaction, you can try SU22.
    Hope this helps.
    Regards,
    Aroop

  • Views in MM03, how can I add fields and changes fields labels

    Hi !!
      I need to change some labels that appear on Sales: Sales Org  2 (view on MM03, MM02..MM01)...
       Im not sure what I can do this.. Im an ABAP Programmer(beginner) and I know how I can change labels of fields in programs(reports) that I did...but in This case. I don't know what I can do...
       example: when I enter on MM03..I select differents views(including Sales: Sales Org  2), later I specify  sales Org and distribution Channel (I need to specify this information for see these fields on this TAB Sales: Sales Org  2).
      When I access in tab: Sales: Sales Org  2, I can see one Group that it's called
    Material Groups that contain two fields called MVKE.MVGR1 AND MVKE.MVGR5... I saw in the screen these fields with the description from each field..example:  Material Group 1 (MVKE.MVGR1 )... I would like to know :
    1.- How Can I change the description Material Group 1 (in this screen) by other description (example: material test)...
    2.- How can I add more fields in this group...example..If I need to add MVKE.MVGR2 ..??
      I will appreciate your help!!! 
      I will give you points for your answer
    Alice

    Hi Alice,
    And do I need to change in this section too.... SPRO -> SAP Reference IMG -> Logistics general -> Material master -> configuring the material master -> ...
    If I need to add some values???
    After you made label changes on custom screen then you need to go configuration (Define Structure of Data Screens for Each Screen Sequence) to replace the standard SAP screen with custom screen. You can also do testing for custom subscreen as well.  Give it try.
    And how about If I move this screen??...is it dangerous??...or how can I know if this screen affect other section of programs?
    I do not understand your questions. Can you elaborate more?
    Regards,
    Ferry Lianto

  • Problem with Accounting view in Material Master

    Hi,
    One of the material master does not have the accounting view and the costing views attached to it. When trying to extend the views thru MM01, the system shows the following message -
           Material already maintained for this Transaction/event
    What we understood is that the views were already extended earlier but still does not show up.
    Any help extended is highly appreciated.
    Regards,
    Mike
    Edited by: Michael Gerard Leo on Mar 10, 2009 4:35 PM

    Hi,
    After we extended the accounting view in MM01 for a particular plant and saved it, we are not able to view it through MM02 or MM03.
    Again, if we try to extend the view for the same plant in MM01, the system gives an error message that it is already extended.
    Any reasons why the accounting views are not showing up in MM02 and MM03.
    Regards,
    Mike

  • BDC-MM02

    Hi Experts,
    Im wirting a BDC for MM02. There is a problem that the number of views maintained in Materials Master are not same. So in recording, the view marked for selection does not correspond to the view when opening MM02 for some material.
    Please suggest how to tackle this when there is invariable number of views in material master, i want to make changes to views using BDC.
    For example - i want to update Basic Data1 and MRP1 view in MM02. For some material there can be three views between above two views and for some material there might be six views between the two. im not able to determine the position of view to mark for selection at run time. Also the screen name and number is same for these views. This the BDC is not running properly..
    Please suggest??
    abap-raj

    ya, that is true,
    U need to keep track of what you are having for example as u said sales view u would know that you have sales related data then u trigger the OK_CODE of sales tab..as of OK_CODE try to determine what all are possible and required....Well, hope that helps...any how I wish you would find a better way tgh...which ofcourse I would like to know...too
    santhosh

  • Close Document Viewer window through ABAP program

    Hi Experts,
    I have requirement is
    to close opened Document Viewer window (Txn : SDV) through ABAP report
    If anybody worked on this please help me  regarding this.
    Thanks and Regards,
    Shivanand Kalagii

    easy one
    call method CL_DV_SDV=>GET_SINGLETON in order to get the current instance of Document Viewer
    then call method CLOSE_WINDOW of this instance

  • Screen-Exit MM01/MM02/MM03 - Problems when I try to retrieve the data saved

    Hi guys,
    I created a Screen-Exit in the Accounting View of MM01/MM02/MM03 because I need to insert data into the fields of an Append Structure of the table MBEW, that I created.
    So, I can insert the data through an User-Exit. I Export to the Memory the data from my Screen-Exit and I modify the Fields content of MBEW inside of this User-Exit.
    I need to select these data and show it, because the selection is not automatic. I don't know if it could be automatic.
    Inside of the Screen-Exit there are some tables available, but they are empty and I can't retrieve the data because I don't have
    the Material Number nor other data of MBEW. When I run MM02, for example, the User-Exit is not started and so
    I can't export the data to the Memory and after that to select the data. This User-Exit is only started when I save the data...
    I found not any BADI too...
    Please, could someone help me?? How I could solve this question?
    Thanks a lot!
    Regards,
    Marcos Fernando Dotta

    Hello Marcos,
    Please see OSS note 44410 - Integrating cust. - specific fields in matl master.
    Kind Regards,
    Rae Ellen Woytowiez
    Link:  [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=44410]

  • Urgent regarding to mm02

    HI,
    I want to select basic data through select views tab in mm02 tcode . any body send me the logic to select the basic dataview in mm02

    Hi,
    try this short example:
    TABLES: MARA.
    Definition der BDC-Tabelle
    DATA: BEGIN OF BDCDATA OCCURS 500.
            INCLUDE STRUCTURE BDCDATA.
    DATA: END OF BDCDATA.
    DATA: CTU_PARAMS_0 LIKE CTU_PARAMS.
    DATA: IMARA TYPE TABLE OF MARA WITH HEADER LINE.
    DATA: CURSORFIELD(20).
    START-OF-SELECTION.
      SELECT * FROM MARA INTO TABLE IMARA UP TO 30 ROWS.
      LOOP AT IMARA.
        WRITE: / IMARA-MATNR, IMARA-MATKL.
        HIDE: IMARA-MATNR, IMARA-MATKL.
      ENDLOOP.
    END-OF-SELECTION.
    AT LINE-SELECTION.
      GET CURSOR FIELD CURSORFIELD.
      CASE CURSORFIELD.
        WHEN: 'IMARA-MATNR'.
          PERFORM MM02 USING IMARA-MATNR.
        WHEN: 'IMARA-MATKL'. WRITE: / CURSORFIELD, IMARA-MATKL.
      ENDCASE.
    FORM MM02 USING MATNR.
      MOVE 'E      ' TO CTU_PARAMS_0.
      WRITE MATNR TO MATNR.
      REFRESH BDCDATA.
      PERFORM BDC_DYNPRO      USING 'SAPLMGMM'    '0060'.
      PERFORM BDC_FIELD       USING 'RMMG1-MATNR' MATNR.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'  '=ENTR'.
      PERFORM BDC_DYNPRO      USING 'SAPLMGMM'    '0070'.
      PERFORM BDC_FIELD       USING 'MSICHTAUSW-KZSEL(01)'  'X'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'  '=ENTR'.
      CALL TRANSACTION 'MM02' USING BDCDATA OPTIONS FROM CTU_PARAMS_0.
    ENDFORM.                                                    "MM02
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.                    "BDC_DYNPRO
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.                    "BDC_FIELD
    Regards, Dieter

  • REM Product cost collectors and Production version

    Hi All,
    Can some one pls let me know
    What are the product cost collectors in REM and how to create the product cost collectors ?
    What is the production version and the difference between production version and controlling version?
    Thanks & Regards,
    Bujji

    Dear Bujji,
    A product cost collector is a cost object in Product Cost by Period that collects the periodic actual costs incurred in the production of a material. It can be created in txn KKF6N.
    [Product Cosr Collector|http://help.sap.com/saphelp_47x200/helpdata/EN/08/77ba810a1611d3a6b900104b55d538/frameset.htm]
    [Product Cost Collectors: Collective Entry for Repetitive Manufacturing |http://help.sap.com/saphelp_47x200/helpdata/EN/08/77ba810a1611d3a6b900104b55d538/frameset.htm]
    A production version determines the various production techniques that can be used to produce a material. It defines the following information:
    Alternative BOM for a BOM explosion
    Task list type, task list group, and group counter for assignment to task lists
    Lot-size restrictions and period of validity
    A material can have one or more production versions.
    It can be defined in the Material Master (txn MM02) in one of the following views:
    MRP 4
    Work Scheduling
    Costing 1
    The costing version is a different issue. It is a costing parameter and is used to save several cost estimates for the same material, with the same costing variant and the same costing date (e.g. in oder to cost the material several times with minor changes without creating new costing variants).
    BR,
    Antje

Maybe you are looking for