11-26-2007 12:37 PM
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 ?
11-26-2007 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.
11-27-2007 4:32 AM
11-27-2007 4:44 AM
Hello
You may have a look into the SAP documentation:
<a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/80/be58397e9d2e06e10000000a114084/content.htm">Specifying Selection Variables in the Program Variants</a>
Regards
Uwe
11-29-2007 5:45 AM
i have read but i don't quite understand can anyone plzzz give concrete example
can you store and text in TVARV
11-29-2007 5: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
11-30-2007 7:08 AM