How to assign a Customer exit variable to Key figure
Hi,
I have created a Customer Exit variable to findout no. of days in the month.
But I dont know how to assign that variable to a Keyfigure value. Can you please let me know how to assign it.
Regards
Sankar
Hi Sankar,
From what I could understand, you want to display the output of that key figure for some no. of days of a month (calculated in your customer exit variable)...right ???
If that is the case then you can create a structure in columns. Create a new selection...include your key figure and that customer exit variable in it.
That shall serve the purpose.
Regards
Shalabh Jain
Edited by: Shalabh Jain on Dec 15, 2008 1:46 PM
Similar Messages
-
HOW TO CREATE A CUSTOMER EXIT VARIABLE
<Moderator Message: use lower case letters next time, we don't want you to shout. --> see rules of engagement>
hi,
How to create a customer exit variable..!
in a query designer i have created the customer exit variable ,in the cmod i have created the project
for the exit rsap0001 and kept the break-point....but when i executing the query via BEX-Analyzer
where control not stoping in the break-point..
can any one help me ..what is the approch i need to do.because i new to BI..
Regards,
shahina.....!
Edited by: Siegfried Szameitat on Dec 17, 2008 10:37 AMHi Shahina,
1. Create formula variable var1 from to date using replacement path.
2. Create another formula variable var2 for current date using customer exit or you can use standard
formula variable for current date
3. Create calculate key figure ckf using var1 & var2.
ckf = var1 - var2.
Thanks == points
Regards
Sudheer
Edited by: SUDHEER on Dec 17, 2008 10:41 AM -
How to make BEX Customer Exit Variable inactive through Customer Exit Code
Hi,
I had created two variables VAR1 and VAR2 as Customer Exit variables
If VAR1 is entered then it should automatically make the VAR2 as NO Entry Variable.
vice versa also required.
can u help me with any code in CMOD so that we can make it inactive through Customer Exit Code.
Thanks in Advance.
Sunil.What i want is not commenting the code
I want to make the BEX Variable as inactive by using the Customer Exit Code
EX : If value in VAR1 is entered then VAR2 should become automatically inactive.
If value in VAR2 is entered then VAR1 should become automatically inactive.
how can this be done
Thanks in advance.
Sunil -
How to identify what customer exit variables are used in which query?
Hi all,
When i happened to check the CMOD transaction code i can find a list of customer exits are used. But i want to know what are those customer exist are used in which query? can anyone let me know the procedure of identifying it.
Thanks a lot
Poojahii pooja
check the foll links
Very Urgent: Customer Exit Variable
customer exit variable
MIssing Authorisation for customer exit variable query
Authorization variable or customer exit variables
if it is helpful assign points
thanks. -
How to change a customer exit variable in columns
Hallo Experts,
i have a query with two columns. In the first column is a customer exit variable, who get filled with the actual calyear. In the second column is the same variable with an offset -1.
When i execute the query, in the first column i can see the year 2007 and in the second column i can see 2006. That´s ok.
Now i want to change the year (dynamically) in a filter 2007 in 2005. The result should be in the first column 2005 and in the second column 2004.
What can i do?Hi Jens,
As I understand the scenario, you have two RKF or selections in column 1 and 2, one is restricted with variable ZYear, the other with the same variable, offset - 1 and variable ZYear provides current year.
I think there is no way to change years dynamically in a filter, but you could solve the issue by refreshing the query and overwrite default value provided by customer exit.
To achieve this, please change variable and check 'Ready for input' in change dialog..
If this shouldn't work, please let me know details a variable definition and customer exit.
Have a nice w/e
Joe -
Assigning a customer exit variable to a user entry variable
Hello all,
I'm creating a PCA query and would, in a certain column, like to show the year's cumulated value (key figure amount), based on documents posted up until a certain posting period (specified via a user entry). E.g. from 01.2006 to [user entry] where the "from"-year is also dependent of the user entry.
1) Where do I do this coding (transaction code/function module etc..)?
2) How do I do this coding?
3) Does this kind of variables exist as standard? If yes, which one?
Thanks!!!
Best regards,
FredrikHello again,
I have now created a new input variable named 'Z_FPER' (single value) which I want to read into the exit variable...
I debugged the query and found out that the value of I_STEP is 1, which is wrong. It should be I_STEP = 2... However, I have definied my user exit variable as "no input" and "mandatory". What else should I do to make it a '2'?
Thanks,
Fredrik
P.S. This is the code:
*& Include ZXRSRU01
DATA: L_S_RANGE TYPE RSR_S_RANGESID.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
CASE I_VNAM.
WHEN 'Z_FISCPE'.
IF I_STEP = 2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'Z_FPER'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)."low value, e.g.200001
L_S_RANGE-LOW+4(3) = '001'.
L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
ENDCASE. -
Do we write variable customer exits for virtual key figures in Bex?
Hi all,
Am I thinking the right here " We write variable customer exits in CMOD for virtual key figures in BEx " or am I totally wrong. If thats the case where do we write it.
Thanks,
JBNevermind
-
How to assign my custom VBA variable to a parameter
I want to be able to assign the value from my custom variable to a parameter from a script;
but I cannot figure out if it is possible;
I want to be able to manipulate a string using my VBA code, save this string to a variable, and pass it back to a one of the parameters on a page in a scripts, and continue playing the script with this new value instead, without using Data Bank;
Thank you for help.Here is an example that sets a parameter named "UserName."
Private Sub RSWVBAPage_beforePlay()
Dim col As New Collection
col.Add "MyName"
RSWApp.SetParameterValues "UserName", col
End Sub
As you can see, this code is in the before play event. You must put this in before play in the page where the parameter exists. You can also use wild cards when identifying the parameter to be set.
For example, if you needed to look for UserName_784328732 (with a changing number value)
You could do the following RSWApp.SetParameterValues "UserName*", col
I hope this is helpful -
How to Write a CUstomer Exit for a variable in BEx
Hi,
How to write a customer exit variable in bex Query designer
Do i need developers key for this (If so what type of key do i need so that i can ask basis tean to generate)
Info Object: ZEXP_DTE (Expiry Date)
Variable on ZEXP_DTE :
ZEDTE
Type: Customer Exit
Can any one please tell me how to write a code in CMOD from this (Step-by Step)
Expiry Date > Current Cal Day
As arun said
'l_s_range-low = SY-DATUM.
l_s_range-opt = 'I'.
l_s_range-sign = 'GT'.
APPEND l_s_range TO e_t_range.'
I want to insert the above code for the above customer exit but as i am new to BW as ABAP please explain me what are the steps involved in CMOD
ThanksHi,
To write customer exit for a variable, you require Access key.
Contact your BASIS to get that.
Access Key,BASIS?
To write Customer exit,
User Exits
User Exit for Variable
/thread/809285 [original link is broken]
Hope these helps u...
Regards,
KK. -
How to use a customer exit in WebI
Hi expert,
I read from official SAP document that customer exit variable are supported within WebI query.
I created an universe based on a query bex. In this query I use a variable exit for 0calmonth2.
Within the WebI universe I don't see any variable.
How can I use/build a customer exit variable in my WebI query?
System feature: BO 3.1
Many Thanks.
ClaudiaHi,
I havethe same issue, even though I place the user exit variable in Filter section, its not working as expected in WEBI/crystal.
the variable that i have created will assign default value as sysdate.its working fine BW.
Are there any extra settings at BEX/BW level which have to be set before using user/sap exit variables in webi/crystal?
How should the user/customer exit variables be defined in order to get them carried properly to webi or crystal, I mean what should be the properties set for these variables? -
How to use customer exit variable in the report
Dear All,
i want to use a standard customer exit variable in the report properties.
In the Bex Query Designer right hand bottom you will find two buttons "Properties" and "Task". Click on task you will get different option. Choose properties from there and then select "variable sequence tab".
I need to add a standard variable there. How can i achieve it?
Appreciate your early help.You need to add variable to corresponding charctertic then you can get that varaible for sorting the sequence....
If 0CUST is the varaible then you need to assign it 0CUSTOMER then 0CUST will be available for the sequence.
Edited by: shanthi bhaskar on Apr 2, 2009 5:41 PM -
How to get the current month value for a customer exit variable?
How to get the current month value for a customer exit variable?
And also if we have an InfoObject with date value (including date, month, year), then how to derive the month value from this date type of Char.?
Thanks!Hi Kevin,
Check here........
Re: Customer Exist for "From Current Date To Month End"
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
Cal month
Regards,
Vijay. -
How to insert a code for a function module into a Customer Exit Variable?
I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
I need to get data in the column LW (Last Week) for both the key figures.
In function module EXIT_SAPLRRS0_001 one of the functions I have is:
Get the previous Fiscal Week
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
I need to create a new variable to get values in the Last week column for different key figures and use function 'DATE_TO_PERIOD_CONVERT' in that variable.
Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
Thank you.
TR.Hi Wond,
Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
Get the previous Fiscal Week
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = ld_date
i_periv = lc_periv
IMPORTING
e_buper = ln_poper
e_gjahr = ln_bdatj
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
lc_poper = ln_poper.
CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
wa_e_t_range-sign = 'I'.
wa_e_t_range-opt = 'EQ'.
APPEND wa_e_t_range TO e_t_range.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
Thank you.
Regards,
TR. -
Customer Exit Variable and Condition in a Query (Sequence of Execution)
Hi,
For a query i defined a Customer exit variable and a condition....
Which will first execute...wether it is a Variable and then Condition or vise versa
Is there any way we can control sequence of execution
My requirment is first to execute the condition and the variable how can i control this
ThanksHi
In your customer exit you will be having a field by name I_STEP which will help you to handle the time of execution of the variable.
Assign points if helpful
Prathish -
Default value of BeX customer Exit variable not Displayed in WeBI??
Hello Experts,
We are stuck with a problem where WeBI report is created on top of BeX query and we are not able to see the default value of Bex Customer exit variable in WeBI run. Here is the complete scenario:
1. One restricted KF is created in BeX, restricted with Customer exit variable on net Due date. And this variable is mandatory, ready for input, and Default value in calculated is user exit as current Week's Monday.
2. So, by default KF data should be restricted to Monday of current week, if user does not change this value.
3. Now, WeBI report is created on top of this Bex query, and all is working fine, i.e. we are getting variable as Prompt in WeBI, but Default value is not shown while Running the Webi Report.
So, need your inputs on the same, if default values from BeX in WeBI is supported or not? If yes, why this is happening, and how to resolve it?
Please notice, the restrcition is in KF only, it is not a separate restrcition on Net Due date in Filter area or in Defualt area of BeX
and we are on SAP BW 7.1 and BOXI 3.1 SP4.
Regards,
Vipul
Edited by: VIPUL GOYAL on Nov 23, 2011 9:44 PMHi,
See 1285993 - Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe
WebI will prompt when executed, but the default values calculated by the user exit - do not appear.
Note: If the BEx variable has property 'ready for input' set / enabled, then its WebI prompt shows ok, but no default value appears.
Cause
This behaviour expected 'by design' (in the context of the product's current limitations) as explained in the online guide below:
Please refer to Chapter 7, page 44, document link here: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_sap_olap_universes_en.pdf
Characteristic variable > processing type > Customer Exit is "Supported, without user entry"
--> This should be understood as meaning "User will not be shown a prompt"
regards,
H
Maybe you are looking for
-
I can't get Itunes to communicate with my 3rd gen Nano - I've reinstalled iTunes several times but still get the same error message for both mine and my wife's ipod - same version of 3rd gen. All the troubleshooting guide has been followed but still
-
Iweb 08 mystery. Adding navigation to my portfoilo pages!
I used the photo page template from iWeb 06 to create a simple portfolio page with thumbnails that would act as buttons and enlarge the thumbnail when clicked.It worked and it was simple. I recently purchased and installed iWeb 08. When I click on sa
-
Exchange 2010 SP2 Public Folders Stubborn Replicas (OAB)
I migrated to a new server with 2010 SP3 all is working good, I am able to see all Public Folders and their contents fine. Now I need to delete this stubborn Public Folder on the older 2010 SP2 server to decommission it. But I get the dreadful 'you c
-
The"body party" project i am working on just wont open. the even folder shows up but i only see the title information for the actual project. when i try to open it the program crashes. Ive been working on coloring the project with the mlooks 2 plugin
-
This is the message i am getting when i run the cash flow No records were selected Table Financial Statement Key Figures Report name 0SAPRATIO-03 Report long text Cash Flow (Indir