Transaction Variant & Security

I created transaction variant 'ZME52N'  from origianl transaction 'ME52N'. 
This variant is to be used by a specific group of users.  Those users must not execute the original transaction 'ME52N'. 
Could someone tell me how to do this? 
Thank you,
Nizar

>
sridhar reddy wrote:
> Hi Nizar,
>
> U just find the correct User-exit or BADI and write the code like this..
>
>
> if sy-uname ='''''' and
> write the code for authoirzation check.
> screen-input = 0.
> else.
> sreen-input = 1.
> endif.
>
> Thanks,
> srii..
This is the Ugly why of coding.
Imagine how many user name we suppose give in if condition?And what if in future some new user id has been created?every time we cannot ecpect to go in user-exit and badi to do these changes.

Similar Messages

  • Transaction variant for RPCPCC00

    I need to create a transaction variant for the program RPCPCC00 and default the company code value so that a given person can run the report only for the given default value. I'm not able to set a default. Can anybody help me in this? Thanks in advance.

    Use the transaction SHD0- To create a transaction variant for the desired Transaction. For your case plug in the t-code for the report that you want to create the variant for.
    See if the link helps.
    http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm

  • How to use Transaction Variant

    Hi all,
    Pls tell me how to us Transacton Variant step by step. I have just created Transaction Variant from TCode PB10 but I don't know how to use it.
    I want to change some fields on PB10 screen.
    Thanks so much for your supports,
    Quang,

    Hi,
    See if this link helps.
    http://www.mhn-consulting.com/Security/transactionvariants.htm
    Creating a variant transaction is a better option. If PB10 now works like the modified screen try to deactivate the transaction and create and variant transaction.
    Regards,
    Soujanya.

  • Create a Transaction Variant

    Hi Gurus,
    My requirement is to create a transaction (ZSE16) similar to SE16 the only difference is to disable the Create entries button in ZSE16.
    I got an approach using Transaction variant but I am struck up with it
    Guide me how to disable the create entries button in SHD0 with the step
    Regards
    Paul

    hi,
    The Purpose of transaction variants is to hide fields, menu functions, screens, to supply individual fields with default values or to change the ready for input status of one or more fields.
    Using transaction variant, you can tailor screens to meet your required business process, and it can be used to accomplish security task, not directly supported by SAP’s security concepts.
    A Transaction variant consist of a number of screen variants, customized to meet your requirements, Transaction variant only alters the layout of the screen. The Business processes delivered by SAP retain their integrity
    Scenario
    In this example the scenario is:
    • In transaction BP – Business Partner, the user should not be able to create a new person.
    Recording a Transaction Variant
    Transactions variant are recorded through transaction SHD0
    1.Enter the transaction code you want to record – here BP, and press enter
    2.Enter a name for your transaction variant – here Z_BP_PERSON. Please notice that the naming convention for transaction variant requires that it starts with Z or Y.
    3. Push Create then you will see the following template after you clicked on create.
    You have now called transaction BP in recording mode.
    1.When you push the EXIT button you will get the following popup as shown below.
    2.Enter a name for the screen variant – e.g. Z_BP_PERSON or by default it will get as Z_BP_PERSON_3000,
    3.Press the DEACTIVE MENU FUNCTION, and you get the following popup.
    In this Popup you can deactivate menu functions.
    1.Open the Menu Bar à Business Partner à Create
    Position the cursor on “SCREEN_1000_CRE_PERS Person”
    2.And push the DEACTIVE  button .
    3.Push ENTER.
    4. And CLICK ON “Exit and Save”
    Save the Transaction Variant.
    Click on BACK button .
    7.Select “ Z_BP_PERSON ” and click  “WITHPROCESSING”.
    a.)As you see  the template, the Person button is grayed out, and if you go to the menu Business partner à Create, you can see that you’re not allowed to create a person for the menu either.
    b)  Save, check and execute.
    c.) Go to transaction code se93 to create transaction code for Z_BP_PERSON.
    d) Provide the name and click on CREATE.
    e.)Provide short description and select start object as “TRANSACTION WITH VARIANT” and ENTER.
    f.) Enter TRANSACTION as BP and TRANSACTION VARIANT as Z_BP_PERSON.
    g.) Select CROSS CLIENT.
    Save, check and Execute.
    i.) The output will be displayed and observe that PERSON button is grayed out.

  • Transaction Variant thru SHD0 issue

    Hi,
    We have created a Transaction Variant for VL01N --> de-activate Post Goods Issue button thru tcode SHD0.
    Now issue is that it effect of other client also.
    Means we have 3 clients on same server. and ab above requires only on single client. But if also de-activate on others.
    How can I do the same for single client.
    Please guide.

    Even though user can able to do PGI thru VL01N tcode
    If your project have a Security team and they have done this, I don't think, it is possible.  If you have authorization to SUIM, execute it, click on Roles > By Authorization Object.  There check once again for that user whether they got the authorization.  If you don't have authorization to access SUIM, then execute UST12 table through whichh also you can check.
    G. Lakshmipathi

  • User Specific Transaction Variant

    Hi,
    Can i please have guidelines for Transaction variant creation, specially user specific transaction variant creation along with example?
    Regards,
    Samir Wadajkar

    Dear
    Please see this wiki for useful :http://wiki.sdn.sap.com/wiki/display/Snippets/Transaction%20Variant%20-%20A%20Step%20by%20Step%20Guide%20for%20Creation
    OR
    Go to SHD0
    Enter the transaction code - Enter the transaction variant YXXX under transaction variants tab
    Create - the transaction variant. When you back after creating .... Save all the screens and do a syntax check - this will take you to different screen - Just execute and come back
    You should now be in SHD0 with your transaction code as well as transaction variant.
    Now, go to 'GOTO' on application tool bar - Create transaction variant. Do not check 'Inherit GUI attributes' under classification and check all under GUI SUPPORT
    Execute your newly create Ytransaction
    Go back to SHD0 again and repeat the same process but enter different name than previous one. do the exact same process.
    Create new transaction which means enter different transactio name like if the previous one is yxxx1 ... create this as yxxx2.
    You can take the standard transaction from every user or who you dont want to give by removing the authorization from user master (talk to security people)
    Hope this will be usefull
    Regards
    JH

  • TRANSACTION VARIANT

    Dear All,
    I am facing a problem while doing the transaction variant. It is as follows -
    With the T.Code SHD0, i started creating a transaction variant and named as ZMM01 for the transaction MM01.
    After clicking the create(F5), it went to the MM01 transaction for recording. Here i wanted to give some default inputs in the fields Industry sector and Material type, i gave my default values and pressed enter, then "Confirm screen entries" screen popped up. Here i selected(marked) required check boxes and clicked "Exit and Save". It went to another screen where i gave "Screen variant short description" and when i clicked on save, "Create Object Directory Entry" screen popped up.
    What exactly should i do now?
    When i tried to save by clicking on save button, system is giving me a message "Specify the package or flag it as a local object"
    "Message no is TR742".
    BUT.....
    When i clicked the "Local Object" tab which is next to "Save" button, system is asking me to Assign a package" and in the package field the system is giving the value "$TMP" by default and when i tried to save it OR click "Local object" again, system is giving me an error message "Test objects cannot be created in foreign namespaces", Message no. TO131.
    Pl guide me what exactly i have to do at this stage( How/Procedure to save).
    Thanks & Regards,

    Hi ,
    Ensure that all the variants you have created start with Z  like screen variant , transaction variant .
    The system throws this message when you use other name space which is not allowed .
    Regards,
    Hari.

  • Transaction variant not working in quality

    Hi,
    I have created a transaction varient in SHD0 and activated it in develpoment and then
    it is working fine in development system.Then variant transported to quality and there also
    it is activated but somehow it is not working in qulaity sytem.
    I checked in the respctive transaction with following path
    SYSTEM>>>>>STATUS>>>>>SAP REPOSITORY DATA and i can find it is transaction variant name
    below screen program.
    Pl suggest the resolution.
    Regards,
    Rushikesh

    Hi,
    Check the variant is  transported properly in QA. If present then check the transaction for the same.
    If you make this transaction for a table the check the table delivery and maintenance allowed or not. It should be maintenance allowed.
    Thanks
    Subhankar

  • Screen variant not working when assigned to transaction variant in SHd0

    Dear All,
    User requires tax code column for line items in MIRO to be made non-editable. I am using SHD0 transaction for the same. I am able to make the column grey-off by creating screen variant. The program is SAPLMR1M and screen number 6310. When tested individually thru SHD0 the variant is working perfect. But it is not working when assigned to a transaction variant. Any clues on the same would be really helpful.
    Thanks in advance
    Komal

    Hi,
    Try to record again for the whole set of screens instead of doing that for the individual tax screen and only for the tax screen make the required field disable.
    Once done and saved, you can see all the screens variants in the transaction variant.
    Use the Change WITH PROCESSING OPTION.
    Hope this solves your problem
    Regards
    Shiva

  • Transaction variant not working

    Hey,
    I am facing with this peculiar problem of transaction variant. I created a transaction variant as desired by my client for VA01 and activated the same. I checked the status in the transaction VA01 and there it showed that the transaction variant has been successfully applied. But when I check for the fields that I wanted to be made non editable or invisible the same was not reflected in the transaction. Now after trying enough like creating new transaction variants, adding new screen variants to the existing transaction variant, somehow it has started working. But now when I change the transaction variant, even after activating it, the changes in the variant are not reflected in the transaction. Old changes are being reflected. Please advise!
    The reconstruction steps are as follows:
    SHD0 -
    Creation of transaction variant - with processing.
    Activating it.
    Appreciate a quick response. Thanks in advance.
    Note: It might be that I am going wrong somewhere, I would really appreciate if someone could send me a file containing screenshots on how to create and use transaction variants. My email ID is
    [email protected]
    Regards,
    Z

    hi,
    just check out the following pre-requisites if you have followed them or not:
    You can assign various transaction variants to individual sales document types.
    With the help of transaction variants, you create various variants for the same transaction in order to simplify your transaction flows. You can achieve this by:
    Preassigning fields with values
    Fading out and changing input availability for fields
    Fading out entire screens
    In this way, you can provide your users with screens which are defined according to their specific needs per sales document type.
    When a transaction variant is created, several screen variants are created for each individual screen for the transaction chosen for the variant. The system accesses this screen variant when a transaction variant is applied.
    PrerequisitesIn the standard system, transaction variants for Sales (for example, quotation, sales order, credit memo request, group master contract) are defined for all business objects. Assignment of transaction variants for the sales document type is carried out in Customizing for sales document types.
    Activities
    You will find the transaction for creating a transaction variant in Customizing, under General Settings - Field Display Characteristics - Configure application transaction fields. You can find further information on this in the implementation guide.
    Assignment of transaction variants to sales document types can be found in Customizing for Sales, under Sales - Sales Documents - Sales Document Header - Define Sales Document Types in the Variants field.
    In order that a transaction can be called up depending on a sales document type, the system of course needs the information as to which sales document type should be worked with. This choice is however made by the user on the initial screen first.
    This means that the initial screen can not be modified or faded out within a transaction variant. If you wish to miss out or modify the initial screen with the choice of sales document types, you need to create a variant transaction, this means a variant is created for a complete transaction. This transaction will then have ist own name, which has been defined by you.
    regards,
    Siddharth.

  • Authorization issue on SHD0 transaction variant in R/3

    Hi,
    Can anyone help me on the below issue?
    Created a transaction variant ZME31K using SHD0 on R/3 system with the base transaction ME31K.
    And created a transaction ZME31K for the above transaction variant.
    Created one ID which has access only to transaction ZME31K.
    But when tried to create contract using ZME31K, it allows to create the contract, but ended up with message  "You are not authorized to use ME31K".
    Anyone faced similar issue before? how this can be resolved? As per the busniess requirement, they can provide access only to the transaction variant for the user and they will not be assigned to ME31K.
    -Thanks,

    > We are doing an Upgrade assessment wherein at R/3 side, the system is being upgraded from 4.6 to ECC 6.0.
    > I wanted to know the impact the Change in Transactions at R/3 side..  namely transactions..
    > AS02, CT02, F-02, F-41, F-49, FB01 would have on BW.
    What do you mean? I don't get your question. What impact should those transaction have on BI?
    Markus

  • How to create Transaction Variant

    Hi all,
    I have a requirement like this
    I need to create a transaction variant for the table CEPCT, for the transaction SE16 and want to disable or invisible CREATE and CHANGE options in that
    Can any one help me out in this requirement
    Regards
    Srinivas

    Hi,
    Recording a Transaction Variant
    Transactions variant are recorded through transaction SHD0.
       1.  Enter the transaction code you want to record u2013 here BP, and press enter
       2. Enter a name for your transaction variant u2013 here Z_BP_NO_PERSON. Please notice that the naming convention for transaction variant requires that it starts with Z or Y.
       3. Push Create
    You have now called transaction BP in recording mode.
       1. When you push the exit button you will get the following popup
       2.  Enter a name for the screen variant u2013 e.g. Z_BP_NO_PERSON,
       3. Press the deactivate menu function, and you get the following popup.
    In this Popup you can deactivate menu functions.
       1. Open the Menu Bar à Business Partner à Create
    Position the cursor on u201CSCREEN_1000_CRE_PERS Personu201D
       2. And push the deactivate button.
       3. Push enter
       4. And u201CExit and Saveu201D
       5..Save the Transaction Variant.
    Thanks,
    NNR.

  • How to create Transaction Variant for T code F-30

    Hi
    I want to create a Transaction variant for T code F-30, so that user can't change the currency field and put any value in rate. Currency should be always in USD.
    Any input will be heighly appriciated.
    Regards
    Shiv

    Hi,
    In that case you can use transaction SHD0 to create a transaction variant for F-30 with its screen variant for screen# 122. And you also want to creat a so called Variant Transaction Z-something for F-30 using the mentioned transaction variant. You restrict users to use that Z-something. For other unrestricted process, the system will still cal F-30. Here is the documentation:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/67/232037ebf1cc09e10000009b38f889/content.htm
    Regards

  • How to create t-code for a table and how to create transaction variant???

    Hi,
    I have created a custom table zsark.
    Now my requirement is : I have to create a transaction variant zsark_var for sm30 and table zsark. I have to disable the output of the first screen. I have to assign the transaction variant to the transaction code of table zsark.
    Now,
    1.     how to create transaction code to a table. Can any one give me the 
                    staps??
    2.     how to create transaction variant for the above requirement???
    Thanks & Regards,
    Sarkar

    Hi
    1 Goto SE93 transaction
    2 Choose 5th option Transaction with parameters
    3 Give transaction : SM30, Check Skip Initial Screen Press Enter
    4 Goto Bottom left corner, click F4 select viewname, on right hand side give table name
    5 Press one more time F4, choose update , mark it X on right side.
    6 save the transaction.
    Thanks
    sandeep
    reward if helpful

  • Edit drop down list in SHD0(transaction variant)

    Hello all,
    How can we control the values displayed in drop doen list using transaction variant? i am using SHD0 to create a transaction variant and want only few values to be dispayed in drop down list instead of all the values in orignal transaction.
    Thanks
    Arjun

    As far as I konw, you can not.
    You can edit the properties (Visible/Invisible, etc ) but not restrict the values originally displayed.
    Regards

Maybe you are looking for

  • Run OrderPG.xml in Jdeveloper 10.1.3.3.0

    Hi, Can anyone describe me the steps to be followed to compile and run the OrderPG in JDeveloper? I have followed all the steps required and described. Copied complete $JAVA_TOP/oracle/apps/po structure to my desktop under my projects. I have also co

  • Safari and divx problems

    hi been attempting to watch divx movies but safari either crashes or shows a distorted screen. attempting to move the screen always results in a crash here is the log: (sorry for the size) any help would be appreciated. have trashed prefs. history ca

  • GR/Delivery Date required in the Invoice Verification screenlayout

    Dear Forum, We notice that when the users perform the Invoice Verification thru MIRO, in the screenlayout corresponding to 'All Information' the system populates the date under the 'Delivery Date' column, however, this date corresponds to the Deliver

  • Auto mode focus selection sometimes not logical

    I just purchased a refurbrished ELPH 330 and am trying its many settings.  In auto mode the camera sometimes seems to select objects (no people in scene) to focus on that aren't logical.  For example, if I have a plant on a table with a piece of pape

  • Cannot access iTunes updates/account info

    All of a sudden I'm getting "We could not complete itunes store request" messages every time I try to update my apps or try to access my account information.  I've never had this happen before.  Any ideas/solutions would be most helpful!