Change of variable text in BEx selection screen
Hi all,
in our BW system the key users are allowed to create queries and also create variables. In some cases, especially for often used info objects like 0DATE the number of variables is increasing very quickly. The reason for this is, that 0DATE is used for a big variety of meanings e.g. delivery date, order date, invoice date etc.
So the users always create new variables only to have a meaningful description in the BEx selection screen, because they do not want only "date" to be displayed here. As result we have many different varianbles with exactly the same technical settings with only different names.
So my question is: Is it possible to change the diplayed text in the selection screen for each query without having to create a new variable?
Thanek you and best regards
Hi Stephan,
Changing the diplayed text in the selection screen for each query is not possible.You have to create a new variable for each query.
Rgds,
Murali
Similar Messages
-
'Text' of a variable in Bex selection screen
Hello,
We have a customer exit variable in Bex Query selection.it is mandatory,ready for input,interval which is on 0CALMONTH2.
In Bex selection screen i am not getting text of default/entered months.
for example: if default value is 2 to 4,then text would be FEB to APR.
what could be the reason?how to get teaxts of entered values?
(we have one more customer exit variable on 0CALMONTH2 which is single value and it shows text of enterd values in bex selection)
In web it is working fine.
RakeshHi,
Try to create an another customer exit variable for 0CALMONTH2 with mandatory,ready for input,interval. refer the abap code of the another customer exit variable(single value variable) of 0CALMONTH2 which you have mentioned in the bracket and modify the abap code based on the selection - interval. hope it helps.
Regs,
Vachan -
BEx Selection screen Hierarchy display (text - key)
Hi,
We have a new query deployed that uses several hierarchies in the selection screen.
When running the reports, the drop down for the hierarchies on the variable selection screen displays the full text.
However, the users are more familiar with the key value and would prefer to see that. In the actual report, the keys are displayed.
I am trying to find where the default display can be set for the hierarchies on the BEx selection screen so I can show the key values?
Thanks!
Darryl
Edited by: Darryl Goveas on Nov 16, 2011 12:14 PMCreate a FM like below and a wrapper for it so you can call it as part of process chain; we load all of our hierarchies then call this:
FUNCTION ZBW_CHANGE_HIER_DISPLAYNAME.
""Local Interface:
*" EXPORTING
*" VALUE(RETURN) TYPE BAPIRET2
data: hieid(25) type c,
hienm(30) type c,
lgtxt(60) type c.
RETURN-TYPE = 'I'.
RETURN-ID = '01'.
Select each hierarchy from list table
select nhieid nhienm t~txtmd
into (hieid, hienm, lgtxt)
from rshiedir as n
join rshiedirt as t
on nhieid = thieid
where n~objvers = 'A'
and t~objvers = 'A'.
if sy-subrc = 0.
concatenate Key and Text
concatenate hienm '-' lgtxt into lgtxt SEPARATED BY space.
update table with new description
update rshiedirt
set TXTLG = lgtxt
where langu = 'E'
and hieid = hieid
and objvers = 'A'.
if sy-subrc = 0.
RETURN-NUMBER = '001'.
RETURN-MESSAGE = 'Successfully updated Hierarchy Descriptions.'.
else.
RETURN-NUMBER = '002'.
RETURN-MESSAGE = 'Error when updating Hierarchy Descriptions.'.
endif.
else.
RETURN-NUMBER = '003'.
RETURN-MESSAGE = 'Error when selecting Hierarchy Descriptions.'.
endif.
endselect. -
BEX Selection screen in an endless loop when pressing the Check button
Hello SDN
Has anyone faced this issue before where the BEX selection screen seems to get its knickers in a twist and goes into an endless loopp when the Check button is clicked? It goes through fine if I directly hit execute.
Anyone ? Any ideas ?Never seen it before but here is something to check..
Does the query have a variable with processing type of customer exit. If yes, look at the user exit code in step 3 which is used for input value validation.
Vineet -
Adding Standard Text to the Selection Screen obtained using PARAMETERS
Hi all,
I have a report program which has the selection screen declared by the key word PARAMETERS.
Now I need to make the changes to this program such that a Text Editor appears on the Selection Screen and has a Standard text that should be displayed.
How can I do it?
I saw the screen number of the Selection Screen and went to screen painter and tried to add the Text Editot..but it did not let me dou2026.Why?
How should I add a standard text to a selection screen? The standard text should not be on top , but some where on the screen.
Regards,
Jessica SamHi Sam,
I dont want to create a new screen for this. On the existing screen whihc was built using PARAMETERS key word..i should insert a blokc of text whihc is mpre than 5-6 lines..how should i do it.
I navigated to Text Elements---->Selection Texts
it is now asking for Name and Text and i see in Name column the name of the parametsr that they used for Check box, radio button etc and in Text i see the text that is appearing on the screen
Now i am not sure what is should do next
My req is..i should display a block of standard text that doesnt change and whihc is of 4-6 lines?
how should i do it?
please also help me with what data declartions that i should do in parametrs key word in program?
Regards,
Jessica Sam -
Order of the variables in the initial selection screen.
Hi all,
How can I change the order of the variables in the initial selection screen.
Thanks in advance.
Regards,
Kumar.In the query designer goto query properties screen.. In the first screen you will see the order and you can move up and down the variables there as per your need ..
Regards. -
How to write text on the selection screen of a report
Hi all,
I need to write some user defined text on the selection screen of an ALV GRID Report.
Please suggest me how can i do this
Thanks
Ajay.SELECTION-SCREEN BEGIN OF LINE .
SELECTION-SCREEN COMMENT 12(31) text-024.<-----Goto text elements and add text.
PARAMETERS:P_FILEN LIKE RLGRAP-FILENAME .
SELECTION-SCREEN END OF LINE -
Regarding text box in selection screen
Hi all,
Can i know how we can implement a text with scroll bars so that user can enter a data of about 2000 characters with paragraph indent. also this needs to be done on the selection screen of PNP logical database.
Please let me know if this can be done.
Thanks.
Harshad.Hi Harshad,
[text box in the selection screen|Text box on selection screen]
Thanks! -
How to display the dynamic text in the selection screen
Hi All,
I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
EX: If i have the date of today 31st it has to show message like " today date is 31 like some thing " when i execute the report .
Could any one face this sort of requirment, Please let me know.
Thanks in advance.
Reagrds,
BharaniWhere would you like this dynamic text being displayed? As an "message" or in some parameter field?
If first
parameters date type d.
data: text type string.
at selection-screen.
concatenate 'Today is' date into text.
message text type 'I'.
If second
parameters pa_text type c length 50.
at selection-screen on date.
if date is not initial.
concatenate 'Today is' date into pa_text.
enidf.
at selection-screen output.
"show it as read only
loop at screen.
if screen-name = 'PA_TEXT'.
screen-input = abap_false.
modify screen.
endif.
endloop.
Regards
Marcin -
Diplay Text in Text Box in selection Screen
Hi Experts i want to display text in text box in selection screen like
Personnal Number
Display in text box and disable................please help me
Edited by: BFawad26 on Jun 21, 2010 9:46 AMHi,
You mean to say parameter in selection screen
Just press F1 on parameter you will get all the option available for the parameter
for defaulting text just give your text in DEFAULT option for the parametr
And for disabling this checkbox you can explore the LOOP AT SCREEN concept
In at selection screen output event you can modify the selection screen.just give one modif id for your
paramete and use this at selection screen output event , loop at screen and modify screen with the screen input = 0
for ur parameter.
Thanx
Edited by: PawanG on Jun 21, 2010 9:51 AM -
Parallel text box in selection screen
Hi all,
Can anyone please tell me that how can i create parallel text boxes in selection screen?
Exa : Company code <Input box> Date <Input box>
Pers No. <Input box> Cust No. <Input box>
Regards.hi,
Use COMMENT and POSITION statements in selcection-screen to achieve the same. -
Text length at selection screen
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
SELECTION-SCREEN COMMENT /3(79) TEXT-001.
SELECTION-SCREEN COMMENT /3(79) TEXT-002.
SELECTION-SCREEN END OF BLOCK B1.
in above code I can write text upto 79 length only how can I increase the length when I am increasing it from 79 to 89 it is saying that max legth is 79COMMENT /3(79) TEXT-001. when you give 3(79) it sets the position.Just try giving COMMENT TEXT-001 and check what is happening
Go to text-001 double click on that and then delete the text you had given then you should activate it and get back to the code then again double click on text and give your text.
Regards,
Midhun Abraham
Edited by: Midhun Abraham on Oct 7, 2008 7:17 AM -
How to color the text element in selection screen
hi,
i am going to pass some text element in selection screen output and my requiremnt is text element should be given some colour.
plz guide me.
regards
muthuraman.dHi...
Dont Declare your field as OBLIGATORY.
Instead perform the validation in AT SELECTION-SCREEN event. But validation should be only when Particular Radiobutton is selected.
And Generate only Error Message (Type E).
Try this code:
AT SELECTION-SCREEN on <yOUR mandatory field>.
IF PA_UPD = 'X'.
IF <YOUR MANDATORY FIELD> IS INITIAL.
Message 'Entry is must in this field' type 'E'.
ENDIF.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
IF pa_udp = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'ABC'. "#CCE
screen-active = 1.
ELSEIF screen-group1 = 'DEF'.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEIF pa_rep = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'ABC'. "#CCE
screen-input = 0.
ELSEIF screen-group1 = 'DEF'.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
<b>Reward if Helpful</b> -
Display F4 values as TEXT ONLY on selection screen of Bex report
Hi,
I have InfoObject with text(short) loaded for it. In Bex report on selection screen, I need to display ONLY TEXT values when you do F4 for values. How this can be achieved? I get key & text both now.
Please note that I have tried all below settings -
1. Set Text in InfoObject maintenance screen.
This setting is over-ridden if you have multiprovider specific settings defined.
2. Set Text in Infoprovider Specific properties.
Here if you do KEY only, it works.. if you do KEY & TEXT, it works... but if you do TEXT only, it DOESNT work. It works for filter F4 values after report is executed but doesnt work for F4 values on Selection screen. There is no way I am able to get TEXT only on F4 values on selection screen.
3. Set Text in Query
These setting defines how value is displayed on report output. Nothing to do with F4 or Filter values.
Thanks
AbhijitForgot to mention - I am on BI 7.0 & Frontend 3.5
Thanks
Abhijit -
How to change the text in default selection screen
Hi,
I have created the default selection screen(using PNP Logical database) ,In that I wants to display 'Data Selection Period' instead of 'Period'.
Please send me the related code.
Thanks in advace
mohanHR Logical Database is PNP
Main Functions of the logical database PNP:
Standard Selection screen
Data Retrieval
Authorization check
To use logical database PNP in your program, specify in your program attributes.
Standard Selection Screen
Date selection
Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database. When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period.
Person selection
Person selection is the 'true' selection of choosing a group of employees for whom the report is to run.
Sorting Data·
The standard sort sequence lists personnel numbers in ascending order.
· SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001.
Report Class
· You can suppress input fields which are not used on the selection screen by assigning a report class to your program.
· If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.
regards
vinod
Maybe you are looking for
-
PC to Mac Transition help!
Hi- I bought a pc about a year ago which I regret and would like to try out Mac. now I've got 3x1TB hdd and 1x60gb ssd. If purchase Mac pro would I be able to use these hdd along with rams and video card and moniter and put additional cpu. Specs are
-
Can the Role and Reverse Role fields be removed from the account competitor view? Thanks.
-
No process defined for form appraisal template
when in IMG path "define tabs and process configuration for template", on the "process configuration tab", I enter data and click Save. I now get the warning message "No process defined for form ..." as a consequence I cannot perform my configuratio
-
Okay so my friend was given a phone it is in active right know but was wondering how much it would cost to activate it with a new number the phone with still be on the original plan.
-
Unable to connect on premises build controller to Visual Studio Online account
I've been looking into VSO for our build process, but I'm having some difficulty on the basic set up. We use Unity3D and would require an on premises build controller. I've created a VM and attempted to set up a build controller using this article fo