<?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: Module pool Program Doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101038#M980663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   In the select quiry you have written ztable-f1, in the where condition. It can materialize only when in the lay out of the screen you have used inport from table option ( There is an on the tool bar area on the lay out design screen up clicking which you can enter the DB table name from which you wish to import the fields ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this explanation of mine helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 04:40:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-07T04:40:18Z</dc:date>
    <item>
      <title>Module pool Program Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101032#M980657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xperts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am Working an object on module pool.I have a small doubt regarding that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:lfa1.&lt;/P&gt;&lt;P&gt;data:begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;land1 like lfa1-land1,&lt;/P&gt;&lt;P&gt;name1 like lfa1-name1,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'disp'.&lt;/P&gt;&lt;P&gt;select lifnr land1 name1 from lfa1 into itab where lifnr = lfa1-lifnr.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;when 'exit'.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here comes the doubt.Why do we use the statement underneath and why is this always under PBO.As lfa1 is an SAP standard table how can we move anything into that.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move-corresponding itab to lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query#2: Suppose a Z table was used.We pulled the fields onto the layout.For only retrieving of database values, do i need to declare an internal table like the way i defined here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.Hope i get my queries resolved.&lt;/P&gt;&lt;P&gt;--Ranjith.T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 03:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101032#M980657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T03:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool Program Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101033#M980658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I DIDNT GET UR 2 QN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE TO lfa1...&lt;/P&gt;&lt;P&gt;thE DATA IS MOVED ONLY TO THE HEADER OF LFA1 ...NOT TO THE TABLE.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onLY WHEN A INSERT OR UPDATE IS EXECUTED ITS REFELCTED IN THE TABLE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT INSERTING OR UPDATING INTO A sap TABLE IS NOT RECOMMENDED...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mAY BE ONLY THE HEADER IS USED...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 03:43:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101033#M980658</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-07-07T03:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool Program Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101034#M980659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The declaration "tables:lfa1" means you are declaring a work area of type lfa1. Anything you change in this workarea does not change the filed in the actual database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO means Process before output. It contains declarations and some initializations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you need an internal table and use that internal table to populate your values.&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;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 03:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101034#M980659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T03:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool Program Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101035#M980660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Keshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a ztable like ZTAB which has fields mandt,lifnr,name1,land1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables:ztab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;under pai module.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'disp'.&lt;/P&gt;&lt;P&gt;select single * from lfa1 into corresponding fields of ztab where lifnr = ztab-lifnr.&lt;/P&gt;&lt;P&gt;when 'exit'.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this also valid?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 03:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101035#M980660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T03:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool Program Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101036#M980661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes its okay...&lt;/P&gt;&lt;P&gt;The source and target fieldnames are identical heRE.....SO NO ISSUE....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 04:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101036#M980661</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-07-07T04:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool Program Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101037#M980662</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;see Tables LFA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this statment will create a structure in the memory which will have all the fields as in table LFA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has no link to updation on deletion of table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is just like a variable of type LFA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i am clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 04:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101037#M980662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T04:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Module pool Program Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101038#M980663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   In the select quiry you have written ztable-f1, in the where condition. It can materialize only when in the lay out of the screen you have used inport from table option ( There is an on the tool bar area on the lay out design screen up clicking which you can enter the DB table name from which you wish to import the fields ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this explanation of mine helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 04:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-program-doubt/m-p/4101038#M980663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T04:40:18Z</dc:date>
    </item>
  </channel>
</rss>

