Varient on selection screen
Hi all,
I have created varient for my selection screen.
If other user run my program he should not see my varient.
please suggest me in this regard.
With rds
anand
Hi anand,
I guess there is no option to hide your variant from other user.
But there are other options like.,
Protect Variant - If you select the field Protect variant, the variant can only be changed by the person who created it or last changed it.
No Display - If you select the field Do not display variant, the variant name appears in the directory, but not in the general input help.
Regards,
Sachin M M
Similar Messages
-
How to Display Varient on selection screen?
Hi All,
the requirement is i need to display the varient on selection screen as Paramente.
Display Varient /STANDARD as a paramente on selection screen.
Please let me know how to do it.
Regards,
Kumar
Moderator message: very basic, please search for available information before asking.
locked by: Thomas Zloch on Aug 12, 2010 12:27 PMHi All,
the requirement is i need to display the varient on selection screen as Paramente.
Display Varient /STANDARD as a paramente on selection screen.
Please let me know how to do it.
Regards,
Kumar
Moderator message: very basic, please search for available information before asking.
locked by: Thomas Zloch on Aug 12, 2010 12:27 PM -
Defaulting Varient on selection screen
Hi All,
For my program i have created one varient.which i have to default that varient when ever i executed that program.Is there any way that i can do this.
Thanks.you can define default values in the statement
parameters p_par type <type> default ' <your value >'.
This will set the default value for your selection screen.
Also you can you
RS_VARIANT_DISPLAY
to create variant
Regards,
Lalit Mohan Gupta. -
Varient for selection screen in Webdynpro ABAP
Dear Experts,
We all know that in abap editor selection screen we can save the selection criteria in form of 'Variants'.
I need to something similar in webdynpro. And I was requested not to use the database tables for saving the data.
Is it possible? If Yes then please let me know.
Thanks SupriyoPOWL - Power Work List
Isn't POWL - "Personal Object Work List" ? Although often interchangeable referred to as "Power Lists".
However, if Thomas says "Power Work List" I think we're going to have new variant out there to search on!
NB the POWL is very "Powerful" (sic) in this respect as you can even add your own OVS to the selection criteria. Unfortunately I have found that the POWL selections and selection process are perceived as less than obvious by end users. So much so that where we are looking at pure reporting functionality we are instead looking to BW to provide a web reporting interface.
For some reason (perhaps they've been using SAP backend reports too long) users seem to want to do their selection and then see the results - unless it's in the form of a dashboard - in which case they are happy to drill down into the results. It is like they don't trust the system to have used the correct selection criteria. -
ALV + layout varient on selection screen
hiii
with ALV list i want to know with how to allow to put the layout on the selection screen and when user press F4 he will be able to use the list of layout he has save on the ALV output
Note for the layout button to appear i had to activate shown below:
i_save = c_x
please give me sample code where user can choose layout on selection screen and this layout will be used to display on ALVHi,
Please refer the code below for layout variants :
DATA: gt_rsparams TYPE TABLE OF rsparams.
* Data for ALV variant
DATA gv_repname LIKE sy-repid.
DATA gv_x_variant LIKE disvariant.
DATA gv_exit(1) TYPE c.
DATA gv_save(1) TYPE c.
DATA gv_variant LIKE disvariant.
PARAMETERS: sp_vari LIKE disvariant-variant. "Dispaly Variant
INITIALIZATION.
gv_repname = sy-repid.
REFRESH : gt_glacct,
gr_rcomp,
gt_output,
gt_fieldcat,
gt_sort.
* Initialize ALV Layout variant
PERFORM f_initialize_variant.
FORM f_initialize_variant .
CLEAR gv_variant.
gv_save = 'X'.
gv_variant-report = gv_repname.
gv_x_variant = gv_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = gv_save
CHANGING
cs_variant = gv_x_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
sp_vari = gv_x_variant-variant.
ENDIF.
ENDFORM. " f_initialize_variant
AT SELECTION-SCREEN ON VALUE-REQUEST FOR sp_vari.
PERFORM f_f4_for_variant.
FORM f_f4_for_variant .
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = gv_variant
i_save = gv_save
IMPORTING
e_exit = gv_exit
es_variant = gv_x_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF gv_exit = space.
sp_vari = gv_x_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " f_f4_for_variant
AT SELECTION-SCREEN.
* Validating selection screen fields
PERFORM f_at_selection_screen.
FORM f_at_selection_screen .
* ALV Layout variant
IF NOT sp_vari IS INITIAL.
MOVE gv_variant TO gv_x_variant.
MOVE sp_vari TO gv_x_variant-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = gv_save
CHANGING
cs_variant = gv_x_variant.
gv_variant = gv_x_variant.
ELSE.
PERFORM f_initialize_variant.
ENDIF.
FORM f_initialize_variant .
CLEAR gv_variant.
gv_save = 'X'.
gv_variant-report = gv_repname.
gv_x_variant = gv_variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = gv_save
CHANGING
cs_variant = gv_x_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
sp_vari = gv_x_variant-variant.
ENDIF.
ENDFORM. " f_initialize_variant
Thanks,
Sriram POnna. -
Call Program from another Program using varient via Selection Screen
I am calling a standard report from my Z Program via Selection screen.
Is there any way to hide the Execute button that is seen when we see the called program selection screen?Hi Shyam,
Thanks for the quick reply.
But my requirement is to show the selection screen of called program as i need to make some values changes in the selection Screen.
However, the user can accidently click the execute button which i dont want thats why i need to hide the execute button.
My aim is to change values of selection screen but nto execute it.
Is it possible? -
How to get a varient vale by default on to selection screen?
How do we display the varient value on selection screen by default?
Hi,
Call the following FM in Initialization event.
g_save = 'A'.
CLEAR g_variant.
g_variant-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = g_save
CHANGING
cs_variant = g_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = g_variant-variant.
ENDIF. -
Reports Selection screen varients... can we transport?
Hello Experts
I know we can transport varients of programs and function modules
Can we also transport varients created for selection screens of bex queries?
If yes how to collect them?
Regards
SudeepHi,
While transporting the name of the varient will be transported, You have to explicity assign the values across the landscape for that perticular varient.
-SRS -
Displaying selection screen details in Alv Report output display as Header
Hi all,
May be somebody knows how I can show selected values with select-options in top_of_page using REUSE_ALV_GRID_DISPLAY.
This shoud work for all the reports and diff selection screens .
I need one dynamic process which will for display any report selection screen selected details.(Basically varient information of report).
Small example if possible, please.
Thanks in advance,
RimasHi Thiru,
Thanks for the input.
This is my exact requirement.
Hi Experts,
I would like to Display / Print Select-options selected details in ALV Header.
Ex: Say suppose here i enter kunnr as 1000
lifnr as 2000 to 4000
p_langu as 'EN'.
p_dir as 'C:\TEMP,
p_upda as 'X'
for selection screen below.
SELECTION-SCREEN :BEGIN OF BLOCK blk1 WITH FRAME TITLE text-000.
SELECT-OPTIONS : s_kunnr FOR kna1-kunnr.
SELECT-OPTIONS : s_lifnr FOR lfa1-lifnr.
PARAMETER : p_lanuge LIKE t002-spras DEFAULT sy-langu.
PARAMETER: p_dir LIKE rlgrap-filename
DEFAULT text-003 LOWER CASE.
PARAMETERS: p_upd AS CHECKBOX DEFAULT 'X'.
I dont want to Hard code selection screen values like
DATA: header TYPE slis_t_listheader,
wa TYPE slis_listheader,
wa-typ = 'S'(093).
wa-key = s_lifnr .
wa-info = 'Vendor no".
APPEND wa TO header.
I want dynamic process for all of my selection screen values selected
hard code may be it will be fine small selection screen it will work.
Fur that i got one process to get dynamically through fm
Ex: DATA: irsparams TYPE rsparams OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = program
TABLES
selection_table = irsparams
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3.
loop at irsparams.
write : / irsparams-SELNAME.
write : / irsparams-SIGN.
write : / irsparams-OPTION.
write : / irsparams-LOW.
write : / irsparams-HIGH.
endloop.
I have done my requirement partially but i am failed to achive my full requirement.
Because
rsparams strcture is diff from slis_t_listheader.
Can any one help me for further assistence to display irsparams strcture data in alv header.
Thanks
Nag -
How can i set dynamice for week on Selection screen..pls help me..Urgent
Hi..All
please Help me .. i am very confused..
i need to set a varient for week which is dynamic on selection screen.
b) Week from current week to current week + 2. (<b>Dynamic selection)</b>how can i set dynamice for week on Selection screen,,
how can i do this..i am alrady set dynamice variant for Date.. there is option for D.. but in case of week there is a no option.
pls help me..urgent
thamks in advance.
mayukhHi,
I think the way out is use the dynamic select option while setting up the varinat and use sy-datum to sy-datum+9 which should essentially serve the purpose.
While saving the variant, for that particular date field check the Selection variable checkbox, then Choose D
option and then choose current days + or - option from there.
Rgds,
HR -
Show the drop down list of variant on the selection screen in ALV reports
Hi,
i have a alv report when i execute this display will come and then i click display layout it save as a variant on the selection screen and when i go back to selection screen and press f4 on the display variant its show the drop down list of varient.
can u send me some code for this functionality...its very urgent.
thanks!
VipinHi,
try inserting this code apropietly in you program. (1 parameter + Initialization + At-selection-screen + 2 forms)
START HERE
PARAMETERS: pa_vari TYPE disvariant-variant.
INITIALIZATION.
g_repid = sy-repid.
CLEAR e_variant.
e_variant-report = sy-cprog.
e_variant-username = sy-uname.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = e_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
pa_vari = e_variant-variant.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_vari.
PERFORM alv_variant_f4 CHANGING pa_vari.
*& Form ALV_VARIANT_F4
FORM alv_variant_f4 CHANGING pa_vari.
DATA: l_exit(1) TYPE c.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = e_variant
i_tabname_header = 'ANYTHING'
i_save = 'A'
IMPORTING
e_exit = l_exit
es_variant = e_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF l_exit = space.
pa_vari = e_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " ALV_VARIANT_F4
END
Hope iy helps!
Alfonso -
Selection screen variant...
Hi Gurus,
My requirement is I need to call a prepare a selection screen and create a variant of that screen..
Then user will put the name of the variant as selection id in "Production Planning run " screen...I neeed to fetch all product ids based on the sejection screen variant and store that internal table of user exit
APOCDPS1....The internal table name is "E_SEL_PEGID_TAB". It is there in the FM Exit_SAPLCDPSUSER_02 ....
Please help,,,how to do??
I also need to write a query in the user exit on a table to fetch what are stored in the variants where the variant name is selection id given by the user...Which table and which fields are maintaining that in APO..You should go to transaction /SAPAPO/CDPSB0. create the screen variant there and then you can call this varient in transaction CDPS1.
Regards.
Nitin Thatte -
Selection screen for submit in BSP
Hi Experts,
I have gone throught the link to submit the program in BSP using varients, but i even want to see the selection screen for tht so tht user can post his own values over there.
I tryed SUBMIT with different options but i am not able to see the selection screen for it,pls help me its urgent.
thanks in advance.
Saurabh.hi,
the submit i have made it the way u told me..before itself..so thts fine..
but value which i get in first.htm of these dates is not getting transfered to the next.htm
thought i am able to get the value through the navigation->set_parameter...
really i feel this issue is bit getting longer....
i guess i used my ful day on it...
thanks for ur great help..but pls let me know is there any proble here in my event handler in first .htm
IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
See if upload is triggered from button
DATA: event TYPE REF TO CL_HTMLB_EVENT.
event ?= CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
IF event->name = 'button' AND event->event_type = 'click'.
DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
button_event ?= event.
ENDIF.
CASE event->id.
WHEN 'ok'.
DATA: date1 TYPE REF TO CL_HTMLB_INPUTFIELD.
DATA: date2 TYPE REF TO CL_HTMLB_INPUTFIELD.
date1 ?= CL_HTMLB_MANAGER=>GET_DATA(
request = runtime->server->request
name = 'inputField'
id = 'fromdate'
IF date1 IS NOT INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_PDATE_INPUT'
EXPORTING
INPUT = date1->value
IMPORTING
OUTPUT = p_date.
ENDIF.
date2 ?= CL_HTMLB_MANAGER=>GET_DATA(
request = runtime->server->request
name = 'inputField'
id = 'todate'
IF date2 IS NOT INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_PDATE_INPUT'
EXPORTING
INPUT = date2->value
IMPORTING
OUTPUT = p1_date.
ENDIF.
navigation->set_parameter( 'p_date' ).
navigation->set_parameter( 'p1_date' ).
navigation->next_page( 'NEXT' ).
ENDCASE.
ENDIF.
pls help me out expert.
thanks,
Saurabh -
Saving Selection Screens in Webdynpro Abap
Hi ,
Could you please throw some light on how to save the selection screens in Webdynpro Abap ?? Just like variants in normal Abap?
Thanks and Regards
Alok SharmaHI,
I dont think there is automatic saving of varients in web dynpros just like normal selection-screen.
Just check this link you might get some idea.
Link[Save Varient|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f028c2b9-1730-2d10-71ae-ce300ea00573?quicklink=index&overridelayout=true]
Regards and Best wishes. -
How Can i SEt Dynamic Variant For WEEK on SELECTION Screen.pls help me..
<b>Hi ALL..
Pls Help Me for this Problem..i am very confused how can i do that...plese tell me proper process..
i want set Dynamice Varient for WEEK on Selection screen..
I have ALrady SET Dynamice Varient for DATE on Selection Screen.ther isd option is D...but in case of WEEK there is a no option...
Plese help me..
thaks in advance..
pls help me..</b>Hello,
Define your select-option in TVARV (assume Z_THISWEEK). And use a program like:
DATA:
zlv_week TYPE KWEEK.
call function 'DATE_GET_WEEK'
exporting date = syst-datum
importing week = zlv_week.
SELECT SINGLE *
FROM tvarvc
WHERE name = 'Z_THISWEEK'
AND type = 'S'
AND numb = '0000'.
tvarvc-low = zlv_week.
IF syst-subrc <> 0.
tvarvc-name = 'Z_THISWEEK'.
tvarvc-type = 'S'.
tvarvc-opti = 'EQ'.
tvarvc-sign = 'I'.
tvarvc-numb = '0000'.
insert tvarvc.
ELSE.
update tvarc.
ENDIF.
Regards,
John.
Maybe you are looking for
-
Attachment list is not visible
Dear all I have connected an external server to SAP. Created repository and created Doc types (say for ex : ZFIINV, ZMM DRW) and created entries using tcode OAC3 now i have assigned my doc type to corresponding Business Objects (BKPF for accounting d
-
Connecting Apple TV Through My iMac
Hi, I would like to connect my Apple TV through my iMac rather than directly through my router. Either wired, WIFI or using Bluetooth? Is it possible to share the internet connection via my iMac this way? ...jono...
-
Nokia 5200 Caller can't hear me!
Can anybody help? If I make or receive a call, I can hear them but they can't hear me. Is it me or is it the phone?
-
A/P Express Newbie question
Hi. Considering getting an a/p express to stream music down to my family room. Question: it seems the speaker connections are pretty limited-- what sort of speakers do people use to stream wirelessly in a house. Is it a 1-speaker central speaker or t
-
Hi All, Here's my problem. I have created a text editor using HTML IFrame. In this IFrame , I am calling a .DOC (MS-WORD) file. This is all fine. The file opens in te IFrame but I'm unable 2 get the MS-Word toolbar so that I can edit the .DOC within