Skip to Content
author's profile photo Former Member
Former Member

How to disable a field in a standard transaction

Good day,

Can any one tell me , with an example of , how to disable (the field should not allow any input ) a parameter or a select option in a standard transaction.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Apr 12, 2008 at 12:11 PM

    Probably the only way to achieve this is by creating transaction variants:

    In the SAP Reference IMG, you can create transaction variants. Choose Basis Components ® Application Personalization ® Tailoring of Application Transactions ® Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.

    To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).

    Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).

    To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.

    Steps :-

    Transaction SHD0 - Create a variant for the required transaction bychanging the layout through hiding fields and screens.

    Transaction SE93 - Create a variant transaction (e.g. for VA02 you canname it as ZA02). Next allocate the transaction variant to this varianttransaction.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 12, 2008 at 06:40 PM

    Hi,

    You need to use the transaction variant.

    Please refer the link below:

    http://www.saptechnical.com/Tutorials/ABAP/TransactionVariant/Create.htm

    Thanks,

    Sriram Ponna.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.