Which routine checks the authorization in ME21N

My  user was set with M_BEST_BSART. However, even though it prompt to User no authorization for the selected PO document type, it allow User to continue the entry.
The end result was a PO created but the User cannot delete it because it had no authorization for hprithe document type.
I had tried to find the routine that checks the authorization of the po document type but i still cannot find it.
Can someone me to identify the routine that checked it?
Thanks
Bye

I have not done that before.
How do I do it?

Similar Messages

  • How to check the authorization based on webdynpro application

    Hi Experts,
    I was asked to develop a webdynpro component with two webdynpro applications, one each for internal party and external party to be used.
    So how to restrict or check the authorization based on webdynpro application used?
    Do we have any authorization object like S_TCODE for webdynpro application in roles and authorizations?
    Please enlighten me.
    Regards,
    Ajay Matam

    You can assign an authorization object to the Web Dynpro Application within SICF -
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/61/d93822a88e15489a9391f309767366/frameset.htm
    Of course you could also programatically check which web dynpro application is being used from within the component and then call a custom auth-check. However maintain at the SICF is probably better for visibilty and long term maintenance costs.

  • How can i check the authorizations for a query in sap bw 3.1c

    Hi,
    While running one query i am getting warning message is  : you do not have authorization to read object ZVERSION  and few column results also not displaying.
    I would like to check is there any authorization check for this query and could you explain how we use the authorizations in our BW.
    Thanks in advance....

    if you execute su53, the authorization check failed cannot be displayed for reports. because you are executing query in BEx is it?
    for this you can trace the userid that executing query to check the authorization check failed. Go to st01 and find out the authorization check failed there.
    And you can find in RSRT too. i am not sure that.
    One more option is there to check the authorization with help of matrix that you prepared for assigning access/authorization to the users.
    Hope this would help you.

  • Is there a tool which can check the version of latest version available?

    I need a tool which can check the version of latest firmware available for UCS servers. The point is avoid running old firmwares.
    If the tool can download the firmware that's like cherry on the cake.

    Hi Marsbar,
    =COUNTIF(range,"done") will return the number of cells in the specified range containing only the string "done"
    If the range is a single column, (eg. column E):
    =COUNTIF(E,"done")
    The formula is in cell A1 of the table, but may be placed anywhere (except in column E, unless it is in a Header row or Footer row).
    Regards,
    Barry

  • Ehancement for to check the validations in ME21n,ME22n,ME28,ME29n

    Hi experts...
    I have one requirement in Ehancement for to check the validations in ME21n,ME22n,ME28,ME29n...
    If the PO document date is after 31.12.2010 and vendor Group 1800 then check the Inco-terms with "SET" values whether the user entered value fals with in the "SET" value, if so then allow to save the PO else Else system should read the "SET" values and suggest user to select correct Inco terms.
    Example when user enter wrong Inco-Terms then system shoud give Error Message Please Select Inco-terms CPT or DAP or FCA..
    Can any body plz suggest me the user exit or Is it possible through the enhancement Framework...
    plz help me how to proceedd??
    Thanks & Regards,
    Veena.
    Moderator Message: Spec-dumping is not allowed.
    Edited by: kishan P on Jan 3, 2011 11:00 AM

    Hi Veena,
    To find a BADI for a given tcode follow the below steps.
    1. Go to the TCode.
    2. Menu Item System -> Status.
    3. Double click on the transaction Name (For ME21N double click on ME21N).
    4. Check the Package (e.g. ME)
    5. Go to TCode SE80
    6. In the drop down choose Package and type the Package Name (e.g. ME). Dont forget to Hit Enter or display.
    7. Object Name Enhancements -> Business Add-ins (Def.) (You will see all the BADI's available here ).
    In your case, you need BADI : ME_BAPI_PO_CUST.
    Go to SE19 to implement the BADI.
    If you put your conditions in Create Purchase Order(ME21N), you will not need to add them in Release PO(ME28N) since the conditions will be checked when PO is created.
    Regards,
    Jovito.

  • I downloaded an album but some of the songs won't play - says my computer isn't authorized to play the song. I checked the authorization, and this computer is authorized. How do I fix this?

    I downloaded an album but some of the songs won't play - says my computer isn't authorized to play the song. I checked the authorization, and this computer is authorized. How do I fix this?

    If just some of the tracks on the album are doing that, that suggests those tracks are damaged.
    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • Where we check the authorization group & authorization object?

    Hi all,
    i have a  std program & tcode  like fb03 . now i want to know the authorization group & authorization object. so where we will check..?
    help me.
    thanks.
    Vipin

    Hi,
    Use transaction SU21 & SU22 for Auth Objects & Class

  • Do we have role which display all the authorizations in portal

    HI,
      Can any body tell me whether is there any role which display all authorizations in the protal.?
    If not can u tell me how to display all authorizations in the portal in detail.
    Thanks in advance
    Krishna.

    Hi,
    There are around 40+ Standard roles in EP7.  If you logon with J2ee_admin you can see all the roles attached to a user under user Management Tab.
    Regards,
    -Vijay

  • P_ABAP not skipping the authorization check

    Hi All,
    I would require your assistance on the following issue at earliest.
    HR key users are executing the HR standard reports by using the t-code S_PH0_48000509 Adhoc query and also with t-code SQ01. when they executing the reports, system has been checking their authorizations while executing the report and this execution time of report taking longer and also throwing a ABAP DUMP.
    Hence, I gone through some blogs and also sap help about the auth object P_ABAP, as stated in the help I have provide an access to the user
    with option 2 under
    P_ABAP (HR: Reporting) - Authorizations for Human Resources - SAP Library
    HR InfoSets for InfoSet Query (SAP Library - InfoSet Query)
    But system still checking the authorization against the user in both foreground and background for above t-codes. Please assist on the same
    Thanking you,
    Kotesh

    Hi,
    The P_ABAP object works with programs, in the transaction you mention, the program getting the final result is not the same as the one behing the transaction for the AdHoc query... The programs for the queries are generated because the user has to make selection for input and output.
    So from there you cannot use this simplifcation object. But if the users starts already saved queries (and not infoset), then you could find and use that specific report.
    I tried and traced myself:
    AUTH       
    P_ABAP
    RC=0  REPID=!QZZ/SAPQUERY/H0MUYLAE08141045;COARS=2;type=TR;name=S_PH0_48000509;
    AUTH       
    P_ABAP
    RC=0  REPID=SAPDBPNP;COARS=2;type=TR;name=S_PH0_48000509;
    The name of the report is generated and always starts with something like AQZZ* or !QZZ*
    But this is because they work from the Infoset.
    If you start from the SQ01 and the queries:
    AUTH       
    P_ABAP
    RC=0  REPID=AQZZ/SAPQUERY/H0CM_02========= ;COARS=2;type=TR;name=SQ01;
    AUTH       
    P_ABAP
    RC=0  REPID=SAPDBPNP;COARS=2;type=TR;name=SQ01;
    There the name of the query is fixed because the structure of the selection, the fileds  are already defined and fixed. You only choose the values to be processed.
    The name is no more generic but always the same AQZZ/SAPQUERY/H0CM_02 for:
    AQZZ  this is for a query from infoset /SAPQUERY/H0 on query CM_02
    The second line on the trace, is very dangerous to use because this would skip all HR controls in PNP programs, meaning almost all HR programs... So I do not recommand that option.
    Best regards,
    Jonathan

  • Authorizations in CRM 2007 - How to check missing authorization objects?

    Hi,
    In our project we are currently busy with the set up of authorizations.
    I did create the necessary PFCG and Business roles.
    For the PFCG roles, I did create all of them by copy of the standard SAP_CRM_UIU_FRAMEWORK so that the user can  access to the web layout.
    Now I need to give authorizations for other CRM objects, my question is: How can I see which objects are missing to displaying or creating activities in the new WEB Layout?
    In the old days we used the SU53 to check the authorization objects that were missing, how can we do it now in this new release? I tried it and didn't worked out.
    Thx
    Regards
    Hugo

    Hi,
    For report CRMD_UI_ROLE_PREPARE you have to input a business role - not a PFCG role. Are you doing that?
    Are you getting no results at all in ST01 or are all results just with return code 0?
    You have to remember to set a filter for your user in ST01 before activating the trace. Another thing to check is if you are using several application servers. I would imagine the trace has to be activated on the same application server as the Web UI. You can change the application sever in SM51.
    /Anders

  • Check The Job Status

    Hi SAPsimhas,
    My requirement is as below.
    I will loop through an internal table and create some files with background processing method.(JOB_OPEN,SUBMIT & JOB_CLOSE)
    Now once this job is triggered I need to check the status for that job after maximum 10 mins. Its not neccessary that each job will take 10 mins. only,It can be finished in 2 mins also.
    Once the job is finished then I will XCOM that file.
    So my question is how to code such timer which will check the job status for that job? I have a FM BP_JOB_READ which returns the job status.
    Reply is highly appriciated.

    Try this way
      do.
        call function 'SHOW_JOBSTATE'
          exporting
            jobcount         = p_jobc
            jobname          = p_jobn
          importing
            aborted          = v_aborted
            finished         = v_finished
            ready            = v_ready
            running          = v_running
            scheduled        = v_scheduled
          exceptions
            jobcount_missing = 1
            jobname_missing  = 2
            job_notex        = 3
            others           = 4.
        if v_aborted eq 'X'.
          exit.
        endif.
        if v_finished eq 'X'.
          select single * from tbtcp into wa_tbtcp1
                     where jobname eq p_jobn
                       and jobcount eq p_jobc.
          if sy-subrc eq 0.
            move wa_tbtcp1-listident to p_spono.
          endif.
          exit.
        endif.
        if v_count le 10.
          call function 'ENQUE_SLEEP'
            exporting
              seconds = 60.
          v_count = v_count + 1.
        endif.
      enddo.

  • How to add Abap program in process chain to check the another process chain status and do accordingly

    Hello All,
    My requirement is related to process chain 1 . I have one process chain in that i have to  put abap program in middle of that chain . This program will check the status of one another process chain 2 status ( whether it was completed or it is going on). if it is completed then continue the Process chain 1  to further activity else wait to complete Process chain 2 .
    Here i have to use process chain 2 as a parameter.
    Kindly provide me solution .
    Regards
    Saurabh

    Hi Saurabh,
    You need to create ABAP program in which you check the values for required process chain in
    following table
    RSPCLOGCHAIN (Feilds ANALYZED_STATUS LOG_ID)
    Depend on values you can trigger next process or you can wait unitil this process chain complete.you need to check status from table using ABAP.
    If you are not aware about how to write ABAP program then take help from ABAP Team.
    Regards,
    Ganesh Bothe

  • Check users authorizations and role

    Hello!
    How can I check the authorizations of
    Web Dynpro application users and also his role.
    Thanks
    rgds
    sas

    HI,
    Pl go through Following link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/web%20dynpro%20security.pdf
    https://help.sap.com/javadocs/index.html
    use the method isMemberOfRole.
    Regards
    Ayyapparaj

  • Conc Request to check the functionality

    Hello ,
    Is there any conc request which checks out the functionality of the whole application(All the implemented modules) post patching?
    I believe i heard about this conc request in a webinar by oracle corp.
    Regards,
    SRK

    After applying family packs for any module , is there any conc request which will check the functionality of the application?No.
    for e.g after applying the FIN.G family pack, we do have some test cases which will ensure the functionality of the application.we do test each and every test case manually.is there any conc request available in 11.5.10.2 to check the application's functionality automatically?This testing has to be done by the Functional Analysts.
    You could also run the diagnostics scripts -- E-Business Suite Diagnostics 11i Test Catalog [ID 179661.1].
    Thanks,
    Hussein

  • Checking the master data automatically before the payroll run...

    Hi Friends,
    Can anyone tell me that, is it possible to check the master data automatically before the payroll run.
    If any user forget to maintain any important info-type ( like Cost Distribution ) in time of master data maintenance, SAP allow the Payroll system to run the payroll for that employee. Only in time of account posting the user is able to know the problem and due to rectify the problem they have to delete the payroll.
    So, I therefore wants to know that is there any check point or can customized any such things, which will check the necessary info-types before running payroll and generate an error massage about the missing info-type and also skip the processing for that person.
    With regards,
    Diptendu

    have
    a look at this report
    but before that make sure wht are the mandatory infotypes that are maintained to the employee so that u can come to an idea what are infotypes that are maintained for the memployee
    se 38   HTWLINFO  read the documentation of the is report mmight be useful

Maybe you are looking for

  • .pdfs in iBooks?

    Hi, Recently purchased an iPhone (finally!) and am loving it, but there's one thing I've been trying to do that I haven't gotten to work. The textbook for a class I'm taking is available in electronic format as a .pdf. I downloaded it and can open it

  • How to add custom start options in VS package

    I need to add custom start options in VS package. Example: Instead of showing "start", need to provide options like "Start in Firefox", "Start in Chrome" and handle their events on our own. Any references would be helpful Thanks in advance

  • Why do we call Enterprise Manger 10.2.0.3 "EM 10g R3" ?

    Why do we call Enterprise Manger 10.2.0.3 "EM 10g R3" ? I think it is ok "EM 10g R2" is Enterprise Manager 10.2.0.x. and "EM 10g R3" is Enterprise Manager 10.3.0.x. Your opinion?

  • I have tried to fix the diabled apple id issue... reset pw, updated all ios, logged out and back in.... help

    I need to reset my apple id - i have followed all of the directions and spent 2 hours ... what now? Google?

  • What it does

    Q1. getContentPane().setLayout( new BoxLayout( getContentPane(), BoxLayout.Y_AXIS ) );Look , in this code there are 2 times getContentPane() has been called. who refers to whom ? the code extends a JFrame. Q2. what is the job of Glue in BOX class. do