Finding if mrp view exists

hi
i am working on an enhancement within cif to transfer material master in ecc to scm .
i need to check if mrp view exists or no for every material transferred.
now how do i do this coding wise ?  which field or table do i need to check if mrp view has been defined or no.

Hi,
Use FM 'SELECTION_VIEWS_FIND'
Check below thread
Select a specific view in MM02/MM01
https://forums.sdn.sap.com/click.jspa?searchID=6788689&messageID=4407517
Regards,
Atish
Message was edited by:
        Atish Sarda

Similar Messages

  • 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

  • Re MRP Views of Materail

    Hi All,
    Actually we are trying to download all view details of material from MM03 T-code.
    We need to fetch the value of the fields Planning Materail (<b>PRGRP</b>) and the Planning Plant (<b>PRWRK</b>) for the MRP view in the MM03 Transaction.
    We tried with MARC and MARA Tables and the tables suggested in some of the previous posts in SDN by others n still we are unbale to find it. If some1 has faced similar problem pls do suggest psbl way to reterevie the data.
    Help and Suggestions will be much appreciated.
    Regards.
    Ramesh.

    hi ramesh,
      try with these tables
       <b>VBBS</b> - Sales Requirement Totals Record
       <b>VBBE</b> - Sales Requirements: Individual Records
       <b>VBAP</b> - Sales Document: Item Data
       <b>PBVPV</b> - Material index for consumption of planning
       <b>MDIP</b> - Material: MRP Profiles (Field Contents)
       <b>LIPS</b> - SD document: Delivery: Item data
    Cheers
    Alfred
    Reward points if it is helpful.

  • Error message "No store view exists in MM42" for Z transaction

    Hello,
    Please see below steps for Z t-code.
    Enter Trade Counter AU52.
    3. Enter Distr. Center AU01.
    4. Click Execute.
    5. Update article 1034414 with a new target stock.
    6. Select Line.
    7. Click Update line .
    8. Pop-Up Message will appear saying "1 article is ok for hard uplift"
    9. Error Message appears as "No store view exists in MM42"
    Kindly Suggest.
    Regards
    Venkat

    Dear Venkata,
    It seems a customize error, kindly get the help from ABAPer and find the root cause.
    Regards,
    Karna J

  • HT3209 rented a movie downloaded it and it is not showing up in my purchases? where do find it to view the movie

    Rented a movie on my PC and cannot find it to view the movie?

    If you rented it on your PC's iTunes then it should have downloaded in the Movies part of your library. If you select Movies then is there a 'rentals' tab on it, and if there is, is that film in it ?

  • Finder in column view has no expander divider on the last column

    I deal with a lot of graphics on my computer and I have a lot of subfolders. While in finder in column view there is no expanding divider for the last column when it is showing a graphic. When I first open a photo or graphic in finder the last column shows the graphic smaller than regular size. In SL there was a column divider to expand only that last column so I could make the graphic larger to see it better. Now in Lion there is no divider on the right side of that last column to expand the last column where the grahic is showing. In order for it to finally expand I have to drag the right side of the Finder window all the way across my display until the bottom slider bar disappears and then that last column will expand. This is frustrating having to have my Finder all across my display just to get the graphic larger.
    Is there a way to get an expander divider to show up for the last column when viewing a graphic in column view? I know I can click on the "eye" icon to see it, but the column view will expand the graphic larger than 100% so I can see more details.
    Thanks for any and all help.
    Connie

    Yes, that is how my whole finder window expands across my display until the bottom slider bar disappears....then and only then does the last column expand. I have to have open as many as 8 columns to get to my graphic. Keeping the Finder window to a smaller size and using the bottom slide bar to navigate to the far right column is nice, but all I want is that far right column where my graphic is showing to expand so I can see it better.
    Thanks but what you suggest only resizes the whole Finder window until it can expand no further, then the last column expands the graphic. But then my whole display is a huge Finder window.

  • How could I find which i-views/pages are being used

    Hello
    I am pritty new in portal area. I have to administrate an ESS/MSS portal during hollydays. I am trying to find everywhere the way.
    How could I find which i-views/pages are being used. Let say I can see which group I belong and which roles are behind.
    How could I know in which PCD folder they are taken into account (to e.g give permission to someone not in the group)

    HI,
    the user administration (UME) gives you the information about the user <-> group <-> role assignment.
    When you know the role, search in the PCS for it, open the role and you will see all the pages / iviews assigned to the role.
    SAP Help: Role Assignment: http://help.sap.com/saphelp_nw04s/helpdata/en/59/bf2287b3cb5e48af94f99929ad15b9/content.htm
    SAP Help: Content Administration: http://help.sap.com/saphelp_nw04s/helpdata/en/5a/0339000c0b11d7b84800047582c9f7/content.htm
    br,
    Tobias

  • How do I find and include pre-existing music files on my PC?

    I'm new to iTunes and believe that I should be able to find and include pre-existing music files on my PC?
    I've found out how to show the menu bar but I can't see how to do the above except file/folder by file/folder.

    Hello there, LeighCenturion.
    The following Knowledge Base article provides instruction on how to add content from your computer to iTunes:
    Adding music and other content to iTunes
    http://support.apple.com/kb/HT1473#2
    Specifically:                     
    Adding content on your computer to iTunes
    iTunes helps you add digital audio and video files on your computer directly to your iTunes library. You can add audio files that are in AAC, MP3, WAV, AIFF, Apple Lossless, or Audible.com (.aa) format. If you have unprotected WMA content, iTunes for Windows can convert these files to one of these formats. You can also add video content in QuickTime or MPEG-4 format to iTunes. To learn how to add these files to iTunes follow the steps below.
    Open iTunes
    From the File menu, choose one of the following choices:
    MacAdd to Library
    Windows
    Add File to Library
    Add Folder to Library
    Navigate to and select the file or folder that you want to add
    If iTunes is set to "Copy files to the iTunes Music folder when adding to library," iTunes will copy all content that is added to the iTunes library to the iTunes Music folder. To adjust this setting or change the location of this folder, go to the Advanced tab in iTunes Preferences.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to find the list of existing tables in a schema using DB link?

    Hi
    I know how to find the list of existing tables in a schema using the following query
    SQL> select * from tab;
    but, how to list the tables using a DB link?
    For Example
    SQL> select * from tab@dblink_name;
    why this doesn't work?
    Pl advice me
    Thanks
    Reddy.

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • Is there any way to set default column widths in the Finder's Column view

    When my Finder windows open in column view, all the columns are always VERY wide. I have to then spend time resizing them to a managable width. Is there any way to set default column widths in the Finder's Column view?
    <Re-Titled By Host>

    No, because you can't set a columns view default.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • MRP view in material master creation

    Hi Guys,
    Can anyone tell me how to change the settings for field dependency. My requirement is to use only the filed for "reorder point" in MRP view and do not enter any other data like MRP type or lot sizing etc.
    I have tried changing the setting for field selection group for MRP type etc but whenever i enter the value in Reorder point field it asks me for MRP type and does not allow me proceed...
    Thank you for your help.
    Regards,
    Siddharth

    Hi
    You cannot change that dependency as it is done through program code and not thru config.
    If you want reorder point only as an info field and not for actual Reorder point planning, I suggest you to explore any other unused information field in the masterial master.
    You can also use classification
    Best regards
    Ramki

  • Material Master MRP View not be created till Basiv View is created

    Hello All,
    I need an information where i would like to know if an MRP view in a Material master can be restricted without the creation of the Basic View. Basically an MRP view is getting created even though the Basic View of material master is not there and it needs to be stopped.
    Thanks for your inputs.
    Ismail

    Dear Syed ,
    If you want to prevent end users update other material master views , you can apply the concept of SAP note 545380 - FAQ: Authorizations material master , with this you will not more problem with this kind of problem.
    Hope this can help you.
    Please let me know if my thinking about your question is correct.
    best regards,
    Carlos Moçatto

  • HT1657 Hi All. I am new to this forum but hoping I can find some answers from some of you apple guru's out there. I have downloaded a mvie onto my iphone (which took forevere but I cannot find it to view it.Please help

    Hi All. I am new to this forum but hoping I can find some answers from some of you apple guru's out there. I have downloaded a mvie onto my iphone (which took forevere but I cannot find it to view it.Please help

    It should be in the Videos App - if it's not in there then have you got a film age rating set in Settings > General > Resttrictions that is hiding it ?

  • In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    In the finder window, column view, I double click on icon, eg. a spread sheet,  and document will not open since I updated to OSXv10.8.2. Help anyone?

    Hi Ron,
    Highlight one in the Finder & do as Get Info on it, what does open With say to use?
    What did you update 10.8.2 from exactly? 10.6.8 maybe?

  • I'm downloading my dvd:s to iTunes but some of them doesn't show in finder, I can view them in the dvd-player but I can't access them in Handbrake. Why?

    I'm downloading my dvd:s to iTunes but some of them doesn't show in finder, I can view them in the dvd-player but I can't access them in Handbrake. Why?

    from the Apple Support Communities -Terms of Use:
    Do not submit software or descriptions of processes that break or otherwise 'work around' digital rights management software or hardware. This includes conversations about 'ripping' DVDs or working around FairPlay software used on the iTunes Store.
    https://discussions.apple.com/static/apple/tutorial/tou.html

Maybe you are looking for

  • Why can't I log into my flickr acct?

    I've gone through this problem with tmobile tech support and they weren't able to help. I've posted on flickr and haven't gotten a solution either. my problem is for some reason yahoo is not recognizing my password . I put it in and get the msg "data

  • Running apple tv from iPad.

    a picture of the itunes logo and a usb cord is frozen on my TV after I was running apple tv from my iPad.  I restored the seting on my iPad, sunk it with my mac and unplugged all of the cables form the apple tv.  nothing seems to work.  anyone?

  • Requirements for SAP Document management system in ECC 5.0

    Hi All, Can any one provide me the requirements for SAP Document management system in ECC 5.0. SAP Component   ECC 5.0 OS    Solaris 5.9 DB    Oracle 9.2.0.7 Thanks in advance. Regards, Surendra <removed_by_moderator> Edited by: Juan Reyes on Aug 6,

  • There is a problem when saving pictures using Live Margins

    When I draged some pictures into firefox Live Margins, and pressed save, it prompt a save file dialbox, and after I selecet the destination directory, Live margins create another directory with name unrecognizable, which is not the directory I select

  • Hand-me-down ibook problem

    My wonderful sister gave me the older of her two ibooks. I'm a brand new mac user, just feeling my way around. The other night, I started playing around with GarageBand (love it!), when I received an error message and the computer shut down. I though