+ All Categories
Home > Documents > Variant ME23N Step by Step Guide FINAL

Variant ME23N Step by Step Guide FINAL

Date post: 10-Oct-2015
Category:
Upload: sapgak
View: 62 times
Download: 0 times
Share this document with a friend
Description:
Variant_ME23N_Step By Step
Popular Tags:
16
Step By Step Guide  Creating  Transaction Variants Purpose : 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 var 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 ME23N – Display Purchase Order, the user should not be able to create a new PO. In transaction ME23N – Display Purchase Order, the user should not have access to the Conditions tab. Recording a Transaction Variant Transactions variant are recorded through transaction SHD0 1. Enter the transaction code you want to record – here ME23N, and press enter 2. Enter a name for your transaction variant – here Z_NO_CREATE_NO_CONDITION. Please notice that the nam convention for transaction variant requires that it starts with Z or Y. 3. Click Create 3. 2. 1.
Transcript
  • StepByStepGuideCreatingTransactionVariants

    Purpose:The Purpose of transaction variants is to hide fields, menu functions, screens, to supply individual fields with defaultvalues 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 toaccomplish security task, not directly supported by SAPs security concepts.

    A Transaction variant consist of a number of screen variants, customized to meet your requirements, Transaction variantonly alters the layout of the screen. The Business processes delivered by SAP retain their integrity.

    ScenarioIn this example the scenario is:

    x In transaction ME23N Display Purchase Order, the user should not be able to create a new PO.x In transaction ME23N Display Purchase Order, the user should not have access to the Conditions tab.

    Recording a Transaction VariantTransactions variant are recorded through transaction SHD0

    1. Enter the transaction code you want to record here ME23N, and press enter2. Enter a name for your transaction variant here Z_NO_CREATE_NO_CONDITION. Please notice that the naming

    convention for transaction variant requires that it starts with Z or Y.3. Click Create

    3.

    2.

    1.

  • You have now called transaction ME23N in recording mode.

    1. When you click the exit button you will get the following popup

    2. Enter a name for the screen variant e.g. Z_NO_CREATE_NO_CONDITION.3. Press the deactivate menu function, and you get the following popup.

    1.

    2.

    3.

  • In this Popup you can deactivate menu functions. Open the Menu Bar Purchase Order

  • 1. Position the cursor on MCREA Create2. Click the deactivate button3. Click Continue (green check) or press enter key

    4. Click Exit and Save

    2.

    1.

    4.

    3.

  • 5. Save the Transaction Variant.

    6. Place into Package then into Transport.

    5.

    6.

  • TestYou can now test your transaction variant by clicking the Test button

    As you see the Create icon no longer appears, and if you go to the menu Purchase Order Create, you can see thatyoure not allowed to create purchase order from the menu either.

  • RemovingthetabConditionsIn order to modify your transaction variant, go to transaction SHD0

    1. Click Change With processing to enter the screen

    2. Press exit,

    1.

    2.

  • You will now get a popup for each sub screen.

    3. Enter a name for these all of these sub screens e.g. the screen name with a Z as prefix

    When you reach Sub screen 1303_SAPLMEGUI

    4. flag the Condition Tab Strip (#8) as invisible and click Exit and Save

    5. Now save the transaction variant with Exit and Save. Notice that youll get a popup with a transport requestfor each screen.

    3.

    4.

  • 6. Now save the variant and go back to transaction SHD0 again.

    When you now test the transaction variant, you can see that the tab strip Conditions has been removed.

  • Assigning the transaction VariantYou can assign your newly created transaction variant to a transaction code by EITHER:

    1. Assigning it as a standard variant for the transaction (ME23N).2. Create a new transaction code for the transaction variant (Z_ME23N_LITE).

    AssignitasstandardvariantforthetransactionME23NIf you want the transaction ME23N to start with the transaction variant, you can set this variant as the standard variant.This is done in SHD0 under the Tab Standard Variants

    Here you enter your transaction variant, and activate it. If you now call transaction ME23N you will see that its startedwith your transaction Variant.

    Please Notice that this activation isnt transported. You need to activate the transaction Variant on all receiving system.

  • Createnewtransactioncodeforthetransactionvariant.You also have the opportunity to create a new transaction for your transaction variant. By doing this you will end upwith two transactions, ME23N for the original version of transaction and Z_ME23N_LITE the screen variant.

    In order to create a new transaction code, choose from the menu Goto Create Variant Transaction.

    You will now get the following popup:

  • Enter a new Transaction code e.g. Z_ME23N_LITE, and a short text for this new transaction code, and press enter.

    In the next screen flag Inherit GUI Attributes

    Place in package and transport.

    Test your new transaction code.

  • ScreenExamples:


Recommended