Problem in mm02 for select view

Hi
   get points and give me solution.
   Gurus
    I m creating one bdc for tcode mm02 ,in this bdc i want to select only one view
    QUALITY MANAGMENT but when i run bdc ,bdc select another view that r not  
    required . In our select view list required  QUALITY MANAGMENT comes
   after scrolling 3 times. so plz provide me solution .

when u rcording u will get a screen no , before scrolling to next page for views.
press page down once , press enter
press page down second time , press enter
press page down third time , press enter
select your required view .
after record completion ,
insert the screen no  statement  perform ,,,,,,,
before every page down ( for view )statement   in your bdc report .
rgds
Chalam

Similar Messages

  • Problem in MM02 for classification view

    Dear All,
    I am facing some problem in MM02 for extending classification view. It is behaving strangely in SHDB while recording, some of the screens are not dispalying properly. Anyway I have recorded and it is working fine,but the values are not updating in mm02 . Can any body tell me why it is behaving differently in SHDB and what is the solution for it??
    Thanks in adavance for ur time.
    Regards,
    Venkat Appikonda.

    Hi Keshav,
    Thanks for the reply. But why not succeded with BDC?  I am so curious to know why the tcode is behaving differently in recording and in normal process? and even though there is no error message why it is not updating the values??
    Regards,
    Venkat Appikonda

  • MM02 for sales view, but dispaly Basic data?

    We have authorized users to be able to run MM02 for sales view data only (M_MATE_STA = V).  When they enter a material using MM02, they cannot select the BASIC DATA views, even though they just want to reference them.  Is that the intention of the object M_MATE_STA ?  If they need to view BASIC DATA, will they also have to start a 2nd session and use MM03?

    Inorder to get change access to basic data/client level data the user should have authorization for object M_MATE_MAN
    Activity 2.
    Please run transaction SU53  where the user is having problem to access basic data after accessing basic view to check the auth.SU53 will give you clear idea of authorization.
    Thanks

  • Problem in BDC for selecting the QM View in MM02

    Hi,
    I am facing a problem that when the material is entered select view screen opens and the positioning of QM view is 11 or 13 sometimes. i want the processing should of QM should be irespective of position.
    report ZBDC_MM02_QM_VIEW
           no standard page heading line-size 255.
    include bdcrecx1.
    data: begin of record OCCURS 0,
          MATNR_001(018),
                WERKS_002(004),
          ART_003(008),
          APA_004(001),
          AKTIV_005(001),
          end of record.
    PARAMETERS : P_FILNAM LIKE RLGRAP-FILENAME.
    initialization.
    CTUMODE = 'A'.
    CUPDATE = 'A'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILNAM.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
       MASK                   = ',.'
       MODE                   = 'O'
    IMPORTING
       FILENAME               = P_FILNAM
    EXCEPTIONS
       INV_WINSYS             = 1
       NO_BATCH               = 2
       SELECTION_CANCEL       = 3
       SELECTION_ERROR        = 4
       OTHERS                 = 5.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      = P_FILNAM
       FILETYPE                      = 'DAT'
      TABLES
        DATA_TAB                      = RECORD
    EXCEPTIONS
       CONVERSION_ERROR              = 1
       FILE_OPEN_ERROR               = 2
       FILE_READ_ERROR               = 3
       INVALID_TYPE                  = 4
       NO_BATCH                      = 5
       UNKNOWN_ERROR                 = 6
       INVALID_TABLE_WIDTH           = 7
       GUI_REFUSE_FILETRANSFER       = 8
       CUSTOMER_ERROR                = 9
       NO_AUTHORITY                  = 10
       OTHERS                        = 11.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT RECORD.
      ON CHANGE OF RECORD-MATNR_001.
    perform bdc_dynpro      using 'SAPLMGMM' '0060'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RMMG1-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RMMG1-MATNR'
                                  record-MATNR_001.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSICHTAUSW-DYTXT(11)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(11)'
                                  'X'.
    perform bdc_dynpro      using 'SAPLMGMM' '0080'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RMMG1-WERKS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_field       using 'RMMG1-WERKS'
                                  record-WERKS_002.
    perform bdc_dynpro      using 'SAPLMGMM' '4000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PB01'.
    perform bdc_dynpro      using 'SAPLQPLS' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RMQAM-ARGUMENT'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=NEU'.
    perform bdc_field       using 'RMQAM-INSMK'
                                  'X'.
    perform bdc_field       using 'RMQAM-QKZVERF'
                                  '06'.
    perform bdc_field       using 'RMQAM-PPL'
                                  'X'.
    perform bdc_field       using 'RMQAM-APP'
                                  'X'.
    perform bdc_field       using 'RMQAM-DYN'
                                  'X'.
    perform bdc_field       using 'RMQAM-MER'
                                  'X'.
    perform bdc_field       using 'RMQAM-AVE'
                                  'X'.
    perform bdc_dynpro      using 'SAPLQPLS' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RMQAM-AKTIV(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=WEIT'.
    perform bdc_field       using 'RMQAM-ART(01)'
                                  record-ART_003.
    perform bdc_field       using 'RMQAM-AKTIV(01)'
                                  'X'.
    perform bdc_transaction using 'MM02'.
    ENDON.
    ENDLOOP.

    Hi,
    Use following code
                  CALL FUNCTION 'MATERIAL_BTCI_SELECTION_NEW'
                    EXPORTING
                      MATERIAL                  = IT_UPLOAD-MATNR  " Material number
                      MATERIALART               = GI_MARA-MTART          " Material Type
                      SELECTION                 = 'Q'              " PSTAT(maintenance status) value for Quality Managemant.
                      TCODE                     = 'MM01'           " Tcode where view's are called.
                    TABLES
                      BTCI_D0070                = IT_BDCDATA_VIEW
                    EXCEPTIONS
                      MATERIAL_NOT_FOUND        = 1
                      MATERIAL_NUMBER_MISSING   = 2
                      MATERIAL_TYPE_MISSING     = 3
                      MATERIAL_TYPE_NOT_FOUND   = 4
                      NO_ACTIVE_DYNPRO_SELECTED = 5
                      NO_AUTHORITY              = 6
                      OTHERS                    = 7.
                  READ TABLE IT_BDCDATA_VIEW WITH KEY FVAL  = 'X'.
                  IF SY-SUBRC = 0.
                    V_SELECTION = IT_BDCDATA_VIEW-FNAM.
                    VAR = IT_BDCDATA_VIEW-FNAM+17(2).
                    IF VAR > '17'.
                      VAR = VAR - 17.
                      IF VAR NE '2'.
                        CONCATENATE '0' VAR INTO VAR.
                      ENDIF.
                      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                  '=P+'.
                      PERFORM BDC_DYNPRO      USING 'SAPLMGMM' '0070'.
                      CONCATENATE 'MSICHTAUSW-DYTXT(' VAR ')' INTO VAR1.
                      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                                    VAR1.
                      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                    '=ENTR'.
                      CLEAR VAR1.
                      CONCATENATE 'MSICHTAUSW-KZSEL(' VAR ')' INTO VAR1.
                      PERFORM BDC_FIELD       USING VAR1
                                                    'X'.
                      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                  '=ENTR'.
                    ENDIF.
                    IF VAR < '17'.
                      CONCATENATE 'MSICHTAUSW-DYTXT(' VAR ')' INTO VAR1.
                      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                                    VAR1.
                      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                    '=ENTR'.
                      CLEAR VAR1.
                      CONCATENATE 'MSICHTAUSW-KZSEL(' VAR ')' INTO VAR1.
                      PERFORM BDC_FIELD       USING VAR1
                                                    'X'.
                      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                  '=ENTR'.
                    ENDIF.
    Regards,
    Pritish

  • Problems with suggestions for selection boxes

    I first found this problem when typing in Google Maps selection box. If I type an A in the box, I am given several suggestions from my web history starting with A, but I can't find any way (single or double-click or drag) to make any of the suggestions go into the box. I tried Restart with Add-Ons Disabled but that doesn't help.

    I first found this problem when typing in Google Maps selection box. If I type an A in the box, I am given several suggestions from my web history starting with A, but I can't find any way (single or double-click or drag) to make any of the suggestions go into the box. I tried Restart with Add-Ons Disabled but that doesn't help.

  • Display MM03 screen with out selecting views using interactive list.

    Hi Experts,
    I have one query, I am displaying  material data in a list. when i click on material number in the list it should show material data i.e should call MM03 with all the view data .
    When i am using call transaction 'MM03' skip first screen. I am able to call MM03 screen but unable to skip the View Pop up screen it should be selected default and the veiw data should be displayed.
    Ex: when i am clicking on materil number from the list it will directly take to the Basic data1 screen with out the pop up screen for selecting views.
    hope this is clear...
    Thanks
    Sunil kairam.

    Hi Dzed Maroz  ,
    Thanks for the quick reply... its works.. !
    Can you please tell me the methodology behind SET PARAMETER ID 'MXX' FIELD 'K'.
    I was trying using below code earlier was showing the pop up screen.
    SET PARAMETER ID 'MAT' FIELD P_MATNR. "
    CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    but now it works... thanks.. 
    kindly explain SET PARAMETER ID 'MXX' FIELD 'K'. hw it works...  which filed parmeter id is MXX and y we have choosen 'K' ??
    Thanks & Regards
    Sunil kairam

  • Selection view in MM02 BDC program

    Hi Experts,
    I am doing BDC Session method for Tcode MM02.There i am getting selection View screen for different material.But if i select a material in Sales view i need to select Sales :Sales org dAta.
    It's coming third position.
    But for some material it's coming fourth view.
    If i record bdc in third position it'll take third view some other. how i can select the view in selection view.
    Please,Anybody knows give me the suggestion.
    Thanks & Regards,
    Nandha

    Hi,
    use this Function module <b>SELECTION_VIEWS_FIND</b> to find the view position.
    This One of functional modules for those who still has to use BDC for Material Master transactions (MM01 and MM02). Allows to determine line number for desired view in the "Select View(s)" window, to prepare BDC for the view access
    Find the positon of the View based on this function module and write the code to select that perticular view.
    Hope this solves your problem
    Thanks
    Sudheer

  • View RX neighbors for selected radio does not show any information

    For some but not all of our WLCs, our WCS is not able to View RX neighbors for selected Radio in the maps.
    WLC is running 4.1.171-code, WCS is using 4.1.83 Base+Location.
    I use Monitor-Maps, slecet a map and hover with my mouse over one of the APs to select "View RX-neighbors".
    The error-message appearing is:
    "There are no RX neighbors for selected radio."
    Who knows help about this ?

    Hi. I've run into this before with one 1242 AP in LWAPP mode. I was running 4.1.171.0 on my 4402 WLC. I had users report a dead spot in the plant and when I looked at the heat map it told me the following. The A radio was not detected. The BG radio was detected but did not have any client counts on it. Also when I told the AP to view RX neighbors it said that there were no RX neighbors for the selected radio. I thought the AP had a hardware failure due to the fact that the 1242 doesn't have the modular radios like the first gen 1200's. So, I had the unit replaced with a brand new one. When I had the chance to TFTP recover the original, the A radio was detected again. I converted the AP back to LWAPP and it worked without any issues. I attribute this to a bad LWAPP upgrade / code corruption. I'd recommend to TFTP recover one of the AP's and set it back up again in LWAPP mode to see if the problem is resolved. Hope this helps!

  • Is there any options/addons for selecting/changing image size when viewing images?

    When clicking to open images when on web pages there is no option to select size.
    I'm looking at some pages that have images (mostly jpg) I like to compare and that is very hard when all images open in a size that normally fill most of the browser window.
    So I wonder if there is some hidden options or addons for selecting image size when opening images for viewing?
    I have tried Image resizer/scaler, image zoom and show picture with mix results. Image resizer/scaler and image zoom allow resizing of images, but when opening images on same tab as web page the white image "frame" that is visible when reducing image size is left in original size. This make viewing and opening other pages a hazard.
    I'm grateful for any help...cheers :-)
    Picture of white frame
    http://s25.postimg.org/z1ubo6zun/Remove_Exterior_Fog_at_Skyrim_Nexus_mods_and_c.png

    hehe no offense, but I'm not following the version rushing from Mozilla. I'm using many customizations and addons and it is a nightmare to change to a new version and practically impossible to use last version. Also the FIrefox history have shown that earlier versions have both been more stable and had better implementation of features.
    Spending hours customizing and finding out that addons dont work with new version every time Firefox come with a new version , no thanks. For that to happen Firefox have to be more compatible across versions and more friendly toward customization in updates and new versions. I have used Firefox for at least 8-9 years with practically no security problems and one thing I have learned is: dont update or install next version if the version I have is working well.
    Maybe I should have mentioned this in this question, that Im using v26 and that my FIrefox is heavily modified with addons and customizations.
    '''Back to the subject'''
    Anyway I dont think any of my customizations or addons should create a white frame behind images, but I'm asking to find out if you guys also get this white frame when resizing pictures to a smaller size after clicking images for viewing.

  • What does it mean when the usecounts of Parse Tree for a view is incrementing when a select query is issued against the view?

    I'm using SQL Server 2008 R2 (10.50.4033) and I'm troubleshooting an issue that a select query against a specific view is taking more than 30 seconds consistently.   The issue just starts happening this week and there is no mass changes in data.  
    The problem only occur if the query is issued from an IIS application but not from SSMS.  One thing I noticed is that sys.dm_exec_cached_plans is returning 2 Parse Tree rows for the view -  one created when the select query is issued
    1st time from the IIS application and another one created when the same select query is issued 1st time from SSMS.   The usecounts of the Parse Tree row for the view (the IIS one) is increasing whenever the select query is issued.  The
    usecounts of the Parse Tree row for the view (the SSMS one) does not increase when the select query is issued again. 
    There seems to be a correlation between the slowness of the query and the increasing of the usecounts of the Parse Tree row for the view.  
    I don't know why there is 2 Parse Tree rows for the view.  There is also 2 Compiled Plan rows for the select query.  
    What does the Parse Tree row mean especially the usecounts column?

    >> The issue just starts happening this week and there is no mass changes in data.  
    There might be a mass changes in the execution plan for several reason without mass changes in data
    If you have the old version and a way to check the old execution plan, and compare to the new one, that this should be your starting point. In most cases you don't have this option and we need to monitor from scratch.
    >> The problem only occur if the query is issued from an IIS application but not from SSMS.
    This mean that we know exactly what is the different and you can compare both execution plan. once you do it, you will find that they are no the same. But this is very common issue and we can know that it is a result of different SETting while connecting
    from different application. SSMS is an external app like any app that you develop in Visual studio but the SSMS dose not use the Dot.Net default options.
    Please check this link, to find the full explanation and solutions:
    http://www.sommarskog.se/query-plan-mysteries.html
    Take a look at sys.dm_exec_sessions for your ASP.Net application and for your SSMS session.
    If you need more specific help, then we need more information and less stories :-)
    We need to see the DDL+DML+Query and both execution plans
    >> What does the Parse Tree row mean
    I am not sure what you mean but the parse tree represents the logical steps necessary to execute the query that has been requested. you can check this tutorial about the execution plan: https://www.simple-talk.com/sql/performance/execution-plan-basics/ or
    this one: http://www.developer.com/db/understanding-a-sql-server-query-execution-plan.html
    >> regarding the usecount column or any other column check this link:
    https://msdn.microsoft.com/en-us/library/ms187404.aspx?f=255&MSPPError=-2147217396.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • BDC Selecting view in MM02

    Hi Experts,
      I am doing BDC Session method for Tcode MM02.There i am getting selection View screen for different material.But if i select a material in Sales view i need to select Sales :Sales org dAta.
    It's coming third position.
    But for some material it's coming fourth view.
    If i record bdc in third position it'll take third view some other. how i can select the view in selection view.
    Please,Anybody knows give me the suggestion.
    Thanks & Regards,
    Nandha

    Hi Experts,
      I am doing BDC Session method for Tcode MM02.There i am getting selection View screen for different material.But if i select a material in Sales view i need to select Sales :Sales org dAta.
    It's coming third position.
    But for some material it's coming fourth view.
    If i record bdc in third position it'll take third view some other. how i can select the view in selection view.
    Please,Anybody knows give me the suggestion.
    Thanks & Regards,
    Nandha

  • Auto select u201CView selection only on requestu201D in selection view screen-MM02

    HI Friends,
    I want to auto set u201CView selection only on requestu201D in selection view screen before entering into various views (Basic data 1 / Basic data 2 . . .etc) for t.code- MM02 for all users. Please let me know where needs to be set.
    Thanks in advance.
    RAMAN.

    Hi
    Please go to SM30 and enter the table USRM1. There you can control the user departments for the users and check the required filed " View selection on request" field name : -ASCHL.
    Hope this helps your requirement.
    Regards,
    Sunil.K

  • How to handle Views in MM02 for corresponding materials

    Hi,
      I got an requirment in MM02, here view is changing depending on the materials, how can i handel this.
    Reply fast plz. i have to finish today.
    Sample codings also
    Regards
    Justin Jayaraj

    1) u  make  the condition type  based  on material type.
    using select query.
    2)do the recording for  all view.
    3)now  for perticular material type.
    make x for view field come  in recording for perticular material type.
    suppose one material type required 3 view.u can write cond like
    if mat_type = 'RAW'.
    bdc code....
    make  x to the view  which are required...
    othervise better option is   lsmw .

  • MM02 Select View option releated

    I would like to confirm my understanding regarding MM02 Select View popup screen where we get list of views like Basic data1, MRP 1, etc.
    Is this views are only controlled in OMS2 and OMT3E for one particular material type?
    Is there anyway where we can restrict these number of views  to any specific user, if this can be done how these can be restricted?
    Thank you very much
    Regards,
    Arvind

    Hi,
    1) control though spro
    You can control the view through Logistics general--> Material master >Configuring material master> User setting.
    Here you can select the User name & then select the view selection--> list of screen.
    you can select the which you want control
    2) better control form authorization object
    restrict by authorization object:
    M_MATE_STA ( for particular view authorization )
    M_MATE_MAR with  ( for particular material type authorization)

  • I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    Can you open the Preview program without loading a file, like by itself?
    If it doesn't load then I suspect a corrupt Preview preference file.
    Deleting the System Preference or other .plist file
    Can you open other files with Preview, like jpg's and images?
    How about other PDFs? or is it just that one you have downloaded?
    Run through this list of fixes
    Step by Step to fix your Mac

Maybe you are looking for

  • Equium U400 - Can't start webcam via illumination buttons

    I'd like some help please - I can't get the webcam on my Toshiba Equium to work. It used to come on when I touched any of the hotkeys on the panel above the keyboard. That no longer works, yet they stay illuminated constantly even when the laptop is

  • How to handle delta failure in COPA?

    HI FOLKS I appreciate if any one can take me through how to handle delta load failure in COPA?Also I need whether we have any other method for 2004 release...to handle delta issue in COPA....... no doubt Step by step walk through will definetely gain

  • OWB 11.1.0.6.0 with database character set AL32UTF8 is not working

    Hi , we are working for a project for Turkey. if we insert Turkish characters in database ,in sqldevelpoer we are able to see the correct data. but when i load a file from preprocessor in OWB Process Flow, the characters which are in Turkish got chan

  • Drop in connection speed

    early days but over the last week my speeds on the BTW speedtester has fluctuated from 15Mbps to 32 normally been steady at 38 pages have been stubborn and refusing to load sometimes, have cleared cache--have rebootedmodem and router IP profile on BT

  • How do I type in Hindi ?

    How do I type in Hindi ? Macbook Pro OS X 10.9 4GB RAM i7