I tried to follow the instructions in one of the links posted on SDN but for some reason it is not working. this is the code that I have in COMPUTE section. The problem is when i debug, p_cha_0CREA_DATE does not show any value but when I select c_s_data it shows data in all fields. My problem will be solved if i could populate p_kyf_ztdt. i am trying to populate p_kyf_ztdt field. after this block i have a function module that i am feeding this information so when it does not find any value for p_cha_zcr_nu, that function module fails.
This is my code.
method IF_EX_RSR_OLAP_BADI~COMPUTE.
FIELD-SYMBOLS <fs_ztdt> type any.
FIELD-SYMBOLS <fs_zcr_nu> type any.
p_kyf_ztdt = 7.
p_cha_zcr_nu = 1.
Assign component p_kyf_ztdt of structure c_s_data to <fs_ztdt>.
Assign component p_cha_zcr_nu of structure c_s_data to <fs_zcr_nu>.
and so on...
Please tell me what i am doing wrong.
Thanks.