<?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: Create Serial Numbers in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998551#M1164129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akshay,&lt;/P&gt;&lt;P&gt;Try this function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUMBER_GET_NEXT.(Used for Number range: Assigns next free number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lakshman N on Dec 30, 2008 7:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2008 06:47:42 GMT</pubDate>
    <dc:creator>former_member209217</dc:creator>
    <dc:date>2008-12-30T06:47:42Z</dc:date>
    <item>
      <title>Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998550#M1164128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I am using a bapi, BAPI_GOODSMVT_CREATE to create new serial numbers in the system. Following are the inputs that i am passing to the bapi.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;wa_header-PSTNG_DATE = sy-datum.&lt;/P&gt;&lt;P&gt;wa_code-GM_CODE = '05'.&lt;/P&gt;&lt;P&gt;wa_item_create-material = matnr (The concerned material number).&lt;/P&gt;&lt;P&gt;wa_item_create-PLANT = plant&lt;/P&gt;&lt;P&gt;wa_item_create-MOVE_TYPE = '501'.&lt;/P&gt;&lt;P&gt;wa_item__create-ENTRY_QNT = '1'.&lt;/P&gt;&lt;P&gt;wa_item_create-ENTRY_UOM_ISO = 'EA'.&lt;/P&gt;&lt;P&gt;append wa_item_create to gt_item_create.&lt;/P&gt;&lt;P&gt;wa_serialnum-MATDOC_ITM = '0001'.&lt;/P&gt;&lt;P&gt;wa_serialnum-SERIALNO = 'ABCD-00044' (The required serial number to be created)&lt;/P&gt;&lt;P&gt;append wa_serialnum to gt_serialnum.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_GOODSMVT_CREATE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    goodsmvt_header               = wa_header&lt;/P&gt;&lt;P&gt;    goodsmvt_code                 = gm_code&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TESTRUN                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_REF_EWM              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_HEADRET              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MATERIALDOCUMENT              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MATDOCUMENTYEAR               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    goodsmvt_item                 = gt_item_create&lt;/P&gt;&lt;P&gt;   GOODSMVT_SERIALNUMBER          = gt_serialnum&lt;/P&gt;&lt;P&gt;    return                        = gt_return&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  GOODSMVT_SERV_PART_DATA       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXTENSIONIN                   =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          . &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;After executing this FM, I get a screen which unfortunately i cant paste it here. This screen is same as the screen that appears in MIGO while creating serial numbers. To give you idea about the screen, it has following fields - Division, Device category, Serial Number, &lt;/P&gt;&lt;P&gt;                                    manufacturer, Model number, Construct year, &lt;/P&gt;&lt;P&gt;                                    Cert Year, Cert No.  and many more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this screen appears, I tried to enter the relevant fields but the control does not move to next screen.Every time info message is displayed as "Function code cannot be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help? Or can anyone suggest a FM to create serial numbers in the system through &lt;/P&gt;&lt;P&gt;program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 06:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998550#M1164128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T06:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998551#M1164129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akshay,&lt;/P&gt;&lt;P&gt;Try this function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUMBER_GET_NEXT.(Used for Number range: Assigns next free number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lakshman N on Dec 30, 2008 7:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 06:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998551#M1164129</guid>
      <dc:creator>former_member209217</dc:creator>
      <dc:date>2008-12-30T06:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998552#M1164130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but in our end I have to create a particular serial number, not the next available number. So can you please provide the necessary inputs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 06:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998552#M1164130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T06:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998553#M1164131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI,&lt;/P&gt;&lt;P&gt;Here is the simple way can you try this,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the transaction SNRO and define the number ranges,, call this in your program using f.m. get_number_next and pass the object if as '1' and object name as what you have used while creating number ranges. it will gives u the serial number.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Thirukumaran. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 06:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998553#M1164131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T06:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998554#M1164132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your concern!! But at our end the requirement is that we have particular serial number values and we have to create those particular serial numbers in the system in particular plant and storage location. Can you please provide the inputs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 07:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998554#M1164132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T07:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998555#M1164133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You use this FM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUMBER_GET_NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 08:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998555#M1164133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T08:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998556#M1164134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanka Joan. But at our end the requirement is that we have spacific serial numbers with us and we want to create only those serial numbers in the system with a particular plant and storage location. So can you please provide inupts for the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 09:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998556#M1164134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create Serial Numbers</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998557#M1164135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try leave field GM_CODE of structure goodsmvt_code blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&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;Pablo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 11:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-serial-numbers/m-p/4998557#M1164135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-17T11:16:19Z</dc:date>
    </item>
  </channel>
</rss>

