cancel
Showing results for 
Search instead for 
Did you mean: 

Need a help for customer exit variables on calweek

Former Member
0 Kudos

Hi

I'm working on SAP BW 4 HANA environment ,recently I got a requirement to get the last week data(not previous 7 days) by entering cal day(single value) as an input.

I've written the code by searching some other thread,but the variable values I couldn't see in RSRT screen after entered the date input.

Please let me know if any FM to get the result (DATE_GET_WEEK),I couldn't see any error message in se38 program, may be I did some wrong code in se38.

Example -Input is calday (19.02.2018)

out put is to show last week (11.02 to 17.02.2018).

ravi_chandra3
Active Contributor
0 Kudos

Aruna,

Please paste your code.

Basically we need to read the input variable value( Entered dynamically ) and we need to do some calculation in I_STEP = 2.

and finally the value needs to assigned to E_T_RANGE internal table. Please let me know if needs any more info.

Accepted Solutions (0)

Answers (3)

Answers (3)

nora_roch
Advisor
Advisor
0 Kudos

Hi, the i_step will determine when your variable is filled (before screen, after screen or in validation). Check the OLAP Wiki for more technical details: Customer Exit Variables

Cheers

Former Member
0 Kudos

Hi,

If you want to display you variable value in RSRT then your code should be written in I-step 0, that will trigger the value before entering the report.

Regards,

Pankaj

Loed
Active Contributor
0 Kudos

Can you post here your code?

Regards,

Loed