Alv sort option
Hi Folks .
can anyone tell me how can i disable the column sort option ?
i mean that when i point with the cursur on the column header appears a little downside arrow that can sort the column asc or dsc .
You can disable standard functions by:
wa_toolbar_excld1 = cl_gui_alv_grid=>MC_FC_SORT.
APPEND wa_toolbar_excld1 TO t_toolbar_excld1.
wa_toolbar_excld1 = cl_gui_alv_grid=>MC_FC_SORT_ASC.
APPEND wa_toolbar_excld1 TO t_toolbar_excld1.
wa_toolbar_excld1 = cl_gui_alv_grid=>MC_FC_SORT_DSC.
APPEND wa_toolbar_excld1 TO t_toolbar_excld1.
where
Data:
t_toolbar_excld1 type ui_functions, "buttons to exclude
wa_toolbar_excld&1 like line of t_toolbar_excld1.
Then pass the toolbar exclude table in the ALV call:
CALL METHOD r_alv_grid1->set_table_for_first_display
EXPORTING is_variant = w_is_variant1
is_layout = w_is_layout1
i_save = c_alv_save_cd
it_toolbar_excluding = <b>t_toolbar_excld1</b>
CHANGING it_outtab = my_table
it_fieldcatalog = t_fieldcat1.
This will disable sorting on all columns.
If you only want to disable sorting for specific columns, then a different technique is needed.
There is an event called BEFORE_USER_COMMAND that executes some of your code before doing the standard ALV code. Your code could detect the sort request, determine the column being requested, and then override the UCOMM field using method set_user_command if you did not want the sort to continue.
Lot of details missing here and I do not know how a sort request on multiple columns would be handled so some testing would be required.
Serdar Simseklaer's "An Easy Reference for ALV GRID CONTROL" should also be helpful. Available at http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an easy reference for alv grid control.pdf
Could anyone tell me how to post links in these messages in a cleaner way? Also, how to post code so the indentation does not get lost?
Similar Messages
-
HI ABAPer's,
In my ALV Report i am using the sort option for all fields,In this report PO no one column and PO line item one column.
If i am using the Sort layout option for both fields all similar values is merge but my requirement is for each PO the line item should be merge not for all values,Could you please help regarding this.
Eg: PO No POLine
101 1
2
3
102 1
103 1
104 1
2
105 1
Like that but now output is
Eg: PO No POLine
101 1
2
3
102 1
103
104
2
105 1 like this could yoHi,
Please try sorting only PO No.
In the case single PO containing same line items : Use delete adjascent duplicates.
In case Line item are coming 1
3
2 jumbled order : sort the Line no: in internal table only not In ALV option.
Best Regards,
Ashiq Hafeez -
Disable sort option in ALV GRID DISPLAY
Hi Experts,
I have an Alv output with fixed layout, means user should not be allowed to edit/sort/toggle any of the columns, particularly sort functionality should be removed.
I have already tried the function code logic with excluding table. That only makes the sort option disappear. Still when you select a particular column and right click, you will find that the Sort in Ascending order' and 'Sort in descending order' functions are still enabled. This was already raised as a thread but not answered.
[alv sort option]
Please help.
Note: Disabling the icon doesnt help in disabling the functionality.Try by excluding the entire Sort group. Like:
Data:
t_toolbar_excld1 type ui_functions, "buttons to exclude
wa_toolbar_excld&1 like line of t_toolbar_excld1.
wa_toolbar_excld1 = cl_gui_alv_grid=>MC_FG_SORT. " <<
APPEND wa_toolbar_excld1 TO t_toolbar_excld1.
CALL METHOD r_alv_grid1->set_table_for_first_display
EXPORTING is_variant = w_is_variant1
is_layout = w_is_layout1
i_save = c_alv_save_cd
it_toolbar_excluding = t_toolbar_excld1
CHANGING it_outtab = my_table
it_fieldcatalog = t_fieldcat1.
Regards,
Naimesh Patel -
Print or download ALV report with sort options
Dear friends,
How i can download into excel or print ALV report with sort options, like customer name column with similar values should not repeat in the print out or download file.
Regards,
Praveen LoboHi Praveen,
Use this code, its working:-
*FOR SORTING DATA
DATA : it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
* SORT W.R.T. CUSTOMER NAME
wa_sort-spos = 1.
wa_sort-fieldname = 'NAME1'. "field customer name
wa_sort-tabname = 'IT_KNA1'. "internal table with records
wa_sort-up = 'X'.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
"this will sort the ALV o/p for customer with same name
"now the name will not be repeated
"records with same name will be grouped
* DISPLAY RECORDS IN ALV GRID
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid "report id
it_fieldcat = it_field "field catalog
it_sort = it_sort "sort info
TABLES
t_outtab = it_kna1 "internal table
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir
Edited by: Tarun Gambhir on Dec 31, 2008 1:13 PM -
Sorting option in item (material) display table
Hi Expert,
How can we give the sorting option in item (material) display output table?So that user can filter the data in long table where thousands of data is displaying.
Thanks,
KundanHi Kundan,
for CE and 7.30 VC has changed to use ALV tables (standard webdynpro tables). There is a filter option included. If you use a previous version with flash compiler this will be more difficult.
From my point of view the only solution is to add a form to your iView on top of the table. Create an input field for every table column and use a submit action to filter the result.
Hope this helps.
Anja -
Hi All,
In the Bex Reoprt. I need to sort a Keyfield . If right click on keyfield
following options are coming (but, sort option is not there in this) again if i double click on keyfield sort option is coming but it is not working... what is the reason can anyone explain me.
*Back to Start
Keep filter value
Fileter and Drildown according to
Add Drilldown according to
Swap key figures with
Calculate
Goto
Coditions
Cur.Translation
All Characteristics
Properties*
full point sure for this....
thanks,
KNYou can make a descending sorting for your key figure using the condition TopPercent (Top%) and take the value 100. To sort ascending, use the BottomPercent (Bottom%) condition on your key figure.
Then 100 % of the values of your key figure will be shown in a descending sorting by default in your query (without using a view).
I used the feature in the newest BEx Query Designer (7.x) and it works fine, I don't know if it's available in the older version (3.x).
Please assign points.
Kind regards,
Ben De Windt
Belgium -
How to remove the ALV Statistics option from Accounts user's userids
Dear Sir/Madam,
In our Accounts department each time one extra page is comming out. When the ALV Statistics option is make Unchecked, then it funtioninng normally that is, single page is comming out.
Is there any way to make this option permanently Unchecked ? If possible please advice and also whether there will be any unwanted implications of it ?
Please advice.
Thanks and Regards,
PranabOption 1 - Use SAP Report RSPRIPARADMIN you can set this for all users
Option 2 - user parameter SP01_FROM 0000000002 - This means print job will start from page 2
Option 3 - List -> Print -> click to properties button in print window -> expend cover sheets -> double click on ALV statistics , now uncheck the ALV statistics check box . now click on setting button and click on copy setting button
Edited by: Savo on Jul 1, 2011 4:06 PM -
How can I save my finder arrange/sort options once and for all?
I'm opening the Finder View Options panel and resetting the arrange and sort options several times a day and it's driving me nuts. The Finder ignores my desperate pleas to apply these options system-wide and seems to purposely forget the options I chose the day before.
I notice that the Icon view, List view, and even the Cover Flow view in the Finder get a "Use as Defaults" button in the View Options. Those of us in the Column View don't get that button, though. What have we done to deserve this?
I'd like the Finder to now and forevermore open every window with the following options:
Column View
Arrange By > Kind
Sort By > Name
Can anyone help me make this happen? Thanks!I've found setting the Arrange By to anything other then None gives different results then what I expected.
Select Column View from the Tool bar then open View Options and set Arrange By to None and Sort By to Name.
If you then see the names in reverse alphabetical order click on list in the tool bar then on the Name column header to put them right. in Alphabetical order, then switch back to column view on the Tool bar. you should be good to go from there
Whoever thought up Finders View logic should have their head checked. -
Help on Oracle Report sort option!
Hi,
My query in Q_1 of Oracle report is select &a_code ori_code ,&a_desc ori_description from &a ori_lup order by &b. When click on OK button it says
ORA-00936: missing expression
select ori_code,ori_description from ori_lup order by ==>
I am not able to resolve this problem.
What I am trying to do is I have some maintenance tables which have almost same columns like code, description. I want to define a single report and pass on parameters to this report, so that I can use same report for different tables. If I dont give order by clause it is working fine, but I should also provide sort option based on user selection of sort by code/description.
Thanks for your help.
Param Dasana
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrew Tselischev ([email protected]):
Hi
If I correcly understand you need sorted query, if the parameter 'b' is given, and not sorted query otherwise.
This may be done, for exeample, by the following way.
1. Delete the text 'order by' in your query as follows:
select &a_code ori_code ,&a_desc ori_description from &a ori_lup &b
2. Create 'AFTER PARAMETER FORM' trigger:
function AfterPForm return boolean is
begin
IF LENGTH( LTRIM( RTRIM( :b ) ) ) > 0 THEN
:b := 'ORDER BY ' | | :b;
ELSE
:b := '';
END IF;
return (TRUE);
end;
I think it will help for you.
Andrew<HR></BLOCKQUOTE>
Thanks Andrew , it worked with your suggestion!!!
Param.
null -
DRQ# Payment Wizard Loses Sort Option
Hi,
The sort function in the SAP payment wizard, loses it's settings in Step 6. In Step 3, you can sort the BP name field to sort by alpha, but in Step 6 the sort converts back to numeric, by BP Code. Our client is having problems with this when making their invoice selections in the wizard, as their invoice filing system is alphabetic and they have a large pile to sort through when making payments.
I would have thought the sort option should retain throughout the wizard from Step 3 to Step 6. Additionally it would be nice if in Step 6 there was also the option to sort again if needed.
Thanks,
LianneDear SAP,
Is this question so difficult, nobody can give a response so far??
with regards,
Eddy Rademakers -
Sort option in Repetitive Area on AR Invoice PLD is disabled / greyed out
Hi Experts,
I have an issue whereby in my PLD the sort option under Print Layout Design Manager -> Repetitive Area -> Sort is greyed out / disabled in the AR Invoice PLD. Does anyone know why this might be? I've not seen this before and I can't find any notes relating to specifically to this issue in an AR Invoice PLD.
2007A PL06 Hot Fix 01.
Many thanks for any help,
CarolineHello Khushwant,
In SAP when your business Process is Sales Order --> Delivery --> AR Invoice
SAP would print the Batch Numbers along with the Delivery document.
But your Business Process is Sales Order --> AR Invoice
SAP would print the Batch Numbers along with the Invoice document.
Whichever document releaves inventory, SAP will Open the Batch selection screen when adding that document and the Batch Report will be printed on a seperate sheet along with that document.
The functionality change in SBO 2007, is that the Batch number print on the Delivery / Invoice document itself instead of on a seperate Page as in 2005.
Could you please explain your Business Process in relation to what I have mentioned earlier.
Printing the Batch Number as part of the Invoice document itself in SBO 2005 is going to be a tough task.
Let me know if where and how you want to print this information.
Regards
Suda -
Hotspot-clicking (Insert function) plus ALV Sorting
Hi,
I have a requirement where the ALV display has to be SORTED based on values entered/changed on a certain column. The sort works ok when used with a custom APPEND button for new records (always inserted at the bottom of the list).
However, it does not work correctly when used with the Hotspot-click (INSERT functionality). It looks like if you CLICK on a particular record onscreen, you are actually addressing the original record in that position before the SORT was effected.
Is the Hotspot-clicking (Insert functionality) possible with ALV sorting? The ideal solution would be to have the ALV sorted at PBO and also at PAI so that the user can change existing records and add new ones with the sorting being updated everytime ON_DATA_CHANGED is triggered.
Will appreciate any help on this.
Thanks!
MichaelHello Michael
Thanks for further specifying your requirements. I have created the sample variant ZUS_SDN_ALVGRID_HOTSPOT_SORT_1 which contains two differences as compared to its template:
Replace table VBAK with VBAP (so we have two levels of sorting: VBELN, POSNR)
Move SET_TABLE_FOR_FIRST_DISPLAY method call into PBO
When I click on the hotspot (VBELN) a new row entry for the order number is created. The sorting (VBELN, POSNR) is kept even though the new row has been appended to the itab.
*& Report ZUS_SDN_ALVGRID_HOTSPOT_SORT
*& Thread: Hotspot-clicking (Insert function) plus ALV Sorting
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1159431"></a>
REPORT zus_sdn_alvgrid_hotspot_sort.
TYPES: BEGIN OF ty_s_outtab.
INCLUDE TYPE vbap.
TYPES: END OF ty_s_outtab.
TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
WITH DEFAULT KEY.
DATA: gt_outtab TYPE ty_t_outtab.
DATA:
gd_okcode TYPE ui_func,
gd_repid TYPE syrepid,
gt_sort TYPE lvc_t_sort,
gt_fcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo,
gs_variant TYPE disvariant,
go_docking TYPE REF TO cl_gui_docking_container,
go_grid TYPE REF TO cl_gui_alv_grid.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-DATA:
ms_sel_row TYPE lvc_s_row. " selected row
CLASS-METHODS:
handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING
er_data_changed
e_onf4
e_onf4_before
e_onf4_after
sender,
handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING
e_row_id
e_column_id
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_data_changed.
FIELD-SYMBOLS: <lt_outtab> TYPE ty_t_outtab.
BREAK-POINT.
ENDMETHOD. "handle_data_changed
METHOD handle_hotspot_click.
" define local data
DATA: ls_outtab TYPE ty_s_outtab,
ld_msg TYPE bapi_msg.
BREAK-POINT.
CLEAR: lcl_eventhandler=>ms_sel_row.
ms_sel_row = e_row_id.
READ TABLE gt_outtab INTO ls_outtab INDEX e_row_id-index.
CONCATENATE 'Selected Sales Order = ' ls_outtab-vbeln ' / '
ls_outtab-posnr
INTO ld_msg.
message i398(00) with ld_msg.
" Trigger PAI
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'INSERT'
* IMPORTING
* rc =
ENDMETHOD. "handle_hotspot_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
PARAMETERS:
p_vkorg TYPE vkorg DEFAULT '0001' OBLIGATORY.
START-OF-SELECTION.
** SELECT * FROM vbak INTO CORRESPONDING FIELDS OF TABLE gt_outtab
** UP TO 200 ROWS
** WHERE vkorg = p_vkorg.
SELECT * FROM vbap INTO CORRESPONDING FIELDS OF TABLE gt_outtab
UP TO 100 ROWS.
PERFORM init_controls.
* Build fieldcatalog and set hotspot for field KUNNR
PERFORM build_fieldcatalog.
PERFORM set_layout_and_variant.
PERFORM set_sorting.
" Register EDIT event
CALL METHOD go_grid->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_enter
EXCEPTIONS
error = 1
OTHERS = 2.
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.
SET HANDLER:
lcl_eventhandler=>handle_data_changed FOR go_grid,
lcl_eventhandler=>handle_hotspot_click FOR go_grid.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
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.
* ok-code field = GD_OKCODE
CALL SCREEN '0100'.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
* SET TITLEBAR 'xxx'.
* Display data
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
i_bypassing_buffer = abap_true
is_variant = gs_variant
i_save = 'A'
* i_default = 'X'
is_layout = gs_layout
* is_print =
* it_special_groups =
* it_toolbar_excluding =
* it_hyperlink =
* it_alv_graphics =
* it_except_qinfo =
* ir_salv_adapter =
CHANGING
it_outtab = gt_outtab
it_fieldcatalog = gt_fcat
it_sort = gt_sort
* it_filter =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
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 METHOD go_grid->refresh_table_display
*** EXPORTING
*** IS_STABLE =
*** I_SOFT_REFRESH =
** EXCEPTIONS
** finished = 1
** OTHERS = 2.
** 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.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'EXIT' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'INSERT'.
PERFORM insert_row.
WHEN OTHERS.
" Check for changed data at the frontend (= grid control)
CALL METHOD go_grid->check_changed_data( ).
ENDCASE.
CALL METHOD go_grid->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
finished = 1
OTHERS = 2.
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.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form INIT_CONTROLS
* text
* --> p1 text
* <-- p2 text
FORM init_controls .
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
others = 6.
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 METHOD go_docking->set_extension
EXPORTING
extension = 99999
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
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.
* Create ALV grid
CREATE OBJECT go_grid
EXPORTING
i_parent = go_docking
EXCEPTIONS
others = 5.
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.
ENDFORM. " INIT_CONTROLS
*& Form BUILD_FIELDCATALOG
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcatalog.
* define local data
DATA:
ls_fcat TYPE lvc_s_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
* I_BUFFER_ACTIVE =
i_structure_name = 'VBAP' " 'VBAK'
* I_CLIENT_NEVER_DISPLAY = 'X'
* I_BYPASSING_BUFFER =
* I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 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.
** LOOP AT gt_fcat INTO ls_fcat.
** CASE ls_fcat-fieldname.
** WHEN 'VBELN' OR
** 'ERDAT' OR
** 'ERZET' OR
** 'ERNAM' OR
** 'AUART' OR
** 'NETWR' OR
** 'WAERK'.
** CONTINUE.
** WHEN OTHERS.
** ls_fcat-no_out = abap_true.
** ENDCASE.
** MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
** ENDLOOP.
* Only non-key fields are editable
** ls_fcat-edit = 'X'.
** MODIFY gt_fcat FROM ls_fcat
** TRANSPORTING edit
** WHERE ( fieldname NE space ).
ls_fcat-hotspot = abap_true.
MODIFY gt_fcat FROM ls_fcat
TRANSPORTING hotspot
WHERE ( fieldname = 'AUART' OR
fieldname = 'VBELN' ).
** DELETE gt_fcat FROM 15 TO 99.
ENDFORM. " BUILD_FIELDCATALOG_KNB1
*& Form SET_LAYOUT_AND_VARIANT
* text
* --> p1 text
* <-- p2 text
FORM set_layout_and_variant .
CLEAR: gs_layout,
gs_variant.
gs_layout-cwidth_opt = abap_true.
gs_variant-report = syst-repid.
gs_variant-handle = 'GRID'.
ENDFORM. " SET_LAYOUT_AND_VARIANT
*& Form SET_SORTING
* text
* --> p1 text
* <-- p2 text
FORM set_sorting .
* define local data
DATA: ls_sort TYPE lvc_s_sort.
REFRESH: gt_sort.
CLEAR: ls_sort.
ls_sort-spos = 1.
ls_sort-fieldname = 'VBELN'.
ls_sort-up = abap_true.
APPEND ls_sort TO gt_sort.
CLEAR: ls_sort.
ls_sort-spos = 1.
ls_sort-fieldname = 'POSNR'.
ls_sort-up = abap_true.
APPEND ls_sort TO gt_sort.
ENDFORM. " SET_SORTING
*& Form INSERT_ROW
* text
* --> p1 text
* <-- p2 text
FORM insert_row .
* define local data
DATA: ls_outtab TYPE ty_s_outtab,
ld_order TYPE vbeln.
READ TABLE gt_outtab INTO ls_outtab
INDEX lcl_eventhandler=>ms_sel_row-index.
ld_order = ls_outtab-vbeln.
" Find last item of sales order
LOOP AT gt_outtab INTO ls_outtab
WHERE ( vbeln = ld_order ).
ENDLOOP.
" Create next item:
add 10 to ls_outtab-posnr.
" NOTE: added at the end of the list
APPEND ls_outtab TO gt_outtab.
" NOTE: insert new row AFTER selected row => works, too
** INSERT ls_outtab INTO gt_outtab
** INDEX lcl_eventhandler=>ms_sel_row-index.
ENDFORM. " INSERT_ROW -
Sorting options in table maintenance
Hi All,
I have created one ztable and created table maintenace generator for the same and also created the transaction code for the same to maintain the data just like SM30.
Here my requirement is as soon as we execute the transaction code, it will display all the fields to maintain. with the options of change, new entries, copy as, select all, deselect all, delete etc.. But along with that I need to have the sorting options at the application tool bar.
Thanks in advance.
Regards
Ramesh .you may have to change the tablemaintenance function group , you may need to include those option by changing the pf-status and the corresponding function needs to handled in the pai.
instead of that...
i would suggest you to use custom program to maintain the table entries. -
Sort options right justified in list view
New to Maverick's, but I can't get my finder window to "stick" with the layout of the "sort options". My biggest beef is that I have the "Name" sort far left followed by "Date modified", etc.. yet every day in every new finder window, the 2nd sort jumps to right justified. I want this sort option to stick to the left alongside name. I use large monitors and scrolling over everytime to drag the sort modifier to the left is frustrating. Is there a solution?
My guess would be the Images folder (Pictures in English) is designed to have the special, contextual grouping types.
I don't know why they couldn't make them available in the dropdown menu, also, but they're not.
I did a little testing and found if I called it Pictures unsorted, the options were available, but if I called the folder unsorted Pictures, they weren't.
Try naming the folder starting with Images
Edit: If I select the dimension and resolution column headers in the folder, then change the name of the folder, the columns are retained. -
Sort Folders in Library by Date or other sort options
I find myself hunting for folders that I've imported in the Library module.
It would be so nice if there was an option to sort folders in the Library by date imported or date last edited or ANYTHING other than alphabetically. Seems like a easy and really obvious fix.
Thanks!I too use folders as a primary means of organization. In fact, if Lightroom did not support folders, it would have been a deal breaker - I absolutely would not have bought it, period - its that important to me). We are perhaps a dieing breed - but not dead yet.
I use collections extensively too for organization, but more for special purposes as opposed to a "lowest common denominator of organization" (folders).
That said, I name my folders so they show up in the order I want them too - i.e. use a prefix (e.g. numeric) and they'll always be ordered properly. Interesting note: Lighroom is smart enough to auto-detect numeric prefixes and order them correctly without needing to pad with zeros (e.g. '2 Day After New Years' will come before '10 Resolutions - Holding Firm'). However, plenty of other software is not, so I pad anyway (e.g. '02 Day After New Years'... - that way they show up in the correct order when served via DLNA or anything that has alphabetic ordering but is not "numeric-prefix-smart" like Lightroom.
PS - One of the functions of my up-n-coming Lr-sidekick-app/plugin duo is a (possibly full length) folder pane (which would generally be placed on an auxiliary monitor) - so folders are available in develop mode too. I may add a folder-sort option, although I don't need it m'self.
Cheers,
Rob
Maybe you are looking for
-
Problem in assigning Webdynpro view to BPM task
hello all, I have a webdynpro application using EJB Model. Now I am trying to embed this application into BPM. When I am assigning the view to a bpm task then it will show error that data type not supported like that. In Component Controller's contex
-
how to install adobe premier trial.........please guide me
-
N95 has two black horizontal lines, and restarts f...
My n95 shows two black lines on its screen, restarts frequently and everytime I connect it to charger, it works fine. But when I disconnect it, it turns off quick. Is there any self-solution here?
-
Hi all, how do u go about restricting users from getting output when they use the "ps -ef" command?
-
What is a 3rd generation IPod?
I am new to all this.