Skip to Content
0
Dec 20, 2011 at 09:49 AM

Invalid TMVL retun value failed.

87 Views

Hi,

I have tested one script logic, In this I got one error "RUN_LOGIC: Invalid TMVL return value

Failed. Please find the below code what I have validated successfully in the NW system.

Could you please help me in this.

Logic:

*LOOKUP Staff_Additions

*DIM EXP:SALARY=Salary_Redis

*DIM CATEGORY=BUDGET

*DIM CLIENT_GROUP=1010

*DIM DATASRC=INPUT

*DIM INTCO=Non_InterCo

*DIM RPTCURRENCY=LC

*DIM TIME="%TIME_SET%"

*DIM ACCOUNT=41000

*ENDLOOKUP

*START_BADI ROUND

QUERY = OFF

WRITE = OFF

DECIMAL = 2

*END_BADI

*WHEN CATEGORY

*IS "BUDGET"

*WHEN INTCO

*IS "Non_InterCo"

*WHEN JOB_TITLE

*IS "No_JobTitle"

*WHEN SALARY

*IS "Salary_Redis"

*WHEN RPTCURRENCY

*IS "LC"

*WHEN DATASRC

*IS "INPUT"

*WHEN EMPLOYEE.TERMINATION_DATE

*IS =1

REC(EXPRESSION=.07692LOOKUP(EXP),TIME="TMVL(-11,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-10,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-9,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-8,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-7,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-6,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-5,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-4,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-3,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-2,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(-1,%TIME_SET%)",SALARY="Salary_MO")

REC(EXPRESSION=0 LOOKUP(EXP),TIME="TMVL(%TIME_SET%)",SALARY="Salary_MO")

*ENDWHEN

*ENDWHEN

*ENDWHEN

*ENDWHEN

*ENDWHEN

*ENDWHEN

*ENDWHEN

Thanks and Regards,

Krishna.