<?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 report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3362899#M806963</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;MY requirement is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A report is required to be developed to check the current values in specific fields of Material Master, and change these values if required. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the report is executed, it will show the existing values for the materials, and will have a check box on the left of each record.&lt;/P&gt;&lt;P&gt;If the values are required to be changed for some records, then the check box on the left of these records will be flagged, and on clicking the change button, it will take us to the update screen, where the new values can be entered. These new values should be updated in the material master on clicking on the execute button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how can I write the code for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2008 13:36:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-29T13:36:17Z</dc:date>
    <item>
      <title>report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3362899#M806963</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;MY requirement is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A report is required to be developed to check the current values in specific fields of Material Master, and change these values if required. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the report is executed, it will show the existing values for the materials, and will have a check box on the left of each record.&lt;/P&gt;&lt;P&gt;If the values are required to be changed for some records, then the check box on the left of these records will be flagged, and on clicking the change button, it will take us to the update screen, where the new values can be entered. These new values should be updated in the material master on clicking on the execute button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now how can I write the code for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 13:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3362899#M806963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T13:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3362900#M806964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.. add one more field checkbox of length 1 to ur final internal tabel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in ur fieldcatalg add this line&lt;/P&gt;&lt;P&gt;wa_fcat-fieldname = 'CHECKBOx'.&lt;/P&gt;&lt;P&gt;wa_fcat-checkbox = 'X'.&lt;/P&gt;&lt;P&gt;wa_fcat-outputlen = '1'.&lt;/P&gt;&lt;P&gt;wa_fcat-col_pos = '1'.&lt;/P&gt;&lt;P&gt;append wa_fcat to it_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.in ur layout , add this line&lt;/P&gt;&lt;P&gt;wa_layout-box_fieldname = 'CHECKBOX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.In th USER_COMMAND subroutine of ur REUSE_ALV_GRID_DISpLAy FM&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;&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;when 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write ur code here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other wise&lt;/P&gt;&lt;P&gt;u can check this prg : BCALV_EDIT_05&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 13:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3362900#M806964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3362901#M806965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use FM 'SWO_DIALOG_OBJECT_KEY_EDIT' to display material master screen in update mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user van update the material and save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;call function 'SWO_DIALOG_OBJECT_KEY_EDIT'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          display = 'X'&lt;/P&gt;&lt;P&gt;          objtype = object-_objecttypename&lt;/P&gt;&lt;P&gt;          title   = 'Objekt'(001)&lt;/P&gt;&lt;P&gt;          objkey  = Material number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2008 13:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/3362901#M806965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-29T13:46:55Z</dc:date>
    </item>
  </channel>
</rss>

