Value selection in variable selection screen
Hi all......
I have version varaible on 0VERSION infoobject with mandatory entry and default value S00. when you enter the screen to select other values it display only Key, but i want to display key and text like S00 Reporting Plan.. but it display only S00. I have verified the Infoobject settings and all.. all looks ok.. when you execute a query in Bex, it displays Key and text, but in portal it displays Key only.. any ideas...am i missing any variable settings in WAD?
Sathya
any help?
Similar Messages
-
Hello Guyz,
In the WAD report, for a field slection when we open the value selection screen to choose the value we find key and field value, as per our requirement we need description also in the value selection screen, please let me know whet setting changes need to be done.
Example
For a field status : when we open the value selection screen we find values for selection like RELP 1000
APPR 1200 but we are not getting description, what changes need to be done to even get the decription for the status.
Regards,
RaviHi,
Check this out
Re: displaying Medium Text in Variable screen (WAD)
Regards -
Display medium text in value selection screen.
Hello Experts,
i have an infoObject called Customer in an ODS.Its master data contains the short text, medium length text and long text.i want to display its medium text(which contains First name n last name) in the value selection screen (F4) while executing the web report.
It is an urgent requirement.
Please help.
I promise to return and reward lots of points
Thankyou soo much
Regards,
PriyaVishvesh,
Thanks for ur quick reply.
i have set those properties but it is still not working.
Arun,
are u trying to say that i can show Long text but not medium text ??whr did u change the description to long text and key?
Do Reply,
I will award points ..
Thankyou soo much
Priya -
Help values - Selection Screen
Hi All,
I have a selection screen as below.
Parameters:
P_WERKS LIKE MARC-WERKS,
P_MATNR LIKE MATNR.
Now I require help for materail when Press F4, the materail should be only that belongs to the Plant entered in the selection screen.
Please suggest.
Regards,
Helpful answers are surely rewardedHi,
First get the plant from the screen,
Then according to the palnt you get , do the select statment.
Last using FM: F4IF_INT_TABLE_VALUE_REQUEST.
Do you use dialog program or general program?
If you use dialog program, you can use POV.
process on value-request.
field p_matnr module mod_get_F4.
module mod_get_F4.
select matnr from MARC into table it_matnr
where WERKS = P_WERKS .
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'MATNR'
dynpprog = 'ZTEST' " program name
dynpnr = '1000' " screen number
dynprofield = 'P_MATNR'
VALUE_ORG = 'S'
tables
value_tab = it_matnr
exceptions
parameter_error = 1
no_values_found = 2
others = 3
if you use general program:
at selection-screen on value-request for p_matnr.
select matnr from MARC into table it_matnr
where WERKS = P_WERKS .
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'MATNR'
dynpprog = 'ZTEST_C' " program name
dynpnr = '1000' " screen number
dynprofield = 'P_MATNR'
VALUE_ORG = 'S'
tables
value_tab = it_matnr
exceptions
parameter_error = 1
no_values_found = 2
others = 3
Hope it helps.
Regards,
Chris Gu -
Bex query: Java Web with neverending hourglass in Value Selection screen
Hi,
Situation:
In BEX I use Unit Conversion for Time Keyfigures:
This works as supposed in Analyzer. I instantly get the "Select Values" box:
The problem:
When I do the same in Java Web I get the "hourglass" which spins forever and I can only close the web browser window:
In ABAP Web (which we don't use, I just tested it there), the Value Selection works as expected.
--> Any idea how to fix this issue in Java Web?
br
AlexThanks Bhanu for the quick reply.
I've already found my solution from the following thread:
Re: No Text displayed in the Input help in WEB
Thanks,
Binh -
Automatic garbage values populating in variable slection screen
Hi All,
There is certain query which is being accessed on a daily basis by users. Now the situation is when 2 specific users are executing the query, first the variable selection screen appears but is it already populated with huge number of junk values in Company code field.
How can i remove the values from appearing? There are no default values maintained for that comapny code variable.
Please help!
Thanks
SayanHello,
CHeck the variable used for restriction in QD, whether it is of type authorization.
If so create one more variable of type manual input with option ready for input and include it along with the existing variable. Also in the authorization variable make it not ready for input.
It should take care of your issue.
Regards,
Shashank -
Limited Values in Variable Selection Screen
I have an issue while running the report in portal.
In a variable,can i restrict the user to see only selected values but not all the values in the value selection screen?
Ex: SOUTH EAST WEST & NORTH are four regions in Infoobject "REGION"
In variable for "Region",End user should only see n select SOUTH and NORTH but not EAST & WEST
Please gimme some idea, how to solve this
Thanks,
Srimanu need to set up some authorizations on that variable.
-
Post values from selection screen into vkm5 transaction
Hi all,
i need to create a report , when user enters values in the selection screen of that report, that values must be transported into a transaction VKM5 and then that transported values must be updated in a ztable.
ex:
in selection screen if user enter doc no:xxxxxx
date: 20.09.2011
Reason for release: some text
then that doc no: xxxxx must be transported into vkm5 transaction and that values(selection screen values) must be uploaded into a ztable.
i tried the below code
TABLES: ZVKM5.
data: IT_ZVKM5 type standard table of ZVKM5,
WA_ZVKM5 type ZVKM5.
PARAMETERS : S_VBELN LIKE ZVKM5-VBELN ,
s_date LIKE zvkm5-bldat ,
s_text LIKE zvkm5-text .
call transaction 'VKM5'.
*LOOP AT IT_ZVKM5 INTO WA_ZVKM5.
WA_ZVKM5-VBELN = S_VBELN.
WA_ZVKM5-bldat = S_DATE.
WA_ZVKM5-text = S_TEXT .
modify ZVKM5 from table IT_ZVKM5.
if sy-subrc = 0.
endif.
*ENDLOOP.
Kindly suggest me,
thanks in advance,
ben2012.Thanks to all ,
Solved by me.
REPORT ZVKM5.
TABLES: ZVKM5, vbuk.
types: begin of ty_zvkm5 ,
vbeln type VBELN_VL,
BLDAT type BLDAT,
TEXT type TEXT,
UNAME TYPE CDUSERNAME,
end of ty_zvkm5.
TYPES: BEGIN OF TY_CDHDR,
OBJECTID TYPE CDOBJECTV,
END OF TY_CDHDR.
DATA: IT_CDHDR TYPE TABLE OF TY_CDHDR,
WA_CDHDR TYPE TY_CDHDR.
data: IT_ZVKM5 like ZVKM5 occurs 0 with header line,
WA_ZVKM5 type ty_ZVKM5.
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
data: date type STRING.
PARAMETERS : S_VBELN LIKE ZVKM5-VBELN ,
s_date LIKE zvkm5-bldat ,
s_text LIKE zvkm5-text .
CLEAR bdcdata_wa.
bdcdata_wa-program = 'RVKRED05'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_CURSOR'.
bdcdata_wa-fval = 'VBELN-LOW'. " pass the field name
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'VBELN-LOW'. " pass the field name
bdcdata_wa-fval = S_VBELN. " pass the date here
APPEND bdcdata_wa TO bdcdata_tab .
call transaction 'VKM5' using bdcdata_tab .
REFRESH IT_ZVKM5.
SELECT OBJECTID
FROM CDHDR INTO TABLE IT_CDHDR.
LOOP AT IT_CDHDR INTO WA_CDHDR.
IF WA_CDHDR-OBJECTID = S_VBELN.
move s_vbeln to it_zvkm5-vbeln.
move S_date to it_zvkm5-bldat.
move s_text to it_zvkm5-text.
MOVE SY-UNAME TO IT_ZVKM5-UNAME.
append it_zvkm5 to it_zvkm5.
modify zvkm5 from table it_zvkm5.
UPDATE zvkm5.
ENDIF.
ENDLOOP.
CLEAR: S_VBELN, S_DATE, S_TEXT. -
Need to have pop up window in selection screen and capture the user action.
Hello Friends,
I have a requirement, that need to show a pop up window after execution, and to get the action from user using a Push button.
I create a selection screen and a sub screen as window.
After user execute from the selection screen, I am popping up this window.
Window contains some input values to be entered and push button to identify the user action.
I try to capture the user action using sy-ucomm, but it does not hold any value when user press the button.
How to overcome this issue.
Here is the definition of the window.
Pop Up Window for getting values
SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title .
PARAMETER : p_vdate LIKE t9aa01-validfrom,
p_dcggt LIKE t9aa01-hkont,
p_dcgst1 LIKE t9aa01-hkont,
p_dcgst2 LIKE t9aa01-hkont,
p_na LIKE t9aa01-hkont.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 20.
SELECTION-SCREEN PUSHBUTTON 2(10) text-001 USER-COMMAND SVE.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 500.
Cheers,
Senthil
Edited by: Senthil on Jan 7, 2008 11:03 AMHi,
Try using the below code.
data : w_var type string.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
DEFAULTOPTION = 'Y'
textline1 = 'test '
TEXTLINE2 = ' '
titel = 'check'
START_COLUMN = 25
START_ROW = 6
CANCEL_DISPLAY = 'X'
IMPORTING
ANSWER = w_var.
if w_var = 'J'.
else.
endif.
Comments : J indicates Yes and N indicates No
Regards,
Jeswanth -
How to create dynamic selection-screen
Hi all,
I want to create dynamic selection-screen.in that dynamic selectio-screen i want to display date fields based on table name given in the selection-screen.
Regards,
BillaHi Billa,
Look into the function group SSEL, this has some SAP standard functions to work with dynamic selection screens.
Below is sample FM, I wrote making use of standard FM from the above. This FM will take table name as input and will display a screen with all the fields within that table for selection. This can also be customized to restrict the fields for display.
Hope this helps,
Sumant.
FUNCTION y_ss_test_dynamic_selection.
""Local interface:
*" IMPORTING
*" REFERENCE(TABNAME) LIKE DD02L-TABNAME
*" EXPORTING
*" REFERENCE(DS_CLAUSES) TYPE RSDS_WHERE
*" EXCEPTIONS
*" TABLE_NOT_VALID
*" OTHER_ERROR
DATA texpr TYPE rsds_texpr.
DATA twhere TYPE rsds_twhere.
DATA trange TYPE rsds_trange.
DATA BEGIN OF qcat. "Selections View for
INCLUDE STRUCTURE rsdsqcat. "Free Selectoptions
DATA END OF qcat.
DATA BEGIN OF tabs OCCURS 10.
INCLUDE STRUCTURE rsdstabs.
DATA END OF tabs.
DATA BEGIN OF fields OCCURS 10.
INCLUDE STRUCTURE rsdsfields.
DATA END OF fields.
DATA BEGIN OF efields OCCURS 10.
INCLUDE STRUCTURE rsdsfields.
DATA END OF efields.
DATA selid LIKE rsdynsel-selid.
DATA actnum LIKE sy-tfill.
DATA title LIKE sy-title VALUE 'Selection Screen'.
DATA: maxnum LIKE sy-subrc VALUE '69'.
CLEAR tabs.
tabs-prim_tab = tabname.
COLLECT tabs.
DATA: position LIKE dd03l-position.
DATA: keyflag LIKE dd03l-keyflag.
CLEAR fields.
fields-tablename = tabname.
fields-sign = 'I'.
DATA: step LIKE sy-subrc.
SELECT fieldname keyflag position
INTO (fields-fieldname, keyflag, position)
FROM dd03l
WHERE tabname = tabname
AND fieldname NOT LIKE '.INCLU%'
AND datatype NE 'CLNT'
ORDER BY position.
ADD 1 TO step.
CHECK step LE maxnum.
IF keyflag <> 'X'.
efields = fields.
APPEND efields.
ENDIF.
APPEND fields.
ENDSELECT.
IF sy-subrc <> 0.
RAISE table_not_valid.
ENDIF.
CALL FUNCTION 'FREE_SELECTIONS_INIT'
EXPORTING
expressions = texpr
kind = 'F'
IMPORTING
selection_id = selid
expressions = texpr
where_clauses = twhere
field_ranges = trange
number_of_active_fields = actnum
TABLES
tables_tab = tabs
fields_tab = fields
fields_not_selected = efields
EXCEPTIONS
fields_incomplete = 01
fields_no_join = 02
field_not_found = 03
no_tables = 04
table_not_found = 05
expression_not_supported = 06
incorrect_expression = 07
illegal_kind = 08
area_not_found = 09
inconsistent_area = 10
kind_f_no_fields_left = 11
kind_f_no_fields = 12
too_many_fields = 13.
IF sy-subrc = 0.
CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
EXPORTING
selection_id = selid
title = title
IMPORTING
where_clauses = twhere
expressions = texpr
field_ranges = trange
number_of_active_fields = actnum
TABLES
fields_tab = fields
EXCEPTIONS
internal_error = 01
no_action = 02
no_fields_selected = 03
no_tables_selected = 04
selid_not_found = 05.
IF sy-subrc = 0.
CLEAR ds_clauses.
MOVE tabname TO ds_clauses-tablename.
READ TABLE twhere WITH KEY ds_clauses-tablename INTO ds_clauses.
IF sy-subrc <> 0.
RAISE other_error.
ENDIF.
ELSE.
RAISE other_error.
ENDIF.
ELSE.
RAISE other_error.
ENDIF.
ENDFUNCTION. -
How to supress value '#' in variable selection screen?
Hi gurus,
i wonder if there is any solution for this question:
Before query execution, when system requests variable values, in the list of available values for filtering 0calyear, allways apears value '#' and the rest of values loaded in the infocube.
0calyear is defined as "Only values in infoprovider", and there isn't any blank value ('#') in the dataprovider. I also have executed RSRV tests for deleting unused values in dimension table.
Regards
As allways I'll assign pointsSo, as I read, there is no way to remove this "# value" from selection list in variable screen, unless i delete this initial entry in p-table. I've tried to delete this entry (vía debug) and its OK, the # value is no more displayed. But I think that it could be dangerous, couldn't it? Anybody know what could happen if i delete this P-entrys in some infobjects?
My question is only about variable input screen, not the results displayed (i knew that you can exclude this value in query definition). -
Limit list of values in variable selection screen
Hi
Apologies if this has been asked / answered elsewhere, but I thought I would put it out there, at least while I continue trying to find a solution.
We have a requirement to limit the data from which a user is allowed to select values in the variable selection screen. I know how to write the ABAP code that will return the list of data from which the user can choose, but not sure how to implement that in the query variable.
Essentially, the BEx query needs an input on username, and the current user should be able to choose from a list of usernames. That list of usernames should only be usernames to which the current user has access.
Don't worry about the linking of current user to user names, that is taken care of in our DSO.
What I am after, is limiting the data that comes back when the "F4 Help" type button is pressed on the variable screen.
I can default a value in the customer exit variable using ABAP code in the i_step = 1 loop, but that doesn't seem to effect the list of data available for selection.
Any decent ideas?
Cheers,
AndrewHi Andrew,
As charlie suggested go for Analysis authorization that is the simplest approach to restrict values for any object, in another way you can use following BADI for value restriction using ABAP code, refer the below link.
[http://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-BW_BADI_F4]
By using customer exit you can only populate default values but you will not be able to restrict F4 help values.
Regards,
Durgesh. -
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 -
Variable entry screen for query doesnt show selection values.
Hi,
I've created a query with date varibale Quarter From-To. When i execute this query, the variable entry screen pops up but when i try to select values just shows ??? and not the text.
if i run the same query in RSRT the variable entry screen pops up but here the selection values are present for me to choose from.
can anyone tell why the values arent showing when the query is executed.
Thanksyes, it seems to be a problem with NetWeaver BI BEx Java Web runtime as it works in RSRT and web analyzer. Found a note on marketplace note 125357 - No values displayed for attributes in input help but this did not resolve issue.
A call has been raised now as it seems to be a product fault -
Restrict variable values in the pop-up selection screen
Hi,
I have a variable based on a caracteristic that has 0COMP_CODE as attribute in a Web Report (BW 3.1B).
This variable has to be accessible so that users can select a value.
I need to restrict the values that users can see on the selection screen according to their 0COMP_CODE value, even in the pop-up.
I have tryed authorization variable and user exit, but none worked.
The best I could do was a "several single values" variable that was preselected with the caracteristics of their 0COMP_CODE, but it didn't worked in the pop-up.
Does anybody knows how to handle this?As far as I could find out, it should be made through customer exit.
The point is : I have to use a customer exit variable that has been check as "ready for input".
I can't find a way to restrict the values displayed in the variable selection screen (in the help pop-up window for this variable).
The exit can pre-fill the selection fields with values, but whenever the user opens the window, he sees all the values.
I have tryed all the values for I_STEP (0,1,2 and 3) but none did it.
Does anybody knows how to limit those values? -
Hiding variable values in the input selection screen.
Hello Experts,
We have an authorisation relevant characteristic on which we have built a variable. We have restricted few values for this characteristic through the analysis authorisation.
The business requirement is that these values which are maintained in the analysis authorisation should not be populated in the input selection screen for that particular variable. In other words we have to hide these values but the variable should a part of input selection screen.
Can anyone please guide on how can we hide these variable values inspite of maintaining them in our analysis authorisations.
Thanks..
Best Regds,
Suyog...Hi Suyog,
Have you got any solution on this issue. I have same kind of issue in BI7. When running the RSRT transaction manager has to give some comments for a document option. but the subordinates should not modify or see the comments. Is there any way to restrict this access to certain users. Our requirement is to either disable the document option or should not appear in the list.
please give your inputs to find a way to solution.
Thanks in advance.
Regards,,
Appala Raju
Maybe you are looking for
-
I don't want to write too much code is there a different way of doing this
I am writing a precedure to check on the max test scores for different codes ('S01','S02'.S03') --there are more then I need to insert the table if the record with the best score does not exists for example for b.sortest_tesc_code = 'BSV', I am writi
-
How to store PDF spool in Application server.
Hi, I have a requirement to send Print form spool in Application server. For converting OTF format we have CONVERT_OTFSPOOLJOB_2_PDF. How to convert and store Interactive print forms spool number(PDF type) in application server. Thanks in advance.
-
How to use outer join to display the results
I want to develop a report in which the column sequence will be as follows: 1)Item_code 2)Item_name 3)Stock 4)Pending 5)Re-order Level 6)Item_reorder_qty I had written the query, but the problem is all the products does not get displayed. The product
-
Using the onClick method to change a default text into a CFTEXTAREA
Hi, I am trying to use the simple following method to change the value of a Textarea field when the internet user click into the field: <cftextarea name="fYourMessage" label="Your Message: " onclick="if(this.value=='You can use this text field to pus
-
Problems with Photoshop cs4 for the Mac
I am having all kinds of problems with Photoshop CS4 for the Mac. When I boot the software it seems to work for a while then, I am unable to open upf a file in Photoshop. I drag a photoshop file over the application icon, the whole screen flickers