Skip to Content
0
Former Member
Mar 30, 2007 at 05:38 PM

Using a dummy variable in a customer exit

29 Views

I currently have a report that uses 0calmonth = Current Month (SAP Exit)

Now, this works fine when running for the month, but if a user wants to see the last completed month I'd need to setup a separate report that says

0calmonth = last month.

These reports are broadcasted automatically by e-mail, this is why I don't want to specify the actual requested month n the variable, I'd need to change my settings all the time.

I have a whole bunch of reports setup that way and I don't want to duplicate them all, what I had in mind was to use a dummy variable in which the user enters a value CMTD or LMTD. These values would then be used in a customer exit of the kind:

IF CMTD set as current month

else if LMTD set as last month

I have no problem with that last part, but how do I create that dummy variable and is there anyway (without adding an infoobject in my cube) to have it include in the F4 menu the two option CMTD and LMTD (which are really meaningless abbreviations...)

Thanks all for your help.

Eric

Message was edited by:

Eric Blondin