Skip to Content
0

Need a help for customer exit variables on calweek

Feb 20 at 07:26 AM

66

avatar image
Former Member

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).

10 |10000 characters needed characters left characters exceeded
Former Member

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.

0
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Loed Despuig Feb 23 at 06:12 AM
0

Can you post here your code?

Regards,

Loed

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 23 at 07:57 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Nora Roch
Mar 14 at 03:36 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded