on 02-25-2006 2:38 PM
Hi Bw xpertz
Is there possibility to use variable exits in a query?
If possible how? if not HOw?
Can any one give the clarification please..
Thanx IN Advance
Regards
Krish
Bangalore
Hi Krish,
Yes, variable exits can be used in queries.
There are two types of exit variables you can use:
SAP Exit:
These are pre-defined variable sprovided by SAP e.g 0cmonth to return the value of the current month, 0dat to return the current day etc. If you want to use these, you would need to activate these in business content. When defining the variable in your query, choose processing type as SAP Exit.
Customer exit:
For these you can write your own logic, but first you would need to create a project in transaction CMOD.
after creating & activating the project you cam goto transaction SE38, display the program EXIT_SAPLRRS0_001
and double click on include ZXRSRU01. This will take you to the place where you may write you customer exit variable code. There is essentially a case (vnam) ststement in this include, so to start writing the code for your variable, you need to start with a when '<your variable name>' line and then the appropriate i_step number followed by your code.
Choose processing type as Customer exit when creating the variable in your query.
Refer to the how to document:
https://websmp205.sap-ag.de/~sapdownload/011000358700002762582003E/HowToDeriveVariableValue.pdf
Hope it helps,
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi krish,
we have SAP Exit variables as well as Custmoer exit variables.
for customer exits in variables...we have to choose processing type as 'customer exit' while creating a variable..corresponding code should be written in CMOD transaction in BW.
pl refer this post to download how to do...documnet.
Take a look at
Hope this helps in understanding about user exits in variables.
Please don't forget to assign points if it helps
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
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.