Limit the matnr matchcode in MMBE (4.7)

I've been researching this and I'm not finding useful answers.
We have a client which uses release 4.7, and has requested that we limit the F4 help for MATNR in transaction MMBE.
MMBE uses the logical database MSM, and in it's selection screen it uses table view MARAV-MATNR with matchode object MAT1.  We already have table T023-BEGRU filled and are trying to use authorization object M_MATE_WGR to limit the materials the use can see in the matchcode.
Is there any way to copy that matchcode object into a Z one so that we can apply it in MSM ? Is this the way to go?
Any pointers and ideas will be appreciated.

I've been playing a little with the user exit that can be configured at TCODE OMSH, and at the SELECT step I execute this form.
If I use the function F4UT_RESULTS_MAP, I get a record_tab with 288 empty records. If I append manually to record_tab I get an empty help exit which says 288 records but shows nothing. I tried with or without the source structure (declared the same way as ls_data). I've also added fields SPRAS and MAKTG in tcode OMSH.
I think I'm missing something simple, but I can't figure out what it is.
        DATA: ls_t023 TYPE t023,
        lt_t023 TYPE STANDARD TABLE OF t023,
        BEGIN OF ls_data,
          maktg TYPE makt-maktg,
          matnr TYPE mara-matnr,
          spras TYPE makt-spras,
        END OF ls_data,
        lv_pos LIKE sy-tabix,
        v_tabix like sy-tabix,
        lt_data LIKE STANDARD TABLE OF ls_data,
        wa_fielddescr type dfies.
  SELECT *
    INTO TABLE lt_t023
    FROM t023.
  LOOP AT lt_t023 INTO ls_t023.
    AUTHORITY-CHECK OBJECT 'M_MATE_WGR'
             ID 'ACTVT' DUMMY
             ID 'BEGRU' FIELD ls_t023-begru.
    IF sy-subrc <> 0.
      lv_pos = sy-tabix.
      DELETE lt_t023 INDEX lv_pos.
    ENDIF.
  ENDLOOP.
  READ TABLE lt_t023 INDEX 1 TRANSPORTING NO FIELDS.
  IF sy-subrc = 0.
    SELECT makt~maktg mara~matnr makt~spras
    INTO TABLE lt_data
    FROM mara
    INNER JOIN makt
      ON makt~matnr = mara~matnr
    FOR ALL entries IN lt_t023
    WHERE mara~matkl = lt_t023-matkl
      AND makt~spras = sy-langu.
    LOOP AT lt_data INTO ls_data.
      CLEAR pu_record_tab.
      MOVE ls_data TO pu_record_tab-string.
      APPEND pu_record_tab.
    ENDLOOP.
    CLEAR pu_record_tab.
*    CALL FUNCTION 'F4UT_RESULTS_MAP'
*      EXPORTING
*        SOURCE_STRUCTURE         = 'ZF4_MAT1_ESTR'
**   APPLY_RESTRICTIONS       = ' '
*      TABLES
*        shlp_tab                 = pu_shlp_tab
*        record_tab               = pu_record_tab
*        source_tab               = lt_data
*      CHANGING
*        shlp                     = pc_shlp
*        callcontrol              = pc_callcontrol
* EXCEPTIONS
*   illegal_structure        = 1
*   OTHERS                   = 2.
    pc_rc = sy-subrc.
    IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
  ENDIF.

Similar Messages

  • How to limit the search help in the selection screen?

    Hi All,
    I got a selection option in a selection screen,
    say SELECT-OPTIONS KSCHL FOR VAKE-KSCHL.
    I want to limit the output list of the search help of this field, e.g. 33 entries for a specific application and usage.
    What should I do ?
    Thz.

    Hi,
    U can check with these two
    <b>... NO-EXTENSION</b>
    Effect
    The user can only make an entry on one line. Calling the additional "Multiple Selection" screen is not supported and no pushbutton for this appears on the selection screen.
    Addition 12
    <b>... NO INTERVALS</b>
    Effect
    The selection option is displayed on the selection screen without a 'to' field. The pushbutton for calling the "Multiple Selection" screen appears immediately after the 'from' field.
    This addition thus allows you to generate a simplified display on the selection screen. This is particularly useful if you are not making any range selections for this selection option.
    Notes
    On the "Multiple Selection" screen, you can also enter ranges for selection options with "NO INTERVALS".
    By combining this addition with "NO-EXTENSION", you can restrict the user to entry of a single value for the selection option, but with the possibility of also choosing single value options like 'Greater than' or 'Less than or equal'.
    By using the addition " NO INTERVALS" with SELECTION-SCREEN BEGIN OF BLOCK, you can activate the simplified display for all selection options in a block.
    The function module SELECT_OPTIONS_RESTRICT allows you to restrict the set of selection options available for a SELECT-OPTION (for example, only single values and patterns, i.e. 'EQ' and 'CP' are allowed). You can also forbid the leading sign 'E' (= 'Exclude from selection'). This means that you can considerably restrict the selections which can be entered on the selection screen.
    Just now tried it out to limit the search help u have to use NO-EXTENSION.
    <b>Try this simple code.
    Tables: mara.
    SELECT-OPTIONS: s_matnr FOR MARA-matnr NO-EXTENSION.</b>
    Hope this helps.
    Kindly reward points and close the thraed if ur problem got solved.
    U havent rewarded any points?
    Message was edited by: Judith Jessie Selvi

  • How can I limit the number of attempts to print a web page

    Hi I'm trying to find a resolution for an issue on our network.
    We run several kiosk machines that allow customers to print out documents and web pages. However we are finding that we waste a lot of ink due to user's frequently sending the same print task to the printers.
    Just yesterday we had someone print out over 70 pages because they just keep clicking print.
    I've tried looking for an add-on that would address this but was not able to find one.
    My question is this, Is there an internal setting that can be changed in firefox to limit the number of print attempts to say once every 30 seconds, or even a way to make a dialogue box come on screen saying that the print request is currently processing and not allow more printing until the current task is completed.

    Sorry, there is no setting within Firefox to prevent that from happening. Once the user sees the "native print dialog" box (what is seen when you do Ctrl + P to initiate printing), the operating system and the printer drivers take it from there.
    I have seen something similar to that on kiosk / rental PC's in FedEx Office stores, that notify the user of the cost per page the user wants to send to a printer, and if the user should happen to click again to print the same pages again it asked if you want to spend another $x.xx to print a second copy. Wouldn't be too much different to just shut off the printing of multiple copies of the same document and notify the user of that action.
    My advice is to discuss that with whoever set up those kiosks to being with.

  • Limit the number of open production order

    Dear PP experts,
    I am working on discrete scenario where client want to limit the number of open production order per work center. The more elaboration is like, for one work center the only specific number of production should remain open (e.g. 5 production order in assembly shop) when user is trying to open 6th production order system should restrict that.
    Does any standard functionality available in system or needs development?
    Regards,
    Shekhar

    Dear,
    You can do it with avilability check for materail and capacity.
    In OPJK do the for your production order type as no release if materail and capacity i missing.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • How do I apply filters or limit the rows on my report using a Date field in SQL report builder 3.0?

    I have a status of completed and a date field in the dataset. The date field is either empty or contains a date. All 2015 dates are holding dates.
    So how can I limit the report to only pull completed status with an empty date or a holding date?
    I have not been able to set an OR option on a date field filter and if I add two filters on the date column one for empty one for > 12/31/2014 then it treats it as an "and" and pulls nothing from the list I have in sharepoint.
    any help will be appreciated.

    Hi MB,
    In Reporting Services, the relationship of  filters is “And”, and there is no option to change the relationship from “And” to “Or”. While we can use “or” operator within the expression to create one filter to integrated all filters to work around this
    issue.
    We can add a filter as follows in the dataset to limit the rows in your report:
    Expression: =Fields!date.Value is nothing or Fields!date.Value>"12/31/2014"    Type: Boolean
    Operator: =
    Value: true
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • How to  limit the access of a transaction

    please provide hw to create an authorization object... like hw to limit the access of a particular userdefined trasaction to a particular user

    hi
    good
    Element of the authorization concept.
    Authorization objects allow you to define complex authorizations.
    An authorization object groups together up to 10 authorization fields in an AND relationship in order to check whether a user is allowed to perform a certain action.
    To pass an authorization test for an object, the user must satisfy the authorization check for each field in the object.
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/671285439b11d1896f0000e8322d00/content.htm
    Basic form->
    AUTHORITY-CHECK OBJECT object
    ID name1 FIELD f1
    ID name2 FIELD f2
    ID name10 FIELD f10.
    Example
    Check whether the user is authorized for a particular plant. In this case, the following authorization object applies:
    Table OBJ : Definition of authorization object
    M_EINF_WRK
    ACTVT
    WERKS
    Here, M_EINF_WRK is the object name, whilst ACTVT and WERKS are authorization fields. For example, a user with the authorizations
    M_EINF_WRK_BERECH1
    ACTVT 01-03
    WERKS 0001-0003 .
    can display and change plants within the Purchasing and Materials Management areas.
    Such a user would thus pass the checks
    AUTHORITY-CHECK OBJECT 'M_EINF_WRK'
        ID 'WERKS' FIELD '0002'
        ID 'ACTVT' FIELD '02'.
    AUTHORITY-CHECK OBJECT 'M_EINF_WRK'
        ID 'WERKS' DUMMY
        ID 'ACTVT' FIELD '01':
    but would fail the check
    AUTHORITY-CHECK OBJECT 'M_EINF_WRK'
        ID 'WERKS' FIELD '0005'
        ID 'ACTVT' FIELD '04'.
    To suppress unnecessary authorization checks or to carry out checks before the user has entered all the values, use DUMMY - as in this example. You can confirm the authorization later with another AUTHORITY-CHECK .
    thanks
    mrutyun

  • How to limit the number of rows in a report

    I have several reports with a number of parameters - date ranges etc.
    Depending on the parameter values selected by the user the reports can return thousands of rows.
    I would like to limit the number of rows returned to, say, 500. If more than 500 rows are returned by the query then display an error message requesting that the user enter more specific parameters.
    Ideally for performance reasons it would be good to catch the error before the datafile is generated, but I don't know if this is possible. Alternatively a check in the template might do the job - using COUNT on the group?.

    Hi Hugh,
    In your query, you got to add rowum < 500 or some sort of DB specific limit to the row being returned,
    this will help to stop the report to get more than 500 records and the report template wont have any restriction.
    or
    you can do that in template too, but i would not recommend.
    In these both cases or in any case, you cannot give any meaningful error if it exceeds N rows,there is no option like this till now.

  • How can I limit the number of emails retained on my ipad air?

    How can I limit the number of emails that are retained on my iPad Air?  Because of legal requirements of a long-term project, I cannot permanently delete emails relating to that project from my ISP's mail server.  My gmail account contains over 17,000 emails and, upon setting up my new iPad, and updating to ios 7.1.1, I now have all 17,000+ emails taking up space.  I would like to limit the emails by count as I was able to do on my old iPad running ios 5.1.1 OR to retain them based on date range.  I have not found any instructions on the support discussions or general iPad blogs that allow me to do that.  Any way around this problem?
    I also miss the 5.1.1 mail search feature that allowed me to narrow the search by from/to/subject/all.  Does anyone know if that feature is available using some little-known ios 7.1.1 feature?
    Thanks for your help.

    jlfcba wrote:
    IOS 7.1.1 doesn't show a "days to sync" parameter anywhere in SETTINGS/Mail,Contacts,Calendars/ACCOUNTS/GMAIL Account/ GMAIL Acccount Info.  There is nothing in iTunes relating to such an option either.  So, it seems I'm back to square one.
    If you have a decent mail provider like Microsoft Hotmail or Outlook.com mail it does.
    If you have Gmail it does not.  Quite right. Gmail is rubbish.

  • How Can I limit the bandwith of my internet connection on linux?

    Hello, I have 2 Pc's, one for my brother, and the other for me. And well, always we have problems about downloads and lags when we are playing.
    For example, when I download packages from pacman, it is done at maximum speed "eating" all connection, and my brother has lag.
    Is there anyway to limit the bandwith that use my programs to half, for example? If maximum download speed is 100KB/s, pacman only can download 50 KB/s maximum.
    Greetings

    Depending on your router you may be able to set Ingress Rate Limit under QoS. Also have a look into trickle: http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
    http://monkey.org/~marius/pages/?page=trickle
    Last edited by somairotevoli (2007-07-21 01:42:55)

  • HT2729 I have limited space on my new ipad. How can I limit the number of songs from my itunes on my imac from going to my ipad when I connect the two?

    I have limited space on my new ipad. How can I limit the number of songs from my itunes on my imac from going to my ipad when I connect the two?

    you can do this by keeping the external hard drive connected and doing the following
    -hold shift key down on computer while opening iTunes and a prompt will appear to choose a library
    -select choose library, iTunes should bring up your explorer windows where you can search for the external HD
    -after you find the external HD find the iTunes folder you just copied to it
    -after opening the iTunes folder look for the file that says iTunes library.itl or if you can't see that extenstion just look for a document looking thing in the iTunes folder that shows up as a database file
    -double click the database file and boom iTunes should load your library without having to copy it to the computer
    PS: do make sure that if you are going to do it this way, make sure that the external HD is connected at all times, because if you don't then you will get exclamation marks next to your iTunes songs
    double PS: if you are unsure how to find out if the iTunes library file is a database file just right click it and choose properties and under the type it should say database file
    hope this helps:)

  • Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    Hi, how can I limit the number of emails I can see on my iPhone 5. Every time in delete one and older email gets added from my live.co.uk account (where I want to keep my 2500 emails) I just don't want many on my phone. Thanks

    You can't. Why on earth would you attempt to manage 2500 emails with setting up a folder structure or some means of doing so? Simply keeping them in an single inbox is not realistic, no matter what email client you use.

  • How can I limit the number of messages coming into my email accounts on the IOS7

    I don't like the new IOS7 system most annoying is the excess battery useage and need to recharge the other is I can no longer limit the number of emails that are in my cell's email accounts old system let you choose the amount of messages. 
    already did the basic things to eliminate battery drainiage getting rid of open pages which was also annoying to figure out how to use as you can't simply click and hold then delete all open apps running in the back ground you must touch and slide them off the phone. I don't let apps do auto updates.
    They need to do something about the battery and having to have all emails on the phone which likely is sucking up space.
    Any suggestions?

    I don't think it matters what you use as your email client. This is a feature that existed before and was missed in the upgrade to IOS 7. I read on another post that if you contact Apple support they just tell you to report it in Apple feedback.  I just submitted feedback at http://www.apple.com/feedback/  I couldn't find an IOS section to post it to, so I just posted it in the iPhone section. Maybe if enough people do this, Apple will fix it.

  • How to limit sharing apps to only two devices? because i have an iPod touch and an iPad. i just want to limit the sharing of apps to those two.

    how to limit sharing apps to only two devices? because i have an iPod touch and an iPad. i just want to limit the sharing of apps to those two. because my brother is using my apple id too on his ipod. i want to limit it to mine only. tnx!

    You can go into settings and turn sharing off in the programs on the device you don't want to share too.

  • How to limit the max dialog no that one user can use at the same time?

    Hi,
    I meet one performance problem that one user can open 6 sessions in the GUI and he/she can run 6 reports at the same time witch could occupy 6 dialogs in the sap R/3 instance. It makes poor performance for other users.
    Would you pls tell me how to limit the no. of sessions one user can create at the same time or how to limit the no. of dialogs one user can occupy at the same time?
    Thanks a lot!
    I used this parameters in the default profile as blew:
    rdisp/rfc_check 1
    rdisp/rfc_use_quotas 1
    rdisp/rfc_max_own_used_wp 20 (means: 20%)
    It still didn't work.
    Sean

    Hello,
    We can reserve DIA W.P by giving value to the parameter :- rdisp/rfc_min_wait_dia_wp=1(default)
    that have to necessarily remain free for other users.
    This parameter is used to reserve a number of dialog work processes for Dailog mode.
    For eg. If 10 dialog w.p. are configured for the instance(rdsip/wp_no_dia=10) and the parameter rdisp/rfc_min_wait_dia_wp=3 is set,parallel RFC's can occupy a maximum of 7 DIA W.P.3 DAI W.P. always remain free for dialog mode.
    But now the question is how we assign/restrict this free dialog w.p. to the specific user.
    Reply...
    Regards,
    JUNAID

  • When I air print from my iPad, I can't limit the number of pages. It just says print and the number of copies and I end up with way more than I want. How do I set it to limit the pages?

    When I air print using FingerPrint from my ipad, it doesn't let me limit the number of pages, and I end up with more pages than I want. It asks if I want multiple copies, but it doesn't ask me number of pages, or which pages. Is there a way to do this?

    When you use an AirPrint compatible printer, you get this option for page range. You are using your computer as the server in order to print, so you probably have to set the range on the computer. While you can print from your printer with this app, I assume that it doesn't give you the same control that you get directly from the iPad when using an AirPrint printer.
    Read this from the FingerPrint support site. Selecting the page range would be part of the formatting of a print job.
    http://fingerprint-support.collobos.com/knowledgebase/articles/66972-i-can-t-for mat-the-print-job

Maybe you are looking for

  • Aspect ratio controlled monitor

    i am using a 16:9 monitor conneted to my hdv camera via composite, and want to shoot in 16:9 (which i can alredy do), but framed for 2:35:1. how would i create a guide or find one that can be added between the two pieces of hw with a box (or some DIY

  • Accessing a file in a mobile phone

    Hi , Is it possible to access and read the contents of a text file in a mobile phone using JSP. The regular file select component in JSP is not workin on the phone. when i click on the browse file button it says unable to view this file. This is the

  • Re: Is it possible to completely recover VistaOS using only Recovery DVD?

    Hidden WinRE partition was deleted by mistake but I still got the original Recovery DVD for my A200. Is it possible to completely recover VistaOS without the WinRE partition, using only Recovery DVD?

  • Multiple Parameters in Main()

    I have been going through the tutorials in Java. I have gotten to the explanation on the main() method in which you can sent parameter values to when you start the app. I can get my .java file to compile with two parameters in the main() but when I t

  • Inheriting a Class that inherits a JFrame.. how????

    Hi to all!!! i would like to ask about the LOGIC on how to inherit a CLASS that inherits a JFrame??? for example, i've created a Class that extends a JFrame called "MotherFrame.class". I also want to create another class called "ChildFrame.class" tha