on 02-06-2016 6:42 AM
I need customer exit code on 0calday which will pull last 7 days data from the input date in bex query ??
HI,
I suggest to select or define an appropriate input-ready Variable together with an offset of minus 7 days in the BEx Query. I don't think that your requirement needs a Customer-Exit Variable.
Best regards,
Sander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sander ,
actually i wanted to use this query in broadcaster hence i was looking for customer exit code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
create the one offset variable choose the -7 days.
when ever user will run it will take last 7 days data.
create the normal variable on the 0calday then create the another variable restrict with -7 using off set function.
Thanks,
Phani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
First create a variable of type customer exit (Not the manual one) in bex query where you need -7 days of data. Assign this variable to 0CALDAY.
This requires bit of ABAP coding in user exit EXIT_SAPLRRS0_001, if this is not implemented then you need to activate the enhancement which is RSR0001.
Logic:
Based on date being input do a -7 days by using. For example.
LV_DATE = INPUT_DATE - 7.
Thanks & Regards,
M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I agree with Sander's suggestion..Please refer in the blog below on how to implement OFFSET:
Offset Variables Example - SAP NetWeaver Business Warehouse - SCN Wiki
Regards,
Loed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.