Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Issue Script Logic TMVL

Hi gurus,

i'm having a problem with the function TMVL.

When i try to rec a register, the funtion tmvl only takes the year and i can't concatenate with the current period.

the script Logic.

*SELECT(%MYYEAR%,"YEAR",TIME,ID=%TIME_SET%)

*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%

*XDIM_MEMBERSET TIME = %TIME_SET%

*WHEN F_ACCOUNT

*IS BAS(A4_EBITDA)

*REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF01101)

*ENDWHEN

*WHEN F_ACCOUNT.EFE

*IS CF01102

*REC(EXPRESSION = %VALUE%*-1, F_ACCOUNT = CF01102)

*IS CF01103

*REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF01103)

*IS CF01104

*REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF01104)

*IS CF01106

*REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF01106)

*IS CF01107

*REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF01107)

*IS CF01303

*REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF01303)

*ENDWHEN

*WHEN F_ACCOUNT

*IS BAS(CF_CAJA_FINAL)

*WHEN TIME.MONTHNUM

*IS 1

*REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYYEAR%.01))

// *IS 2

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".02"))

// *IS 3

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".03"))

// *IS 4

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".04"))

// *IS 5

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".05"))

// *IS 6

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".06"))

// *IS 7

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".07"))

// *IS 8

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".08"))

// *IS 9

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".09"))

// *IS 10

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".10"))

// *IS 11

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".11"))

// *IS 12

// *REC(EXPRESSION = %VALUE%, F_ACCOUNT = CF_CAJA_INICIAL, TIME = TMVL(1, %MYVAR%".12"))

*ENDWHEN

*ENDWHEN

*COMMIT

the error message.

[Message]

--------------------------------------------------------------

RUN_LOGIC:Member "2014" not exist

model: EEFF. Package status: ERROR

Thanks for your answers.

Regards

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question