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

Can one field of a variant of an ABAP4 program takes value from a table ?

When I run an ABAP4 program, there is one input field called Time Stamp. If I run the program directly (without selecting a variant), this Time Stamp field is filled with a field value from a table called TVARVC, but if I select a variant of this program, this Time Stamp field is filled with another field value of the table TVARVC. It seems that the variant value can be filled with a value in system table, am I right? If this is the case, then how it is programmed?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2005 at 07:41 AM

    Hello Kevin,

    When you save the variant, you will be taken to a screen for variant maintenance. On that screen (that is actually an interactive list), aparty from the variant name and the variant description, there are a couple of checkboxes that you can see under <i>Field Attributes</i>. When you choose the Selection Variable, you will be asked to provide an entry from the table TVARV (By the way, there's no table called TVARVC). You can also hit the F1 button for that checkbox, which will give you the explanation.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2005 at 07:48 AM

    Hi Anand,

    Sorry to interrupt your here. TVARVC is available as of WAS 610 . It was not there uptill BASIS release 46D.

    You can check OSS 557314.

    Cheers.

    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.