Reg : Restriction of creation of transaction code

hi all,
   I want to restrict creation and deletion of  transaction codes (Y or Z).
   How to get done it.
   We use SE93 and SE80 to create T-Code, ( Is there any t-code to create y or z t-code)
   We can restrict SE93 to create or delete t-code, but we cant restrict SE80 as we create many other objects in SE80.
  Suggestions reg this.

Jean,
When you do screen debugging the tcode se93 while creating/deletion of a tcode it takes us to
Program SAPLSEUK
Include LSEUKI01
  process after input.
  module exit_tcode_menu at exit-command.
  field tstc-tcode
        module xcode_390.
Under this module xcode_390 we have the code which performs the creation/deletion of the tcode
when 'ADD'.
   call function 'RS_TRANSACTION_ADD'
        exporting
             objectname         = tstc-tcod
        exceptions
             already_exists     = 01
             permission_failure = 02.
   if sy-subrc = 1.
     message id sy-msgid type 'E' number sy
             with sy-msgv1 sy-msgv2 sy-msgv
   else.
   when 'DELE'.
   call function 'RS_TRANSACTION_DELETE'
        exporting
             objectname    = tstc-tcode
        exceptions
             not_excecuted = 01.
   if sy-subrc ne 0.
     message id sy-msgid type 'E' number
             with sy-msgv1 sy-msgv2 sy-ms
   endif.
The same for CHANGE too.Try to put a validation here
if sy-tcode ne 'SE80' and also the SY-MANDT in the if condition.In addition to this lock SE93 using SM01 too.
But when we debug through SE80, it is taking us to
Progrm SAPLWB_INITIAL_TOOL
Under this program we have an INCLUDE LWB_INITIAL_TOOLO01
form set_status_0100.
  data:
    l_disabled_functions   type ui_functions.
  call method g_initial_tool_ref->if_wb_program~wb_manager->get_status
       importing
          P_DISABLED_FUNCTIONS   = l_disabled_functions.
  SET PF-STATUS 'INITIAL_TOOL' excluding l_disabled_functions.
  SET TITLEBAR  'WBM'.
  clear g_fcode.
endform.                    " SET_STATUS_0100
Or just try to disable the option CREATE and DELETE in the above program.Just try these options,may be you will get some lead.Mind you both are SAP Standard Programs and needs accesskey.Also check whether your requirement is worth enough to tamper with SAP Standard code
K.Kiran.

Similar Messages

  • PO creation through transaction code ME25 (vendor unknown) - reg.

    Dear all,
    When I'm doing excercise using transaction code ME25 (PO creation - vendor unknown), the system shows the error message as "Item category not allowed with document type".
    How to overcome this issue.
    Plz do the needful at the earliest.
    Regards,
    Chandramohan.N

    Hi
    Chandramohan
    You can do this in IMGMM-PURPO and Define Doc types and select the required Doc type and Select the Allowed Item Category. In this way you can allow the item category to the respective Document type.
    The item category determines the field selection and whether any additional data screens are shown.
    In addition, it determines whether a goods receipt or invoice receipt is to follow.
    The following list contains the item categories defined in the standard SAP R/3 System:
    Standard,Consignment,Subcontracting,Third-party,Stock transfer,Service,Material unknown and Material group
    If helpful reward the points..

  • Creation of Transaction code for Reports created in FGI1.

    Hi all,
       We are in ECC 6.0 version. We have created one report for Profit Center Group Wise Receivables with transaction code FGI1. When we executed the report from FGI5 , it was showing the values correctly.
       We created the t.code for the report painter programe and tried to execute. The screen is different from that of T.Code: FGI4.  When we executed , it was not showing any values. I created authorisation for the report and also for the transaction codes.
       Appreciate your suggestion at the earliest.
    Thanks
    Dasa

    Hi
    Check TSTCP table  for the existing t-codes and for creating check this link
    Re: Transaction Code Creation for a Table/View
    Regards
    Pavan

  • Creation of transaction code for the table created

    Hi Experts,
    Can any one help me out with the steps that are used for creation of transaction for the table using the transaction SE93, i have created the table maintance generator.

    Hi
    Check TSTCP table  for the existing t-codes and for creating check this link
    Re: Transaction Code Creation for a Table/View
    Regards
    Pavan

  • Problem in creation of transaction code !!!

    Dear Friends,
    I have created a transaction code for my program and when i am executing the transaction code initial screen is coming but once i am executing nothing is happening and it is going to the easy access screen.Where is the problem?
    Thannks & Regards,
    Murali.

    HI,
    You might have selected the Radio Button Program and screen (dialog Transaction)
    Select the radio button Program and Selection Screen(Report Transaction)
    Delete the transaction and create the again..selecting the proper radio button.

  • Creation of transaction code

    hi,
    when i am coping a 'Z' program to another 'Z' program and trying to execute it by creating a transaction code it is going to short dump.
    What is the procedure for creating a user transaction code.
    thanks in advance

    Hi Deepthi,
    First of all, what is the short dump that the program is throwuing?
    Secondly,the procedure for creating a T-code is:
    1. Go to T-code SE93.
    2.Give the T-code name that you want to create starting with Z.
    3. Click on create.
    4. Give the short description.
    5. Then select the Start object from the options available.If the report is executable and has a selection screen,then select the second option Program a nd Selection Screen.Likewise, you can choose other options depending on the requirement.
    6.Click on the green tick mark.
    7. On the next screen,give the Program name and if you want leave the screen number blank and check all the options under GUI Support tab.
    8. Save.
    I hope I have tried to answer your query.
    For further info,please let me know.
    Regards,
    Puneet Jhari.

  • EDI Partner Profile creation at Transaction Code FI12

    How is the partner profile created when you select the Icon Partner Profiles, which is transaction code WE20 that is accessing from transaction code FI12.
    The type is B for bank. Can the partner number be a end user defined number? Can this be the vendor number for the bank? That does not appear to be an option!
    Here are my questions of the Post processing permit agent design.
    How are the values for the "Types" created?
    Thanks
    Chris Courter

    Rohan Patil wrote:>
    > BEGIN = 1.
    > edi_dc40 segment values
    > SEGMENT = 1.
    > TABNAM = EDI_DC40.
    > MANDT = 120.
    > DIRECT = 2.
    > IDOCTYP = CREMAS05.
    > MESTYP = CREMAS.
    > SNDPORT = SAPNBD.(XI port)
    > SNDPRT = LS.
    > SNDPRFC = LS
    > SNDPRN = NXICLNT120.
    > RCVPOR = SAPNED.(ECCport)
    > RCVPRT = LS
    > RCVPFC = LS
    > RCVPRN = ECCCLNT120(ECC partner number).
    Hello Rohan,
                            IDocs SNDPRN/SNDPRT/MESTYP will be taken in SAP for processing the received IDOC,so in your case either you need to create the partner profile NXICLNT120 with all inbound details or need to change the same in mapping and pass the values of your partner in SNDPRN SNDPRT fileds of control record
    HTH
    Rajesh

  • Restrict Table in SE16 Transaction Code

    Hi All,
    Can we restrict some standard table(eg. Mara, mseg, mkpf) in SE16 trsanction code so that they can not browse the restricted tables.
    Couple of days before SOX Audit was carried on and they send some conflicts. I am not able to make it what is these statrements, which i have mentioned in below.
    SE16_CHANGE (Change SAP tables)     
    SE16_CHANGE_CURRENCIES (Change currency table)
    SE16_CLIENT_TABLE (Change client table T000)          
    Thanks & Regards,
    Krushna

    Hello,
    You can restrict access to tables with authorisation object S_TABU_DIS.
    If a query accesses a certain table when it is run, the user needs display authorization for authorization object S_TABU_DIS. Field DICBERCLS must contain the table’s authorization groups.
    This authorization object protects all tables from unauthorized access. If you are accessing tables that are part of a logical database, authorization for data access can be set up using the logical database.
    This is the same authorization that you need in order to be able to display tables using either the Data Browser (transaction SE16) or the initial table maintenance screen (transaction SM31).
    Hope this helps.

  • Issue in transaction code creation for sap query report .

    Hi  Gurus,
    I have a requirement to create transaction codes for sap query reports. I found two ways to create transaction code for sap query report
    1) By Generating program for sap query report and creation of transaction code for that generated Program. in tcode.
    2) By using parameter transaction options in start object of se93
    What are the difference between creation of these two ways. Please specify  the advantages and disadvantages of both methods.
    Regards,
    Suneel Kumar Uggina.

    Hi Jogeswara Rao,
    But I am getting problem while transporting form development system to  the production system. After transporting to Production system  I have used the code created in development system, but it is giving Error ' No Program Found for that Transaction Code. And  I would like to know  on what conditions should I have to  use the First one  and as well as a second one in sap query reports.
    Thank You,
    Suneel Kumar Uggina.

  • Restrict Transaction code by Each company

    Hi Experts
    Is there anyway to restrict or find the transaction code assign to that company.
    I want to delete or restrict the t code for a user belongs to perticular compay, how can I do that?
    I belive with organization level option , it can define access for company not t codes ?
    Thanks in Advanced
    Piroz

    Hi,
    I am not sure if I fully understand your requirements. Authorization object S_TCODE is checked by SAP kernel before running any transaction. So you can define roles for each company. These roles will contain S_TCODE for each transaction required in this company. Then you will just assign a suer to correct role.
    Your question is more related to security, so you should try security forum here on SDN.
    Cheers

  • Assignment of Transaction Code to Quick Viewer Program

    Hello,
    We have created the Quick Viewer under Production Server. We would like to assign the transaction code to the quick viewer program. Will it possible to copy the program from production server to development server, creation of transaction code & assignment of transaction code to program.
    Please explore the possibilities
    Regards
    Anilkumar

    Dear Mr. Srinivas,
    Thank you for your reply. I tried the same thing - my doubt is in catt we have various screens I want only the screen where user will assign the file and execute the data upload in the new transaction.I gave the program name and the respective screen number but - system is endlessly running without any output.
    Can you guide me on what should I do in case of multiple screens containing program.
    Regards,
    M.M

  • Transaction code for Creation of Material

    Hi Code Guru's,
    can any one please tell me the Transaction code for creation of material.
    regards,
    Syed Khutubuddin.
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 4:45 PM

    Hi syed,
    Goto T.code MM01 then create Material name,
                       MM02  is change Material name,
                       MM03 is display Material name.
    <REMOVED BY MODERATOR>
    Cheers,
    S.Suresh.
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 4:46 PM

  • Transaction code for mass creation of physical Inventory document

    what is the transaction code for mass creation of physical Inventory document.

    MI31 is the transaction to create hundreds of physical inventory documents for annual inventory at a time.
    MICN can create several documents at a time for cycle count.
    Just look in the menu of phyiscal inventory into the knot Sessions, there are even more e.g. for counting of own stock a customer and vendor location, for vendor stock at own location etc.

  • Transaction code for creation of a specific customizing table ?

    Hi,
    What's the transaction code for creation of a specific customizing table ?
    Thanks in advance.

    Carl,
    if you can share with us from which t-code you achieve this , than it would be better for we guys.
    Amit.

  • Transaction code for creation of  transaction keys in obyc

    Dear Experts,
    Can u tell me what is the transaction code for creation of transaction keys in obyc asap.
    Thanks & Regards,
    Radhika.

    Hi
    There is no TCode and the path is
    SPRO-Material Management-Purchasing-Conditions-Price Determination....
    Cheers
    Srinivas

Maybe you are looking for

  • Table type mulit and auxiliary

    difference between a table type auxiliary and table type multi ? where exactly we are using this ? can give some simple example plsT

  • HELP!!!  My iPod is Frozen,hold 0n/off  then menu doesnt work

    my iPod is frozen and ive tried sliding the hold switch on then back off, and holding the menu button down, it still remains. and ive tried it several times for serveral seconds and i know its not that im not holding it long enough. Should i trie res

  • Confused about TDE wallet location !!!

    due to http://www.oracle.com/technology/oramag/oracle/05-sep/o55security.html I suppose to add the following lines to sqlnet.ora if i wanted to change the default Wallet Location to orawall folder : ENCRYPTION_WALLET_LOCATION = (SOURCE= (METHOD=file)

  • WfAction Reject is not working

    I have two steps in the workflow....If the document is rejected in the 2nd step, one meta data value should be updated as below: <if wfAction like "REJECT"$> <$wfUpdateMetaData("xsrt_bill_status","Re-Submit")$> <$endif$> I have tried this code in the

  • CFFILE problems

    I just launched a new site and am finding that some users are having problems uploading photos to their profile, while others are not. I never had a problem with any files I used for testing purposes, but one user emailed me the photo she was trying