Possible REUSE_ALV_GRID_DISPLAY_LVC  with a Edit Field to collect  after ch

Hi all
is it possible for Fuba REUSE_ALV_GRID_DISPLAY_LVC with one Editable field after change the field one by one manually to collect the the change ?
Event ?
If yes please could you show me how?
Thanks in advance

      FORM DO_DATA_CHANGED
      Auf Dateneingabe reagieren
      !!! Dynamischer Aufruf vom ALV. Keine Parameterübergabe
      !!! ==> direkter Zugriff auf benötigte Werte des Hauptprogramms
-->
<--
FORM do_data_changed USING data_changed TYPE REF TO
                                        cl_alv_changed_data_protocol.
  DATA: wa_alv TYPE          lin_output_alv_lvc.
  DATA: wa_mod_cell TYPE lvc_s_modi.
  DATA: h_check_int TYPE i.                              
wenn keine Datenänderung => FORM verlassen
  CHECK NOT data_changed->mt_mod_cells IS INITIAL.
Eingabe auf Integer prüfen                              
  READ TABLE data_changed->mt_mod_cells INTO wa_mod_cell  
                           INDEX 1 TRANSPORTING value.    
  CATCH SYSTEM-EXCEPTIONS convt_no_number = 901.          
    COMPUTE h_check_int = wa_mod_cell-value.            
  ENDCATCH.                                                
  IF sy-subrc <> 0.                                      
    EXIT.                                                
  ENDIF.                                                
geänderte Zeile ermitteln
  READ TABLE data_changed->mt_mod_cells INTO wa_mod_cell
                                        INDEX 1 TRANSPORTING row_id.
Werte der einzelnen Spalten holen
  CALL METHOD data_changed->get_cell_value
               EXPORTING i_row_id    = wa_mod_cell-row_id
                         i_fieldname = 'EKORG'
               IMPORTING e_value     = wa_alv-ekorg.
  CALL METHOD data_changed->get_cell_value
               EXPORTING i_row_id    = wa_mod_cell-row_id
                         i_fieldname = 'PVERH'
               IMPORTING e_value     = wa_alv-pverh.
  CALL METHOD data_changed->get_cell_value
               EXPORTING i_row_id    = wa_mod_cell-row_id
                         i_fieldname = 'PROQU'
               IMPORTING e_value     = wa_alv-proqu.
  CALL METHOD data_changed->get_cell_value
               EXPORTING i_row_id    = wa_mod_cell-row_id
                         i_fieldname = 'LIETR'
               IMPORTING e_value     = wa_alv-lietr.
  CALL METHOD data_changed->get_cell_value
               EXPORTING i_row_id    = wa_mod_cell-row_id
                         i_fieldname = 'SERVI'
               IMPORTING e_value     = wa_alv-servi.
Berechnung
  PERFORM set_ges_pkt CHANGING wa_alv.
neuen Wert in die Zeile schreiben
  CALL METHOD data_changed->modify_cell
              EXPORTING i_row_id    = wa_mod_cell-row_id
                        i_fieldname = 'GESPKT'
                        i_value     = wa_alv-gespkt.
ENDFORM.                                                "DO_DATA_CHANGED
or
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
DATA: ref1 TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
CALL METHOD ref1->check_changed_data.
CASE r_ucomm.
when '...'.
endcase.

Similar Messages

  • A ALV with some editable fields which have dictionary search help

    Hi all:
           There is a requirement to implement an ALV with some editable fields which have dictionary search help, do you have any idea?
    thank you very much

    Hi - yes it can be done.
    1st in your object select the component SALV_WD_TABLE (ALV component) * do all the bindings of your component to your VIEW, Component usage interface, etc.
    When you are declaring your context node attributes if you add a TYPE Data element that has a search help bind to the data element it will be accessible in your ALV or in the Attribute there's a INPUT HELP that option that you can add the search help there but you need to have your ALV input enable
    for example:
    data: lr_input_field  Type Ref To cl_salv_wd_uie_input_field,
    lt_column Type salv_wd_t_column_ref,
    ls_colum Type salv_wd_s_column_ref,
    lv_value Type Ref To cl_salv_wd_config_table,
    l_col_name type string,
    lr_cmp_usage Type Ref To if_wd_component_usage,
    lo_interfacecontroller Type Ref To iwci_salv_wd_table.
    lr_cmp_usage = wd_this->wd_cpuse_alv( ).  *ALV is the name you enter for your component usage when declaring component SALV_WD_TABLE at the beginning.
    if lr_cmp_usage->has_active_component( ) IS INITIAL.
    lr_cmp_usage->create_component( ).
    endif.
    lo_interfacecontroller = wd_this->wd_cpifc_alv( ). *once again your ALV name
    lv_value = lo_interfacecontroller->get_model( ).
    lt_columns = lv_value->if_salv_wd_column_settings~get_columns( ).
    Loop at lt_columns into ls_column.
    l_col_name = ls_column-r_column->get_id( ).
    create object lr_input_field
    exporting
    value_fieldname = l_col_name.
    ls_column-r_column->set_cell_editor( value = lr_input_field ). *this will made all your columns input fields
    endloop.
    hope this help!
    Jason PV

  • Turn on editing fields for collections

    created the following collection(TEST_EMP), had no problems to delete rows. But if I turn on any editing fields ( eg. ename,com by changing the field to TEXT under report column), I will always get the error msg: "invalid number" when attempt to delete any row .
    Can you help ?
    Following is my process for creating collection, delete row and query on creating report screen with check box
    Thanks
    Zeng
    --create the collection
    if apex_collection.collection_exists(p_collection_name => 'TEST_EMP')
    then apex_collection.delete_collection (p_collection_name => 'TEST_EMP');
    end if;
    -- create new collection
    apex_collection.create_collection_from_query (p_collection_name => 'TEST_EMP',
    p_query => 'select EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO from test_emp
    order by empno' );
    -- show edit screen
    select
    APEX_ITEM.CHECKBOX(1,seq_id) SEQ_ID,
    seq_id as seq_id_display
    ,C001 empno
    ,c002 ename
    ,c003 job
    ,c004 manager
    ,to_date(c005,'DD-MON-YY') hiredate
    ,c006 SAl
    ,c007 com
    ,c008 dept
    from apex_collections
    where collection_name='TEST_EMP'
    and C008='20'
    order by c001
    ------- delete selected row
    FOR r in 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
    apex_collection.delete_member
    (p_collection_name =>'TEST_EMP',p_seq => apex_application.G_F01(r));
    end loop;

    You need to call 'becomeFirstResponder' on the text field. Typically done in your view controller's 'viewWillAppear' method.

  • Dynamic stamps with multiple editable fields

    Our Accounting department wants to go completely digitable with invoices.
    For them to be able to do this they require a stamp that has several editable fields such as
    General Ledger number
    Financial Controllers name
    Comments
    Date
    Approval status
    They want to be able to stamp a PDF invoice and then fill in the fields manually.
    I cannot find a stamp that will do this.  I tried a couple add-in stamp apps for Acrobat 9 but they did not offer this kind of feature.
    Thanks

    Hi teede,
    We have begun publishing a large amount of information on creating/developing custom dynamic stamps  at www.pdfscripting.com due to the number of requests for information on these powerful PDF workflow tools.  It is a membership site requiring a paid membership for full access to all content, but we recently published a free video "PDF Stamps Gone Wild!" on the home page under Featured Videos that shows many possibilities for what you can do with custom dynamic stamps.
    We'll be adding downloads of some the stamp files shown in the video over the next few weeks.
    Hope this helps,
    Dimitri
    WindJack Solutions
    www.pdfscripting.com
    www.windjack.com

  • Issues with DNG Flat Field Plug-in after installing updates

    Hello,
    First of all many thanks to the Lightroom-team for making the DND Flat Field Plug-in available. I am using it to correct images taken with non-retrofocus M-mount lenses on a Sony NEX-7. I have previously used CornerFix, which worked fine, but the workflow in conjunction with Lighroom isn't really convenient.
    Now to the issue I am facing: initially, the plug-in worked very well, but after installing all recent CS6 updates, I am now receiving the following after selecting the reference image:
    A new DNG-file is still created, with some adjustments being made, but it looks like not all vignetting and color casts are being corrected. After dismissing the above message, Lightroom keeps showing the flat field correction task as still in progress:
    This can be cancelled, and I can continue to use LR without any problems. When I attempt another flat field correction, I face the same issue.
    Has anyone else experienced this issue? And is it possibly correlated with the installation of a specific CS6 update (of which there have been quite a few over the past week or so)?
    I should probably note that I'm running LR 4.2 on Mac OS X 10.7.5 and a Mac Pro 2008 with 24GB RAM.
    TIA for any feedback!
    Best,
    Ron

    I had the exact same issue with LR4.2, that is until yesterday. Then I did not get the error but I did not get the flat field image either. All I got was the original image indicating that it was in a group of two but the second image was not there. Tried synchronize but no image was indicated.as available. Processing did not hang and indicated that it went to completion.  Must be a problem with 4.2 as it worked with 4.1. With 4.1 I got no grouping, just a new file with "ff" appended to the name.
    Asside: I am using a shift adapter with a E-M5 and 28mm OM legacy lens. I shoot three images for a pano, then set the shift back to starting point and shoot three flat field image. Problem (not Adobe's fault) it that I often forget to shoot the flat fliel images. Break down to move on and then realize - Oh Crap! When I remember and using 4.1 it works well.
    Larry

  • Issue with the material field in ME23N after upgrade

    Hi Experts,
    We are having an issue with transaction ME23N in ECC6.0 after upgrade from 4.6c.
    In this transaction for the given PO the value of the material is not populating. The material coloumn is displaying but the value of the material is not coming.
    For the same PO with the same data we are able to see the material number in ME23N in 4.6c.
    Please help me to resolve this.
    Thanks,
    Rakesh

    Hi,
    If you are a functional consultant then check the configuration settings in SPRO and compare it with the one in 4.6c system to find if the material number display in ME23N is enabled in your new system or not. Go to tcode SPRO and Material Management-> Purchasing->Purchase Order->Define Screen Layout at Document level.
    Execute this and select on ME21N or tcode that you are having problem with. Then press details button and double click on Enjoy fields. Check if it Display check box is ticked or not.
    KR Jaideep,

  • Question of possible problem with "display as" field in MS Outlook contact

    Are you aware of any problems with an apparent shift of the display as field in MS Outlook contacts after the initial syncing with their iPhone? When preparing to send an e-mail in Outlook, the auto populating of the "display as" field is now linked to incorrect contacts. Therefore, one could unknowingly send an e-mail to the wrong recipient. After seeing this error, it appears that many of my "display as" fields have shifted among contacts within my Outlook contacts. This appears to have happened right around the first time I synced my iPhone. It could be completely unrelated to the iPhone syncing but I am curious if other iPhone / MS Outlook users have experienced similar problems.

    There should be no leeway or movement. Return the phone to where you bought it and show them. It should be covered under warranty unless they determine it was dropped or accidental damage.

  • Save VO with Edited fields But as a New Record, Old one should not change

    Hi All,
    I have set of VOs, those are connected by View links, in such a way One VO comes under Another up to 7 level,
    Like
    level----1
    2
    3
    4
    5....
    And My requirement is if I made any of the Operations,( Insert/update/Delete) on any of the VO's(Records of the VO) that comes in this flow, I have to save it as a new record with the Edited Fields , new Id and new revision number, Also I have to keep the original one unchanged.
    that is After updating the record I should have the old one as a Library and New one as the active record.
    Please help....

    Hi Timo,
    The JDev I am using is Studio Edition Version 11.1.1.2.0 and Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    And the Relationships between the VO's are *:* When I change a record of level 3, I need to copy all the other 6 levels along with the updated one.
    The revision Number is in the Top VO, which will increment but all the other record will remains the same other than Id and updated fields.
    That is , there should be a new set of records with the same data with updated fields, and the old set remain the same, which can be used as a Library for reference.
    Thanks & Regards,
    Ranjith C

  • Editable fields in oracle report

    Hi,
    I am hoping someone can help what I am trying to create is a PDF oracle report with an editable field at the end of the report. The user would use this field to type comments about the report and then save the file with the comments attached.
    I did a search but couldn't really find anything relevant apart from this thread here: Re: How to add to report in pdf format editable fields but it looks like that was never answered.
    Users have access to Adobe Acrobat so an alternative solution could be just to create a rectangle and tell the users to write in that but it is not an ideal solution.
    If it is not possible in oracle reports we are also licensed for BI Publisher but as of yet I haven't been able to find anything that would do this using that tool either.
    Regards,
    Chad

    with an editable field at the end of the report.In Reports the user cannot add text after generation of the report. So, do it before generating the report. Add a parameter p_comment to the data model and add this to the parameter form (or whatever form you use to call the report, e.g. from Forms) and create a text field at the end of the report.

  • Creating a PDF with an editable section InDesign

    Hi all
    I have created In design documents which i would like to dsitribute to contacts in a PDF format (they dont have indesign software) with an editable field for them to add their contact details. ...tell me this is possible pelase and how!
    Thanks
    Alison

    At the risk of going into Acrobat forum territory I would add two important points:
    1) If, after you created the form, you want to make changes in the original InDesign document, you need to use the Replace command in Acrobat so you don't have to redo the whole form again.
    2) When you have finalised the form you need to save the PDF in (Acrobat X) as: File > Save As > Reader Extended PDF > Enable Additional Features. Then users with only Acrobat Reader will be able to both fill in the form, print it and save it.
    The forms can be emailed as attachments, put on a CD, whatever. You can add print and save buttons to the form - all kinds of things.
    (As usual, Lynda.com has tutorials on Acrobat forms and for those in the UK, Certitec.com has excellent specialised personal training on Acrobat forms.)
    Derek

  • Editing a Smart Collection

    Is it possible to edit a smart collection after you initially create it?  Or is it something you simply have to create all over again if you want to add a search parameter to it?
    I have created 132 smart collections for a specific event.  One for each scene in a feature.  The main data that I used for each collection was simply the scene number that I listed in the meta data. Is there a way that I can edit this information?  For example, say that I have a song that I plan on playing in 4 different scenes.  How can I add that song to the smart collection? 
    I keep seeing and hearing about how smart collections are replacing Bins and maybe because I'm used to Bins I'm having a hard time adjusting.  Any thoughts, articles, tutorials on how I should be working with this would be much appreciated. 

    Just double click the smart collection to open the filter window. You can change the parameters there.

  • Editable field gives wrong value in report.

    Hi,
    I have report with some editable fields. I am using apex_item for one editable select list. I gave functionality to update row by providing go button. when user clicks on go button, I sends page by using javascript dosubmit which updates values in table through update process. everything works fine but sometimes i am not able to read particular value in row. for example...
    Rownum---------select_list--------- button---------- comment(editable)-not used apex_item
    1------------------------ 'abc'---------------- GO----------------------------- new
    2------------------------- null---------------- GO--------------------------- closed
    3 ------------------------'xyz'---------------- GO--------------------------- reopen
    I used apex_item for select list but status is made editable by selecting "text area" from tabular form element of column.
    when I press GO button on row third by selecting xyz it takes null value of 2nd row. same if I select something in 2nd row. i.e. instead of null if I selects 'mno' in 2nd row it takes select list value as 'mno' for third row. I observed this by writing javascript code which alerts me value of variable f01,f02.....
    Please if anybody can help me. I want to know why this happens?

    You might have better luck asking in the Oracle Application Express (APEX).

  • Error - The key is already associated with an element of this collection

    Hi,
    After a fresh installation of BPC 5.1 SP3 in a dual-server environment we're getting an SAP error - "The key is already associated with an element of this collection"  after logging into BPC for Excel.
    Has anyone seen this error before or know what is causing it?
    Thanks,
    Glenn Van Der Werff

    We're using SQL Server 2005 Enterprise Edition with Service Pack 2.  We ended up doing the installation on a single server instead of a dual server environment.  The error is no longer happening in the single server environment.
    I'm still curious as to why we were getting the error in the dual server environment if you're seen this before.
    Thanks,
    Glenn

  • Is it possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?

    Hi,
    the subject says it all. I have downloaded the trail version to see if its possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?
    Basically, I will have to create a pdf form where users fill it and send it back to me. there will be required fields (the textbox and check box) that user need to fill before saving the editable pdf?
    Is it possible. if so, can someone kind enough to point to me right directions?
    Thanks in advance.

    Thanks for reply. What I am trying to achieve is to give an option for the user to download the pdf form and once the user tries to save the pdf, it validates with the required field. I managed to create the editable pdf with required fields option. I just need that validation to be done when user click on save file. How can I achieve this? thanks so much for your help.

  • Is it possible to map the cmp fields of the entity bean with out dictionary

    Dear sirs,
    I have created the EJB project module and WEB Module. Now i have to map the CMP fields of the entity bean to the underlying table. Is it possible to map the cmp fields of the entity bean with out java dictionary? If yes how can we do that.
    I have got some error while mapping an EJB's CMP fields to the table through dictionary. I was actually intended to map 79 fields but it gives an error that more than 64 fields are not allowed while building the dictionary.
    1. Can you tell me what could be the possible reason?
    2. Is it possible to map the cmp fields of the entity bean with out java dictionary? If yes how can we do that.
    Kindly helo me,
    Sudheesh K S

    Hi,
    Sudheesh please check up if the below link helps,there are other ways of writing the persistent.xml for container managed entity bean.
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/f695f0c84acf46a4e0b31f69d8a9b7/frameset.htm, probably in the studio you cannot browse through tables not in  the java dictionary,but manually editing it may still solve the problem.
    Also here is another link that specifies the databases supported by J2EE Engine.
    http://help.sap.com/saphelp_nw04s/helpdata/en/66/a5283eeb47b40be10000000a114084/frameset.htm
    The below link shows how to specify the database vendor and datasource
    http://help.sap.com/saphelp_nw04s/helpdata/en/e1/67fc3ee241ba28e10000000a114084/frameset.htm
    Hope you are able to solve the problem.
    Do let us know if you come up with the solution.
    Regards,
    Harish
    Message was edited by: HARISH SUBRAMANIAN

Maybe you are looking for

  • Third Party Business Process Within Purchasing /IM(Without SD)

    Hi Friends, We are planning to implement third party order process within Purchasing to procure the office stationary materials for the business. The problem here is how to deal with the materials returns to supplier after original invoice is process

  • Email Submit Button problem

    I used the Email Submit Button on a couple of forms but it is not working. It creates an email, but the attachment is in .xml format. If I change it to Submit As: PDF, it does not create any email at all. I would like it to create an email with an at

  • OIM11g- Role Approval workflow Error

    I am getting the follwing error message when I follow Custom Approval Process for Assign Role Scenario.Metalink article [1207077.1] Sample #8 Custom Approval Process for Assign Role Scenario Prototype for invoking an OIM API from a SOA Composite RTM

  • Will Adobe produce RAW 8.6 for Elements 12?

    Having just got a Panasonic Lumix DMC-FZ1000, Elements 12 can't process its RAW files. The Adobe site says RAW 8.6 which will process them is only available with full blown Photoshop

  • Want some pi?

    thought this was kind of interesting (or not) found a series for approximationg pi pi = 2 * (2/1 * 2/3 * 4/3 * 4/5 * 6/5 * 6/7 * 8/7 * 8/9.............) and the tan (90 degrees) should be infinity. as oracle uses radians for tan tan(90 * pi / 180 ) s