Authority Check on Table - Restrict Entries based on check

Hi,
I need to add an authorization check to a table.
The check will restrict certain entries from displaying, based on the check of some table fields.
The table is custom and I know which authority object to use, as well as which fields to restrict.
How do I do this?
Thanks!

Hi N.,
select all data into internal table, loop at the table, do authority check for each table, delete records that fail authority check, display results.
Or use SELECT INTO structure, check authority , append if authority check is OK (SY-SUBRC = 0), ENDSELECT, then display.
Try which way is better based on memory requirement and performance.
I hope this answer will help you. If not, feel free to ask for details.
Regards,
Clemens

Similar Messages

  • Authority check based on the tables used in a programme

    based on the tables used in a programme can I see authority checks available in the system.If yes how do i go about it .

    Using the below FM:
    SUSR_USER_AUTH_FOR_OBJ_GET
    EFG_USER_AUTH_FOR_OBJ_GET
    You can get all the autority check available for a user.
    Regards,
    Prakash.

  • QM UD Error Message: Check table XEKBN: entry 45039875220001003 does not exist.

    Hello QM expert,
    I encounter a error when I make a UD. (Please refer to below screenshot. )
    Case 1: I did quantity post to unrestricted use, to scrap, to blocked stock, to new material, to reserves, return delivery. When I save this UD, there is a error message 'Check table XEKBN: entry 4503987522000100310100 does not exist.'  (PS. 4503987522 is PO number, but I don't know what it is about 10031010.)
    Case 2: I fill the same field like Case 1, but exclude to new material. It can be passed, no error message.
    Case 3: I only fill one field [to new material. It can be passed, no error message.
    Could you please give me some guidance? Thank you so much.
    Best Regards,
    Fanchao Bu

    Hi Fanchao,
    Form the inspection lot number range, I believe you are using GR form Purchase Order, right? Please confirm the below points -
    1. Is this a normal PO or Sub-contractor's PO?  Please confirm if this issue is happening for every stock posting like Unrestricted, Scrap, Blocked...? or just for one? Can you try one by one for example, move stock form QI => Unrestricted stock only (and do not combine all types together like the attached screenshot) and suggest if that is working.
    2. If this is a non-valuated material you have used (NLAG) for testing? Are you trying to post materials for previous period? Storage Location SM10 is valid?
    If still this issue exist, then potentially, there is some issue with valuation variant linked to valuation area, which is normally maintained in Configuration OPK9. Paralelly, you can request your ABAP team to check FM MB_UPDATE_VALUE_ENQUEUE_TABLE, Include LMBGBU04, as suggested by the below link -
    SAP ABAP Function Module MB_UPDATE_VALUE_ENQUEUE_TABLE - SAP Datasheet - The Best Run SAP Run SAPDatasheet
    You can also check SAP notes below, based on the business needs:
    1. 403671  - Error M7001: 'Please check table &...'
        401462  - Error M7001: 'Please check table &...'
        201833  - M7001: 'Please check table XEKPO: Entry & &...' 
        2072019  - Error M7001 raised during posting goods receipt
        407265  - Transfer parameter with BAPI BAPI_GOODSMVT_CANCEL (this may be linked to your return Delivery of 1 PC...)
        439945  - GR w/ freight costs for stock transport ordr w/ML currencies
        521090  - FAQ: Stock transfer to stock transport order
        867878  - Inconsistencies in the EKBE table because of conversions
        214814  - M7001/M7361: Table T156M, entry MAA7 2
        1584493  - Overdelivery check for GR blocked stock with GR-based IV
        102863  - GI f.delivery f.a stock transfer w.delivery costs
    2. 409529  - Price differences during goods receipt for purchase order
    3. 1528009  - MAA: incorrect distribution of goods receipt quantities
    4. 1569831  - MAA2: Composite SAP Note after Support Package SAPKH60504
    5. 406973  - M7001: Please check table XEBEFU: Entry does not exist
    6. 70577  - QA11: Error M7001 when posting qty in usage decision (OLD NOTE, May not be applicable)
    7. 824322  - QAC1: Incorrect batch in material document (Old Note, may no be applicable)
    Else, you can speak to MM team and/or FI team to help you better in this case, as I feel there is no much QM issues involved.
    Thanks,
    Arijit

  • Check table TFBEFU_CR: entry 10   does not exist

    Dear all
    When i am doing GR for Order (T.Code : MB31),the system displays the following message.
    Check table TFBEFU_CR: entry 10   does not exist
    plz give me the solution as early as possible,bcaz it is very urgent to me.
    Thanks in advance.
    Regards
    Basava sreenu

    Dear Mr.Basava,
    I'm not sure,but try with this.
    For the particular material which you are using in MB31 for Good's receipt for
    Order,check whether the storage location is present in  T code MMSC-Extend
    material storage location.If not add and save,then try in MB31.
    If useful reward points.
    Regards
    Mangal

  • Error "Check Table TFBEFU_CR : entry 10 does not exist" getting

    Hi All ,
    While doing Goods Receipt for Prodn Order , error "Check Table TFBEFU_CR : entry 10 does not exist" getting Prompted.
    Could u pls help me to solve it
    Regards
    Sandeep

    you need to apply the OSS  note 107588. it is excatly for the same problem yoy mentioned here.
    check the note

  • Error during Goods Receipt:Check table XMCHB: Entry 'Material no.', 'Plant

    Dear All,
    I am trying to post Goods Receipt for a Stock Transport Order.
    The error message appears as " Check table XMCHB: entry 'material no.' 'plant', '____' , 'batch no.' does not exist. (message no. M7001)
    The Supplying plant stock from which Goods Issue is done,  is a Normal storage location Unrestricted stock.
    The receipt has to be taken into Vendor stock (Goods Receipt movement type 101 O )
    Inputs will be appreciated.

    technically spoken.
    table MCHB is the storage location segment of a batch record.
    System tries to create an entry in MCHB without a storage location, which does not make sense.
    Vendor stock does not go to MCHB, instead it is recorded in table MKOL.
    If you do STOs then you may transfer vendor consignment stock, but you cannote issue own stock and receive into vendor consignment stock.

  • In MB1C im getting error-"Check table T004F: entry  G006  does not exist"

    DEAR SIR,
    WHILE DOING MB1C IN MOVEMENT TYPE 561 I M GETTING THI ERROR -Check table T004F: entry  G006  does not exist.
    PLZ HELP ME HOW TO SOLVE THIS PROBLEM.
    THXS AND REGARDS,
    DEBESH TRIPATHY

    Check these threads
    [Check table T004f: Entry G006 Does not exist |Check table T004f: Entry G006 Does not exist]
    [Posting Material    |Re: Posting Material]
    [Error in MBIC|Error in MBIC]
    thanks
    G. Lakshmipathi

  • Authority check in infoset query for field with multiple entries

    how can i perform the authority check in sq02 "at selection screen" for a multiple entry field
    e.g. EKORG low  0001 - high  0005
    or EKORG 0001, 0004, 0005
    I already added the following statements
    How the field for EKORG check must be filled
    if EKORG is initial.
      message 'Bitte Einkaufsorganisation wählen' TYPE 'E'.
    endif.
    AUTHORITY-CHECK OBJECT 'M_BEST_EKO'
             ID 'ACTVT' FIELD '03'
             ID 'EKORG' FIELD ?????.
    IF sy-subrc = 4.
      MESSAGE 'Keine Berechtigung für EKORG  sy-subrc 4'  TYPE 'E'.
    ENDIF.

    hi,
    which event do you use for your coding ?
    it must be AT SELECTION-SCREEN
    A.

  • FD32 restrict users based on a schedule of authority

    All,
    I have a requirement within FD32 to restrict users based on a schedule of authority.  For example, only allowing credit limits to be changed in a user's authorized dollar range.  I was able to restrict the Credit Limit field (change/display) by using field groups, but I have an extension of the requirement for a schedule of authority.  Can someone please  help?

    You could use F_KNA1_BED, I guess - but that would mean excessive maintenance of both: BEGRU and customers, if I understood your scenario correctly and you really, really want to break that down to single customers.
    It would be even more excessive to utilize F_KNA1_GRP. Can be done, though.
    Both solutions are completely un-elegant and I am not happy proposing them. But I am curious as a cat: what exactly is the business process expecting you to restrict access to customer data down to a single customer?
    Edited by: Mylène Dorias on Mar 24, 2010 8:39 AM

  • In MVT 545 Check table XEKPO: entry 00000 0000   does not exist

    Hello
    While using the mvt type 545 with MB1C (Included in mvt)
    I am getting the following error what could be the possible reason
    Check table XEKPO: entry 00000 0000   does not exist
        Message no. M7001
    Diagnosis
        In table XEKPO the entry 00000 0000   is missing.
    Regards
    Niti Narayan Chaturvedi

    This is a authomatic mvt, But I am using a manual route to excecute, is this causing problem
    Where is the check for the automatic mvt
    Niti Narayan

  • Error:Check table 158:entry COR6N doesn't exist

    Dear PP Gurus
    When i am trying to do confirmation( COR6N)  an error is coming  "<b>Check table 158:entry COR6N doesn't exist</b>".
    Can u pls suggest why this is happening...........???
    Regards
    Ragesh

    Dear Padosh/Murugesh
    By mistake...i had given full points...
    Mr Pradosh only first suggested that sol'n, so Murugesh i have given to u vry helpful answer
    Regards
    Ragesh
    null

  • Check table 169p: entry bal does not exist

    hi experts,
    this error (Check table 169p: entry bal does not exist) is comming while my end user is doing goods receit in t code MIGO .bal is the name of the com code and business area
    thanks&regards
    surya varma

    Hi,
    The message is issued as you have not yet maintained the parameters for invoice verification in company code BAL
    Please use transaction OMRG to maintain table t169P.
    Best Regards,
    Arminda Jack

  • Check table 169P: entry 9849   does not exist

    Check table 169P: entry 9849   does not exist
    Message no. M7001
    Diagnosis
    In table 169P the entry 9849   is missing.
    Procedure
    Make sure your entries are correct.
    If table  has not been maintained correctly, please inform your systems administrator.
    Plese tell me how to rectify this error
    regards
    Satish

    Hi,
    Please use transaction OMRG to maintain table t169P. Apparently you are
    missing an entry for company code 9849.
    Please assign points if it useful.
    Regards
    Ravinagh Boni.

  • Check table 150F: entry  O  does not exist

    Hi,
    when i am doing 102 (previous period) for a subcontracting order error message is coming
    Error: Check table 150F: entry  O  does not exist
    { Long text:
    Check table 150F: entry  O  does not exist
    Message no. M7001
    Diagnosis
    In table 150F the entry  O  is missing.
    Procedure
    Make sure your entries are correct.
    If table  has not been maintained correctly, please inform your systems administrator.}
    Where we maintain in customizing entry for this table ?

    Hi,
    To enter the special stock indicator O in the table go to SE16 and give input as 150F, click on contonue. Give O as special stock indicator. Thanking you.

  • AUTHORITY CHECK TABLE

    Hi Experts,
    Just wanted to know from which table we can retrieve the value of ID ACTVT as 02 mentioned in statement below??
    AUTHORITY-CHECK OBJECT 'F_SPFLI'
                            ID 'ACTVT'  FIELD '02'
                            ID 'NAME' FIELD SPFLI-CARRID
                            ID 'CITY'   DUMMY.
    Thanks n Regards,
    Harkamal

    Hi,
    Go to SU21. This is where you can create your own authority object and also view the existing.
    Select the module or area where this authority object belongs.
    Open the authority object and click on permitted authorities, here u'll find a list of the values of ACTVT field. The documentation will also explain how to use the authority object.
    Regards
    Subramanian

Maybe you are looking for

  • Latest Leopard and LR 1.3.1 back-up issue. Thoughts please.

    Hi All, Running the latest Leopard and LR 1.3.1. Transition to 1.3.1 went smoothly (or so it seams) But backing-up seems to be an issue. Upon opening LR and trying to back-up, I get a dialog box that states "Lightroom is unable to back-up catalog, do

  • AUSST not installing updates that Adobe Server does

    We have AUSST 3 installed on an internal server and performed a fresh install/sync and we are using CS6. When I run RUM against it it reports "No new applicable Updates", but if I remove the AdobeUpdater.Overrides and check against the Adobe server,

  • My Mini only recognizes half of the installed RAM

    Hi! My Mini was originally delivered with 512 MB RAM. After a few weeks the Mac only used one of the memory chips and had only sporadic contact with the other. At some point I had to realize that my Mac was no good and only had 256 MB RAM available.

  • Cut and paste feature

    Anyone know if the iPhone will have text selection, copy and paste feature? This is one of the view features I miss from my old phone. If I want to email or text a web address its pretty hard to do with a lot of web addresses. Just curious.

  • Convert PDF to TXT

    Hi all, Can we able to convert PDF file to TXT file using ABAP? Thanks aRs