Selection Variants in Std List Displays/Reports
Hi All,
Are selection variants user specific or client specific in SAP?
Thx in adv
It is client specific.
Similar Messages
-
List Display/Report on Issued Materials
Good day!
Is there an available list display in which i can view all issued materials from the reservation?
Thank you!hi,
Use MB25, Can see it with the help of the scope of list as Goods Issue ticked..it may be for open reservations etc...
Along with it, when you use dynamic selection, you can see for Final Issues, quantity withdrawn etc....
the button is placed next to next of Execute button...
Hope it helps...
Regards
Priyanka.P -
Selection Variant in Std Report
Hi All,
When I goto a report transaction (for example ME2N) some of the selection fields values in the seleciton screen defaults (from cache memory?). But when I select a Variant the defaulted values do NOT clear out. And the Variant does NOT have any value for those fields.
How does the user resets/clears all the selection fields before selecting a variant?
Thanks in advance!Variant Attributes
On this screen, you can define the attributes for the variant. Make sure
that you enter a meaningful short text.
o Only for background processing
If you select this option, the variant can only be used in
background processing. You will not be able to start the program
with this variant in dialog mode.
> o Protect variant
> If you select this option, the variant can only be > changed by the person who created it or the last person to > change it. If you start a program using a protected > variant, none of the fields on the selection screen accept user input.
o Only display in catalog
If you select this option, the variant is not displayed in the input
help list; it is only displayed in the catalog.
http://help.sap.com/saphelp_nw70/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm -
How To: write a logo image in a list display report
I have a simple list report that I create with a bunch of write statements. How can I insert a Logo image on this report ?
I have my Logo image loaded in SE78 as a bitmap graphic.
Not sure if with the write statement, I can write out this logo on my report.
I would think this should be able to be done, just not sure how.
Thanks,
DavidHi David, check this code.
REPORT zdem_555 .
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA: query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i.
START-OF-SELECTION.
PERFORM show_pic.
WRITE : /'hello see the picture ........'.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid. repid = sy-repid.
CREATE OBJECT picture_control_1
EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 100
left = 700
top = 1
width = 200.
*CHANGE POSITION AND SIZE
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
*CHANGE IMAGE NAME BELOW
query_table-value = 'BIKER'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
IF sy-subrc ne 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-*msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
ENDFORM. "show_pic -
Use of Field selection for Multilevel list Display Equipment/Function loc
Dear Expert,
Anybody suggest me that how can we use the feature of Equipment & function location settings as given SPRO path.
Plant Maintenance and Customer Service ® Master Data in Plant Maintenance and Customer Service ® Technical Objects ® Equipment ® Define Field Selection for Multi-Level List Displays of Equipment.
Plant Maintenance and Customer Service ® Master Data in Plant Maintenance and Customer Service ® Technical Objects ® Functional Locations ® Field Selection for Multi-Level List Displays of Functional Locations.
Your help & suggestions are much appreciated.
Regards,
AkhileshDear AKhliesh,
This customizing setting is for the T-code IE07. You can customize view of IE07 in different strcuture with required fields wants to didplay or suppress.
Regards,
Kaushal Rai -
Hi Experts,
My requirement is i need a button along with the tool bar of ALV list display . when i check the button it should display the Selection criteria values which user entered as a pop up .
Is there any default tool which displays user selection values for ALV list display ?
Regards,
Vikram.S> Is there any default tool which displays user selection values for ALV list display ?
No such program.
But you have to write a code for it. Activate Button using the pf-status. then Handle that button in User command , and show a popup with the selection values.
Function used to get the selection details is
RS_REFRESH_FROM_SELECTOPTIONS
get the data and show it using a Popup. May be a ALV popup select function will help you. -
Create a user-defined selection variant in transaction ME21N
Hi,
In transaction ME21N with the 'Document Overview' feature turned on we can view a list of standard selection variants. I would like to add a user-defined selection variant to that list. There is an OSS Note 377180 present which describes how to do that but(as per transaction SNOTE) that note cannot be implemented in our system. Is there any other way to get that done?
Any help would certainly be appreciated.
Thanks,
Alam.I would suggest that you replay the transaction with breaks, so that you can see exactly what is happening (in the start options, set the SAPGUI replay options to stop at each ProcessedScreen)
It may be that the Selection Variant button is not present during replay. In this case, you would need to make the step where this button is pressed as optional.
ME21N is a difficult transaction to automate because it always remembers what you were last doing in it and restarts the transaction from that point. You can delete the user settings (so you always start the transaction as though for the first time) using the following code in your script:
ABAP.
* Delete all User-Settings in MM
DELETE FROM ESDUS WHERE UNAME = SY-UNAME.
* Delete all User-Settings in search help
DELETE FROM DDSHDEFSH WHERE USERNAME = SY-UNAME.
ENDABAP. -
How to create a part selection and a part list ALV in the same screen
Hello,
I will want to realize in a screen a part lists ALV and a part selection for the list.
I have created a container with a splitter , but I do not know how to carry out the selection part.
Thank you for your assistance.
RegardsHello
If you want to have the selections and the ALV list displayed on the same dynrpo then create a dynpro that contains in the upper part the selection/input fields and in the lower part place a custom container for the ALV grid.
If you want to be more flexible then you could use a subscreen for the selection/input fields.
There is no point in using a splitter container because we cannot place normal input fields into a container but only controls.
Regards
Uwe -
Creating a User-defined Selection variant for Transaction ME21N
Hi,
In transaction ME21N with the 'Document Overview' feature turned on we can view a list of standard selection variants. I would like to add a user-defined selection variant to that list. There is an OSS Note 377180 present which describes how to do that but(as per transaction SNOTE) that note cannot be implemented in our system. Is there any other way to get that done?
Any help would certainly be appreciated.
Thanks,
Alam.So I am having a similar issue. I have a fixed length flat file with 3 different record types.
1 a header ( length is 82 bytes with the first byte set to H ( single record always the first )
2 a detail record ( length is 382 bytes ) with the first byte set to D ( multiple records )
3 a trailer record ( length is 82 bytes ) with the first byte set to T ( single record always the last )
I created a UD OTD with 3 elements for each record type, RECORD_TYPE is the first field 1 byte. Matching for each on either H,D, or T. When I try and test the OTD with the Run Test button I get an unmarshal error
<SOD>""<POS>"HACCUMULAT..." failed input match, Fog#431, after <no path>: failed node: trailing junk in fixed/parent
HACCUMULATED BENEFIT TRANSACTION FILE 20080801 20080825 0 0
D ar3531 ar3531 ar3531 ar3531000 55887027260 30.000 30 5098765 20080804 000T114 120080806 82820P30000001024511 25.00 0.00 25.00 0.00 25.00 25.00 0.00 0.00 0.00 0.00 0.00T
TACCUMULATED BENEFIT TRANSACTION FILE 20080801 20080825 2894 0 0
Not sure whats going on, so if anyone has any suggestions on where to look that would be great
Thanks -
Hi, I got a spark list component associated with an arraycollection data provider. This list must handle multiple selection and, when it is displayed, I do a check on the arraycollection and set the list selectedindices vector the indices I want to be selected. However, the list display is not updated and it seems tha there is nothing selected, but after select another list element, the previously-selected ones then appear. Is there a way to force the list display to update? I already tried the "validateNow" and the "invalidateDisplayList" methosd of the list with no success...
Wow. It's almost as if you knew the answer. Thanks.
-
Tabstrip. display report
Hi All,
I like to create 3 tabstrip (report program) . two for selection screen and last to display report.
How to create tabstrip. after enter data in tab 1 and execute , in tab3 display report.
How to do it.
Thanks,
Balamurugan.RHi Swarna,
Thanks for your reply.
I like to display report in TAB 3 based on the condition given in TAB 1.
How to do it.
Thanks,
Balamurugan.R -
Report Painter problem with empty selection variant
Hello,
I use the cost center selection variant for the column definition in Report Painter as characteristic value. This selection variant get only the cost centers which are valid from 1.1.2003 to 31.12.2004. The column of the report created by Report Painter which uses this selection variant display value without taking into account limitations follow from this selection variant. I expect value zero for year fiscal year 2007 in this column, because the cost centers are invalid in 2007 year but the report displays different value. The problem appeared after upgrade from 4.6C to ECC 6.0.
Best Regards
ZDMy problem with Report Painter occurred when I was creating my own report based on 1VK library.
In my example I used in the column definition characteristic Cost
Center, which is determined by selection variant, and Basic Key Figure
equal SWKG-Costs. For system date (18.07.2007) there are no valid
master data for the characteristic Cost Center but when I execute
report for fiscal year 2007 the column display no-zero value without
taking into account value of Characteristic Cost Center. I expected
zero value in this column because there are no postings for Cost
Centers (no valid cost centers were selected) in financial year 2007.
Could you help me with this problem ? -
What is the difference between list display and grid display in alv report
Hai genious
i am a new of the abap, i dont know the alv report, i have a small doubt, can u please tell me what is the main difference between list display and grid display in alv report
thanks®ards
chinnuHi ,
1. For all practical purposes, they are the same.
2. Some differences:
a) from abap coding point of view,
alv list is done with Function modules,
alv gris can also be done with FM,
but can also be done using OO concepts.
b) Alv grid (using oo concept) requires
designing the screen layout .
Hence, in one screen, we can show more
then one alv grid
(we cannot show more than
one alv list on one screen)
c) ALV grid uses ActiveX controls
present on the Presentation Server.
Hence, it consumes More Memory
on the presentation server.
d) ALV LIST is Display Only.
Whereas
ALV Grid Can Be made EDITABLE for entry purpose.
e) In alv grid, these options are possible,
but not in alv list.
without horizontal lines
without vertical lines
without cell merging during sorts
display total lines above the entries
I hope it helps.
Regards,
Mamta
Edited by: Mamta Verma on Nov 27, 2008 6:41 AM -
Select all button is not working in ALV List Display
Hi All,
I am displaying output by using lav list display. afer displaying the output iam showing my own pf status here. in my pf status i am havinh one button called 'SELECT ALL' when i click this button it has to select all the checkboxees in my output. but it is not happening like that any body can siggest me what shall i do in this case.
i am sending my code below.
type-pools : slis.
tables : zuser_secobjects.
data : t_header1 like zuser_secobjects.
data : begin of it_secobjects occurs 0.
include structure t_header1.
end of it_secobjects.
data : wa_ita like line of it_secobjects.
*data : it_secobjects like zuser_secobjects occurs 0 with header line.
data : i_field type slis_t_fieldcat_alv with header line.
data : w_field like line of i_field.
data : i_sort type slis_t_sortinfo_alv.
data : w_sort like line of i_sort.
data : it_filt1 type slis_t_filter_alv with header line.
data:
i_tabname type tabname,
i_repid like sy-repid,
is_lout type slis_layout_alv.
data : chk_box type slis_fieldname.
selection-screen: begin of block b1 with frame title text-t01.
parameters : p_appln type zuser_secobjects-appln.
parameters : p_user type usr02-bname, "zuser_secobjects-appln_user,
p_partnr type zuser_secobjects-appln_partner,
p_ptype type zuser_secobjects-partner_type default '02',
p_upostn type zuser_secobjects-user_position,
p_sdate like likp-erdat default sy-datum,
p_edate(10) default '12/31/9999',
p_revnum type zuser_secobjects-revnum,
p_cted type zuser_secobjects-created_by,
p_cdate type zuser_secobjects-creation_date,
p_ctime type zuser_secobjects-creation_time,
p_chnby type zuser_secobjects-changed_by,
p_cdate1 type zuser_secobjects-changed_date,
p_ctime1 type zuser_secobjects-changed_time.
selection-screen: end of block b1.
INCLUDE ZVR_MAHI7_F01 *
form user_command using p_ucomm like sy-ucomm
rs_selfield type slis_selfield.
case p_ucomm.
when 'DELETE_ALL'. " SELALL is the FCODE of ur push button
loop at it_secobjects into wa_ita.
wa_ita-checkBOX = 'X'. "<-- Change this
modify it_secobjects from wa_ita.
endloop.
rs_selfield-refresh = 'X'. "<- ADD THIS
endcase.
endform.
*& Form delete
form delete.
*data: is_secobjects type zuser_secobjects.
data : begin of is_secobjects occurs 0.
include structure zuser_secobjects.
data : checkbox type c.
data : end of is_secobjects.
*IF FLAG = 'X'.
is_secobjects-checkbox = 'X'.
modify is_secobjects
from it_secobjects
transporting checkbox
where checkbox = 'X'.
endform.
*& Form get_data
form get_data.
select * from zuser_secobjects
into table it_secobjects.
endform. " get_data
*& Form prepare_fieldcatalog
text
--> p1 text
<-- p2 text
form prepare_fieldcatalog.
clear: w_field,i_field.
refresh:i_field.
i_field-key = 'X'.
i_field-col_pos = 1.
i_field-ddictxt = 'S'.
i_field-seltext_s = '@11@'.
i_field-checkbox = 'X'.
i_field-input = 'X'.
i_field-fieldname = 'HEADER'.
i_field-outputlen = 0.
append i_field.
clear i_field.
w_field-fieldname = 'APPLN'.
w_field-tabname = 'IT_SECOBJECTS'.
w_field-seltext_l = text-m01.
w_field-outputlen = '10'.
w_field-col_pos = 1.
append w_field to i_field.
clear w_field.
w_field-fieldname = 'APPLN_USER'.
w_field-tabname = 'IT_SECOBJECTS'.
w_field-just = 'C'.
w_field-seltext_l = text-m02.
w_field-outputlen = '7'.
w_field-col_pos = 2.
append w_field to i_field.
clear w_field.
endform. " prepare_fieldcatalog
*& Form ALV_LIST_DISPLAY
text
--> p1 text
<-- p2 text
form alv_list_display.
i_repid = sy-repid.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_callback_program = i_repid
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND'
is_layout = is_lout
it_fieldcat = i_field[]
tables
t_outtab = it_secobjects.
endform. " ALV_LIST_DISPLAY
anybody can modify the code and resend it to me.
thanks,
maheedhar.tHi,
In the user command write the code as per the sample given below:
FORM select_all .
CLEAR v_lisel.
DO.
READ LINE sy-index FIELD VALUE v_chk.
IF sy-subrc NE 0.
EXIT.
ENDIF.
READ LINE sy-index FIELD VALUE sy-lisel INTO v_lisel.
IF v_lisel+2(1) = ' ' AND sy-index GT 5.
v_lisel+2(1) = 'X'.
MODIFY LINE sy-index FIELD VALUE sy-lisel FROM v_lisel.
ENDIF.
ENDDO.
ENDFORM. " select_all
reward if useful
regards,
ANJI -
How to print check box in ALV list display and how to pick selected ones
Hi
i am displaying one ALV list dispaly. for that im adding one check box fields by filling the fieldcat as below:
wa_fldcat-checkbox = 'X'.
wa_fldcat-edit = 'X'.
but the check box is showing disable mode only. i want to display that check box and if i select that check box i want pick that records. for ALV grid i found one FM to pick records of selectedones as below.
DATA ref_grid TYPE REF TO cl_gui_alv_grid.
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
IF ref_grid IS NOT INITIAL.
CALL METHOD ref_grid->check_changed_data.
ENDIF.
but how can i do for list display to pick those selected one records.
Can any one sugget regarding this.
Thanks in advance.
Rahul.Hi,
Thanks. now it's enabled. but how can we pick the records from that list whichever i selected through that check box.
i found this one for ALV grid:
DATA ref_grid TYPE REF TO cl_gui_alv_grid.
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
IF ref_grid IS NOT INITIAL.
CALL METHOD ref_grid->check_changed_data.
ENDIF.
but how for ALV normal list display.
Thanks.
rahul
Maybe you are looking for
-
Hi apple team.. Am really disappointed by the performance of iOS7.. First of all the UI is soo cartoonish as a high school students have designed it.. Secondly after upgrading my phone started to lag badly.. All my frnds r facing same problm.. Plz re
-
Hello, while looking for text in a Mail message by doing Command-F the found text is highlighted in a faint grey box. Is there a way to change the box color to make it easier to find on the page? Thanks!
-
So, I have an Airport Extreme which works flawlessly. I have a 1 TB external HD connected to it. On my Maccbook Pro and a windows 7 laptop, I can view the HD as "Z". For some reason, on another Windows 7 and Windows 8.1 Laptop, it is not showing u
-
Upgrade Oracle RAC 11.1.0.6 to 11.1.0.7, on linux
Hi, I would just know where I can find a complete guide to upgrade my Oracle RAC 11.1.0.6 to the version 11.1.0.7. It's running on a RedHat 5 (Linux version 2.6.18-164.10.1.el5) I think I've first to upgrade the crs, than the database, is it correct?
-
Inconsistency while storing Spanish Characters in Devl Vs Prod Databases:
Hi there, We have setup dev and prod database instances with the same NLS Characterset settings, However, when a Spanish character is saved in the devl instance, the character is saved to the database correctly. However the same character when saved