Value selection screen
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,
Ravi
Hi,
Check this out
Re: displaying Medium Text in Variable screen (WAD)
Regards
Similar Messages
-
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 -
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. -
Unable to retreive values from selection screen built using WDR_SELEC_OPTIO
Hi All,
I have created a selection screen as below
lr_field = wd_this->m_handler->create_range_table( 'YFMTFLOW' ).
* ASSIGN lr_field->* TO <fs_range>.
* ls_date-sign = 'I'.
* ls_date-option = 'EQ'.
* ls_date-low = 'US'.
* APPEND ls_date TO <fs_range>.
* Add the select-option to the group
wd_this->m_handler->add_selection_field(
i_id = 'FLOW'
i_within_block = 'PROC'
i_no_intervals = abap_true
it_result = lr_field ).
If i enter some value and click a button to retireve the values as below
DATA
lt_sel_item TYPE if_wd_select_options=>tt_selection_screen_item.
types: ty_flow type range of yfmtflow.
FIELD-SYMBOLS:
<fs_sel_item> LIKE LINE OF lt_sel_item,
<fs_process> TYPE yfmtprocess,
<fs_flow> TYPE ty_flow.
* Get the selection-screen items
l_handler->get_selection_screen_items(
IMPORTING et_selection_screen_items = lt_sel_item ).
* Retrieve the values from the select-options items
LOOP AT lt_sel_item ASSIGNING <fs_sel_item>.
CASE <fs_sel_item>-m_id.
WHEN `PROCESS`.
ASSIGN <fs_sel_item>-m_value->* TO <fs_process>.
WHEN 'FLOW'.
ASSIGN <fs_sel_item>-mt_range_table->* TO <fs_flow>.
ENDCASE.
ENDLOOP.
<fs_flow> is empty
but after I enter value and then press enter and then click the button to retrieve the values I am able to get low value <fs_flow> not the sign and option
Is it the standard functionality ,if yes how can we overcome
Thanks
Bala DuvvuriAm giving clear coding of select options.
nOTE: S_CARR_ID IS THE DATA ELEMENT OF CARR ID FIELD,
FOR THAT I AM APPLYING SELECT OPTIONS IN BELOW CODING.
WRITE THE BELOW CODE IN WDDOINT( ) METHOD OF
REQUIRED VIEW
Data: lt_range_table type ref to data,
read_only type abap_bool.
WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS-
>WD_CPIFC_SELECT_OPTIONS( ).
WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS-
>INIT_SELECT_SCREEN( ).
WD_THIS->M_HANDLER->SET_GLOBAL_OPTIONS(
I_DISPLAY_BTN_CANCEL = ABAP_FALSE
I_DISPLAY_BTN_CHECK = ABAP_FALSE
I_DISPLAY_BTN_RESET = ABAP_FALSE
I_DISPLAY_BTN_EXECUTE = ABAP_FALSE ).
LT_RANGE_TABLE = WD_THIS->M_HANDLER-
>CREATE_RANGE_TABLE( I_TYPENAME = 'S_CARR_ID' ).
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
I_ID = 'S_CARR_ID'
IT_RESULT = LT_RANGE_TABLE
I_READ_ONLY = READ_ONLY ).
BELOW CODE IN REQUIRED ACTION( SAY IN SOME BUTTON
ACTION WHICH WILL RETRIEVE THE DATA FROM DATABASE TABLE
USING SELECTI OPTIONS VALUES)
fIRST THE GET REFERENCE TO NODE( CTRL F7--->READ
CONTEXTB---FLIGHT NODE )
***THEN BELOW CODE
DATA: RT_CARRID TYPE REF TO DATA.
DATA:IS_FLIGHT TYPE TABLE OF SFLIGHT.
FIELD_SYMBOLS: <FS_CARRID> TYPE TABLE.
RT_CARRID = WD_THIS-> M_HANDLER-
>GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
ASSIGN RT_CARRID-> TO <FS_CARRID>.*
SELECT * INTO CORRRESPONDING FIELDS OF TABLE IS_FLIGHT
FROM SFLIGHT WHERE CARRID IN <FS_CARRID>
NODE_FLIGHT->BIND_TABLE( IS_FLIGHT ). -
Displaying Variables values with Text also in the selection screen of repor
hai
I have one InfoObject ZPLANT .When i try to excute the report then im getting only the Values of ZPLANT(not Text of those values) .Like below
ZPLANT :-
101 -
(im getting like this)
101 London Plant ( i want like this ,when i try to excute the report).
Please tell me how to do .
rizwanYes kamaljeet ,
When we press F4 , then we will gwt some values .
I want those values with description also ..
Pls tell me how can i get those F4 values with text in the selection screen of report .
i ll assing the points
rizwan -
Restrict filter values that are shown in the selection screen
Hi Experts
1) Is it possible to restrict the filter values that are shown in the selection screen in BEx web? When a user are asked to enter a material number and uses the selection button in BEx web, he should only see material numbers for one specific plant. How is this done?
2) Is it possible to remove the selection button for å characteristic filter in the selection screen in BEx web? The selection button I am talking about is the button to the right of where you enter the filter value (two white papers on top of each other). If there is no solution for question 1 we have to go for question 2 solution.
We are using BI 04s, SP 09.
Kind regards
ErikHi Erik,
It seems that you would like the user to see value for 1 single plant. If the Plant Value is fixed then you can use this value in the Query and hardcode it.> in the query go to the Plant Chrac and keep a constant value of the Plant.
How ever if you need this value to be dynamic then use a variable for customer exit and populate this value using ABAP.
Regards,
Jasprit -
Select-option value is not getting captured in at selection-screen on value
In Selection screen , we have Select-option and a parameter.
Based on the values given in Select-option, the values of Parameter should get populate.
To achieve this functionality,
I used At selection u2013screen on value request for <parameter> EVENT and 'F4IF_INT_TABLE_VALUE_REQUEST' Function Module.
But the Select-option values are not getting captured in this event,unless u press Enter key.
Is there any other way to achieve this functionality.
Please Guide me.When you call function 'F4IF_INT_TABLE_VALUE_REQUEST'. make sure you send it the name of the screen variable - the F4IF_INT_TABLE_VALUE_REQUEST function calls DYNP_VALUES_READ itself if you tell it the name of your report, screen number, and the variable name... snippet below.
Jonathan
data:
l_repid type syrepid.
l_repid = sy-repid.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
dynpprog = l_repid
dynpnr = '1000'
dynprofield = 'S_FIELD-LOW' "Select options - low value
* etc -
Capturing elements value in the selection screen for LDB during run time
Hi,
I have a program where LDB is used.
Could anyone please suggest how to capture the values of the elements present in the LDB's default selection screen.
Specially, the company code and the period values.
Please reply . Its too urgent.
Regards,
Binay.I got it
-
How can I get selection screen values from outside of program?
Hi. all.
Now. I'm developing moritoring systems and I have problems. for getting selection screen values in runtime. Is there any function, methods or structure to know this?
I'd like to get selection screen values while several programs working in runtime and update these values to table to show current system's status and input values for users in real time.
For example.
Now. 3 PGMs are working on systems.
each PGM is ZAAA01, ZAAA02, ZAAA03.
and ZAAA01 needs input parameter P01, ZAAA02 needs input parameter P02, ZAAA03 needs input parameter P03.
In this case, I have to know values of P01, P02 and P03.
The mornitoring systems will show current working status of PGMs(ZAAA01~03)' and these PGMs' input values.
As fas as I know, the structure 'SCREEN' can be used in each PGM for runtime. Is there any SAP system structure or something else for this purpose?
I hope your hopeful repsponse.
Thanks.Umm..I need to explain more about this.
of course I know SET, GET PARAMETERS.
But I'd like to minimize coding for each PGM level.
I have over hundreds PGMs and I have to develop the PGM(including tables and structures) that mornitor
all of those PGMs on a report in real-time.
This PGM is kind of Process Manager.
First I should know dialogue job PGM and background job that pass parameters using SAP(ABAP) Memory.
And then I have to update those PGMs' input values via screens into tables in real-time.
So, I couldn't use SET,GET PARAMETERS for this PGM.
I want to know methods that can be used for getting information about runtime PGMs' selection screen field values in SAP systems wide.
Please help me some one knows this. -
How to refresh value in selection screen field
Hi Experts,
I have a requirement to refresh the value in selection screen.while i run the report in selection screen i selecting one variant for look the output if i use some other field value with same variant without save its working fine i am avle to see the data but while i come back to again selection screen and selecting some other variant that extra add value is not getting refresh its showing with new variant.Its happening for only one variant not for all if i select some other variant then its getting refresh value in same field.Any one can help me for this issue.
Thanks.Hi,
That means, I believe - the value that is "not changing" is saved in the particular variant. You can easily verify it by starting the report without variant and then selecting the variant in question. Remove the value from screen and save the variant again. Don't forget to check of variant needs to be transported from development system...
cheers
Janis
Maybe you are looking for
-
IPod Touch 5th Gen w/iOS 7.0.2 - Delayed 'Passcode' Lock Entry Issue
Hi, This evening I've updated my iPod Touch 5th Gen from iOS 6.1.3 to iOS 7.0.2 via the 'Over the Air' method, which went well initialy. Following using the device, upgrading all of the apps and performing a couple of backups to iCloud, I have notice
-
Safari 4.0 gives videobox error after videobox uninstall
Safari 4.0 will not open. The icon bounces a few times and then gives me an Error Dialog saying that VideoBox is the probable cause. I went to TastyApps site and ran their unistaller and still get this error after it's uninstalled. Repairing the Disk
-
Is 10.4.9 okay for iMacs now?
I remember that when this update first came out there were a lot of problems, and thankfully I had seen posts here about them, so I didn't update. ... and a couple of weeks ago, the new imacs at my school were updated, and had problems with recognizi
-
Error ERR-1018 Error clearing step cache
The full error message was: ORA00001: unique constraint (FLOWS_030000.WWV_FLOW_COLLECTIONS_UK) violated ORA-00060: deadlock detected while waiting for resource Error ERR-1018 Error clearing step cache We can't reproduce it (so it would appear to be i
-
BW query relevant to MC.1 in R/3 MM
Hi Guys, Can anyone tell me if there is any BW standard query which will show exact output as in MC.1 report in MM at R/3 side? If no then how can we do it? Any help rewarded. Regards, vaibhav.