How to avoid authorization checks while debugging

Hi,
Can anyone let me to know how to avoid authorization checks while debugging
for a standard transaction?
-B S B

Hello BSB,
To start the debug put /hs will start the system debug.
Then place the break points aat STATEMENT -- MESSAGE and F8
So now the system will stop at the point where it throwing the error message change the value of SY-SUBRC to 0 from 4.
Regards,
Vasanth

Similar Messages

  • How to deactivate authorization check?

    hi ,
    how to deactivate  Authorization check?
    thanks.
    reddy.

    Use switch T77S0 to control the use of an authorization object during the authorization check.
    If value is 0 authorization check is inactive, if value is 1 inactive. See example below.
    AUTSW     ADAYS            15     HR: tolerance time for authorization check
    AUTSW     APPRO     0     HR: Test procedures
    AUTSW     DFCON     1     HR: Default Position (Context)
    AUTSW     INCON     0     HR: Master Data (Context)
    AUTSW     NNCON     0     HR:Customer-Specific Authorization Check (Context)
    AUTSW     NNNNN     0     HR: Customer-specific authorization check
    AUTSW     ORGIN     1     HR: Master data
    AUTSW     ORGPD     0     HR: Structural authorization check
    AUTSW     ORGXX     0     HR: Master data - Extended check
    AUTSW     PERNR     1     HR: Master data - Personnel number check
    AUTSW     VACAU          Activate Auths for Maintaining Vacancies (PBAY)
    AUTSW     XXCON     0     HR: Master Data - Enhanced Check (Context)
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/84/49ba3b3bf00152e10000000a114084/frameset.htm
    Regards,
    David

  • How to avoid extended checks for the events used in ALV.

    Hii,
    I hav delvpd an alv report in which i hav used events for which i haven't declared PERFORM for the same. but when i had checkd in the Extended program checks it says that form interface is not called directly.. check for dynamic PERFORMS...
    how to avoid this error in the extended check program.

    Another option can be calling the routine from the program itself with a check that never satisfies.
    like:
    if 1 = 2.
    perform top_of_page.
    endif.
    form top_of_page.
    endform.
    Regards,
    Joy.

  • How to avoid duplicate data while inserting from sample.dat file to table

    Hi Guys,
    We have issue with duplicate data in flat file while loading data from sample.dat file to table. How to avoid duplicate data in control file.
    Can any one help me on this.
    Thanks in advance!
    Regards,
    LKR

    No, a control file will not remove duplicate data.
    You would be better to use an external table and then remove duplicate data using SQL as you query the data to insert it to your destination table.

  • How to see refcursor data while debugging

    Dear Guru,
    I have below procedure.
    create or replace
    PROCEDURE Main_Proc
    RS_1 OUT TMRS_UTIL_PKG.RefCsr
    AS
    L_Excecution_Status NUMBER;
    L_Sql_Code VARCHAR2(1000);
    L_Sql_Error VARCHAR2(1000);
    a NUMBER;
    BEGIN
    -- Initialize Execution Status.
    G_Excecution_Status := 0;
    G_Sql_Code := 'C';
    G_Sql_Error := 'E';
    DBMS_OUTPUT.PUT_LINE('Entered in Main_Proc.. ');
    -- Return Resultset
    OPEN RS_1 FOR
    SELECT 'This output is from Main_Proc' AS Main_Proc_OP
    FROM DUAL;
    DBMS_OUTPUT.PUT_LINE('Left Main_Proc.. ');
    G_Excecution_Status := L_Excecution_Status;
    G_Sql_Code := L_Sql_Code;
    G_Sql_Error := L_Sql_Error;
    EXCEPTION WHEN OTHERS THEN
    G_Excecution_Status := 1;
    G_Sql_Code := SQLCODE;
    G_Sql_Error := 'In Main_Proc SP => '||SQLERRM;
    END Main_Proc;
    I just want to see output contain in RS1.
    I am using SQL Developer 3.0
    Could anybody help me.
    Regards
    Sanjeev

    When running a procedure with output cursor variable(s) the result is in structured output window (modulo bugs exposed in EA1).
    You are asking how to view cursor data during debuging, however, and support of complex datatypes, cursor including, is limited. On the other hand, I can imagine that during debuging session you would step inside the calling procedure, where you would extract cursor data row-by-row into some other data structures. The idea I fail to understand is why somebody is not satisfied watching those data structures themselves. As Java developer, I have never peeked into the content of ResultSet (which is essentially client-side cursor in Java)!

  • How to do authorization check

    Hi, I am new for EP and study it using EP200. I installed EP and connected it to my IDES ECC 6.0
    Now, I configured self registration When I click Register Now... , I got the error message "You are not authorized to perform this action. Contact your system administrator."
    I want to know if htere's way to do authorization check like /nsu53?
    Thanks
    Fuyi

    Check the below option
    System Administration --> System Configuration --> UME Configuration --> User Admin UI
    --> Self Registration
    Enable Self Registration For Guest Users.
    Hope this may work for u.
    Mr.Chowdary

  • How to avoid Duplicate Records  while joining two tables

    Hi,
    I am trying to join three tables, basically two tables are same one is like history table, so I wrote a query like
    select
    e.id,
    e.seqNo,
    e.name,
    d.resDate,
    d.details
    from employees e,
    ((select * from dept)union(select * from dept_hist)) d
    join on d.id=e.id and e.seqno=d.seqno
    but this returing duplicate records.
    Could anyone please tell me how to avoid duplicate records of this query.

    Actually it is like if the record is processed it will be moved to hist table, so both table will not have same records and I need the record from both the tables so i have done the union of both the tables, so d will have the union of both records.
    But I am getting duplicate records if even I am distinct.

  • Authorization Check while TECO PM ORDER

    While performing action TECO of PM order, system check the authorization of Mtc. Plant of Equipment entered in the  PM Order in place of Mts. plant authorization of PM Order it self. If during the period of PM order creation to TECO PM order the equipment moved from one Mtc. Plant to other it create problem. My requirment is that system should check the authorization of Mtc. Plant of PM Order copied from equipment while creation of order.

    Sanjay,
    Plant Maintenance is having authorization objects I_IWERK and I_SWERK which checks the maintenance planning plant and maintenance plant respectively with reference to T-Codes (For ex: IW32) which you can check for particular user and can make changes with this authorization object in user profile.
    But first fo all I would like to clarify that in Plant Maintenance, whenever you are moving the equipment from one plant to another plant, it is always advisable to complete all the pending order and notifications prior to dismantling of the equipment and it is pratical too as it is obvious that maintenance team would complete all its pending work before shifting any equipment.
    So I would guide that before shifting any equipment in SAP please complete all its orders and then dismantle and then re-install equipment to other plant.
    Hope this helps.
    Chin2.

  • How to modify authorization check for tcode pa30

    Hi all,
    To execute pa30 tcode the auth object p_orgin is required.
    The auth object p_orgin contains the following fields:
    AUTHC Authorization level
    INFTY Infotype
    PERSA Personnel Area
    PERSG Employee Group
    PERSK Employee Subgroup
    SUBTY Subtype
    VDSK1 Organizational Key
    Our requirement is to add another field to the above object ie P_ORGIN
    BTRTL Personnel Subarea, so that the restriction can be imposed on sub area basis without writing an additional z report or adding a z table.
    I have added the same to P_ORGIN via su24 but the it is not working.
    Pl guide if it is possible to do so and how.
    Thanks in advance.
    Regards

    Hi Manas,
    Not possible as of now  though it is an intutive idea from your side )
    This is because when introducing authority check using function modules Authority_Check a lot of times you would also give the value that should be present in user profile in order to validate the check .Now I dont think even with present levels of AI it is possible to do that because no system will be able to dynamically guage what exactly is in the mind of the user.
    And additionally P_ORIGIN will be actually used in several reports where requirements will be different!!
    Regards.
    Ruchit.

  • How to avoid to check if a column value is NULL?

    Hi, I'm a newbee in Oracle.
    I have a procedure like this:
    create or replace
    PROCEDURE get_employee
         v_first_name IN VARCHAR2 DEFAULT NULL ,
         v_middle_name IN VARCHAR2 DEFAULT NULL ,
         v_last_name IN VARCHAR2 DEFAULT NULL ,
    To select rows with matching multiple column values, I can simply do this:
    SELECT *
    FROM employee
    WHERE first_name = v_first_name
    AND middle_name = v_middle_name
    AND last_name = v_last_name
    The problem is v_middle_name can be NULL. This means,
    I need check if v_middle_name is NULL, and if it is, I need use "IS NULL" instead, like this:
    SELECT *
    FROM employee
    WHERE first_name = v_first_name
    AND middle_name IS NULL
    AND last_name = v_last_name
    It seems very cumbersome to do a check for each column that can be null.
    Is there a way that I do not need to do a check for every column?
    or is it better to avoid having NULL values in those columns (and replace them with, say a space) ?
    Thanks in advance.
    Simon

    Normally, you would do something like
    SELECT *
      FROM employee
    WHERE first_name = NVL( v_first_name, first_name )
       AND middle_name = NVL(v_middle_name, middle_name )
       AND last_name = NVL(v_last_name, last_name )Of course, if you can ensure that NULL data is not allowed (without creating phony non-NULL data), that is a good thing. In most systems, for example, it is probably reasonable to require a non-NULL first and last name. But you almost certainly cannot require a middle name.
    Justin

  • How to avoid Priner prompt while calling smartform

    Hi All,
    I am calling smartform FM from my program. I am passing following settings in Output-Options and Control-Parameters:
    wa_outputoptions-tddest = 'LP01'. "Printer name
    wa_outputoptions-tdnewid = 'X'. "New request
    wa_controlpara-device = 'PRINTER'. "Device
    wa_controlpara-no_dialog = 'X'. "No dialog
    Even after these settings I am getting prompt which asks printer name and other details.
    Please tell me how I can avoid the prompt which asks printer name and other settings such as new spool request and print immediately.
    Thanks in Advance.
    Regards,
    Vijay

    hi,
    try this....
    DATA :  control TYPE ssfctrlop.
    control-no_dialog = ''.
    control-preview   = ''.
    control-no_open   = 'X'.
    control-no_close  = 'X'.
    CALL FUNCTION 'SSF_OPEN'
    EXPORTING
      ARCHIVE_PARAMETERS       =
      USER_SETTINGS            = 'X'
      MAIL_SENDER              =
      MAIL_RECIPIENT           =
      MAIL_APPL_OBJ            =
      OUTPUT_OPTIONS           =
    control_parameters       =<b> control</b>
    IMPORTING
      JOB_OUTPUT_OPTIONS       =
    EXCEPTIONS
    formatting_error         = 1
    internal_error           = 2
    send_error               = 3
    user_canceled            = 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.

  • Xcode how to inspect a value while debugging

    Hi all,
    I'm new to Apple development, and was playing around with the debugging feature in xcode lastnight. All the features look great except i cannot find a way to inspect a value on a highlighted text of code(hopefully this make sense). i know i can inspect values that are held in an object (after the object is created), but what if i want to inspect a value that is not going to be held in an object? i.e. in Eclipse (java development), while in a break point, i can highlight a piece of code (e.g. new Date()) and then inspect its value. not sure if there is a way to do the same thing in xcode 3.
    thanks heaps, Jess

    I understood the question, I just didn't understand why a person with healthy eyes would ask it in the first place.
    u can aks sum1 eles tho lol gu luk

  • How to avoid focus issue while navigating via Browser Back button

    Hi
    I'm facing some problem in setting focus on Buttons.
    Please refer application: http://apex.oracle.com/pls/otn/f?p=47869:2
    login credentials:
    Workspace: vsanthanam
    user: vijay
    pswd: apex_demo
    In this application, i have 2 pages.
    Page#2 has Submit button
    Page#3 has Cancel button
    Both buttons are HTML based and can be accessed using access Key ALT + s and ALT + c.
    The problem is:
    When i go back to previous page (pgid#2) of the application using IE Browser's Back Button from pgid#3,
    because of onFocus event set in Submit button, control comes back to pgid#3.
    Is there any possible way to set the focus to other items. so that whenever IE brower back button pressed, application would remain in
    page#2.
    Approaches i took:
    If we use onclick, instead of onfocus then again the problem remains since we have to have onfocus = "this.click();" to incorporate Accesskey features.
    Another way is onKeyup event. if we use onKeyup, we can avoid this browser back issue, but vanishes access key features.
    Any pointers on this would be of great help.
    Many Thanks
    --Vijay
    Please NOTE: I intentionally created two buttons in each page. This is required to have HTML buttons with access key features,
    otherwise application gives some flaws in HTML-accesskey.

    Thanks a ton Andy!
    This is what exactly we require, to change the focus to other items when we move away from page.
    application works perfect now.
    Thank you once again for your handy solutions.
    --Vijay                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Avoid Tax Code while doing MIRO

    Hi,
    MIRO insists on a tax code. PO has no tax code.
    This must be due to some configuration. Can this configuration be removed so MIRO can be done without any tax code?
    The company does not want SAP to check for tax on purchases.
    I have removed the settings in GR/IR GL account master data and hence it is not the reason.
    Please provide some inputs,it will be a great help if anyone can respond to this..
    Thanks
    Kishore

    Hi,
    If company doesnot want tax in fi make all l account as posting without tax allowed. Also you can define 0% tax so that tax line item will not get generated in SAP.
    Regards

  • HT203200 Anyone figure out how to avoid "error -50" while downloading tv shows?  (windows 7)

    Like the header says...

    I'm seeing this on OS X. I wonder if iTunes is getting flakier in advance of some iCloud announcement.
    This didn't help: http://support.apple.com/kb/TS1583
    Update: I switched from my default DNS provider, CenturyLink, to GoogleDNS. It worked! I wonder if this is related to the IPv6 transition. I put a blog post up on it: http://tech.kateva.org/2012/06/itunes-store-50-try-googledns.html

Maybe you are looking for

  • Boot from 10.4.8 Install CD causes kernel panic

    I spent 3 months convincing my boss that I would not settle for anything but a Mac for a new laptop and that I would rather use my old beat up G4 than the best Dell had to offer. My incesant begging finally worked and I got one. Not one day after tak

  • TV@nywhere Master poor video quality with 6800 GT

    I have the TV@nywhere master (8606-020) and it was working fin with my NVIDIA Geforce 6800 GT OC (256MB) but when I updated the driver to their latest version, every time I would go full-screen in MSIPVR it would make lines all through the video.  I

  • MYSQL + Oracle Forms

    I am an experienced Oracle developer who has only worked with Oracle products and I have never developed any application for the web. Question: Can I develop a application using Oracle Forms on my home pc and have it work on my web server who uses a

  • JDev hangs when creating copy rule

    Hi, I try to build a simple BPEL prototyp using beta3. Sometimes, when I create a copy rule, jdev just hangs and I have to kill it via task manager (win xp). I suppose this only happens with quite "long" variable names in the expression builder? Has

  • Why can't I point the Video Importer to a specific USB drive directory

    When I (am force) to use the Video Importer (because my clips are on a USB drive) it seems to find and select all videos on this USB drive.  This is not what I want.  I want to browse to the directory (on the USB drive) that I created.  It contains t