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
Similar Messages
-
Crystal Reports with BEx Query using Custom Exit Variable
Hi,
We have BW BEx Query using Customer User Exit variable to derive the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem". (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
Crystal Reports with BEx Query using Custom Exit Variable
Thanks,
AndyHi Vibhav,
We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
We tried that "mandatory" option and did not work either.
Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
23.08.2011 - 08:20:49 CET - Info for Customer by SAP
I have raised this issue on the Idea#s Place as an enhancement request
on the below link:
https://cw.sdn.sap.com/cw/ideas/5586
This ER contains the information of including the customer exit
variables in the report without checking the #input for ready# option.
This ER can be considered for being implemented in the future
versions. You can refer to SAP Note: 1515837 - How To: Enhancement
Request Process - "Idea Place" for more information regarding the Idea
Place.
Cheers,
Andy -
Restricting Charecterstic using customer Exit variable
Hi Experts,
Please adivise how can I restrict values of a charectersitc Infoobject using a customer exit variable.
I have a InfoProvider which has a authorisation values from which I have to retrieve the authorisation values.
Regards,
Koka.Thanks for the reply Bhawani, I have a function module to fill the Customer exit variable with the values retrieved from DSO.
Can you please explain me the second step mentioned or can I direclty call my FM in the Include ZXRSRU01..
WHEN 'XXXX '. ( customer Exit varaiable)
CALL FUNCTION 'ZBI_LOAD_AUTH'
EXPORTING
I_AUTHVALTYPE = 'auth value'
TABLES
E_T_RANGE = E_T_RANGE.
Regards,
Koka. -
How to use custome tag lib in the JSP page?
How to use custome tag lib in the JSP page?...with JDeveloper
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.working_with_jsp_pages%7Cjsp_ptagsregistering~html/
-
How to create customer exit variable
Hi guys,
please any one can help for how to create customer exit variabel.
Regards.Hi!
welcome to SDN.
its very simple.just go to Bex query designer. there u can use the following <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm">Link</a> to create a variable.. but use the processing type user exit.
after that go to transaction SE37 in BW and opent he function module EXIT_SAPLRRS0_001
and in that there is a include ZXRSRU01.... just double click on it and edit that...
there u can write code for your variable ,...for example write code inside
case "ZMY_VARIABLE"
*code for ur variable
endcase
u can use the following
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm">link for help</a> -
WAD - How do I hide Exit Variables from the variable listings?
If i'm using an InfoField control to display the user input variables on top of my web template, how do i hide the user exit variables?
I simply want to show the variables available to the user as 'Ready for Input' at runtime. However all of the user exit variables appear as well.
thanks in advance.Hi Webonomist,
It is also my understanding that any settings applied in the CFAdmin would
affect the entire server.
Check out the <cfapplication> tag for handling session variables on an
individual basis. Use caution when using cookies to hold session
variables. As noted in serveral livedoc information articles, "If client disables
cookies in the browser, client variables do not work".
As for the <cflocation> tag
<cflocation
url="path_to_redirect_to"
addtoken="no / yes"><!--- Include/not include token --->
Leonard -
Using custom environment variables in the profile path
Hi,
I've created a custom environment variable that I've setup on two computers and the domain controllers. I want to use this in the profile path in user properties. However when users log in the variable is taken literally rather than being converted
into the value. For example
\\fileserver\share\user\%myenv%.v2 is generated rather than \\fileserver\share\user\envdata.v2
If I add in another built-in variable such as %OS%, that converts properly but any time I use a custom variable Windows just doesn't use it during the logon process. If I open up Explorer and type in the path to my data as it should be it works fine
so Windows is definitely picking up the variable, just not using during the logon process. I can't seem to find a TechNet article that states custom variables can't be used in profile paths.
Has anyone else come across this?
Thanks,
TimHi,
Thanks for your post.
So did you create the environment variable using group policy? If yes, i would suggest you use 'Create' and not 'Update', the variable is then held through reboots.
Please refer to this blog, hope it will be helpful
http://blogs.technet.com/b/askds/archive/2013/07/31/roaming-profile-compatibility-the-windows-7-to-windows-8-challenge.aspx
Regards.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Hi Experts,
Any one know how to use or what is the purpose of "custom" option present under the data access tab in Excel workbook file format of Data Services
Thanks in Advance,
Rajesh.Rajesh, what is the Custom Protocol you are trying to use? It should be something like PSFTP, etc.,
Cheers
Ganesh Sampath -
How to use user exit to complete the PR item valuation price?
Hi Experts,
I am working on a user exit about Purchase requisition and the description is as following:
In standard SAP, the Purchase Requisition (PR) is an internal document to translate a pur-chasing requirement. Standard, at the moment of a PR, no supplier is known and therefore no purchase price is known.
In standard SAP, the purchase price and price conditions are introduced in the Purchase Or-der (PO); these fields are not available in the PR. Instead, the PR contains an estimated valuation price per item, this is the historic purchasing price (standard price or moving aver-age price).
For the GFP project, the purchase price needs to be introduced in the PR. This is due to the fact that budget reservations are made for PRu2019s. Therefore, each PR needs to have a correct purchasing value. As budget forecasting also takes into account the tax (VAT), the PR value needs to be VAT inclusive.
The goal of this development is to ensure that the user does not need to complete the PR item valuation price manually. Instead, this field should be filled with the item contract or info record price.
The purpose of this development is to extract the correct purchasing price from the agree-ment / info record when applicable. Thus:
u2022If the user does not assign a source to an item, do not overwrite the item valuation price
u2022If the user assigns a source to an item based on an agreement, use the agreement number and item to extract the purchasing item price
u2022If the user assigns a source to an item based on an info record, use the info record number and purchasing organisation to extract the purchasing item price
The enhancement trigger is the assignment of a source of supply by selecting a certain pur-chasing agreement (contract) or a certain info record.
can anyone help me on this? do you know how to know the time when the trigger of the source of supply by selecting a certain pur-chasing agreement (contract) or a certain info record happens? thanks in advance!
Kind regards
Dawson
Edited by: Julius Bussche on Jul 25, 2009 7:06 AM
"Hi" removed from subject title...Hi Debadatta,
Welcome to SDN.
Have you looked report program <b>RM07MAAU</b> (Report for Material Document Archiving)?
Hope this will help.
Regards,
Ferry Lianto -
How to use custom function for formatting the Line Chart Axes?
Hi...
I'm using a Line chart who's y axis value range from 0 to 50000. This is a number which it gets from it's dataProvider. I want to format this and show it as
$50,000
$40,000
$30,000
$20,000
$10,000
$0
instead of
50000
40000
30000
20000
10000
0
Here's my linechart code:
<mx:LineChart id="revTimeLineChart"
width="100%" height="100%"
showDataTips="true" >
<mx:horizontalAxis>
<mx:CategoryAxis id="lcCatAxis" categoryField="name"/>
</mx:horizontalAxis>
<mx:series>
<mx:LineSeries id="ls" yField="revenue" displayName="Revenue" showDataEffect="{slideIn}"/> (yField is what I want to format....)
</mx:series>
</mx:LineChart>
Can you please let me know how can this be achieved?
Cheers!
DeepakHi,
You could do something like this,
http://www.codersrevolution.com/index.cfm/2008/10/14/Flex-Charting-Format-your-X-and-Y-Axi s
hope it helps!
Regards ,
Bhavika -
Customer Exit Variable in SAP BI
Hi to all,
Please can any body tell me , What is Customer Exit Variable in SAP BI , how to use it , why we use it.
please also sned any website link , or any PDF or DOC file that have example to explain Customer Exit Variable in SAP BI.
I shall be thankfull to you for this.
Regards
PAVNEET RANAHi,
Customer Exit Variable in SAP BI : is used to calculata MTD,YTD, and some other calculations.
You can define variables with Customer Exits and then write code in CMOD. See the Article/Blogs in the same
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
CHeck the Following Articles.
Customer Exit Variables in BW/BI Reports
Using Customer Exit Variables in BW or BI Reports Part - 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20customer%20exit%20variables%20in%20bw%20or%20bi%20reports%20part%20-%201.pdf
How to use Customer Exit Variables in BW Reports: Part - 2
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/g-i/how%20to%20use%20customer%20exit%20variables%20in%20bw%20reports%3a%20part%202.pdf
Using Customer Exit Variables in BW/BI Reports Part - 3
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10fc4382-afa6-2c10-1380-fa224fe4324f&overridelayout=true
Using Customer Exit Variables in BW/BI Reports: Part - 4
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0fefc77-40e3-2c10-8da3-d4bfcb013387?quicklink=index&overridelayout=true
Calculating the Ageing of the Materials
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
Thanks
Reddy -
Executing customer exit variable in dropdown box. in WAD
hi Experts,
i have implemented two customer exit variables for current month and next síx months in a query and it is working well, and the code for customer exit variable is correct.
we have a requirement to use the customer exit variables in dropdown box in web application designer. in the dropdown box in web application designer i used command SET_SELECTION_STATE_SIMPLE in that 'command specific Parameters' i had given the exit variables current month and next six months.but after executing the web application designer and if i drill down the report with current month and next six months it's giving error message .
can anyone please tell me how to implement customer exit variables in web application designer through drop down box. i am using this in bi7 reports.
Regards
Sruthi ReddyHi,
Customer Exit Variable in SAP BI : is used to calculata MTD,YTD, and some other calculations.
You can define variables with Customer Exits and then write code in CMOD. See the Article/Blogs in the same
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
CHeck the Following Articles.
Customer Exit Variables in BW/BI Reports
Using Customer Exit Variables in BW or BI Reports Part - 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20customer%20exit%20variables%20in%20bw%20or%20bi%20reports%20part%20-%201.pdf
How to use Customer Exit Variables in BW Reports: Part - 2
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/g-i/how%20to%20use%20customer%20exit%20variables%20in%20bw%20reports%3a%20part%202.pdf
Using Customer Exit Variables in BW/BI Reports Part - 3
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10fc4382-afa6-2c10-1380-fa224fe4324f&overridelayout=true
Using Customer Exit Variables in BW/BI Reports: Part - 4
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0fefc77-40e3-2c10-8da3-d4bfcb013387?quicklink=index&overridelayout=true
Calculating the Ageing of the Materials
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
Thanks
Reddy -
Issue with Variables using Customer Exit.
Dear All,
I have the following scenario,
I the Variable Screen I have 4 variables, lets say for eg: Plant, Material, Material Group, Calendar Day.
Then I have 4 Customer Exit Variables in the report, 2 of type Char Value Variables and 2 of type Text Variables.
I have written the customer exit code and all the 4 customer exit variables derive their values from the Calendar Day Variable from Variable Screen.
In the Variable screen if i give the values only for the variable calendar the report executes fine.
But along with Calendar Day If I enter values for any other variable the report gives the following error message - "No value could be determined for variable VAR_CALDAY_CEXIT_1." VAR_CALDAY_CEXIT_1 is the name of my one of the Customer Exit Variables.
Please let me know how to solve this problem.
Cheers,
Neel.IF i_step = 2.
CASE i_vnam.
WHEN 'VAR_CALDAY_CEXIT_1'.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'VAR_CALDAY_MULSIN_MAN'.
CLEAR L_S_RANGE.
IF SY-TABIX = 1.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
ENDLOOP.
WHEN 'VAR_CALDAY_TEXT_CEXIT_1'.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'VAR_CALDAY_MULSIN_MAN'.
CLEAR L_S_RANGE.
IF SY-TABIX = 1.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
ENDLOOP.
WHEN 'VAR_CALDAY_CEXIT_2'.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'VAR_CALDAY_MULSIN_MAN'.
CLEAR L_S_RANGE.
IF SY-TABIX = 2.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
ENDLOOP.
WHEN 'VAR_CALDAY_TEXT_CEXIT_2'.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'VAR_CALDAY_MULSIN_MAN'.
CLEAR L_S_RANGE.
IF SY-TABIX = 2.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
ENDLOOP.
ENDCASE.
ENDIF.
'VAR_CALDAY_MULSIN_MAN' is the Calenday Day Variable from the Variable Screen.
It is of type multiple single values.
The User enters two dates and then the code is utilized to pass these 2 dates to 2 Char Value Variables and 2 Text Variables.
Once again, if i do not enter the values for any other variable then the report executes fine.
Cheers,
Neel. -
Customer Exit Variable in formula to get values for multiple keyfigures
Hi to all,
I have query as defined in following scenario:
CHAR_X C_KF1 (based on KF1) C_KF2 (based on KF2) u2026 C_KFn (based on KFn)
Value1
Value2
u2026
Valuem
C_KF = calculated key figure
I need to create a customer exit variable that will search through selection e.g. CHAR_X/KF1 and give some result. I need this variable for every keyfigure (KF1-KFn). Using customer exit variable is the only solution.
My question is: do I have to create formula variable (customer exit) representing every keyfigure separately (VAR1 u2013 VARn, like in below example)?
CHAR_X C_KF1 (using VAR1) C_KF2 (using VAR2) u2026 C_KFn (using VARn)
Value1
Value2
u2026
Valuem
Or is it possible to create one general formula variable since the way to retrieve the value in variable is always the same (like in below example)? In this case, how do I pass the value of the respective keyfigure to this variable?
CHAR_X C_KF1 (using VAR_X) C_KF2 (using VAR_X) u2026 C_KFn (using VAR_X)
Value1
Value2
u2026
Valuem
Thanks for your replies, points will be awarded!
CheersThat is my concern, the value of variable is not the same.
What variable should do is:
take KF1 id, go through values for CHAR_X, get back one value
This value would always be different, and also "KF" part in code of variable should be different, based on the column where the variable is being used (so, in column C_KF1 ,variable should "pick up" id of KF1, etc.).
I hope it makes it more clear. For now, I do not have the code for variable yet, I am just interested in concept whether it is possible to pass the ID of keyfigure dynamically so I can make decision how to model this request.
Thanks -
Customer exit variable to get weekly report
Hi All,
I have a requirement as following. there are 2 user selection variables.
Selection variables are v1: start date: Period Range (d1-d2)
V2: Period : Values should be 1month, 3 months, 6months (these values should be populated from Customer exit variable itself)
The report layout shoud show:
Actual sales by week (for period selected in v1)
Plan sales by week (for period value selected in v2)
Can you please reply with the abap?
Quick replies are much apprciated.
Thanks
SumanHello,
You can try with the following way:
1) Create a new infoobject with master data tick on and load it via flat file with the needed values like 1 month, 2 months etc.
2) Now include this infoobject in the MPRO along with the other infoprovider. If not using MPRO please create and use one.
3) IN the MPRO include and assign this infobject in one of the dimension.
4) Now in the query include this infoobject in the filter and create an user entry variable and in its default value include #
5) Now include calmonth in the query and create a variable of type user exit not ready for input and include iit for calmonth.
6) Now create a user exit for variable on calmonth at i_step = 2.
7) The logic can be simply reading the value from the i_t_var_range table for variable on the new infobject and based on the selection write routine to populate the months needed.
8) Here note that while writing routine please make sure you read i_t_var_range for all values NE #.
9) The only disadvantage is that we need to always include # entry along with other entries.
Hope it helps!!
Regards,
Shashank
Maybe you are looking for
-
How can I set up my Canon Pixma MX925 to scan to wireless laptop running Windows 8.1, no problem in printing. Desktop connected by ethernet prints and scans. Printer only offers option to scan to desktop. Have searched unsuccessfull to find answer.
-
Export from iPhoto 4 yeilds JPG's with Quicktime icon?
Hi, I am using iPhoto 4.0.3 I am exporting some old photos from iPhoto, I choose File>Export... Full size images / Use Title / Use Extension Format : JPG After the export if I locate the files in the finder window, all the files have .jpg extension.
-
Including AR Credit Memos in Query
Hello SQL Experts: My customer wants to show quantity, sales dollar amount, and tax amount for each warehouse and customer group. I am using the INV1/RIN1 tables for the figures since they do not want to see taxes, freight, other expenses, etc. in t
-
FRUSTRATING USER UNFRIENDLY ADOBE DOWNLOAD
I have spent several hours this afternoon trying to download Adobe Photoshop Elements 11 & Adobe Premiere Elements 11 to my MacBook Pro. This after the disk would not allow me to install the program. Looking for an answer I went online & was told to
-
Bad pixel patch correction in 2D image
In one CCD image (600X800), I have few patches of bad pixels (few are in irregular shapes, few are in regular one like rectangle of 8X8 pixels). For correcting these bad pixel patches, I am looking for some surface fitting function, which should have