<?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 Questions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918443#M381778</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 am posting some questions. Please provide the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Suppose u have 4 fields in an internal table, 3 fields contains data but fourth field is empty. &lt;/P&gt;&lt;P&gt;2.How can u insert the data for fourth field?&lt;/P&gt;&lt;P&gt;3 What is pre-requisite for "for-all-entries"?&lt;/P&gt;&lt;P&gt;4.What is pre-requisite for "BINARY SEARCH"?&lt;/P&gt;&lt;P&gt;5.In debudding is it possible to change the SY-SUBRC value?&lt;/P&gt;&lt;P&gt;6 In debudding is it possible to insert the rows?&lt;/P&gt;&lt;P&gt;7 What is the difference between delivery class and data class?&lt;/P&gt;&lt;P&gt;8 Are u created request number? Explain about request number?&lt;/P&gt;&lt;P&gt;9 What is difference between inner join and for all entries?&lt;/P&gt;&lt;P&gt;10. How can u assign the driver program to form?&lt;/P&gt;&lt;P&gt;11 What is purpose of protect, end protect?&lt;/P&gt;&lt;P&gt;12. How can u count the number of rows in internal table?&lt;/P&gt;&lt;P&gt;13. What is table maintenance generator?&lt;/P&gt;&lt;P&gt;14. What is the difference between 'sellect single' and 'select up to one row'?&lt;/P&gt;&lt;P&gt;15 How can u print the current page and total pages in SAP-script?&lt;/P&gt;&lt;P&gt;16 Is it possible to write SELECT statement in INITIALISATION event?&lt;/P&gt;&lt;P&gt;17 What is the difference between INITIALISATION and LOAD OF PROGRAM?&lt;/P&gt;&lt;P&gt;18 What is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT?&lt;/P&gt;&lt;P&gt;19 Is it possible to write SELECT statement in AT SELECTION-SCREEN OUTPUT event?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Useful answers will be awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;venugopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 10:54:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-01T10:54:30Z</dc:date>
    <item>
      <title>Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918443#M381778</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 am posting some questions. Please provide the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Suppose u have 4 fields in an internal table, 3 fields contains data but fourth field is empty. &lt;/P&gt;&lt;P&gt;2.How can u insert the data for fourth field?&lt;/P&gt;&lt;P&gt;3 What is pre-requisite for "for-all-entries"?&lt;/P&gt;&lt;P&gt;4.What is pre-requisite for "BINARY SEARCH"?&lt;/P&gt;&lt;P&gt;5.In debudding is it possible to change the SY-SUBRC value?&lt;/P&gt;&lt;P&gt;6 In debudding is it possible to insert the rows?&lt;/P&gt;&lt;P&gt;7 What is the difference between delivery class and data class?&lt;/P&gt;&lt;P&gt;8 Are u created request number? Explain about request number?&lt;/P&gt;&lt;P&gt;9 What is difference between inner join and for all entries?&lt;/P&gt;&lt;P&gt;10. How can u assign the driver program to form?&lt;/P&gt;&lt;P&gt;11 What is purpose of protect, end protect?&lt;/P&gt;&lt;P&gt;12. How can u count the number of rows in internal table?&lt;/P&gt;&lt;P&gt;13. What is table maintenance generator?&lt;/P&gt;&lt;P&gt;14. What is the difference between 'sellect single' and 'select up to one row'?&lt;/P&gt;&lt;P&gt;15 How can u print the current page and total pages in SAP-script?&lt;/P&gt;&lt;P&gt;16 Is it possible to write SELECT statement in INITIALISATION event?&lt;/P&gt;&lt;P&gt;17 What is the difference between INITIALISATION and LOAD OF PROGRAM?&lt;/P&gt;&lt;P&gt;18 What is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT?&lt;/P&gt;&lt;P&gt;19 Is it possible to write SELECT statement in AT SELECTION-SCREEN OUTPUT event?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Useful answers will be awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;venugopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 10:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918443#M381778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T10:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918444#M381779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.Suppose u have 4 fields in an internal table, 3 fields contains data but fourth field is empty. &lt;/P&gt;&lt;P&gt;2.How can u insert the data for fourth field?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;read table itab with key field1 = value1 field2 = value2 field3 = value 3.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;itab-field4 = value4.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;3 What is pre-requisite for "for-all-entries"?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Check if the table is not empty.&lt;/P&gt;&lt;P&gt;if not itab[] is initial.&lt;/P&gt;&lt;P&gt;select using for all entries&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;4.What is pre-requisite for "BINARY SEARCH"?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Sort statement.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;5.In debudding is it possible to change the SY-SUBRC value?&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;6 In debudding is it possible to insert the rows?&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;7 What is the difference between delivery class and data class?&lt;/P&gt;&lt;P&gt;8 Are u created request number? Explain about request number?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Request is a bundle that packs all the development objects so that they can be transferred to another environment.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;9 What is difference between inner join and for all entries?&lt;/P&gt;&lt;P&gt;10. How can u assign the driver program to form?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;NACE transaction.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;11 What is purpose of protect, end protect?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Restrict the data to be printed on the same page.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;12. How can u count the number of rows in internal table?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;describe table itab lines v_Lines.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;13. What is table maintenance generator?&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;a standard program that lets the end user maintain the entries in a table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;14. What is the difference between 'sellect single' and 'select up to one row'?&lt;/P&gt;&lt;P&gt;15 How can u print the current page and total pages in SAP-script?&lt;/P&gt;&lt;P&gt;&amp;amp;page&amp;amp; of &amp;amp;sfsy-jobpages&amp;amp;&lt;/P&gt;&lt;P&gt;16 Is it possible to write SELECT statement in INITIALISATION event?&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 11:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918444#M381779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T11:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918445#M381780</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; Please see some of the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1. You can enter the fourth field by selecting the entry and select change mode &lt;/P&gt;&lt;P&gt;and enter the fourth field value. You can only enter the value if it is not a primary key and the table is a custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. SORT statement is mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. In debugging mode you can change the SY-SUBRC value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. But In debugging mode it is possible to insert rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Creating a request number is done in transaction SE10 and include the object names you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11.  Protect EndProtect is used in Scripts.&lt;/P&gt;&lt;P&gt;      Full functionality you can see this link:&lt;/P&gt;&lt;P&gt;      &lt;A href="http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm" target="test_blank"&gt;http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. describe table &amp;lt;itab&amp;gt; lines &amp;lt;lin&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;16. Yes&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Smithi Das&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Smithi Das&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Smithi Das&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 11:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918445#M381780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918446#M381781</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;2).How can u insert the data for fourth field?&lt;/P&gt;&lt;P&gt;read table itab with key field1 = value1 field2 = value2 field3 = value 3.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;itab-field4 = value4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;modify itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)What is pre-requisite for "for-all-entries"?&lt;/P&gt;&lt;P&gt;itab1 is not initial.&lt;/P&gt;&lt;P&gt;there is some common field between itab1 &amp;amp; itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) For binary search table should be sorted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9)What is difference between inner join and for all entries?.&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES retrieves all the table entries depending on another table.&lt;/P&gt;&lt;P&gt;Inner Join retrieves table entries which match the specified condition between two tables.&lt;/P&gt;&lt;P&gt;Do not use JOIN if the number of tables is greater than 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14). What is the difference between 'sellect single' and 'select up to one row'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique.&lt;/P&gt;&lt;P&gt;The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns the first record of the result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Select Single statement is used, &amp;lt;b&amp;gt;all the keys should be specified&amp;lt;/b&amp;gt;. And more importantly SAP buffer is always bypassed with the use of this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select upto 1 rows can very well use the buffer in case the table has SAP Buffer declared in ABAP Dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saumya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 11:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918446#M381781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T11:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918447#M381782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are the answers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1/2. We can enter data in fourth field using Modify command.&lt;/P&gt;&lt;P&gt;3. For using for-all-entries effectively, parent table should not be empty.&lt;/P&gt;&lt;P&gt;4. For using BINARY SEARCH, the table ou are trying to READ with KEY expression must ve SORTED in ASCENDING order of KEY expressions.&lt;/P&gt;&lt;P&gt;5. Yes, provided you are authorizd to do so.&lt;/P&gt;&lt;P&gt;6. Yes, you can insert a row in an internal table.&lt;/P&gt;&lt;P&gt;7. Delivery Class determines who is responsible for maintaining the table.&lt;/P&gt;&lt;P&gt;    Data Class determines the table space.&lt;/P&gt;&lt;P&gt;8. In simple words Request number are the change tracker. Whenever you make any chnages or create an object in SAP you need to create a request which tracks the initiator, last changed by, last chang on ect.&lt;/P&gt;&lt;P&gt;9. Inner joins are used for data fetching from more than two tables in one database interaction. It takes more time as it goes for cross product of the records of the tables.&lt;/P&gt;&lt;P&gt;For all entries is used when you want to fetch data from two tables. this is a fast processing way as data gets fetched from first table and dependent recors from the second tables are only fetched in next go.&lt;/P&gt;&lt;P&gt;10.Smart form creates a function module whener created. In your program whenever you call that function module, forma gets called.&lt;/P&gt;&lt;P&gt;11. Protect..Endprotect are used in scripts when you want to print certain part on the same page.&lt;/P&gt;&lt;P&gt;12.Using DESCRIBE itab LINES lines.&lt;/P&gt;&lt;P&gt;13. Table maintenance generator is used for maintenance of data i.e. creation/modification/deletion by user using SM30/sm31.&lt;/P&gt;&lt;P&gt;14.Select Single fetches the last record from the table. It searches the whole table.&lt;/P&gt;&lt;P&gt;Select upto one row fetches the first record found and stops there.&lt;/P&gt;&lt;P&gt;15.PAGE n OF n1.&lt;/P&gt;&lt;P&gt;16.yes, possible.&lt;/P&gt;&lt;P&gt;17.Initialisation is the event triggered when system is initializing the variables.&lt;/P&gt;&lt;P&gt;LOAD OF PROGRAM gets triggered when system is loading the program into memory.&lt;/P&gt;&lt;P&gt;Also LOAD OF PROGRAM cannot be used with modulpool programs.&lt;/P&gt;&lt;P&gt;18.AT SELECTION SCREEN gets triggerred before creen is dispayed to the user.&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN OUTPUT gets triggered when user is on the screen.&lt;/P&gt;&lt;P&gt;19. Possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dharitree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 11:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918447#M381782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T11:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918448#M381783</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;1.Suppose u have 4 fields in an internal table, 3 fields contains data but fourth field is empty. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what????&lt;/P&gt;&lt;P&gt;2.How can u insert the data for fourth field?&lt;/P&gt;&lt;P&gt;We can enter data in fourth field using Modify command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 What is pre-requisite for "for-all-entries"?&lt;/P&gt;&lt;P&gt;parent table should not be empty&lt;/P&gt;&lt;P&gt;4.What is pre-requisite for "BINARY SEARCH"?&lt;/P&gt;&lt;P&gt;KEY expression must ve SORTED in ASCENDING order of KEY expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.In debudding is it possible to change the SY-SUBRC value?&lt;/P&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;6 In debudding is it possible to insert the rows?&lt;/P&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;7 What is the difference between delivery class and data class?&lt;/P&gt;&lt;P&gt;delivery clas determines the owner of the in this table. owner is responsible for maintaing the table contents .&lt;/P&gt;&lt;P&gt;In customer tables you always enter A here.Which indicates that the table contains application data owned by the customer only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data class:determines the tablespace.&lt;/P&gt;&lt;P&gt;impoetant data classes are:&lt;/P&gt;&lt;P&gt;APPL0 or master data,&lt;/P&gt;&lt;P&gt;APPL1 or transaction data.&lt;/P&gt;&lt;P&gt;APPL2 or Customizing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8 Are u created request number? Explain about request number?&lt;/P&gt;&lt;P&gt;se10 or se09 Whenever you make any chnages or create an object in SAP you need&lt;/P&gt;&lt;P&gt; to create a request which tracks the initiator, last changed by, last chang on ect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9 What is difference between inner join and for all entries?&lt;/P&gt;&lt;P&gt;Inner joins are used for data fetching from more than two tables in one database interaction. It takes more time as it goes for cross product of the records of the tables.&lt;/P&gt;&lt;P&gt;For all entries is used when you want to fetch data from two tables. this is a fast processing way as data gets fetched from first table and dependent recors from the second tables are only fetched in next go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. How can u assign the driver program to form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smart form creates a function module whener created. In your program whenever you call that function module, forma gets called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11 What is purpose of protect, end protect?&lt;/P&gt;&lt;P&gt;if you want to have code of lines together,then we use protect/endprotect,it to avoid page break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. How can u count the number of rows in internal table?&lt;/P&gt;&lt;P&gt;Using DESCRIBE itab LINES lines.&lt;/P&gt;&lt;P&gt;sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;13. What is table maintenance generator?&lt;/P&gt;&lt;P&gt;SM30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table maintenance generator is used for maintenance of data .&lt;/P&gt;&lt;P&gt;14. What is the difference between 'sellect single' and 'select up to one row'?&lt;/P&gt;&lt;P&gt;no difference,but select sinble consu,es more memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;15 How can u print the current page and total pages in SAP-script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAGE n OF n1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;16 Is it possible to write SELECT statement in INITIALISATION event?&lt;/P&gt;&lt;P&gt;yes,&lt;/P&gt;&lt;P&gt;17 What is the difference between INITIALISATION and LOAD OF PROGRAM?&lt;/P&gt;&lt;P&gt;Initialisation is the event triggered when system is initializing the variables.&lt;/P&gt;&lt;P&gt;LOAD OF PROGRAM gets triggered when system is loading the program into memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;18 What is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN gets triggerred before creen is dispayed to the user.&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN OUTPUT gets triggered when user is on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;19 Is it possible to write SELECT statement in AT SELECTION-SCREEN OUTPUT event?&lt;/P&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 19:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918448#M381783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918449#M381784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. What is the difference between delivery class and data class?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;a.&amp;lt;/b&amp;gt;   Data class tells that where exactly table to be stored in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;b.&amp;lt;/b&amp;gt;  Delivery class tells that who are going to maintain the table.At the time of &lt;/P&gt;&lt;P&gt;   installation  or upgrades this delivery class come into picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA CLASS in Detail :&lt;/P&gt;&lt;P&gt;                      Data class in technical settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The data class defines the physical area of the database (for ORACLE the&lt;/P&gt;&lt;P&gt;     TABLESPACE) in which your table is logically stored. If you choose a&lt;/P&gt;&lt;P&gt;     data class correctly, your table will automatically be assigned to the&lt;/P&gt;&lt;P&gt;     correct area when it is created on the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The most important data classes are (other than the system data):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     a.   APPL0    Master data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     b.   APPL1    Transaction data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     c.   APPL2    Organizational and customizing data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Master data is data which is frequently read, but rarely updated.&lt;/P&gt;&lt;P&gt;     Transaction data is data which is frequently updated. Organizational und&lt;/P&gt;&lt;P&gt;     customizing data is data which is defined when the system is initialized&lt;/P&gt;&lt;P&gt;     and then rarely changed.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;The data class only has an effect on table storage for the database&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;             systems ORACLE and INFORMIX. ***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELIVERY CLASS in Detail :&lt;/P&gt;&lt;P&gt;                            The delivery class controls the transport of table data when installing&lt;/P&gt;&lt;P&gt;or upgrading, in a client copy and when transporting between customer&lt;/P&gt;&lt;P&gt;systems. The delivery class is also used in the extended table&lt;/P&gt;&lt;P&gt;maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are the following delivery classes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   A: Application table (master and transaction data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   C: Customer table, data is maintained by the customer only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   L: Table for storing temporary data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   G: Customer table, SAP may insert new data records, but may not&lt;/P&gt;&lt;P&gt;    overwrite or delete existing data records. The customer namespace&lt;/P&gt;&lt;P&gt;    must be defined in table TRESC. (Use Report RDDKOR54 here).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o   E: System table with its own namespaces for customer entries. The&lt;/P&gt;&lt;P&gt;      customer namespace must be defined in table TRESC. (Use Report&lt;/P&gt;&lt;P&gt; RDDKOR54 here.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; S: System table, data changes have the same status as program&lt;/P&gt;&lt;P&gt; changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; W: System table (e.g. table of the development environment) whose&lt;/P&gt;&lt;P&gt;      data is transported with its own transport objects (e.g. R3TR PROG,&lt;/P&gt;&lt;P&gt;      R3TR TABL, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary:&lt;/P&gt;&lt;P&gt;   Data class tells that where exactly table to be stored in the database.&lt;/P&gt;&lt;P&gt;   Delivery class tells that who are going to maintain the table.At the time of &lt;/P&gt;&lt;P&gt;   installation  or upgrades this delivery class come into picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;lt;b&amp;gt;. Difference between Inner join and Outer join ???&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    If the second table is empty, all the records in the  table( which is specified in&lt;/P&gt;&lt;P&gt;    the FROM clause ) are selected. &lt;/P&gt;&lt;P&gt;    But, whereas in the INNER JOIN, no records are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the above desc. make you understand more clear. &lt;/P&gt;&lt;P&gt;Award points, if  it  is helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 05:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918449#M381784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T05:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918450#M381785</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;1.Suppose u have 4 fields in an internal table, 3 fields contains data but fourth field is empty. &lt;/P&gt;&lt;P&gt;2.How can u insert the data for fourth field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Read table itab index &amp;lt;index&amp;gt;.&lt;/P&gt;&lt;P&gt;itab-field4 = value.&lt;/P&gt;&lt;P&gt;modify table itab index 1.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.What is pre-requisite for "BINARY SEARCH"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;sorting&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.In debudding is it possible to change the SY-SUBRC value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;yes&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6 In debudding is it possible to insert the rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;yes&amp;lt;/b&amp;gt; Abap workbench tools documentation helps you to know the debugging options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11 What is purpose of protect, end protect?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You can specify, either in the style or in the form, that a particular paragraph should not be split in two by a page break. If this page protect attribute is set, then the complete paragraph is always printed on one page. This property applies only to that particular paragraph.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. How can u count the number of rows in internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;data w_lines type i.&lt;/P&gt;&lt;P&gt;describe itab lines w_lines.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14. What is the difference between 'sellect single' and 'select up to one row'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;If you are interested if there exists at least one row of a database &lt;/P&gt;&lt;P&gt;table or view with a certain condition, use the Select ... Up To 1 &lt;/P&gt;&lt;P&gt;Rows statement .If all primary key fields are supplied in the Where condition you &lt;/P&gt;&lt;P&gt;can even use Select Single. &lt;/P&gt;&lt;P&gt;Select Single requires one communication with the database system, &lt;/P&gt;&lt;P&gt;whereas Select-Endselect needs two(UP TO 1 rows).&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;15 How can u print the current page and total pages in SAP-script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;amp;PAGE&amp;amp; of &amp;amp;SAPSCRIPT-JOBPAGES&amp;amp;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;16 Is it possible to write SELECT statement in INITIALISATION event?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;YES&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;18 What is the difference between AT SELECTION-SCREEN and AT SELECTION-SCREEN OUTPUT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;AT SELECTION-SCREEN OUTPUT---&amp;gt;is a PBO event and&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ---&amp;gt;is a PAI event&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN is used to check validations after the selection screen is displayed.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT is used to modify the selection-screen.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;19 Is it possible to write SELECT statement in AT SELECTION-SCREEN OUTPUT event?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Yes&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 06:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions/m-p/1918450#M381785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T06:12:27Z</dc:date>
    </item>
  </channel>
</rss>

