<?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: code for the following in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823752#M42946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to ABAP and hence did not get a clue of what you said about pools and stuff. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well let me clarify , let us say we use the table maintenance generator . Does that link to a add, delete and edit function tabs on the screen. Also what would be the code that will take care of the authorization stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2004 20:35:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-10-06T20:35:45Z</dc:date>
    <item>
      <title>code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823748#M42942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help to this point. I would be thankful if someone has the codes for the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADD&lt;/P&gt;&lt;P&gt;DISPLAY&lt;/P&gt;&lt;P&gt;EDIT&lt;/P&gt;&lt;P&gt;DELETE  buttons on a screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen is a result of a custom transaction that has been created. This screen is connected to a Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each of the above functions we need to even store the username and sysdate when the record was changed. From yesterday information that i obtained i could get the userid and date from the following objects sy-uname, the current date from sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 15:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823748#M42942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-06T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823749#M42943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried using Table Generator in SE11? It is easy and will generate all the buttons you need automatically. To do this:&lt;/P&gt;&lt;P&gt;1. Go to SE11.&lt;/P&gt;&lt;P&gt;2. Enter your ZTABLE&lt;/P&gt;&lt;P&gt;3. Maintain it.&lt;/P&gt;&lt;P&gt;4. Select Utilities-&amp;gt;Table Maintenance Generator&lt;/P&gt;&lt;P&gt;5. Put in Authorization Group (you can use w/out auth group if you want to secure by transaction code), function group (the Z one that your program will be stored), Maintenance Type (select 2 if you want the detail screen separated), and Overview/Single screens (put it 1 and 2)&lt;/P&gt;&lt;P&gt;6. Click on Create button.&lt;/P&gt;&lt;P&gt;7. To see the result, you can use transaction SM30 and enter the table name.&lt;/P&gt;&lt;P&gt;8. Or you can create a parameter transaction using SE93 to link SM30 to this table automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 16:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823749#M42943</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-10-06T16:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823750#M42944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nablan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information . I will try that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 16:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823750#M42944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-06T16:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823751#M42945</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;It would be an easy way to utilize table maintenance generator. But it seems you need a more specific solution since you require time-stamping, authority checks, etc.... So, I guess you have already created a module-pool or a report program. That will be better to go on with that since it will provide flexibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 17:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823751#M42945</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-10-06T17:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823752#M42946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to ABAP and hence did not get a clue of what you said about pools and stuff. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well let me clarify , let us say we use the table maintenance generator . Does that link to a add, delete and edit function tabs on the screen. Also what would be the code that will take care of the authorization stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 20:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823752#M42946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-06T20:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823753#M42947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table maintenance generator generates a program which includes utilities to add, delete or edit records of a specific database table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can interfere the generated program to some extent. However, it will be difficult and not flexible because you require additional features. That interference will require approximately same knowledge level as required for developing a new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you do not feel comfortable to write an ABAP program including screen programming, first try to learn it. You can refer some resources for that:&lt;/P&gt;&lt;P&gt;1. The book :&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;"ABAP Objects &amp;#151; The Official Reference"&amp;lt;/b&amp;gt;A comprehensive guide to all ABAP language elements&lt;/P&gt;&lt;P&gt;by Horst Keller &amp;amp; Joachim Jacobitz&lt;/P&gt;&lt;P&gt;--&amp;gt; You can find more info from &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-press.com/H958.html" target="test_blank"&gt;http://www.sap-press.com/H958.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. &amp;lt;b&amp;gt;SAP Help Portal&amp;lt;/b&amp;gt; at &lt;A href="http://help.sap.com" target="test_blank"&gt;http://help.sap.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. Standard &amp;lt;b&amp;gt;SAP courses&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;"BC400 - ABAP Workbench: Foundations and Concepts"&lt;/P&gt;&lt;P&gt;"BC402 - ABAP Programming Techniques"&lt;/P&gt;&lt;P&gt;"BC410 - Programming User Dialogs"  &lt;/P&gt;&lt;P&gt;"BC414 - Programming Database Updates"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 21:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823753#M42947</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-10-06T21:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823754#M42948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From my experience, using Table Maintenance Generator is always the fastest to develop a screen for maintaining a custom table. Once you generate it, all the standard functionality of maintaining a table is already there. If you have some additional functionalities like downloading to excel, you can add it to the logic. The effort will be definitely less than writing it from scratch.&lt;/P&gt;&lt;P&gt;In terms of authorization, it is also taken care already. As I said in the previous answer, you can select an authorization group when you generate the screen. You can create a custom authorization group. Or you can simply use no authorization, but then create a parameter transaction for Display and Maintenance using SE93 with main transaction as SM30. For display transaction, set field SHOW as 'X'. For maintain transaction, set field UPDATE as 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 21:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823754#M42948</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-10-06T21:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823755#M42949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nablan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is OK if it were just adding an authorization check table-wise. However, from Amit's previous thread, he wants an authorization with respect to each specific record.&lt;/P&gt;&lt;P&gt;Secondly, Amit requires to update the date and time of that last action with the record update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert these codings, you need to inspect the generated code and this will somehow require a basic understanding of screen programming in ABAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't you think so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 21:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823755#M42949</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-10-06T21:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823756#M42950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To check authorization for each record, you can do it in the PBO of the first screen. This is to skip the records that you are not authorized to see. You can check in the PAI of the second screen (assume you use 2 screens) for authorization if user enter records that he/she not supposed to maintain. For placing the user id and date/timestamp, you can also do it in the PAI of the second screen within the CHAIN-REQUEST command of the flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more advantage with using table generator is that locking is automatically programmed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 21:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823756#M42950</guid>
      <dc:creator>nablan_umar</dc:creator>
      <dc:date>2004-10-06T21:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823757#M42951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nablan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My point was just to say that the program generated by the table maintenance generator will be more restrictive about performing content operations. By the way, all the operations you've mentioned are about basics of screen programming which I recommend Amit to learn.&lt;/P&gt;&lt;P&gt;Advantages of table maintenance generator are obvious. I also make use of it, even modifying the original code.&lt;/P&gt;&lt;P&gt;I trust your experience, so I hope Amit can handle the generated code to insert his requirements.&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;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2004 22:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823757#M42951</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-10-06T22:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: code for the following</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823758#M42952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;have a look at VIEW_MAINTENANCE_CALL documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2004 09:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-for-the-following/m-p/823758#M42952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-07T09:54:04Z</dc:date>
    </item>
  </channel>
</rss>

