Query - selection screen out put only
Hi,
I have developed a Query in Sq01, I have to make the selections screen field as grey out with default value,
i have done with default value but user can edit it using his own
but I want it to be displayed only.
please help.
regards,
Prabhu
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 30, 2008 5:12 PM
hi,
did you try to set variant protection?
greetings,darek
Similar Messages
-
Hi all,
I have 2 radiobuttons and one parameter.
my requirement is if i select one radio button one default value has to be assige
if i select anoth radiobuton another value has to be assign.
can any one help regarding this
thanks and regards
vamsi nREPORT ychatest LINE-SIZE 350.
PARAMETERS : r1 RADIOBUTTON GROUP rad USER-COMMAND abc,
r2 RADIOBUTTON GROUP rad.
PARAMETERS : p_number(15) DEFAULT 'R1 Selected'.
AT SELECTION-SCREEN OUTPUT.
IF r1 EQ 'X'.
p_number = 'R1 Selected'.
ELSEIF r2 EQ 'X'.
p_number = 'R2 '.
ENDIF. -
BEx query selection screen takes long time to popup
Hi,
I have a query which is taking long time to popup the selection screen. I have tried in RSRT the generate report option, the generating report takes 45 to 60 mins. After the report is generated the query selection screen comes up in couple of seconds. The first time I run the query everything its fine but then for the second time the problem comes back again.
The selection screen takes +/- 40 mins to comes up in RSRT and in the portal it times out.
I have run the statistics of the query and according to the statistics report the query takes a lot of time for the following component :
OLAP: Query Gen. 2681,312682
I have removed the query from the cache monitor and after that regenerate the report. But these steps didnu2019t solve my problem.
I made two test queries, in one query I have made the CKFu2019s and RKFu2019s directly at the infoprovider, and dragged and dropped in the KF structure. In the other query I made the CKFu2019s and RKFu2019s in the query KF structure itself. The query where I have the CKFu2019s and RKFu2019s at the infoprovider that query times out, the other query where I put the CKFu2019s and RKFu2019s in the query KF structure doesn't has this performance problem.
What I donu2019t know is why the query is failing when I use RKFu2019s and CKFu2019s from the infoprovider, the other query donu2019t have this problem.
Please advise how to proceed.
Thanks in advance,
ArashHi,
Please check the following notes which should be useful.
1387593 - Performance optimization for query change/generation
1416737 - Performance optimization for query change/generation(2)
1396485 - Performance optimization for query check/save
Then please execute the SE38 report ANALYZE_RSZ_TABLES (see notes
1472915, 1506560) and repair/correct the different tables to optmize
the query definition tables.
Regards,
Amit -
Query Selection Screen restriction
Hello All,
In my query selection screen, i have date, month and week as selection parameters. Now my requirement is that user should select only one of them. If he selects more than one ie combination of two or all three, than query should not show any data.
Can this be achieved? If yes how.
Regds,
ShashankHi,
You can try out, customer exit with I_STEP = 3.
using which a exception will be raised if user enters value for more than one variable.
Hope it helps......
Regards,
Umesh. -
Query Selection screen field validatoin
I am testing a query using the RSRT2 transaction and have a query selection screen whose fields i want to create custom validations for. ( which should trigger when check or execute is pressed )
How can this be achieved ?
I tried looking for exits but did not find a relevant one.
Thanks in advance.Hello,
You need to write a routine in SMOD for selection screen validations.
It will come in i_step = 3. please refer foll code as example:
The code example is to check whether date is less than or equal to current date. If user enters future date it pop ups saying enter date less than or equal to current date.
DATA: LI_VAR like rrrangeexit,
wa_t_var_range like LI_VAR,
count type i value 0.
IF i_s_rkb1d-infocube EQ 'CUBE1' or
i_s_rkb1d-infocube EQ 'CUBE2'.
Check whether only one of date variable is entered in variable screen.
IF I_STEP = 3.
Read table i_t_var_range into wa_t_var_range with key vnam = 'VARDATE'.
if wa_t_var_range-low > sy-datum.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
I_CLASS = 'RSBBS'
I_TYPE = 'E'
I_NUMBER = '000'
I_MSGV1 = 'Enter date less than or equal to current date'.
raise again.
endif.
ENDIF.
ENDIF.
Regards,
Shashank -
Query Selection Screen does not appear in Web Analyzer
Hi Experts,
Query Selection Screen appears when we open the query in Bex Analayzer in production system. But when we open the query in ABAP or JAVA Web view, the selection screen does not appears.
As the volume of data in the cube is very high, and since the selection screen is not appearing, the query extracts 1.5Mrecords and results in dump.
Kindly let me know the possibility for selection screen not appearing.
Note: The selection screen appear in Development system in Bex Analyzer, ABAP View and Java View
Regards
Suresh KumarDear Suresh,
You can check if the parameter &VARIABLE_SCREEN=X is added to standard template or not, If not add this,
In order to add this parameter in the webtemplate you have to change 0ANALYSIS_PATTERN and save it as ZANALYSIS_PATTERN and enter this standard web template under TCODE RSCUSTV27.
Also I would like to explain you the behavior of Web Analyzer,
Parameter VARIABLE_SCREEN=X only influences the WEB application at startup. This will not come into affect
when you use the 'New Analysis' button. The 'New Analysis' button resets the dataprovider so this would not
affect the variable screen and would not redisplay the variable screen as you require.
Regards,
Arvind -
Can we modify the pnp selection screen and get only month and year?
Dear Freinds,
I have requirement where i have to modify the PNP selection screen. So with the help of report category and coding in AT SELECTION-SCREEN OUTPUT , i have modified all the fields relating to dates . i.e i have removed all the radio buttons (i.e Today, Current month,current year etc) and finally
i have landed with only Period ( PNPBEGDA & PNPENDDA range) . But i dont want the PNPBEGDA & PNPENDDA range , but i want only is the month and year ( i.e just like the PNPPABRP & PNPPABRJ)
on my selection screen along with the pernr .
i have used the below code to close all the fields except pnpbegda and pnpendda.
AT Selection-Screen output.
loop at screen.
IF screen-group4 = '098' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '092' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '094' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '100' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
IF screen-group4 = '104' .
screen-input = '0'.
screen-invisible = '1'.
ENDIF.
MODIFY SCREEN.
endloop.
i.e on my selection screen i want only month & year combination and pernr -
when iam using the logical database PNP . Could any one please let me know how can i get only mon & year only on my selection screen .
If it is possible please let me know .
Thanks & regards
divya.Hi ,
The requirement is that the user doesnt want to enter the date range i.e for ex: 01012008 to 31012008.
As per the requirement the user will enter only the month and year only . so i on the selection screen
i want only the month and year only . Is there any means i can modify the date period which is there by
default (PNPbegda and PNPendda) on PNP selection screen. Instead of we givign to the user the
PNPBEGDA and PNPPENDA i want is only month and year .
AS already the code has already been written and now they have asked that they want only the month and year on the selection screen.
Please suggest me in this regard.If iam hiding all the buttons relating the dates fields, and now if iam adding the parameters for the month and year it is coming below below the fields pernr , personnel ara and subara , company code , payroll area, employee group of the standard fields of PNP selection screen , there by any body could please suggest me how to change.
regards
divya. -
Check box in SAP Query selection screen
I want to keep 2 check box in SAP Query selection screen.
could you please tell me any one.
regards,
kumarHi Vijay,
If these check boxes are the fields in the table you are using then you can do it in SQ01, otherwise you may required to make the changes in the standard code generated for that query.
You can find the name of the generated program of the query when you execute the query.
Reward points if useful.
Regards,
Atish -
F4 search-help in infoset query selection-screen fields
Hi all,
I created an infoset, and it's corresponding query, and now I need to associate F4 search-help in two of the selection-screen fields. Since they don't have any reference field associated (they are SAP standard table fields), there are no possible values available to select.
How can I do this?
I have already tried to use the "AT SELECTION-SCREEN OUTPUT" in the infoset, but I'm not able to do that. When I try to use the select-options generated by the query (SP$00013 and SP$00014) I have a syntax error with "Field not known".
Can you help me? I never done this before, so I really don't have a guess.
Thanks in advance.
Beste regards,
Sónia GonçalvesHi all,
I have found thread that helped me a lot in this issue.
I just have one more doubt: I created the selection criterion and I can already see it in the query selection-screen, but it's appearing in the top of the selection-screen, in a different area called "General data selections".
Isn't it possible to include it in the "Report-specific selctions"?
Thanks in advance.
Best regards,
Sónia Gonçalves -
Making selection-screen fields output only
Hi all and thanks for the quick replies to my last question!
Here comes another one: Does anyone know how to display a parameter field in a selection screen as output only?
Thanks
Magnushi Magnus,
Check event AT SELECTION-SCREEN OUTPUT.
<b>PARAMETERS: P_MNTH RADIOBUTTON GROUP H1 USER-COMMAND ABC DEFAULT 'X'</b>
MODIF ID ABC.
<b>AT SELECTION-SCREEN OUTPUT.
IF P_DETA = 'X' OR P_STRT = 'X'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.</b>
Regards,
santosh
Message was edited by: Santosh Kumar P -
Sorting Currency conversion Variables in Query Selection screen
Hi Experts,
I have an issue in sorting variables.
A Currency translation is used here which has two selection options here, one for "Currency" and one for "Currency conversion date". They just pop in somewhere in the selection screen with out order. I want to put them together either in the middle or at the bottom.
They are not visible in the Variable sequence tab of query properties.
I changed the text for each of them (Ex. "XCurrency"), so that it sorts alphabetically, but no difference.
Had anybody come accross this issue before.
regards
G RaiHi,
This seems strange that the variable does not show in the query properties. One thing I can suggest it to try changing the technical name/desciption of the variable if that changes the order.
Please update back the thread if that helps. -
Infoset-query-selection-screen-default-values
Hi All,
I am having the requirement as I need to put default values in the selecion-screen of the report by using Infoset query. Let me know the settings required for this.
I am using SQ01, SQ02, SQ03 T.Codes.
And I need display one record only if any field contains mulitple records, for example in the HR-ABAP, field p0105-usrid contains multiple values depending on the subtype.So, I need to display USRID when URSTY = '900'. All these should display by Infoset query only.
Pls help me in this scenario , its an urgent requirement.I am very much thankful for you for reading my proble, if you will provide some sort of solution, I feel very happy.
Advance thanks for this .
Regards,
Prakash.Prakash,
To default the values on your selection screen, you will need to do some ABAP I guess. (if you do not want to use variant). Open up the infioset in SQ02 and then goto code option for the PNP**** field and then you can code to initialize the selection screen variables. Test with an ABAPer.
To display multiple records as multiple columns, you will have to create custom fields in infoset, and then go from there. Again see ABAPer. -
SQ01 - Include a check box on ABAP query Selection screen
Hi Experts,
For my Abap Query, on the selection screen i am planning to include a check box such that if i click on the check box then a field will be displayed in the resulting output . On the other hand if i do not check on i should not be able the field in the output.
Please tell me how do i do this.
Thanks
Venkata Pradeep.In infoset, Extras code tab
Code section: At selection-screen output
Do something like below:
IF radiobutton1 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'XXXX'. "XXX is the filed group name you want to hide., you have to find out what is it.
screen-input = '1'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 = 'XXX'.
screen-input = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF. -
F4 help on Bex query selection screen
Hi,
On the selection screen of a particular field of Bex query , if the user selects F4 help (input value help), typically it picks up all values in the infoprovider for that field.
Is there any way to retrict those values.
Eg : Cube has values A, B , C for field A .
When the user selects value help on field A of the Bex query written on the cube, the requirement is to show only A and B.
thanks.Hi,
We do this in our project:
you can use BW Reporting Variable type Auth Exit.
In the Step 0, you define what are allowed for that user. It will then automatically show only auth.zed values.
Best Regards,
Suan Liono. -
Multiprovider query selection screen
HI,
I have a query built on multiprovider. Multiprovider has two underlying infocubes.
At selection screen user wants to input only one field , say field 'A'. Field 'A' exists in one infocube only
. when I restrict query on selection screen with field A , only the records of one infocube is displayed.
What should I do to get records of other infocube also?
Regards,
Rahul SindhwaniHi,
When there is no field at 2nd cube then how you get from.
You need to check exactly what you need.
If you enter selection on a field which is form two cubes then only you will get data from two cubes other wise you get data from one cube only.
to test it use t code - LISTCUBE and check the results with same selections(A).
you may get data from 1 cube only.
Thanks
Maybe you are looking for
-
I can't roundtrip from Aperture 3.3.2 to Photoshop!
Hi, I am having significant problems with Aperture and Photoshop interaction. As a working professional photographer it is a serious issue that is causing me real stress and it is commercially important that I rectify it quickly. After extensive test
-
How to apply different pseudo classes to links in two table cells
I have a table in an include file to display footer links. I need to overide deault link colors in only these two cells. I've tried several variations of the link-visited-hover-active css to the td footer CSS wirh no success Your assistance will real
-
Belle to Play 360 volume control not in sync
When I connect my 808, N8 or C6-01 (all running Belle) to a Play 360 speaker have noticed an inconsistency in the volume control function. Firstly let me make this easier to explain by pretending that the Belle devices all have 10 volume levels and t
-
please need help of iphone experts..
-
Good Evening, I currently own an iPhone 3GS in which I will be selling it tomorrow and I'm including the Apple Care I bought with it. I read online that to do a transfer, I'd need to fax in a few things to the US Apple office, such as proof of purcha