<?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: Serial No increment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-increment/m-p/7081910#M1506108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to create maintenace view and implement the logic for auto increment in the Event "on_save"to achieve the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jul 2010 13:21:32 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2010-07-08T13:21:32Z</dc:date>
    <item>
      <title>Serial No increment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-increment/m-p/7081909#M1506107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SAP Guru's,&lt;/P&gt;&lt;P&gt;                         I created one table having key fields are &lt;STRONG&gt;mandt,sr_no,werks&lt;/STRONG&gt;.My question is that when i create new entry in table it will check the client &amp;amp; plant and automatically take increase sr_no by 1. Is it possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;     Atul Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 12:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-increment/m-p/7081909#M1506107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-08T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Serial No increment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-increment/m-p/7081910#M1506108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to create maintenace view and implement the logic for auto increment in the Event "on_save"to achieve the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 13:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-increment/m-p/7081910#M1506108</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-07-08T13:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Serial No increment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-increment/m-p/7081911#M1506109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atulks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create a maintenance screen for your table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction se55, specify your table table , click on "Generated Objects" and click Change/Create&lt;/P&gt;&lt;P&gt;it will move you to your  maintenance screen dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now click on menu item Environment &amp;gt; Modification &amp;gt; Events&lt;/P&gt;&lt;P&gt;you will  see the events table , just click "new entries"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to set a new number for your new records, &lt;/P&gt;&lt;P&gt;than u should use event  "05	Creating a new entry"  and specify a form name for it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to your function group  ( that you have used for creating table maintenance )&lt;/P&gt;&lt;P&gt;and create that form in  that function group. ( You can use a Z include etc. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when user creates new entries, your maintenance screen will call this subroutine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can set values for fields in that subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; my table and field name was : zxss_table / number :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my subroutine example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM zxss_table_event_05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA nr_object TYPE inri-object VALUE 'ZSD_XSS1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF zxss_table-number IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'NUMBER_GET_NEXT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        nr_range_nr                   = '00'&lt;/P&gt;&lt;P&gt;        object                        = nr_object&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    QUANTITY                      = '1'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SUBOBJECT                     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TOYEAR                        = '0000'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IGNORE_BUFFER                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;        number                        = zxss_table-number&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    QUANTITY                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    RETURNCODE                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        interval_not_found            = 1&lt;/P&gt;&lt;P&gt;        number_range_not_intern       = 2&lt;/P&gt;&lt;P&gt;        object_not_found              = 3&lt;/P&gt;&lt;P&gt;        quantity_is_0                 = 4&lt;/P&gt;&lt;P&gt;        quantity_is_not_1             = 5&lt;/P&gt;&lt;P&gt;        interval_overflow             = 6&lt;/P&gt;&lt;P&gt;        buffer_overflow               = 7&lt;/P&gt;&lt;P&gt;        OTHERS                        = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bulent Balci on Jul 9, 2010 1:10 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 09:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-increment/m-p/7081911#M1506109</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2010-07-09T09:27:56Z</dc:date>
    </item>
  </channel>
</rss>

