on 05-30-2011 8:39 AM
Hello All,
Web report is based on two selection variables and both are mandatory entry.
0CALMONTH: Customer Exit : Populated from customer exit code. By default always Shows last month i.e 04.2011
Spend Attribute: A002.
Recently it is identified by user that selection variable is popluated as below
0CALMONTH: Customer Exit : 03.2010 - last year - Incorrect value
Spend Attribute: A002.
I have checked all transport request if anything by mistake moved production but every thing is fine.
Somehow 0CALMONTH is populating like 03.2010 which is incorrect. Even I debugged in T-code /nRSRT, it is showing correct 04.2011 while executing the report
Please provide me some ideas to resolve this issue?
Thanks in advance.
Vijay Velpula
Hi,
is it showing the wrong value when running a query or running a workbook?
If you are running a workbook, then probably someone saved the workbook including the wrong variable value.
just run the workbook, set the variable to the entry you want to see and save the workbook again.
regards
Cornelia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can you put here the logic that you wrote in the exit code for populating this variable ? Also while debugginf did you check the data coming in l_s_range before it is appended to e_t_range ? Is it correct ?
Regards
Raj Rai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thanks for your response. Please find below customer exit code.
*for variable: IC_SPEN1*
*********************************************************************
WHEN 'IC_SPEN1'.
IF i_step = 1. "befor the popup
select in infocube dimension
CLEAR sid_month.
sid_month = 0.
CLEAR /bic/dic_spend1t.
SELECT * FROM /bic/dic_spend1t.
IF /bic/dic_spend1t-sid_0calmonth > sid_month.
sid_month = /bic/dic_spend1t-sid_0calmonth.
ENDIF.
ENDSELECT.
select in 0CALMONTH master data
IF sid_month <> 0.
CLEAR n_month.
SELECT SINGLE calmonth INTO n_month FROM /bi0/scalmonth
WHERE sid = sid_month.
ELSE.
n_month = 200301.
ENDIF.
CLEAR l_s_range.
l_s_range-low = n_month.
L_S_RANGE-HIGH = n_month.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
EXIT.
ENDIF.
Values are coming correct under l_s_range.
Please suggest.
Vijay velpula
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.