on 05-10-2006 4:08 PM
Hi gurus
I'm trying to implement Virtual key figure.
I read a lot of documentation but I don't understand the right way!
My tests are:
<b>First</b>
implement RSR00002
I implement the components, the include zxrsrtop and
ZXRSRZZZ, but it doesn't work
<b>Second</b>
Delete the RSR00002 enhancement and impement BADi RSR_OLAP_BADI
I create with SE19 a new implementation name (ZRSR_OLAP_BADI)
I creates attributes
I.e.
"P_KYF_ZORDRESQ " "Instance Attribute" "Public" "type I"
"P_CHA_0CALMONTH" "Instance Attribute" "Public" "type I"
I fill in the method
<i>METHOD IF_EX_RSR_OLAP_BADI~DEFINE .
DATA: l_s_chanm TYPE rrke_s_chanm,
l_kyfnm TYPE rsd_kyfnm.
FIELD-SYMBOLS:
<l_s_chanm> TYPE rrke_s_chanm.
CASE i_s_rkb1d-infocube.
WHEN 'ZMSDORFAT'.
l_s_chanm-chanm = '0CALMONTH'.
l_s_chanm-mode = rrke_c_mode-read.
APPEND l_s_chanm TO c_t_chanm.
APPEND '0REQ_QTY' TO c_t_kyfnm.
APPEND 'ZQTCONS' TO c_t_kyfnm.
APPEND '0NET_VAL_S' TO c_t_kyfnm.
APPEND 'ZVALCONS' TO c_t_kyfnm.
APPEND 'ZORDRESV' TO c_t_kyfnm.
APPEND 'ZORDRESQ' TO c_t_kyfnm.</i>
SAP recommends using BADI instead of RSR00002 in line with there OO development.
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. But when the system uses the method if_ex_rsr_olap_badi~compute is seems use the stabdars that is :
CHECK p_do_it = rs_c_true.
PERFORM (p_form_name) IN PROGRAM saplxrsr
USING i_s_rkb1d
CHANGING c_s_data
IF FOUND.
and this is a the form in RSR00002
How can I tell to the system to use the method in my class?
Thanks
Roberto
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.