Skip to Content
avatar image
Former Member

Need a help for customer exit variables on calweek

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

Add comment
10|10000 characters needed characters exceeded

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

  • Get RSS Feed

3 Answers

  • Feb 23 at 06:12 AM

    Can you post here your code?

    Regards,

    Loed

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 23 at 07:57 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14 at 03:36 PM

    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

    Add comment
    10|10000 characters needed characters exceeded