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

How to enter negative value for the offset in TMVL function?

Hi all,

how can I enter a negative value in a TMVL function?

I have my coding like this:

VORPER = TMVL ( FISCPER, -1, FISCVARNT ).


I always get an error if I try to save it.


Can anybody please help me?


Thanks in advance and best regards


Gerd

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2016 at 03:27 AM

    Hi Gerd,

    Instead of directly assigning -1 to TMVL try to use variable.

    DATA OFFVALUE TYPE I

    OFFVALUE = -1

    VORPER = TMVL(FISCPER, OFFVALUE , FISCVARNT)

    Best Regards,

    Madhu

    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.