Incomplete text for variables in BPS selection
Hi
We are using BW 3.5 and BPS layout in Taiwan language.
When person looks for selection variable options for an object the text is not complete , it only shows first two characters however if we go to text table of BW object it has complete data of 3 characters ( these are taiwainese characters).
Any idea on same ?
Regrads,
Monika
hi...check on the query designer, how the infoobject for that variable has been defined (there are 4 options like Key, Key/text etc).
Similar Messages
-
Dear ALL,
I m having one variable for that i need key and text in bex analyzer.
how to enable the key and text for a variable.
pls asap
regards,
JenishHi jenish kumar ,
if i under stan your requirement correctly, need to have both text and key values for variables with F4 help.
you need to chnage the properties of that infoobject at infoobjects level or at infoprovider level,
this is at infoprovider level
in RSA1-> go to change mode of infoprovider (Multiprovider/ cube) on which Query is build) then Expand Charecteristc Dimension -> select infoobject -> right -> select provider-specific properties -> select Display '0 Key and Text' . Activate infoprovider and Run Query and check the Selection screen.
hope this helps
Regards
Daya Sagar -
Report is by defualt picking up short text for variable selection screen.
Hi all,
Reports(WAD/BEX) by default pciks short text of the master data , i want it to pick long text ; any idea ?
Thanks ,
MadhavHi Madhav,
The BEx query setting made in infoobject can be overwritten by the settings made in the query .
You need to select Long Text in the query for that characteristic.
This setting will overwrite whatever is made in the info object level and so make will diplay the long text.
Hope it helps:)
Regards,
Asha -
Master data needs to be appeared for variables in BPS
Hi everyone,
I am working in BW-BPS environment. We have to create a variable on the Company Code infoobject in the planning area. When a user wants to enter the value for the variable 0COMP_CODE, all the master data values should appear. But in the replacement type for a variable doesn't contain this option.
So please let me know how to achieve this requirement. If USER Exit needs to be seleted, then let me know the procedure to implement the same.
Also we are using a Flat file to input the values into BPS environment. Currently I am using the Tab Deleimited Text file to do the same. But the user want .CSV file as input. So is there any way to convert the file?
The user will input the Planned amount in local currency, & we have implemented a Currency Translation Planning function in the Planning Environment. Once the data has been loaded thru flat file the user should execute the planning function & save the data to persistently store the data in the Real time infocube. Here user wants the Currency translation function to be hide & the currency conversion should happen automatically when the user saves the data he entered.
Narendra ReddyHi.
Related to variable: if you want to show for selection ALL master data simply create variable with type "Characteristic Value". Attach characteristic to your variable. Set "Replacement Type" = fixed value and in "Selection Conditions" set "From" = 000000 (accoding to lenght of characteristic) and "To" = ZZZZZZZ. This will give you all master data in variable.
Related to currency convertion: create function type "currency convertion" and add it to global planning sequence. Run this planning seq according to your needs and execution of conversio will be in background.
Regards. -
Enabling Key and text for the Variable Selection screen
I need to display key and text for a characteristic when selecting the drop down menu in the variable selection screen of a web report. In the Business Explorer tab within the info-object, I changed the General Settings to display Key and text, but when I open the drop down menu for this characteristic, it is still displaying the key only. Is there some other place where this change needs to happen?
Hi,
Did you try to log out and log in again into BEx?
Best regards,
Eugene
Message was edited by: Eugene Khusainov -
The long text for purchase order text field in mm03
Hi,
Please provide me long text for purchase order field.in mm03 the view purchase order text having the long text for purchase order.this is enter when ever your creating the material.but we have table and field name for that and also how to handle this long text.please provide me urgently.
Thanks & Regards,
Radhakrishna.Hi,
A sample code for ur requirement.
TABLES : ekko, "Purchasing Document Header
ekpo, "Purchasing Document Item
thead. "SAPscript: Text Header
DATA: t_theads LIKE stxh OCCURS 0 WITH HEADER LINE.
DATA: t_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: v_ebeln_ebelp(15) TYPE c.
TYPES: BEGIN OF t_download,
ebeln LIKE ekko-ebeln,
ebelp LIKE ekpo-ebelp,
tdobject LIKE stxh-tdobject,
tdid LIKE stxh-tdid,
tdspras LIKE stxh-tdspras,
count(4) TYPE c,
tdformat LIKE tline-tdformat,
tdline LIKE tline-tdline,
END OF t_download.
TYPES: BEGIN OF t_header,
line1(20) TYPE c,
line2(20) TYPE c,
line3(20) TYPE c,
line4(10) TYPE c,
line5(10) TYPE c,
line6(10) TYPE c,
line7(10) TYPE c,
line8(10) TYPE c,
END OF t_header.
DATA: g_filename TYPE string.
DATA: gt_header TYPE STANDARD TABLE OF t_header.
DATA: gs_header TYPE t_header.
DATA: gt_download TYPE STANDARD TABLE OF t_download.
DATA: gs_download TYPE t_download,
gt_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: v_subrc TYPE subrc.
DATA: v_nb_lines TYPE i.
DATA: v_ok TYPE i.
DATA: v_ko TYPE i.
DATA: v_ow TYPE i.
DATA: p_fname TYPE string.
DATA: g_append.
SELECTION SCREEN *
SELECT-OPTIONS : s_ebeln FOR ekko-ebeln.
PARAMETERS:
p_filedn(132) TYPE c OBLIGATORY,
p_file(132) TYPE c OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_filedn.
PERFORM file_f4_get CHANGING p_filedn.
START-OF-SELECTION.
*Select all the purchase order corresponding to select criteria
CLEAR t_theads. REFRESH t_theads.
SELECT *
FROM ekko
WHERE ebeln IN s_ebeln.
*Select all the text for P.O. header
SELECT * FROM stxh
APPENDING TABLE t_theads
WHERE tdobject = 'EKKO'
AND tdname = ekko-ebeln.
*Select Item of each P.O.
SELECT *
FROM ekpo
WHERE ebeln = ekko-ebeln.
CONCATENATE ekpo-ebeln ekpo-ebelp
INTO v_ebeln_ebelp.
*Select the text for P.O. item.
SELECT * FROM stxh
APPENDING TABLE t_theads
WHERE tdobject = 'EKPO'
AND tdname = v_ebeln_ebelp.
ENDSELECT. "select ekpo
ENDSELECT. "select ekko
DESCRIBE TABLE t_theads LINES v_nb_lines.
LOOP AT t_theads.
Read the text from pool
CLEAR thead.
REFRESH t_tlines.
CALL FUNCTION 'READ_TEXT' "#EC *
EXPORTING
id = t_theads-tdid
language = t_theads-tdspras
name = t_theads-tdname
object = t_theads-tdobject
IMPORTING
header = thead
TABLES
lines = t_tlines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
MOVE-CORRESPONDING thead TO gs_download.
gs_download-ebeln = thead-tdname+0(10).
IF thead-tdobject = 'EKPO'.
gs_download-ebelp = thead-tdname+10(5).
ENDIF.
gs_download-count = 0.
LOOP AT gt_tlines.
gs_download-tdformat = gt_tlines-tdformat.
gs_download-tdline = gt_tlines-tdline.
gs_download-count = gs_download-count + 1.
APPEND gs_download TO gt_download.
ENDLOOP.
CLEAR gs_download.
ENDLOOP.
END-OF-SELECTION.
Hope this helps.
please reward points if useful.
Regards
rose -
I have an user entry variable on infoobject, when we run the report on web , on the variable screen , to select the values of the variable/infoobject only key is displayed but the description is not.
Though in the properties its made key and text for the infoobject.( in the query result i can see both key and text)
I need to display both the value and its description( to let the end User the choose the values on the variable screen.
Any suggestions?Hello All,
You can take a look at note 1080863. As of stack 14 this is no longer possible on the variable selection screen. You will have to make the changes using the InfoObject maintenance under the Business Explorer tab. Change Display to what you want your end users to see in the Selection Screen. Once you run the query the settings button is there and you can select between key and text again.
Hope this helps.
Regards,
Rudy B. -
Text Variable error "No value could be determined for variable " Brain 632
Hi,
I want to display current fiscal period as description in the colomn of a query.
Ex. If current fiscal period is 005.2009 in the colomn it should display 2009005
For that I have created a text variable.(Is it correct to create a text variable for this?)
But it gives me following error.
"No value could be determined for variable " Brain 632 Error.
Please help.I assume that your requirement is suppose a user enter a date as 01/12/2010 - 31/12/2010 in the selection screen then he should get the data for this range in one keyfigure and 01/11/2010 - 31/11/2010
For this requirement you have to create one customer exit variable on calendar day :
I have taken into account only the two values .
Important is to take into account what if a month has 31 days and previous month has 30 days.
The user exit will trow an error in this case .
You need to handle this in the code .
Data :
day type string,
year type string ,
Month type string ,
LS_Calday type Date.
IF i_step = 2.
CLEAR loc_var_range.
READ TABLE i_t_var_range INTO loc_var_range
WITH KEY vnam = 'Z_PCG1'.
day = loc_var_range-low+6(2) .
Year=loc_var_range-low+0(4).
Month =loc_var_range-low+4(2) .
if month = 01 ,
year= year -1 .
month = '12'
concatenate year month day into LS_Calday .
else if month = 03
and day =31 or day = 30 or day = 29 .
day = 28 .
month = month -1 .
month_high = month
concatenate year month day into LS_Calday .
else if month = 05 or month = 07 or month = 10 .
month = month -1 .
concatenate year month day into LS_Calday .
CLEAR l_s_range.
l_s_range-low = LS_Calday .
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
ENDIF.
restrict the first keyfigure with the user input variable and second with this customer exit variable . -
How to programatically select text for editing in an af:inputText control?
Hello, I am new to jdeveloper 11.1.1.3.0 and have searched and searched for info. I must be using the wrong terms as I cannot find any info or example on how to programatically select text for editing in an inputText field.
My request is to change an existing app so when the user presses a button, control should go to the inputText control (this part works, see existing backing bean code from another developer below) but automatically select the text within for editing by the user (saving the user from having to select the text first before editing).
Backing bean code to set the focus to an inputText field:
* sets the cursor to the given component id
* @param componentId of item on page
public void setFocusOnUIComponent(String componentId) {
FacesContext facesContext = FacesContext.getCurrentInstance();
ExtendedRenderKitService service =
Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
UIComponent uiComponent = facesContext.getViewRoot().findComponent(componentId);
service.addScript(facesContext,
"Component = AdfPage.PAGE.findComponentByAbsoluteId('" + componentId + "'); Component.focus();");
} I hope this isn't a dumb question and would appreciate it if someone can steer me in the right direction.
Thank you for any info,
GaryHi,
not a dumb question at all. Before answering it, here some comments on the code you pasted in your question
1. UIComponent uiComponent = facesContext.getViewRoot().findComponent(componentId);
This code line is not used at all in your method. So it seems you can get rid of it
2. "Component = AdfPage.PAGE.findComponentByAbsoluteId('" + componentId + "'); Component.focus();");
I suggest to change it to
"var component = AdfPage.PAGE.findComponentByAbsoluteId('" + componentId + "'); component.focus();");
as it is better coding practice to have variable names starting with a lower case letter and being flagged with the "var" identifier
For pre-selecting text in an an input component, there is no API available in ADF Faces, which means you need to reach out to the rendered HTML ouput. To access the markup for the rendered component, you can try
var markup = AdfRichUIPeer.getDomContentElementForComponent(component)
If this markup returns the HTML input component then you can use JavaScript you find on the Internet to select the area of it. If it does not return the input component then you may have to use
document.getElementById(componentId+'::content')
Note however that working directly with generated HTML output bears the risk that your code breaks when - for whatever reason - the ADF Faces component rendering changes in the future
Frank
Frank -
How to use OTR short text for description of select options
Hi Experts,
Can some one guide me how to make the description of select option language independant.
Can't I use OTR text for description? if yes, how is that?
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
I_ID = 'SEL_OPEN_LINES'
IT_RESULT = LT_RANGE_TABLE
I_AS_CHECKBOX = ABAP_TRUE
I_READ_ONLY = L_READ_ONLY
I_DESCRIPTION = 'Select Open Lines' ).
how can i pass OTR text for the string type I_DESRIPTION export parameter of ADD_SELECTION_FIELD method?
or is there any other way of doing this.
Any clue is highly appreciated. Thanks.
Regards,
AjayHi,
Try this out -
Use cl_wd_utilities=>GET_OTR_TEXT_BY_ALIAS get the alias text into a string and pass this string variable to the I_DESCRIPTION.
DATA:
lv_str type string.
CALL METHOD cl_wd_utilities=>get_otr_text_by_alias
EXPORTING
alias = 'ZPKG/header'
language = sy-langu
RECEIVING
alias_text = lv_str.
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
I_ID = 'SEL_OPEN_LINES'
IT_RESULT = LT_RANGE_TABLE
I_AS_CHECKBOX = ABAP_TRUE
I_READ_ONLY = L_READ_ONLY
I_DESCRIPTION = lv_str ).
Regards,
Lekha.
Edited by: Lekha on Sep 14, 2009 6:36 PM -
How to use bind variable value for table name in select statement.
Hi everyone,
I am having tough time to use value of bind variable for table name in select statement. I tried &p37_table_name. ,
:p37_table_name or v('p37_table_name) but none worked.
Following is the sql for interactive report:
select * from v('p37_table_name') where key_loc = :P37_KEY_LOC and
to_char(inspection_dte,'mm/dd/yyyy') = :P37_INSP_DT AND :p37_column_name is not null ;
I am setting value of p37_table_name in previous page which is atm_state_day_insp.
Following is error msg:
"Query cannot be parsed, please check the syntax of your query. (ORA-00933: SQL command not properly ended) "
Any help would be higly appreciated.
RajInterestingly enough I always had the same impression that you had to use a function to do this but found out from someone else that all you need to do is change the radio button from Use Query-Specific Column Names and Validate Query to Use Generic Column Names (parse query at runtime only). Apex will substitute your bind variable for you at run-time (something you can't normally do in pl/sql without using dynamic sql)
-
Text for block and select option on the selection screen of Logical Databas
Hi,
I have copied a standard program (RFBELJ10) which is making use of LDB (BRF) and created a custom program. Now, the requirement is to add a selection screen option to the custom report and do some validation on the data extracted. I have added the select option and provided a text (lets say "Segment") to it using menu path Goto --> Text Elements --> Selection Texts and activated. But this text is not displayed on the screen when i execute the report. It is showing the string which i used while defining the select option.
Also i need to provide a frame and title to it. but its not displayed.
i have written the following code for that:
SELECTION-SCREEN: BEGIN OF BLOCK seg WITH FRAME TITLE text-h01. " Segment
SELECT-OPTIONS: s_segmnt FOR faglflexa-segment. " Segment
SELECTION-SCREEN: END OF BLOCK seg.
Could you please help me in getting the texts displayed for fram and the select option?
Thanks,
PhaniSolved the problem. I have maintained the text in German. So, when I execute the report in english, it is not displaying the text. I have translated the texts to English and is working fine now.
-
Can I change the select option text for pnp ldb ?
hi Akll,
I am using a pnp logical database in my report and I have created my own hr category because i wanted to use field ename from the ldb in the selection screen. Now the problem with ename is I cant do a case sensitive search.
So I have replaced it with sname, so now my screen has sname instead of ename, however I want to change the selection text for select option ( at present it is 'EE name can be sorted' )
Kindly advise,
thanks,
GVI guess the text cannot be changed.. anyways you can add the field as an additional field by normal coding in your report
-
Filter value for variable selection screen
Hi & help !,
This could be a tricky or an easy question, but it seems too hard for me !
I'm storing version in my cube, and have a report which shows informations for the version you select (with a variable = ZVERSION01).
ex : Version :
V01
V02
V03
V04
When report is executed i have my variable selection screen (for variable ZVERSION01) which give all version [V01 -> V04]. But i want users have no access to version V01 & V02.
Variable ZVERSION01 is "single selection", i tried to filter with Default Values screen or Characteristic Restriction screen but it doesn't work.
ex : caracterisitic restriction screen : VERSION = !V01 / !V02
default value screen : variable VERSION = ZVERSION01
Any idea?
ThxHi,
In BI 7.0 there is Anaylysis authorisation RSECADMIN transaction. That you can use here or normal role concept will also do.
What you need to do is grant authorisation to the users for V03 and 04 version only and create 'Authorisation' type variable on version in the query. (type of variable - it asks while creating the variable). This way users will only be able to see authorised versions only.
Note you have to make version infoobject as Authorisation relevent infoobject. ( in infoobject properties).
Let me knw if you have any doubt.
Regards,
Viren -
Selection option for variable entry in BEx in 2004s
Hi All,
Have any of you noticed that the selection option functionality for variable entry while creating a variable does not allow wild card entry,Even though you create the variable with selection option as input.
In 3.5 we had option the option "contains the pattern " but in 2004s its not available in the variable entry screen.Hello Guys,
When I posted this thread we were upgrading to SP11, now I am in the middle of another upgrade (SP15) and I still notice that wild card option is yet to be made available for a variable of type selection option.
Back then I had sent a message to SAP and was told that the functionality would be rolled out in new SP's. I am very curious as too how others are handling this problem, as they are bound to be reports for which such variables are a must.
P.S - The option has been made available
Edited by: Karthik on Jul 22, 2008 6:52 PM
Maybe you are looking for
-
Get a waveform graph to stop plotting after a given time period
I am doing a research project looking at the effects of modifying visual feedback on a person's current force output. I have a waveform graph that plots the target force level they are trying to match (specified by me) and next to it a second plot sh
-
Lost sound on Mac mini (Late 2012) Yosemite 10.10.1
Hello everybody, I lost the sound on my Mac mini. It was working just fine a few days ago. (I tried restoring it to an earlier date but no joy). I tried the troubleshooting mentioned here Troubleshooting issues with no audio from built-in speakers on
-
Trying to understand threads; interesting synchronize question
Ladies and Gentlemen, what would happen if: class c { public synchronized void a() { //do some stuff b(); public synchronized void b() { // do some stuff this should cause a deadlock situation, should it not? The compiler doesnt complain when I try t
-
Freight charges not to be included in the Net value and Profit margin
Hi Gurus, My client dosent want shipping charges to be included in the net value, but it should appear in the price and also the shipping charges should not be considered in calculating the profit margin. Another point is my sale price is cost plus 2
-
[SOLVED] /media permission denied
$sudo mount /dev/sda1 /media mount: warning: /media seems to be mounted read-only. $ groups lp wheel games network video audio optical storage power howard trying to mount my music hard drive in /media for audacious. it's ntfs and ide if that makes a