Freetext with in Grid

Hi,
I have requirement to display Text and Line item in a GRID (in popup window) ie
In the Screen
Free Text :xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Item No      Document Description    Quantity     Amount
10              xxxxxxxxxxxxxxxxxx    10              1000
20              xxxxxxxxxxxxxxxxxx     20              200
30              xxxxxxxxxxxxxxxxxx     30              400
I am looking for how we generate this using Object Oriented
Any example programs
I have a previous post related to this , still i could not able find a proper soluation
Freetext with in Grid
Thanks
aRs

Hi.  You can't do free text with in the grid itself, but you may be able to use a text editor container directly above the ALV grid.  Implement this program which I just developed, and run it.  See how the text is in a text editor control above the ALV.  Maybe you could use this.  I have implemented in a docking container, so that you have a working(cut/paste) solution.  You could easily modify to implement this in a dynpro container.
report zrich_0001 .
data: it001w type table of t001w with header line.
parameters: p_check type c.
start-of-selection.
at selection-screen output.
  data: itext type table of tline-tdline,
        xtext like line of itext.
  data: docking_left type ref to cl_gui_docking_container,
        alv_bottom    type ref to cl_gui_alv_grid,
        splitter type ref to cl_gui_splitter_container,
        dock_sub_cont1 type ref to cl_gui_container,
        dock_sub_cont2 type ref to cl_gui_container,
        text_editor_top     type ref to cl_gui_textedit,
        repid type syrepid.
  repid = sy-repid.
  select * into corresponding fields of table it001w
              from t001w.
  if docking_left is initial.
* Create the docking and splitter containers
    create object:
         docking_left
                exporting repid     = repid
                          dynnr     = sy-dynnr
                          side      = docking_left->dock_at_left
                          extension = 1000,
         splitter
                  exporting parent = docking_left
                            rows    = 2
                            columns = 1.
    call method:
                splitter->set_border
                  exporting border = space,
                splitter->get_container
                  exporting row            = 1
                            column         = 1
                            receiving container = dock_sub_cont1,
                splitter->set_row_height
                  exporting id             = 1
                            height         = '30',
                splitter->get_container
                  exporting row            = 2
                            column         = 1
                            receiving container = dock_sub_cont2.
    create object text_editor_top
                exporting
                     parent     = dock_sub_cont1.
    xtext = 'This is a test for aRs'.
    append xtext to itext.
    xtext = 'Good Luck!!'.
    append xtext to itext.
    call method text_editor_top->Set_text_as_r3table
        eXporting
              table              = itext
        exceptions
              others             = 1.
    create object alv_bottom
                  exporting i_parent = dock_sub_cont2.
    call method alv_bottom->set_table_for_first_display
       exporting
            i_structure_name       = 'T001W'
       changing
            it_outtab       = it001w[].
  endif.
Regards,
Rich HEilman

Similar Messages

  • SSO and EUS with EM Grid Control

    Trying to configure both SSO using client certificate authentication process and Enterprise Users, I noted that the parameter used to configure both is the same (oracle.sysman.emSDK.sec.DirectoryAuthenticationType) in emons.properties.
    Can I use both SSO and EUS with EM Grid Control???

    Hello
    i am interested in a very special feature: is it possible to get notified if alerts occur in alert logs in an 8i/9i database when using Grid control and the 10g agent on the 8i/9i systems?
    Moreover, the 10g agent should be able to get Performance Data using the v$ views or direct sga access without using statspack, right?
    Do you know where I can find documentation about the supported features when using Grid Control with 8i/9i databases?

  • Problems with fluid grid layout live site only showing phone view in Chrome and Firefox Feb 2015

    Hi all,
    I have done a complex fluid grid layout using DW 2014 CC. The site has now gone live on the web masters server setup.
    Up until now the layout of the site has been working fine and responding to screen size.
    Early this morning in the USA the site stopped working. The layout for some users, not all, is only showing the phone view, and takes a long time to load.
    This is happening in Chrome and Firefox, but IE is displaying the site properly.
    So it looks like the CSS media queries are not working on all browsers.
    I am using BC for the test site, and one user having this problem can see that version of the site OK.
    I noticed that Chrome has done some updates recently Chrome Releases
    Has anyone else come across this problem with Chrome and Firefox with their responsive layouts?
    Thanks for any help given.

    Hi Ben,
    Yes, thanks for this link. The Travel Health Website is one of ours, hosted on BC, and no reported problems so far. We also have another large BC website with ga code in it and users are not reporting problems with it. The Headless Way
    However the problem website is hosted elsewhere on a different platform to BC. We have been developing it for three months now, and no problems so far until yesterday. The problem of the site taking ages to load, and timing out seems to be happening with about 10% of users in the USA. http://www.harrisonassessments.com/
    The web developer found a user in NZ who was experiencing the slow display problem. They looked at the site with Chrome, Firefox and IE. The site would only display on IE. When the developer removed the google analytics code, the site displayed fine on all browsers for the NZ user. We are waiting for users in the USA to wake up and test the site.
    So the problem definitely is related to the ga code and the responsive layout that was done by me in DW2014.1 fluid grid layout. So the related problem of DW2014.1 not being able to load htm files with ga code in them looks to be a good clue to what is going on here.
    As there was a bug report for DW2014.1 and google analytics code made in the other thread, I would be interested to know if that was ever solved.
    It is interesting that you are pushing Bootstrap and Foundation on me. (Big square websites here I come! lol)
    I wonder if DW is going to persist with fluid grid layout then? I certainly hope so, as I have spent 12 months blood sweat and tears learning how to do it in DW.

  • Issue with ALV grid print preview/spool

    Hello everyone,
    I am working on a report and I am having some issues with ALV grid. Currently in our DEV and QA environments the user can run the report, view the ALV grid, and print the grid without any issues.
    However this isn't the case in the Prod environment. The user is able to run the report and view the grid without any issues. But when they click print preview or click print, the spool is incorrect. It shows the proper values from the grid, but the first field is reduced in length. Rather than showing a numeric field of length 10 it shows 99999999# or 99999999...
    The programs are identical through every environment, including user parameters, formats, and spool settings. I have been told printing grids may have some issues, does anyone have any advice or dealt with this issue before?
    I appreciate the help.
    Thanks,
    C

    I was waiting to hear from the functional team on the matter and no one has mentioned any more issues.  I am assuming the problem is solved.  I just noticed the thread was still un-answered and wanted to give an update. 
    Thank you for you help Vijay.
    Regards
    C

  • I have a problem with ALV Grid User Command?

    Hi Experts,
    I have a problem with ALV GRID User Command.
    I am calling TCODE IW33 (Order Display) from the ALV output at first time by selecting an order. But, User command is calling IW33 Initial screen with blank value of order. Even I checked in debugging the value what I selected is passing properly, but once that screen (IW33 Initial) displays, value doesn't appear. Then, Manually, I  created another session and gone to TCODE IW33 and displayed an order. After that I came out from that order. Then again run my ALV program and selected another order, now order is displaying, but not what I selected current order instead of displaying previous order what I just displayed manually. If I selected any other order, system will display the same order what I dislayed manually.
    Here is my code.
    FORM user_command_alv  USING u_ucomm TYPE sy-ucomm
                           us_self_field TYPE slis_selfield.
    CASE u_ucomm.
    WHEN '&IC1'.
    READ TABLE it_final INDEX us_self_field-tabindex INTO wa_final.
            WHEN 'ORDER'.
              IF NOT wa_final-order IS INITIAL.
                SET PARAMETER ID 'COK' FIELD wa_final-order.
                CALL TRANSACTION 'IW33' AND SKIP FIRST SCREEN.
              ENDIF.
    endform.
    PARAMETER ID 'COK'  also the standard one.
    Could you please help me out, Where I did wrong?
    If I select any order, that order only should display.
    Thanks in advance.
    Regards,
    Sarayu.
    Code Formatted by: Alvaro Tejada Galindo on Jan 8, 2009 2:33 PM

    hi,
    Please check it once the Paramater ID is 'ANR' for IW33 order number.
    Hope this may help.
    Regards,
    Sravanthi

  • Problem with ALV grid in edit mode

    Hello, gurus!
    I have a problem with ALV-grid. Sometimes when I call F4 help for a cell, data is inserted in a different cell.  And when I call check_changed_data method, my internal table (passed to ALV-control in set_table_for_first_display) does not updates properly. In what can be a problem?
    Thanks,
    Mikhail

    Hi Prabhu,
    MODULE pbo_100 OUTPUT.
      SET PF-STATUS 'MAIN100'.
      title_of_report = text-010.
      SET TITLEBAR '0100' WITH title_of_report.
      DATA: g_event_receiver TYPE REF TO lcl_event_handler.
      IF z_custom_container IS INITIAL .
        CREATE OBJECT z_custom_container
          EXPORTING
            container_name = 'ALV_ZAC'.
        CREATE OBJECT alv_grid
          EXPORTING
            i_parent = z_custom_container.
        g_repid = sy-repid.
        gs_variant-report = g_repid.
        x_save = 'A'.
        PERFORM check_alv_grid_fields.
        ps_layout-cwidth_opt = 'X'.
        ps_layout-edit = 'X'.
        CALL METHOD alv_grid->set_ready_for_input
          EXPORTING
            i_ready_for_input = '1'.
    *    CALL METHOD alv_grid->register_edit_event
    *      EXPORTING
    *        i_event_id = cl_gui_alv_grid=>mc_evt_enter.
        APPEND   s_list_rec   to it_list_rec.
        CALL METHOD alv_grid->set_table_for_first_display
          EXPORTING
            is_layout       = ps_layout
            is_variant      = gs_variant
            i_save          = x_save
          CHANGING
            it_fieldcatalog = pt_fieldcat
            it_outtab       = it_list_rec[].
        CALL METHOD alv_grid->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_enter.
        CALL METHOD alv_grid->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    ENDIF.
    FORM check_alv_grid_fields .
      DATA: ls_fcat LIKE LINE OF pt_fieldcat.
    REFRESH pt_fieldcat .
    CLEAR: ps_layout, ls_fcat.
      ls_fcat-fieldname = 'VBELN'.
      ls_fcat-ref_field = 'VBELN'. ls_fcat-ref_table =  'LIPS'. " .
      ls_fcat-outputlen = 9.
    *  ls_fcat-datatype   = 'CHAR'.
    *  ls_fcat-inttype    = 'C'.
      APPEND  ls_fcat TO pt_fieldcat.
      CLEAR: ls_fcat.
      ls_fcat-fieldname = 'ERDAT'.
      ls_fcat-ref_field = 'ERDAT'. ls_fcat-ref_table = 'LIPS'.
      ls_fcat-outputlen = 9.
    *  ls_fcat-f4availabl = 'X' .
    *  ls_fcat-datatype   = 'DATS'.
    *  ls_fcat-inttype    = 'D'.
      APPEND ls_fcat TO pt_fieldcat.
      CLEAR: ls_fcat.
    ENDFORM.                    " check_alv_grid_fields
    FORM save_p .
      CLEAR l_valid.
      CALL METHOD alv_grid->check_changed_data
        IMPORTING
          e_valid = l_valid.
      IF l_valid IS INITIAL.
        CALL FUNCTION 'POPUP_TO_INFORM'
          EXPORTING
            titel = text-i01
            txt1  = text-i02
            txt2  = text-i03
            txt3  = text-i04.
      ELSE.
        i_dat_reg = zrumm_prr-cdprr.
        CLEAR is_temp_otc.
        freshit i_prrpus_fax.
        freshit i_list2_ot.
        LOOP AT it_list_rec INTO s_list_rec.
          MOVE-CORRESPONDING s_list_rec TO i_list2_ot.
          i_list2_ot-fgrup = 'RECE'.
          i_list2_ot-prrnu = i_num_prr.
          APPEND i_list2_ot.
          MOVE-CORRESPONDING s_list_rec TO i_prrpus_fax.
          APPEND i_prrpus_fax.
        ENDLOOP.
      ENDIF.
    Edited by: Mikhail Sarychev on Mar 16, 2011 6:41 AM
    Edited by: Mikhail Sarychev on Mar 16, 2011 6:49 AM
    Edited by: Mikhail Sarychev on Mar 16, 2011 6:49 AM

  • Files icons size is 512 x 512 with maximum grid space???

    After updating from Snow Leopard to Lion all my files in the folders is rearranged and files icons size is 512 x 512 with maximum grid space. I adjusting each folder icon size back to normal but after reopening that folder all files is out of order again.  Is anybody experience same issue?
    Also I have brand new battery in my 17" MBP and OS Lion eat battery like a cake.

    I believe this has been brought up many times, aand no solution has been found.
    More Like This According to ASC
    File Vault Resize
    Re: Icon view in Finder - larger maximum icon size?
    dock applications smaller icons
    Re: change size of icons on Dock grid view
    Re: anyone know how to get lion to calculate all hd sizes in grid view?

  • How can I fill a path with a grid?

    Hi,
    I'm trying to fill some text that has been converted to outlines with a grid pattern (like graph paper). I need the grid to be made up of paths. Is this possible?

    Yes this is possible. This is a little easier with live text as all you have to do is select the 2 elements and do a CMD 7 (Mask). When your text is outlines select the text only, and do a command 8 (make compound), as an additional step prior.

  • Alert Log File Monitoring of 8i and 9i Databases with EM Grid Control 10g

    Is it possible to monitor alert log errors in Oracle 8i/9i Databases with EM Grid Control 10g and EM 10g agents? If yes, is it possible to get some kind of notification?
    I know that in 10g Database, it is possible to use server generated alerts, but what about 8i/9i?
    Regards,
    Martin

    Hello
    i am interested in a very special feature: is it possible to get notified if alerts occur in alert logs in an 8i/9i database when using Grid control and the 10g agent on the 8i/9i systems?
    Moreover, the 10g agent should be able to get Performance Data using the v$ views or direct sga access without using statspack, right?
    Do you know where I can find documentation about the supported features when using Grid Control with 8i/9i databases?

  • Monitoring Oracle Glassfish or Generic URL with Oracle Grid Control

    How are people monitoring Oracle Glassfish with Oracle Grid Control?
    I really just need to monitor the URL right now, is the only method to setup a system and monitor a generic web test with a beacon?

    I would think this is indeed the only way to monitor the URL.
    Perhaps you could try a solution in creating your own plug-in.
    Check http://www.oracle.com/technetwork/oem/extensions/index.html for this.
    Regards
    Rob
    http://oemgc.wordpress.com

  • Handling Double click on a Pop-up screen with ALV Grid

    Hello Experts,
    I have an issue handling double click on ALV Pop-up screen. I tried to achive this using following steps.
    1. I defined a local class in Top-include to handle double click and implemented it in the following way.
    CLASS lcl_alv_event_handler DEFINITION.
    PUBLIC SECTION.
    CLASS-METHODS:
    on_double_click FOR EVENT double_click
    OF cl_gui_alv_grid
    IMPORTING e_row
    e_column
    es_row_no.
    ENDCLASS. "lcl_alv_event_handler DEFINITION
    *~~~ Implementation code
    CLASS lcl_alv_event_handler IMPLEMENTATION.
    To handle Selection of Issue data on Screen 100
    METHOD on_double_click.
    DATA: lt_row_no TYPE lvc_t_roid,
    ls_req TYPE zcst_zirt_seltab.
    READ TABLE gt_req
    INTO ls_req
    INDEX e_row-index.
    g_req_id = ls_req-zzrequest_id.
    gv_selected = true.
    CALL METHOD go_alv->dispatch
    EXPORTING
    cargo = 'OK'
    eventid = 3
    is_shellevent = ' '
    is_systemdispatch = 'X'
    EXCEPTIONS
    cntl_error = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDMETHOD. "on_double_click
    ENDCLASS. "lcl_alv_event_handler IMPLEMENTATION
    2. Registered the event in the PBO module of the screen
    ls_events-eventid = 3.
    ls_events-appl_event = gc_true.
    APPEND ls_events TO lt_events.
    CALL METHOD co_alv->set_registered_events
    EXPORTING
    events = lt_events
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    illegal_event_combination = 3
    OTHERS = 4.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CREATE OBJECT co_alv_event_handler.
    SET HANDLER: co_alv_event_handler->on_double_click FOR co_alv.
    CALL METHOD co_alv->set_toolbar_interactive.
    3. In the PAI module of Screen, tried to handle the event 'OK' that waqs registred in PBO.
    CASE save_ok.
    WHEN 'OK'.
    Get selected line
    CALL METHOD io_alv->get_selected_rows
    IMPORTING
    et_index_rows = lt_rows
    et_row_no = lt_rows_no.
    IF NOT lt_rows IS INITIAL.
    READ TABLE lt_rows INTO ls_rows INDEX 1.
    IF sy-subrc EQ 0.
    gv_selected = 'X'.
    READ TABLE it_req
    INTO ls_req
    INDEX ls_rows-index.
    e_req_id = ls_req-zzrequest_id.
    SET SCREEN 0.
    ENDIF.
    ELSE.
    SET SCREEN 0.
    ENDIF.
    With this code what is happening is, when user double clicks a line on Pop-up screen with ALV grid data, the program is able to successfully get into the class implementation but the control is not going to PAI module to execute the OK_code handling part.
    Am I doing this in the right way? Appreciate quick suggestions. Proper posts will be thoroughly awarded with points.
    Thx.
    Minni

    Put your code into the Event handler Implementation of Double Click which is there in the PAI Module.
    Regards,
    Naimesh Patel

  • Freetext with more than 300 char show with function or class

    Hi all
    I search a function or a Class how could show freetext with more than 300 char like a popup.
    Now somebody one ?
    Thanks in advance

    Hi
    Try to use HELP_DOCULINES_SHOW
    Max

  • Printing with a grid

    Is it possible to print a photograph with a grid overlaid on it?

    There is no specific method on the API to draw the grid, but you can build it dynamically and use for example the addLinearFeature method to add the grid to your map.
    Joao

  • Is it possible to use sliced images with fluid grids CS6?

    I have 2 sliced images that I want to use in my page. The site has been designed with fluid grids CS6. As soon as the page is made smaller 1 of the images shrinks while the other remains the same size. Is there any way to make this work or is it just not possible using fluid grids?

    There's nothing on this page.
    http://www.lavishvegas.com/las_vegas_barsx.html
    If you want images to rescale to device width, the parent container must be fluid (% width). 
    The images need a CSS max-width of 100%. DW does this for you when you create a Fluid Grid layout. 
    Also, the native image must be inserted into the HTML foreground  with no stated height or width attributes.  If you set the height/width, it won't rescale to viewport width.
    Working example:
    http://alt-web.com/FluidGrid/Fluid2.html
    Nancy O.

  • Will Oracle9i Dataguard broker work with Oracle10g Grid control ?

    Hello all,
    I have recently configured Oracle9i dataguard using Dataguard broker and it's currently working fine but I am not sure if this could be managed with Oracle10g Grid control as it does for Oracle10g dataguard (i.e. Switch-over, Protection mode switching and so on ..)
    I would appreciate if anyone could enlighten me further on this as I have not been able to find any proper document to provide me with the appropriate answer .
    Thanks..

    Ram,
    For your JBCL questions:
    JBCL 2.0 WILL be included in the production release of JDeveloper
    2.0, but will not be visible on the palette by default. You can
    add it back in if you really want to use JBCL.
    For more info on this decision and why we are recommending Swing,
    over JBCL see the post titled 'Which Oracle JDeveloper 2 GUI Lib
    for database access' dated March 26. It includes plenty of
    detail.
    As for your gridControl question:
    You can use a picklist with a gridcontrol, but there's not an
    'automatic' way to do it (i.e. via the properties sheet). You
    need to create a new rowsetinfo object that contains your query
    for the picklist. Then bind this rowsetinfo object to a Swing
    list control or combobox control. Finally, you need to hook the
    list control to the cell of the grid you want the list to appear
    in.
    - L
    Ram (guest) wrote:
    : Hi
    : I got a reply to my field control painting problem from Mark
    : Tomlinson saying that JBCL 2.0 is not included in the
    production
    : release of Jdev 2.0.
    : Any way Oracle has recommended using of Swing based DAC
    : Gridcontrol.I am using a oracle.dacf.gridcontrol.But I cant get
    : a picklist to popup using this.
    : I have a few questions here
    : 1. How do i get a picklist popping using
    oracle.dacf.gridcontrol
    : 2.At present i am using the same popup picklist item editor in
    : JBCL.If this is not included in the production release how Dom
    i
    : get this going
    : 3.Do you recommend not to use JBCL any more??
    : THanks
    : Ram
    null

Maybe you are looking for