How can I Sort Data in table maintenance generator view

Hi SAP Gurus,
Please help me to know, In my view table I have data, time and open value and close value columns. In that I want to sort the data column in ascending order, how can I do that. Please suggest.
Thanks and Regards
Lakshmikanth

Hi
Thanks for the reply. That did not solved my problem.
extract] = gt_ztest[ .
gt_ztest] = extract[ .
why the brackets r in this way??
this is showing error, 'The field "EXTRACT[" is unknown, but there is a field with the similarname "EXTRACT". .'
what can I do..
Regards,
Lakshmikanth

Similar Messages

  • How can I load data into table with SQL*LOADER

    how can I load data into table with SQL*LOADER
    when column data length more than 255 bytes?
    when column exceed 255 ,data can not be insert into table by SQL*LOADER
    CREATE TABLE A (
    A VARCHAR2 ( 10 ) ,
    B VARCHAR2 ( 10 ) ,
    C VARCHAR2 ( 10 ) ,
    E VARCHAR2 ( 2000 ) );
    control file:
    load data
    append into table A
    fields terminated by X'09'
    (A , B , C , E )
    SQL*LOADER command:
    sqlldr test/test control=A_ctl.txt data=A.xls log=b.log
    datafile:
    column E is more than 255bytes
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)

    Check this out.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch06.htm#1006961

  • How to change GUI title in Table maintenance generator?

    How to change GUI title in Table maintenance generator?
    Thanks
    Pankaj

    Hi,
    In table maintenance goto
    Environment>Modification>Maintenance screen
    Click on layout button
    Make editable form
    change the text property of column.
    save and activate it.
    check in sm30 headings.
    Pankaj

  • How can I sort date?

    hi,
    How do I sort date? Its in the following format 11 Mar 2002. The date is written using the calendar class in java.util.* package.
    Please help me out.
    Regards
    Deepa Datar

    long[] longArray = new long[dateArray.length];
    for(int i=0;i<dateArray.length;i++) {
       longArray[i] = dateArray.getTimeInMillis();
    Arrays.sort(longArray);
    Now you can format the sorted longArray into appropriate date format.

  • Delete data with table maintenance generator

    Hi All,
    I have created custom table ZXXX and table maintenance generator.
    I need to maintain data but delete them too. I can update and modify data but how can I delete them ?
    Thanks for your answers !
    Best regards,
    Sandrine

    ok, I found  ..
    I created an internal table to delete the content of my table ZXXX :
    DATA : ws_zxxx TYPE zxxx OCCURS 0 WITH HEADER LINE.
    select * from zxxx into CORRESPONDING FIELDS OF TABLE ws_zxxx
    DELETE zxxx from table ws_zxxx.
    commit work.
    it works !
    thanks all !

  • How to forbid some deletes in table maintenance generator

    Hey gurus,
    I'm using table maintenance generator on my table and I would like to achieve that I could check whether to allow or not allow the delete action.
    In other words I would like to forbid to delete those entries, which are referenced in some other tables, but I have no idea how to do it. I don't know where in the code is the Delete button is handled, or what to write in the right event to achieve my goal.
    Can you tell me how. In details would be the best Thank you very much.
    Best regards,
    Robert

    Did you add some foreign key relation between the maintained table and the dependant one, not a bad idea to add some...
    You can also use Event 03: Before Deleting the Display Data create a form in your dialog. (Look for samples with search tool, e.g. Thomas's answer at thread event 03 in table maintenance generator)
    Regards,
    Raymond

  • How can I sort the partner table (ICCMP_BTPARTNER/PartnerTable)?

    Hi all,
    we run a crm 5.0 system and are currently in a change of release to version 7.0. In 5.0 the sort order of the partner table within a serviceticket can be controlled by customizing (Customer Relationship Management -> Basic Functions -> Partner Processing -> Define Partner Determination Procedure -> User Interface Settings).
    In 7.0 these settings seem to be ignored. The sortation is by the technical id of the partner function. Is there any new customizing for that? Or is there no sortation supported?
    Same issue is within the dropdownlistbox of the partner functions in ICCMP_BTPARTNER/AddView. I want to sort the dropdownlistbox as well.
    Thanks for your help.
    Best regards.
    Ben

    Done.
    I realized it with two methods...
    CALLED in WD_CREATE_CONTEXT
    METHOD read_customzing_for_sortation.
    Variablen
      DATA: lr_gdc           TYPE REF TO if_crm_ui_data_context.
      DATA: lr_serviceticket TYPE REF TO if_bol_bo_property_access.
      DATA: lr_entity        TYPE REF TO cl_crm_bol_entity.
      DATA: ls_ui_settings   TYPE comc_partner_uis.
      DATA: lv_proc_type     TYPE crmt_process_type.
      DATA: lv_det_proc      TYPE comt_partner_determ_proc.
      DATA: lt_partner_fct   TYPE TABLE OF crmc_partner_pdp.
      DATA: ls_partner_fct   TYPE crmc_partner_pdp.
    Daten zurücksetzen
      CLEAR: gt_partner_sort_cust.
    Globalen Datenkontext ermitteln
      CLEAR: lr_gdc.
      TRY.
          lr_gdc ?= cl_crm_ui_data_context_srv=>get_instance( iv_controller = me ).
        CATCH cx_root.
      ENDTRY.
      CHECK lr_gdc IS BOUND.
    Aktuelles Serviceticket ermitteln
      CLEAR: lr_serviceticket, lr_entity.
      CALL METHOD lr_gdc->get_entity
        EXPORTING
          name  = if_iccmp_global_data_cont_con=>gdc_currentserviceticket
        RECEIVING
          value = lr_serviceticket.
      CHECK lr_serviceticket IS BOUND.
      lr_entity ?= lr_serviceticket.
      CHECK lr_entity IS BOUND.
    Vorgangstyp ermitteln
      CLEAR: lv_proc_type.
      TRY.
          lr_entity = lr_entity->get_related_entity( 'BTOrderHeader' ).
          CHECK lr_entity IS BOUND.
          CALL METHOD lr_entity->get_property_as_value
            EXPORTING
              iv_attr_name = 'PROCESS_TYPE'
            IMPORTING
              ev_result    = lv_proc_type.
        CATCH cx_root.
      ENDTRY.
      CHECK lv_proc_type IS NOT INITIAL.
    Partnerschema ermitteln
      CLEAR: lv_det_proc.
      SELECT SINGLE part_determ_proc
               FROM crmc_proc_type
               INTO lv_det_proc
              WHERE process_type EQ lv_proc_type.
      CHECK lv_det_proc IS NOT initial.
    Customizing für Partnerschema auslesen
      CLEAR: ls_ui_settings.
      SELECT SINGLE *
               FROM comc_partner_uis
               INTO ls_ui_settings
              WHERE determ_proc EQ lv_det_proc.
    Partnerfunktionen in Sortierreihenfolge der Tabelle hinzufügen
      APPEND ls_ui_settings-header_fct_1 TO gt_partner_sort_cust.
      APPEND ls_ui_settings-header_fct_2 TO gt_partner_sort_cust.
      APPEND ls_ui_settings-header_fct_3 TO gt_partner_sort_cust.
      APPEND ls_ui_settings-header_fct_4 TO gt_partner_sort_cust.
    Im Customizing können nur die ersten vier Partnerfunktionen angegeben werden, restliche Partnerfunktionen nachlesen
      CLEAR: lt_partner_fct.
      SELECT * FROM crmc_partner_pdp
         INTO TABLE lt_partner_fct
              WHERE determ_proc EQ lv_det_proc.
    Partnerschema durchgehen und ggf. fehlende Partnerfunktionen hinzufügen
      LOOP AT lt_partner_fct INTO ls_partner_fct.
        READ TABLE gt_partner_sort_cust FROM ls_partner_fct-partner_fct TRANSPORTING NO FIELDS.
        IF sy-subrc NE 0.
          APPEND ls_partner_fct-partner_fct TO gt_partner_sort_cust.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    and
    CALLED in DO_PREPARE_OUTPUT
    METHOD sort_partner_table.
    Variablen
      DATA: lr_sorted_collection TYPE REF TO cl_bsp_wd_collection_wrapper.
      DATA: lr_entity            TYPE REF TO cl_crm_bol_entity.
      DATA: ls_partner_sort_cust TYPE comt_partner_fct.
      DATA: lv_partner_fct       TYPE crmt_partner_fct.
    Daten zurücksetzen
      CLEAR: lr_entity, lr_sorted_collection.
    Neue, sortierte Collection initialisieren
      CREATE OBJECT lr_sorted_collection.
    Vor der Sortierung nach Customizing einmal nach Partnernummer sortieren, damit zweite Sortierung später korrekt ist
      me->typed_context->btpartner->collection_wrapper->sort( iv_attr_name  = 'PARTNER_NO'
                                                              iv_sort_order = if_bol_bo_col=>sort_ascending
                                                              iv_stable     = abap_true ).
    Partner-Sortier-Customizing durchgehen
      LOOP AT gt_partner_sort_cust INTO ls_partner_sort_cust.
    Partnertabelle durchgehen
        CLEAR: lr_entity.
        lr_entity ?= me->typed_context->btpartner->collection_wrapper->get_first( ).
        WHILE lr_entity IS BOUND.
      Partnerfunktion ermitteln
          CALL METHOD lr_entity->get_property_as_value
            EXPORTING
              iv_attr_name = 'PARTNER_FCT'
            IMPORTING
              ev_result    = lv_partner_fct.
      Wenn Partnerfunktionen gleich, dann Entität in neue, sortierte Collection schreiben
          IF lv_partner_fct EQ ls_partner_sort_cust.
            lr_sorted_collection->add( lr_entity ).
          ENDIF.
      Nächsten Eintrag
          lr_entity ?= me->typed_context->btpartner->collection_wrapper->get_next( ).
        ENDWHILE.
      ENDLOOP.
    Neue, sortierte Collection an Stelle der alten Collection setzen
      me->typed_context->btpartner->collection_wrapper->clear( ).
      me->typed_context->btpartner->collection_wrapper->set_collection( lr_sorted_collection ).
    ENDMETHOD.

  • How can I sort data in view that all member are transent attributes ?

    I create a view that 's not based on query . and all member of that view are transent attributes . if I want to sort records in the view with a transent attribute .
    What should I do ?
    as I know I can set order by clause , if that view is base on query .
    but for the view that not based on query . I don't know how to sort .
    if I have to sort by myself , Can you recommend how to sort it ?
    thanks in advance

    Can you post this question on the JDeveloper forum since it is not related to Jheadstart?
    Thank you,
    Steven Davelaar,
    JHeadstart Team.

  • Table maintenance generator with radiobuttons

    Hello,
    how can I automatically (via se11: table maintenance generator) generate from a DDIC-structure the radiobtton-fields on a dynpro?
    If I use the domaine 'X' or 'XFELD', I only get checkboxes....
    kind regards

    Hi,
    Table Maintenance Generator will create the Z Screens.
    In order modify those Z screens go to SE80 and give the
    Function group for that table maintenance generator.
    Then to find the function group go to sm30, give the table name and click on display. It show a screen with table control. Click on System -> Status .
    It gives you the Z screen information.
    Give that Z screen in SE80 and do the changes accordingly.
    I hope it helps you.
    Regards,
    Gopi

  • How to see column in table maintenance  generator?

    Hi All,
    Can we write code in table maintenance generator ? where can we write code?
    suppose I have created table maintenance generator but column is not visible what might be reason? How to deal with this?
    Can any 1 help me in this regard?
    Thanks in advance.

    Hi,
    column is not visible
    This may be because of additioni of a new field in the table after you have generated the TMG.
    Delete and re-create the object in TMG again.
    writing code in table maintenance generator
    Yes, you can write.
    SE54 --> Environmnt --> Events --> New Entry
    Select the event ..eg.
    01 for Before saving the data in the database
    02 for After saving the data in the database
    Press enter. Click on the editor button and start writing your codes in the routine.
    Regards,
    Firoz.

  • Issue with data dictionary -Table maintanance generator

    Hi all,
    I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
    1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
    2)0012 could not be generated
    3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
    My main motto is to create the table maintainace generator and transport to the furthur systems .
    Please help.
    ThnX in advance,
    Vishal..

    HI,
    Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
    Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
    Thanks,
    Best regards,
    Prashant

  • How can I modify data from a Transparent Table without ABAP code.

    Hi,All
    How can I modify data from a Transparent Table (like TCURR),  and important thing is I want do all that with no ABAP code here. It is like that we always do that in a Oracle database use TOAD or PLSQL third party tools, with no script code here.
    I had fond that there is a way can do that:
    1, type 'se11',and Display Database table 'TCURR', click Contents, then click Execute to display all data
    2, type '/h' and let debugging on
    3, select one of this data then click 'Display',enter in debugging system.
    4, then make a breakpoint in the code. But... display a dialog let I type a 'ABAP Cmnds', I want to know what can be type in for that?
    and, My system is ECC6.
    thank you all
    Edited by: xuehui li on Aug 20, 2008 6:30 PM

    Hello,
    Your approach (with Vijay's suggestion) MAY work.  However, depending on how tight security is at the company that you are working at you may or may not be able to acutaly change the value of the SHOW field to EDIT.  This will be especially true if you are working in a Production environment.  Vijay's other comment is true as well.  This is not a recommended approach to change data (especially data with a financial impact like TCURR) in a production environment.  The auditors will not be impressed.
    Explore the option of a maintenace view or look at tcode TBDM to upload a file which includes daily rates from providers like Reuters or try tcode s_bce_68000174 which is a maintenance view on TCURR.
    Regards
    Greg Kern

  • URGENT can anyone let me know how to include sort buttons in table maintian

    hi
    can anyone let me know how to include sort buttons in table maintianence
    as generally table maintianec done have sort buttons i need to include the sort buttons kindly let me know on that asap
    or can we use module pool in between table maintianece screen
    if yes how touse and how to cod for that
    regards
    Arora

    You can change the coding of Table Maintenance.
    >> Goto SM30, give table name and goto Display/Maintain mode and copy all the GUI status from standard program into your function group. Add sort button in the GUI Status of Maintain & Display mode.
    >> Goto to tablemaintenance screen generated using SE51.
    >> Select change mode.
    >> After PROCESS BEFORE OUTPUT, create one module to assign your function group program name to " X_HEADER-GUI_PROG = "
    >> In PROCESS AFTER INPUT, add another module at the end to perform the action.
    -Alpesh.Saparia

  • How can I sort lines of data (alphabetically) in the new pages 5.0?

    How can I sort lines of data (alphabetically) in the new pages 5.0?
    It was very simple to do in the previou version of pages.

    I'm not sure why people are torturing themselves with Pages 5 given the nearly universal outcry on this forum and the incredibly negative reviews elswhere, such as the App Store.
    Pages 4.3 should still be in an iWorks folder within your Applications folder.  Just use that.
    Please remember to tell Apple what we need from them at:
    http://www.apple.com/feedback/pages.html

  • In ADF how can i insert data in multiple table if they have foreign key

    I have started working on ADF and can anybody inform me in ADF how can i insert data in multiple table if they have foreign key,please?
    Thnak you very much.

    Hello,
    Still no luck.I am surely doing silly mistakes.Anyway,Here are my workings-
    1> student_mst (id(pk),studentname) and student_guard_mst(id(fk),guardianname)
    2> created EO from both of the tables,made id in both EO as DBSequence and an association was also generated.
    3> i made that association composite by clicking the checkbox
    4> i created 2 VO from 2 EO.
    5> put those VO in Application Module.
    6> dragged and dropped 2 VO on my jspx page and dropped them as ADF Form.
    Now what to do please?

Maybe you are looking for

  • IPhoto crashes even after trying to rebuild iPhoto library database.

    iPhoto won't open after I synced new iPhone 5s to my Mac v10.6.8. I tried holding down the Option and Command key and this forced the iPhoto library manager to open. I then ticked to rebuild Library Manager and then it crashes again.  I also cannot b

  • Ar29n - no fi document generated (with aa document generation, amount 0)

    Hello, After customizing the revaluation area (APC: all values allowed, Depreciation all values allowed, reevaluation allowed), the reevaluation measures (one for writing back depreciation and one for opening of depreciation areas) and the transactio

  • Localization in Discoverer

    Hello, We want to use japanese language for the labels in Discoverer reports. May we can store the words in oracle database and display it in the discoverer reports as a label. Is there a utiluty available to acheive this in any release of discoverer

  • Can't open Firefox 16.0.2

    Firefox was working just fine until I updated to Firefox 16.0.2 and now can't open the program at all. When I double click on the Firefox icon or click "Open", I get the moving circle for about 10 seconds, then it just goes away and the program does

  • Does programming/developing work well with the mini mac

    has anyone downloaded wcode 4 using the mini mac and is there problems with using this application for developement on the mini mac