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

hardcoded

hi

what are the 3 ways of avoiding hard coded text.

1 declaring in constant

2 second is to use text element

what is the third way and how to use it .

i heard that we can use table TVARV check table but how do we use it ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 12:42 PM

    Hi

    This table containes the variables in selection criteria.

    Whenever u create select-options in a selection screen,

    an entry is made in this table.

    TVARV is the variant table and used to store the variants of a report.You do not need to create a new variant or keep changing an existing variant each time a value changes. Instead, you can change the relevant values in table TVARV.

    Its an obsolette table in ECC 5.0 and the correct one will be TVARVC table.

    We used to store the fiscal period variants in this table.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 27, 2007 at 04:44 AM

    Hello

    You may have a look into the SAP documentation:

    Specifying" target="_blank">http://help.sap.com/erp2005_ehp_02/helpdata/en/80/be58397e9d2e06e10000000a114084/content.htm">Specifying Selection Variables in the Program Variants

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2007 at 05:51 AM

    say i want to fetch the contact person name for a sales office, it will be very difficult to change it time to time if u use any of the methods.

    instead what u do is make entries in TVARV having Sales office and corresponding contact person under a variable name.

    in ur programs u need to fetch this variable corresponding to ur sales office from this table before using it.

    hope it makes clear

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 07:08 AM

    thx

    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.