<?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: Question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477768#M223889</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;          u have to handle in user comamnd of ALV.&lt;/P&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          u have to handle in user comamnd of ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
*          I_INTERFACE_CHECK        = ' '
           I_CALLBACK_PROGRAM       = V_REPID
           I_CALLBACK_PF_STATUS_SET = 'FRM_PF_STATUS'
           I_CALLBACK_USER_COMMAND  = 'FRM_USR_COMMAND'
*          I_STRUCTURE_NAME         =
           IS_LAYOUT                = WA_LAYOUT
           IT_FIELDCAT              = IT_FLDCAT[]

       TABLES
            T_OUTTAB                 = IT_FINAL_SCMPO
       EXCEPTIONS
            PROGRAM_ERROR            = 1
            OTHERS                   = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
FORM FRM_USR_COMMAND USING R_UCOMM LIKE SY-UCOMM
                        R_SELFIELD TYPE SLIS_SELFIELD.
  CASE R_UCOMM.
    WHEN 'CREATEPO'.
LOOP AT IT_FINAL_table WHERE CHECKbox = 'X' .
upadate database table.
endloop.
   ENDCASE.

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ashok Parupalli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2006 12:23:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-11T12:23:59Z</dc:date>
    <item>
      <title>Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477766#M223887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone solve this problem for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a basic list,in it i hav mara-matnr,mara-ekgrp(this in input enabled) and mara-werks in the list.I have a checkbox against each and every line.When I select a check box and change the value in EKGRP the corresponding value must get be modified in the corresponding database table.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sharmila.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:21:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477766#M223887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477767#M223888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the at user-command event, you should use the bapi:&lt;/P&gt;&lt;P&gt;BAPI_MATERIAL_SAVEDATA&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477767#M223888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477768#M223889</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;          u have to handle in user comamnd of ALV.&lt;/P&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          u have to handle in user comamnd of ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
*          I_INTERFACE_CHECK        = ' '
           I_CALLBACK_PROGRAM       = V_REPID
           I_CALLBACK_PF_STATUS_SET = 'FRM_PF_STATUS'
           I_CALLBACK_USER_COMMAND  = 'FRM_USR_COMMAND'
*          I_STRUCTURE_NAME         =
           IS_LAYOUT                = WA_LAYOUT
           IT_FIELDCAT              = IT_FLDCAT[]

       TABLES
            T_OUTTAB                 = IT_FINAL_SCMPO
       EXCEPTIONS
            PROGRAM_ERROR            = 1
            OTHERS                   = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
FORM FRM_USR_COMMAND USING R_UCOMM LIKE SY-UCOMM
                        R_SELFIELD TYPE SLIS_SELFIELD.
  CASE R_UCOMM.
    WHEN 'CREATEPO'.
LOOP AT IT_FINAL_table WHERE CHECKbox = 'X' .
upadate database table.
endloop.
   ENDCASE.

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashok P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ashok Parupalli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477768#M223889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477769#M223890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has to be handled in the reports.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477769#M223890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477770#M223891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wat I an doing is as follows,&lt;/P&gt;&lt;P&gt;I describe the internal table,get the no.of records.then do index times.&lt;/P&gt;&lt;P&gt; if checkbox = 'x'.&lt;/P&gt;&lt;P&gt;  get the position of the Ekgrp.&lt;/P&gt;&lt;P&gt;  then modify the d/b table.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477770#M223891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477771#M223892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help quickly please.Its urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477771#M223892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477772#M223893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharmila,&lt;/P&gt;&lt;P&gt; do as folows:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PROGRAM                = W_REPID&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS'&lt;/P&gt;&lt;P&gt;    I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;                        P_SELFLD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;case p_ucomm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; when 'SAVE'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  Data ref1 type ref to cl_gui_alv_grid.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;E_GRID = ref1.&lt;/P&gt;&lt;P&gt;call method ref1-&amp;gt;check_changed_data&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   modify ztable from table itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BUt do NOT update the standard sap tables directly. Use BAPI/BDC for the same.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 12:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477772#M223893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T12:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477773#M223894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 13:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question/m-p/1477773#M223894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-11T13:01:29Z</dc:date>
    </item>
  </channel>
</rss>

