<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Table maintenance view not saving changes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581494#M1566437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have replicated your scenario and I do not face any issue. Can you please regenerate the table maintenance view by selecting 'Expert Mode'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still face the issue, you can paste your program and other details here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rudresh Chand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rudresh Chand on Jan 26, 2011 5:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jan 2011 16:53:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-26T16:53:53Z</dc:date>
    <item>
      <title>Table maintenance view not saving changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581493#M1566436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have created a Z table with corresponding maintenance view (with transaction). Also, there is a Z program to insert records into the table from xls file.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  When accesing the maintenance view, I can add and remove entries, but the problem is: &lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;       when I update a record, if the records has been created using the maintenance view, then changes are saved to database, but if I try to modify a record added by using the Z program, none of the modifications are saved to DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have re-created maintenance view, and table properties (delivery class A, display/maintenance allowed ...) seem to be OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone provide some help with this?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best  regards,&lt;/P&gt;&lt;P&gt;Carlos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 11:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581493#M1566436</guid>
      <dc:creator>carlos_laborda</dc:creator>
      <dc:date>2011-01-26T11:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance view not saving changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581494#M1566437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have replicated your scenario and I do not face any issue. Can you please regenerate the table maintenance view by selecting 'Expert Mode'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still face the issue, you can paste your program and other details here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rudresh Chand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rudresh Chand on Jan 26, 2011 5:55 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 16:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581494#M1566437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-26T16:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance view not saving changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581495#M1566438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for your answer, but didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Below my program (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = p_fin&lt;/P&gt;&lt;P&gt;      i_begin_col             = 1&lt;/P&gt;&lt;P&gt;      i_begin_row             = 2&lt;/P&gt;&lt;P&gt;      i_end_col               = 9&lt;/P&gt;&lt;P&gt;      i_end_row               = 9999&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      intern                  = gt_fichero&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      inconsistent_parameters = 1&lt;/P&gt;&lt;P&gt;      upload_ole              = 2&lt;/P&gt;&lt;P&gt;      OTHERS                  = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT gt_fichero INTO gs_fichero.&lt;/P&gt;&lt;P&gt;    CASE gs_fichero-col.&lt;/P&gt;&lt;P&gt;      WHEN 1. "Proyecto&lt;/P&gt;&lt;P&gt;        "Validaciones&lt;/P&gt;&lt;P&gt;        gs_unidades-proyecto = gs_fichero-value.&lt;/P&gt;&lt;P&gt;      WHEN 2. "Tipología&lt;/P&gt;&lt;P&gt;        "Validaciones&lt;/P&gt;&lt;P&gt;        gs_unidades-tipologia = gs_fichero-value.&lt;/P&gt;&lt;P&gt;      WHEN 3. "Alias&lt;/P&gt;&lt;P&gt;        "Validaciones&lt;/P&gt;&lt;P&gt;        gs_unidades-identificador = gs_fichero-value.&lt;/P&gt;&lt;P&gt;      WHEN 4. "Superficie&lt;/P&gt;&lt;P&gt;        "Validaciones&lt;/P&gt;&lt;P&gt;        TRANSLATE gs_fichero-value USING ',.'.&lt;/P&gt;&lt;P&gt;        gs_unidades-superficie = gs_fichero-value.&lt;/P&gt;&lt;P&gt;      WHEN 5. "Estado&lt;/P&gt;&lt;P&gt;        "Validaciones&lt;/P&gt;&lt;P&gt;        gs_unidades-estado = gs_fichero-value.&lt;/P&gt;&lt;P&gt;      WHEN 6. "Entrega&lt;/P&gt;&lt;P&gt;        "Validaciones&lt;/P&gt;&lt;P&gt;        gs_unidades-entrega = gs_fichero-value.&lt;/P&gt;&lt;P&gt;      WHEN 7. "PVPCoste&lt;/P&gt;&lt;P&gt;        "Validaciones&lt;/P&gt;&lt;P&gt;        TRANSLATE gs_fichero-value USING ',.'.&lt;/P&gt;&lt;P&gt;        gs_unidades-pvpcoste = gs_fichero-value.&lt;/P&gt;&lt;P&gt;        "Se añade el registro a la tabla de datos maestros&lt;/P&gt;&lt;P&gt;        INSERT ztt_fi_unidades FROM gs_unidades.&lt;/P&gt;&lt;P&gt;        CLEAR gs_unidades.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;          gv_total_correctos = gv_total_correctos + 1.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          gv_total_erroneos = gv_total_erroneos + 1.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        gv_total_registros = gv_total_registros + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 17:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581495#M1566438</guid>
      <dc:creator>carlos_laborda</dc:creator>
      <dc:date>2011-01-26T17:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance view not saving changes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581496#M1566439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I found the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It is a problem with the domain of the table fields. I'm using standard domains, so the Uppercase / Lowercase converson is active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The records from the file are lowercase, but when I modify a value using the view, it is transalated to uppercase automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  As the key of the record is in lowercase, when saving it is triying to modify the record with the key in uppercase, which is not in the table, so the update returns sy-subrc = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I uploaded a record in uppercase from the file and worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Once again, thanks four your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 17:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-view-not-saving-changes/m-p/7581496#M1566439</guid>
      <dc:creator>carlos_laborda</dc:creator>
      <dc:date>2011-01-26T17:37:07Z</dc:date>
    </item>
  </channel>
</rss>

