| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Making Use of customer exit Variables in BIBy Venkat Suman B, IBM India Scenario:
The selection screen variable Month/year should be optional and if user inputs
any value the Query should run for that selection condition else if user
doesn’t input any values it should pick the dates as high = (current calmonth)
and low = (current calmonth – 3 months) Solution: create two
customer exit variables one having properties not ready for input & other as
ready for input. The code is written for I_STEP = 2 for not ready for input
variable but calling other variable in this code. Let’s Consider a TEST
Query. Changes to be done in Query designer Open
the query in query designer
ZVBICALL is a customer exit variable with not ready for
input.
ZVBICALM is a
customer exit variable with ready for input.
Save
the changes. Creation
of Customer exit variables & ABAP devlopment Go to Tcode CMOD in BI
system and specify the Project name
It should consist of
following enhancements
In the Components tab goto
exit EXIT_SAPLRRS0_001 and INCLUDE ZXRSRU01.code
should be written in this Custom Include only. Code
in Include ZXRSRU01 TRY. Here Z_IF_REPORT_VARIABLE
is an Interface which has got a method Execute During
the runtime we get variable name into l_name & step value in i_step. So we should be creating a class same as Variable
name i.e value we get in l_name. This
is the declaration of Interface Z_IF_REPORT_VARIABLE
in se24 Transaction
Create class ZVBICALL in Tcode SE24 Create
class ZVBICALL giving the interface name in interface tab
Automatically
the method is created, now click on CODE icon to write the code.
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||