<?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: What is the ok-code for selected line items in Module Pool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695549#M1294014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table control was not used in the exist program.They were used field catalog and ALV function module.In that case,how to handle the selected items and how to do the same in ALV.Pls help me out on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2009 10:17:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-29T10:17:48Z</dc:date>
    <item>
      <title>What is the ok-code for selected line items in Module Pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695544#M1294009</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;I have a requirement on Goods Receipt/Reversal.Currently the existing program display header and Item level data(ex:10 line items) for selected shipment number.&lt;/P&gt;&lt;P&gt;My requirement is need to add new field (i.e date field )on header level which shoud be editable.When the user enter the date and user may select few line item(ex:3 line items) and when he click on SAVE button ,it shoud display the selected items only in item level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please Help me to solve this Issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 11:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695544#M1294009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-28T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: What is the ok-code for selected line items in Module Pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695545#M1294010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reddyne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select the table control then-&amp;gt; select status from help(in Menubar)-&amp;gt; double click on the screen number appearing there.&lt;/P&gt;&lt;P&gt;2. It opens the flowlogic screen-&amp;gt; now click on Layout Push button.&lt;/P&gt;&lt;P&gt;3. In layout check the attribute of the table control&lt;/P&gt;&lt;P&gt;    towards the bottom of the Attribute screen there is a parameter w\selection _________ .&lt;/P&gt;&lt;P&gt;4. this is the parameter which is marked 'X' when you select a item in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PAI&lt;/P&gt;&lt;P&gt;1. within the loop endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add this code to get the selected header details.&lt;/P&gt;&lt;P&gt;LOOP AT itab WITH CONTROL tbcl.&lt;/P&gt;&lt;P&gt;MODULE check_selected_item.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;MODULE check_selected_item.&lt;/P&gt;&lt;P&gt;IF &amp;lt;w\selection&amp;gt; = 'X'.&lt;/P&gt;&lt;P&gt;MOVE tbcl to wa.&lt;/P&gt;&lt;P&gt;append wa to itab1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can fetch the item details based on the contents of itab1 i.e selected items for header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this discussion would be really helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suvendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 16:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695545#M1294010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-28T16:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is the ok-code for selected line items in Module Pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695546#M1294011</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;To select a item in Table control , We have enable the select button .&lt;/P&gt;&lt;P&gt;go to table control properties , w/sel : give field name in Internal table which is of char 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the user selected the line and PAI is trigged.&lt;/P&gt;&lt;P&gt;loop with itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;will run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside a loop call module.&lt;/P&gt;&lt;P&gt;check for 'x' in the field if it is 'x' then line is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this you can get the selected lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 03:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695546#M1294011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T03:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is the ok-code for selected line items in Module Pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695547#M1294012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 09:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695547#M1294012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T09:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: What is the ok-code for selected line items in Module Pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695548#M1294013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need some more help on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 10:16:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695548#M1294013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T10:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: What is the ok-code for selected line items in Module Pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695549#M1294014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table control was not used in the exist program.They were used field catalog and ALV function module.In that case,how to handle the selected items and how to do the same in ALV.Pls help me out on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 10:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695549#M1294014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T10:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is the ok-code for selected line items in Module Pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695550#M1294015</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;when ever u  access a pushbutton in PAI&lt;/P&gt;&lt;P&gt;each and very push button has a function code attached to ii&lt;/P&gt;&lt;P&gt;and it will be stored in sy-ucomm system variable.&lt;/P&gt;&lt;P&gt;in Abap programs since we should not change system varible &lt;/P&gt;&lt;P&gt;declare a variable called OK-CODE and pass the value of sy-ucomm to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 10:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-the-ok-code-for-selected-line-items-in-module-pool-programming/m-p/5695550#M1294015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-29T10:40:53Z</dc:date>
    </item>
  </channel>
</rss>

