How to deny users to call standard transaction variant

Hello!
We have created a variant transaction (ZME52N) for ME52N, and do not
want give authorization to the transaction ME52N for end users.
We unchecked the authorization check in the SE97 for ZME52N-ME52N pair so the authorization check for ME52N does not take place in the function module AUTHORITY_CHECK_TCODE.
However, we noticed that both calling and called transaction is ME52N in the the function module AUTHORITY_CHECK_TCODE, when we executed the variant transaction ZME52N, and obviously the auth check failed.
Is there a way to lock / disable the ME52N instead of uncheck the authorization ?
Thanks in advance!
Regars,
Daniel

>
Daniel Kaoro Kobashigawa wrote:
> But this is the point. He wants to disable ME52N for everybody and use the ZME52N instead of ME52N.
Well, I read your question different, you state "We have created a variant transaction (ZME52N) for ME52N, and do not want give authorization to the transaction ME52N for end users. "  End users for me is non-technical support for SAP.  ME52N will not work for user IDs with SAP_ALL and these are not your typical users.  If this is your goal then SM01 is what you want.

Similar Messages

  • How to create F4 for the standard transaction

    Hi all ,
    How to create F4 for the standard transaction for a particular field .
    Bye

    Santosh,
        You can create F4 values for a field in a standard Transaction .
    1. First search for a standard search help meeting your requirement .
    2. If you don't find one, create your own custom (z) serach help .
    ( 1 is preferable )
    After that, include that serch help to the standard field in the transaction .
    For this u need to go to the screen
    ( F1->F9-> screen-> Field )
    Click on the property of the field and include the search help .
    You ll require the access key from the basisi guys as u r changing standard .
    Hope it helps,
    ~ laxmi
    Reward for helpful answers

  • Standard transaction variant  ZMSC2 for  transaction MSC2

    Hi
    I have created a standard transaction variant  ZMSC2 for  transaction MSC2. When i do the recording for MSC2... I dont see the transaction variant being called..
    Please suggest

    hi
    any suggetions

  • Can we call standard transaction from bsp

    Hi,
    Can anyone tell me how to call a standard transaction(va01) from bsp.
    Points will be awarded,
    Ugandhar.

    Hello,
    check out this coding in a new bsp page and give it a try in your system landscape. It creates an sap short cut file with the .sap extension writes dynamically to the server cache and get the url back.
    Regards, Bernd
    Layout:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Start SAP GUI Transaction via BSP" >
        <htmlb:form>
          <htmlb:textView text   = "Start SAP GUI Transaction via BSP"
                          design = "header1" />
          <htmlb:textView layout = "paragraph"
                          text   = "Fill in fields and press the button to create the link." />
          <table width=200>
          <tr>
          <td>
          <htmlb:label for  = "client"
                       text = "Client" />
          </td>
          <td>
          <htmlb:inputField id    = "client"
                            value = "<%= client %>" />
          </td>
          </tr>
          <tr>
          <td>
          <htmlb:label for  = "sysid"
                       text = "SystemID" />
          </td>
          <td>
          <htmlb:inputField id    = "sysid"
                            value = "<%= sysid %>" />
          </td>
          </tr>
          <tr>
          <td>
          <htmlb:label for  = "userid"
                       text = "UserID" />
          </td>
          <td>
          <htmlb:inputField id    = "userid"
                            value = "<%= userid %>" />
          </td>
          </tr>
          <tr>
          <td>
          <htmlb:label for  = "transactioncode"
                       text = "Transaction Code" />
          </td>
          <td>
          <htmlb:inputField id    = "transactioncode"
                            value = "<%= transactioncode %>" />
          </td>
          </tr>
          <tr>
          <td colspan="2">
          <htmlb:button id      = "myButton"
                        text    = "Create Link to start SAP Transaction"
                        onClick = "create_mime" />
          </td>
          </tr>
          </table>
          <%
      if display_url is not initial.
          %>
          <htmlb:textView layout = "paragraph"
                          text   = "Click the link to start SAP GUI Transaction." />
          <htmlb:link id        = "mylink"
                      reference = "<%= display_url %>"
                      text      = "Link to Start SAP Transaction" />
          <%
      endif.
          %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Page Atributes:
    file_content     TYPE     STRING
    guid     TYPE     GUID_32
    host     TYPE     STRING
    isolangu     TYPE     T002-LAISO
    page_name     TYPE     STRING
    parameters     TYPE     TIHTTPNVP
    port     TYPE     STRING
    sapworkdir     TYPE     SDOK_CHTRD
    sysid     TYPE     SYSYSID
    transactioncode     TYPE     TCODE
    userid     TYPE     XUBNAME
    OnInputProcessing:
    * event handler for checking and processing user input and
    * for defining navigation
    * event handler for data retrieval
      event = cl_htmlb_manager=>get_event( runtime->server->request ).
      IF event->name = 'button' AND event->event_type = 'click'.
        button_event ?= event.
        IF button_event->server_event NE 'create_mime'.
          RETURN.
        ENDIF.
    * get users workdir
        CALL FUNCTION 'IW_C_GET_SAPWORKDIR'
          IMPORTING
            sapworkdir = sapworkdir.
    * get iso language
        CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO'
          EXPORTING
            sap_code = sy-langu
          IMPORTING
            iso_code = isolangu.
        CONCATENATE
        '[System]'
        cl_abap_char_utilities=>cr_lf
        'Name='
        sysid
        cl_abap_char_utilities=>cr_lf
        'Description='
        cl_abap_char_utilities=>cr_lf
        'Client='
        client
        cl_abap_char_utilities=>cr_lf
        '[User]'
        cl_abap_char_utilities=>cr_lf
        'Name='
        userid
        cl_abap_char_utilities=>cr_lf
        'Language='
        isolangu
        cl_abap_char_utilities=>cr_lf
        'Password='
        cl_abap_char_utilities=>cr_lf
        '[Function]'
        cl_abap_char_utilities=>cr_lf
        'Title='
        cl_abap_char_utilities=>cr_lf
        'Command='
        transactioncode
        cl_abap_char_utilities=>cr_lf
        '[Configuration]'
        cl_abap_char_utilities=>cr_lf
        'WorkDir='
        sapworkdir
        cl_abap_char_utilities=>cr_lf
        '[Options]'
        cl_abap_char_utilities=>cr_lf
        'Reuse=1'
        INTO file_content.
        CREATE OBJECT cached_response TYPE cl_http_response EXPORTING add_c_msg = 1.
        cached_response->set_cdata( file_content ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/octet-stream ' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE guid
                    '.sap'
               INTO page_name.
    * get server information
        CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application      = runtime->application_url
            bsp_start_page       = page_name
            bsp_start_parameters = parameters
          IMPORTING
            abs_url              = display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
      ENDIF.

  • Hyperlink in a User Exit for standard transaction?

    Hi,
    First off, I am a novice in ABAP. After some searching on the forums, I have found out that it is possible to have hyperlinks in an ABAP Programm.
    Is it possible to change a standard transaction (through user exits) to add in this sort of functionality? For instance, a link in VA23 to jump to a remote portal? Is it possible? And if yes, could anyone give me an example of how this could be done? Links to documentation or tutorials would also help me.
    Could such a functionality be added through a button in the same transaction instead of a simple hyperlink?
    Thanks and regards
    Sameer

    The SAP.Web.UI.Controls namespace is a collection of classes that allow you to create controls in an iView. SAP NetWeaver web controls run on the server and include form controls such as buttons, input fields and tables. Because web server controls run on the server, you can programmatically control these elements. SAP NetWeaver controls are more abstract than HTML server controls or Microsoft web controls from the System.Web.UI.WebControls namespace. Their object model does not necessarily reflect HTML or Microsoft web control interfaces. SAP NetWeaver controls reflect the SAP WebDynpro UI elements. They also implement the behaviour of SAP Unified Rendering, which allows custom UI branding by selecting and modifying CSS style sheets. This namespace includes the ViewElement class, which is derived from System.Web.UI.Controls.Control and provides all SAP server controls with a common set of functionality. Therefore you can also mix SAP NetWeaver controls with Miocrosoft web controls within an iView.
    for more details on this please go through the below link.
    https://www.sdn.sap.com/irj/go/km/docs/library/dotnet/pdk%20for%20.net/developer's%20Guide%20PDK%202.0%20for%20.NET/Reference/SAP.Web.UI.Controls.html
    <b>Give points if useful</b>
    related topics
    http://help.sap.com/saphelp_crm50/helpdata/en/20/041c3a1cf1c54be10000000a114084/content.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/e7/43f438c842cc2be10000000a114084/content.htm

  • Calling standard transaction

    hello all,
    I have to call a standard transaction from Z* program. I want to use the output of the standard transaction into my program how can do this?

    hi,
    FORM call_tcode USING r_ucomm ls_selfield LIKE ls_selfield.
        CASE r_ucomm.
          WHEN '&IC1'.
            IF ls_selfield-fieldname = 'VBELN'.
              SET PARAMETER ID 'VF' FIELD ls_selfield-value.
              CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
            ENDIF.
            IF ls_selfield-fieldname = 'AUBEL'.
              SET PARAMETER ID 'BES' FIELD ls_selfield-value.
              CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
            ENDIF.
        ENDCASE.
      ENDFORM.
    regards,
    Paras

  • How to find user exit for the transaction PBAW

    Dear Freinds
                 In Recruitment ....PBAW(Job Advertisements--when we execute the
    transaction PBAW ...we can find create Advertisement...  > here will create posting
    in this screen i have to add a field  Status  . could you please let me know how
    i can add.. Is there any user exit through which i can add a field or there is any way...
    as it is standard..
    regards
    Vamsi.

    Hello Vamsi,
    This might be of help. It is a program to find user exits based on transaction codes. Just install it on your sandbox and see if it works for you.
    http://www.erpgenie.com/abap/code/abap26.htm
    KR,
    Peter Linn

  • Splitter-container calling standard transaction

    We want to create a splitter-container with two elements:
    - Left side displays a control tree (this is OK)
    - Right side displays a standard transaction such as VA03 (not sure how to do this bit)
    Any help would be greatfully received
    PeteA

    Hi,
    Here is a sample program which implements a docking container with a splitter.
    data: docking_left     type ref to cl_gui_docking_container,
          dock_sub_cont1   type ref to cl_gui_container,
          dock_sub_cont2   type ref to cl_gui_container,
          alv_bottom       type ref to cl_gui_alv_grid,
          splitter         type ref to cl_gui_splitter_container,
          html_viewer type ref to cl_gui_html_viewer.
    parameters: p_check.
    at selection-screen output.
      data: it001w type table of t001w with header line.
      data: repid type sy-repid.
      data: url(255).
      repid = sy-repid.
      if docking_left is initial.
    Create the docking and splitter containers
        create object:
             docking_left
                    exporting repid     = repid
                              dynnr     = sy-dynnr
                              side      = docking_left->dock_at_left
                              extension = 525,
             splitter
                      exporting parent = docking_left
                                rows    = 2
                                 columns = 1.
    Set the splitters.
        call method:
                    splitter->set_border
                      exporting border = space,
                    splitter->get_container
                      exporting row            = 1
                                column         = 1
                                receiving container = dock_sub_cont1,
                    splitter->set_row_height
                      exporting id             = 1
                                height         = '25',
                    splitter->get_container
                      exporting row            = 2
                                column         = 1
                                receiving container = dock_sub_cont2.
    HTML control in the first container
        create object html_viewer
                exporting  parent              = dock_sub_cont1
                exceptions cntl_error         = 1
                           cntl_install_error = 2
                           dp_install_error   = 3
                           dp_error           = 4.
        call method:
        html_viewer->load_mime_object
                   exporting
                     object_id  = 'HTMLCNTL_TESTHTM2_SAPLOGO'
                     object_url = 'SAPLOGO.GIF'
                   importing
                     assigned_url = url
                   exceptions object_not_found     = 1
                              dp_error_general     = 2
                              dp_invalid_parameter = 3,
         html_viewer->show_data
             exporting url   = url
             exceptions cntl_error = 1.
    ALV grid in second splitter container.
        select * into corresponding fields of table it001w
                    from t001w.
        create object alv_bottom
                      exporting i_parent = dock_sub_cont2.
        call method alv_bottom->set_table_for_first_display
            exporting
                 i_structure_name       = 'T001W'
            changing
                 it_outtab       = it001w[].
      endif.
    *Reward points
    Regards

  • How to attach GOS in a standard transaction ?

    hi folks,
    could anyone tell me how to attach Generic Object Services (GOS) to a standard transaction eg me23n.
    this GOS toolbar is present in certain transactions like pb40 ..i want to implement the same in me23n ...how can i do that?

    welcome to SDN!!!
      cht this webblog
      /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
      reward points if helpful

  • How do I integrate BDS into standard transactions?

    Dear all,
    I'm facing a new challenge here as the design guys want the BDS functionality that is e.g. available in transcation WTY available in some other standard transactions.
    Has anyone ever done this? Do I need to copy the standard program and treat this like a custom-extension or is there a simpler way to do this?
    Thanks a lot,
          J. Euler

    Hi,
    Try to findout the user exit and you can do it in the respective user exit.
    Thanks
    -Suresh Revuru

  • How to create custom routine in standard transaction

    Hi all,
           Can anybody suggest me how to write a custom routine in a standard transaction?
    My Requirement : In standard transaction ' VTFL ',  For each target and source there will be a standard routine assigned, for COPYING REQUIREMENTS. Each routine serves a particular functionality.  I need to develop a new functionality. For that, I need to develop my own routine. 
    Please give me an idea of how to develop a custom routine and include that routine in this standard transaction ( VTFL ).
    Any Suggestions are appreciated.
    Thanking you in advance,
    Regards,
    Murali Krishna T

    Piyush,
    The best way is to create a region in Jdeveloper and import it to server.
    Finally create a flexible region using personalization and specify the path the Custom region.
    This will help you to have a better control as well as alignment issue to be resolved.
    Regard,
    Gyan

  • Call standard transaction

    Hi all,
    I have a requisite to call a standard transaction (SP01) within a Z program but i have to disable one field in the screen of SP01.
    Is this possible?
    Or there is another way to change the field of SP01 screen?
    Regards,
    Pedro Bessa

    After trying to create a transaction variant for SP01 i got to the conclusion that this method only works for SCREENS and not for selection screens, because what we see when we open the SHD0 put SP01 on it run and press enter the screen that should list all fields is empty.
    I've made a z transaction with a screen and it works but not with the selection screen.
    So i guess this will not solve my problem. Maybe there is another way to do it...
    When we do call transaction sp01 can't we access the selection screen of SP01 and put the field for output only?
    Regards,
    Pedro Bessa

  • How to restrict users from saving a transaction in PCUI

    Hi Experts,
    I am working on a requirement where in I have to restrict the user from saving a followup up transaction if an order already exists for the same,in PCUI.I am able to display the error message in the PCUI screen but unable to restrict the user from saving the transaction.
    I have implemented the CRM_COPY_BADI ,copy method to check the item copy and populating the message from there...The requirement is fulfilled in GUI by giving a abandon message which restricts the user from saving the transaction.but in PCUI the abandon message is not working..So is there any way to deactivate the save button for a particular transaction in PCUI and this is to be done from within the CRM_COPY_BADI..
    I would sincerely appreciate any help provided on the issue..

    We can do this by populating an error message in the Application log

  • How to populate default values in standard transactions

    Hi abapers,
                    what r the different ways to populate fields with default values while entering into standard transactions
    thanks in advance.

    Hi,
    You can either create trasaction variants with Default values and then create transaction suing these Variant transaction and use this transaction instead of irignal transaction.
    SHDS-> to create Variant transaction
    SE93-> to create transaction of this Variant Transaction.
    or you can also use SAP memory statements like GET and SET PARAMETERS to set one value in one internal session and get that in another session in an External session.
    Regards,
    Sesh

  • Problems with SKIP FIRST Screen when calling a transaction variant

    Hi,
    I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.
    In my program I have coded the following :-
          SET PARAMETER ID 'AUN' FIELD  VBELN.
          SET PARAMETER ID 'VPO' FIELD  POSNR.
          CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.
    I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.
    I don't think I need VPO setting but when I code
          SET PARAMETER ID 'AUN' FIELD  VBELN.
          SET PARAMETER ID 'VPO' FIELD  POSNR.
          CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
    VA02's second screen is displayed
    Any help as to how to Skip this first screen with ZA02 would be greatly appreciated
    Thanks
    Rous

    Yes you are right Reg thanks for that.
    But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 .

Maybe you are looking for

  • Report data binding error

    I have created a banded report split into departments. Each recore has a value associated with it. The report runs fine if I dont try to sub-total each departments vale, but if I add a calculated field to the banding, I get the following error: Repor

  • Why is iTunes Match not available in India

    Can anyone tell me why match is not available in India. I am English but live in India As I no longer have a UK credit card I cant even change my country back to UK

  • System Center Service Manager 2012 SP1 upgrade install error

    I am trying to upgrade my SCSM 2012 front end app server to SP1 and am getting these failures in the log when it fails with the error "Service Manager is not in a valid state" 09:07:58:Could not find WCS portal web site in IIS metabase! 09:08:02:***E

  • Is there and easier way to do keywords?

    I love the idea of assigning keywords to my photos, but as soon as I foun that I have to enter in each keyword in the preferences pane before I can use it I am now not looking forward to it. I was hoping that I could just enter in my keywords on each

  • Connecting Humax FoxSat HD (Free Sat receiver) to ...

    Hi! I have a Humax FoxSat HD which I have connected to my BT home Hub 2 via an ethernet cable. Initially, the receiver connected to the internet no problem and I was able to watch BBC iPlayer. However, after switching my system off and then on again