Hi,
I am afraid that I don't fully understand the issue yet. In the screenshot I can see text variable &ZT_FPER& and in the coding snapshot I can see variable ZPRECALMNTH. Which one are we talking about? Does it concern a text variable of type user-exit?
In the coding I found a few strange things. First of all table T009B does not have the field KTEXT in my SAP BW 7.31 system. Is this correct?
Then you determine the variable ID_CALMONTH. In the L_S_RANGE however, you are using again LD_CALMONTH. Shouldn't it be ID_CALMONTH?
Best regards,
Sander