Next Number Generation Activity to use Base36 without I, O, Q

Hi all,
Need to have a Next Number Activity Hook to generate a sequence number similar to a base 36 with the exception of letters that could be confused with numbers: I, O, Q.
I have an activity hook created that generates the number I want to use without any problems at all.
Example:
16 = 000G
17 = 000H
18 = 000J <- Skips the letter I
19 = 000K
20 = 000L
But when putting the this into the inData object to be returned it is ignored.
inData.put("CURRENT_SEQUENCE", finalValue);
Any thoughts as a way I can get this to work?
Thanks,
Mike

Ok I finally had some time to work on this.
Within Next Number Maintenance if the Number Base is set to 34 it does exclude I and O (good), but stops at W (bad). No X, Y, or Z (bad). Plus it still includes Q (bad).
i.e.
TEST-000U
TEST-000V
TEST-000W
TEST-0010
TEST-0011
If the Number Base is set to 33, I, O, and Q are included (bad) and it also stops at W (bad).
Neither are acceptable solutions. So...
I have figured out an ugly workaround:
In Next Number Maintenance set Number Base to 36.
Then insert the invalid SFC numbers into the ID_USED table.
i.e.
INSERT INTO ID_USED (HANDLE, SITE, ID, ID_TYPE, CREATE_DATE, ARCHIVED) VALUES ('IDUsedBO:1000,TEST-000I,S', '1000', 'TEST-000I', 'S', TO_DATE('05/04/2010','MM/DD/YYYY'), 'false');
INSERT INTO ID_USED (HANDLE, SITE, ID, ID_TYPE, CREATE_DATE, ARCHIVED) VALUES ('IDUsedBO:1000,TEST-000O,S', '1000', 'TEST-000O', 'S', TO_DATE('05/04/2010','MM/DD/YYYY'), 'false');
INSERT INTO ID_USED (HANDLE, SITE, ID, ID_TYPE, CREATE_DATE, ARCHIVED) VALUES ('IDUsedBO:1000,TEST-000Q,S', '1000', 'TEST-000Q', 'S', TO_DATE('05/04/2010','MM/DD/YYYY'), 'false');
INSERT INTO ID_USED (HANDLE, SITE, ID, ID_TYPE, CREATE_DATE, ARCHIVED) VALUES ('IDUsedBO:1000,TEST-001I,S', '1000', 'TEST-001I', 'S', TO_DATE('05/04/2010','MM/DD/YYYY'), 'false');
INSERT INTO ID_USED (HANDLE, SITE, ID, ID_TYPE, CREATE_DATE, ARCHIVED) VALUES ('IDUsedBO:1000,TEST-001O,S', '1000', 'TEST-001O', 'S', TO_DATE('05/04/2010','MM/DD/YYYY'), 'false');
INSERT INTO ID_USED (HANDLE, SITE, ID, ID_TYPE, CREATE_DATE, ARCHIVED) VALUES ('IDUsedBO:1000,TEST-001Q,S', '1000', 'TEST-001Q', 'S', TO_DATE('05/04/2010','MM/DD/YYYY'), 'false');
Unfortunately this will need to be done for all of the potentially bad SFC's. I will defiantly need to write a small app for that.
Then when the Next Number is called for the SFC, the system would notice that that number is already used and jump to the next available number.
Also by using the ID_USED table should anyone want reports there would not be any bogus SFC data in the system.
This work exactly as I want on our test server.
So before I truly implement this on our Production server does anyone see any potential downfalls to this workaround? Questions and/or comments welcome.
Thanks,
Mike

Similar Messages

  • Next Number Maintenance - IncrementBy is used for what?

    Hello everybody,
    as I'm developing a webservice I've used the "IncrementBy" of my next number template as the value which is added to the current sequence of the number.
    Let me provide an example:
    The current sequence is 1
    The IncrementBy value is 6
    I order a new number and get 7 (current sequence + IncrementBy value)
    My problem is now that the documentation states, that the "IncrementBy" value is used to "(...) increment the minimum and maximum sequence numbers."
    Next Number Maintenance - SAP Manufacturing Execution (SAP ME) - SAP Library
    This would differ from my current usage. However, I can't see any sense in providing a "incrementby" value to manipulate static data in a table. Furthermore the name of the column would be a fail, too. May there just be a mistake in the documentation?
    If not, what's the sense behind the incrementby value then?
    Thanks and regards,
    Kai

    Kai
    The help is wrong. When you request a number from Next number, it returns the Current Sequence. It then adds the value of the Increment By to that number and stores it back to the Current Sequence, ready for the next request.
    Stuart

  • Regarding Number Generation

    Hi Experts,
    I am SAP MDM Consultant and have recently come across this issue pertaining to number generation,need your expert guidance to solve it.
    Problem Definition : In our landscape Number generation takes places through a BAPI function call to ECC system,This data is then filled in the form and then on submission data gets saved in MDM.Later the same gets syndicated to ECC after enrichment and approvals.Recently in dev system we have encountered Duplicate Vendor number in MDM system.MDM is not generating number,its the BAPI call from ECC which does this.I think some previously used numbers must have be released for use and the same has been used by BAPI.
    So,can you please guide what can be reasons of inconsistent number generations and which methods are used to release the same unused numbers for use?
    Quick help will be appreciated.
    Thanks,
    Ravi

    .I think some previously used numbers must have be released for use and the same has been used by BAPI.
    SAP has no process to release old numbers,
    There is a function module to get the next number: 'NUMBER_GET_NEXT'
    It just uses the  the number range number and the number range object and reads then the next number from the number range table NRIV.
    Usually you cannot create duplicates, SAP ends in a dump.
    So I guess your problem is created by either resetting the number range in ERP production system manually, or somebody transported the intervals from DEV to PROD system despite of the endless warnings, which obviously has then the lower current number as you usually have not as much materials in a DEV system like in a PROD system.
    It can already be years ago that a number range was resetted, and you are just approaching  numbers that are already used.
    You have to analyze the numbers in MARA table  and compare it with the number range intervals and their current number.

  • Check the number of active users of oc4j in EBS

    Hi,
    I often see a recommndation of sizing jvm's to 1 per 100 active users. How can I find the number of active users currently using a jvm in EBS. We have 4 apps servers and 1 of apps servers also runs OBIEE with it's own jvm.
    I can find out from a unix command prompt counting establish connections to the port but I like to know if there's a better way to find the number of active users using the jvm's
    Thanks
    Mike

    Hi,
    To find the number of active user session on each of the application servers from a unix command line. I would find the port that Apache was listening on eg 8100. The use the following command on each of the apps servers
    netstat -an | grep 8100 | grep -i est | wc -l
    This gives a rough idea of how many active connections are established to the apps server. But I would really like to find how many users are actively using o4cj.
    If you are using forms in socket mode again, you can grep on the forms listening port number to find how many active forms users are connected.
    I can also see how many active connections are in the oc4j established to the database using lsof. Find the process id for oacore jvm.
    lsof -p PID
    But I'm sure there's a better and more accurate way of find active users of o4cj, specifically oacore.
    Thanks
    Mike

  • Enq: TX - row lock contention in forms 10g sequency number generation

    Iam Getting the Deadlock issue in oracle formdeveloper 10g database is 11g Acutually in our small Hospital organization using different forms generating entrying labrequest form finally save time
    one sequency number will generated i have give procedure below every save criteria form using below procedure some time iam getting lock iam using blocksession query i have find out some
    OSUSER
    MACHINE
    TERMINAL
    PROGRAM
    SQL_ID
    LOGON_TIME
    BLOCKING_SESSION_STATUS
    BLOCKING_SESSION
    EVENT
    user423
    UMCCDOM\LEVEL4-MICU
    LEVEL4-MICU
    PrjMcr.EXE
    0ccngw7dfkmgb
    23/09/2013 11:34:41 AM
    VALID
    277
    enq: TX - row lock contention
    SYSTEM
    WORKGROUP\PRIAPPSVR
    PRIAPPSVR
    frmweb.exe
    0ccngw7dfkmgb
    23/09/2013 11:32:50 AM
    VALID
    186
    enq: TX - row lock contention
    SYSTEM
    WORKGROUP\PRIAPPSVR
    PRIAPPSVR
    frmweb.exe
    0ccngw7dfkmgb
    22/09/2013 2:49:47 PM
    VALID
    277
    enq: TX - row lock contention
    SYSTEM
    WORKGROUP\PRIAPPSVR
    PRIAPPSVR
    frmweb.exe
    0ccngw7dfkmgb
    23/09/2013 7:00:22 AM
    VALID
    186
    enq: TX - row lock contention
    user290
    UMCCDOM\LEVEL2-N
    LEVEL2-N
    PrjMcr.EXE
    0ccngw7dfkmgb
    23/09/2013 10:28:06 AM
    VALID
    277
    enq: TX - row lock contention
    lock are happen after open the code i have find out used FOR UPDATE in procedure please tell me any alternative for this every labrequest form saving time using this procedure for generating prefix sequence number multiple user using with different systems
    PROCEDURE   Gsp_GenSeqNum (I_SvPrefixCd IN VARCHAR2,I_SvUserName IN VARCHAR2,
                              O_SvSeqNum OUT VARCHAR2) IS
    --This Procedure generates the sequence number
    --by retrieving the prefix based on the code
    --supllied to the procedure.
      CURSOR  crSeqGenerator IS
             SELECT Gsn_prefix_last_num, Gsn_prefix_year
                FROM G_SEQUENCE_NUMBER
             WHERE Gsn_prefix_Cd = I_SvPrefixCd
                   AND Gsn_prefix_year = TO_CHAR(SYSDATE,'YYYY')
      FOR UPDATE OF Gsn_prefix_last_num;
      udSeqNum        G_SEQUENCE_NUMBER.Gsn_Prefix_last_num%TYPE;
      udNextSeqNum    G_SEQUENCE_NUMBER.Gsn_Prefix_last_num%TYPE;
      udYear          G_SEQUENCE_NUMBER.Gsn_Prefix_year%TYPE;
      udPrefix        G_SEQUENCE_PREFIX.Gsp_Prefix_Value%TYPE;
    BEGIN
      SELECT Gsp_Prefix_Value
      INTO udPrefix
      FROM G_SEQUENCE_PREFIX
      WHERE Gsp_Prefix_Cd = I_SvPrefixCd;
      OPEN crSeqGenerator;
      FETCH crSeqGenerator
       INTO udSeqNum,
            udYear;
      IF crSeqGenerator%FOUND THEN
         udNextSeqNum  :=udSeqNum + 1;
         O_SvSeqNum     := udPrefix||'/'||TO_CHAR(SYSDATE,'YY')
                                   ||'/'||LPAD(TO_CHAR(udNextSeqNum),6,'0');
      ELSE
    INSERT INTO G_SEQUENCE_NUMBER VALUES(I_SvPrefixCd,TO_CHAR(SYSDATE,'YYYY'),0,I_SvUserName,SYSDATE);
         udSeqNum      :=0;
         udNextSeqNum  :=udSeqNum + 1;
         O_SvSeqNum:=UdPrefix||'/'||TO_CHAR(SYSDATE,'YY')
                             ||'/'||LPAD(TO_CHAR(udNextSeqNum),6,'0');
      END IF;
      UPDATE G_SEQUENCE_NUMBER
         SET Gsn_Prefix_last_num=udNextSeqNum
       WHERE Gsn_Prefix_Cd = I_SvPrefixCd
         AND Gsn_Prefix_year=TO_CHAR(SYSDATE,'YYYY');
      CLOSE crSeqGenerator;
    END Gsp_GenSeqNum;
    Thanks
    subbu

    This application is inbuit with some modules VB (cath ,cardio)and oracle forms for required sequence number generation different time used this procedure whereever required the sequence Prefix generation.If i replace the procedure sequene to oracle standard sequency if the user cannot save the form unnessary sequency generated order is missing from sequence.

  • Droid X - Data plan required when you active a used phone with no new contract?

    Since the droid X is an older smartphone, is a data plan still required when you active a used phone without signing a new contract?

    Droid X Launch Date: 7/15/2010
    Deadline for smartphone release without data plan requirement: November 2008.
    Verizon will not allow you to activate *any* android phone without data.

  • What algorithm does Excel 2010 use for Pseudo Random Number Generation (MT19937?)

    Does Excel 2010+ use the Mersenne Twister (MT19937) algorithm for Pseudo Random Number Generation (PRNG), implemented by the RAND() function?
    This has been a nagging question for some time now, with "hints" that it indeed does.  However, a relatively thorough search turns up no definitive documentation.  The most direct indication is perhaps given by Guy Melard [Ref 9] where
    he tests Excel 2010's RAND() function using the Crush battery of tests in TestU01 by L'Ecuyer & Simard.  Melard references a "semi-official" indication that Microsoft did indeed implement MT19937 for the RAND() function in
    Excel 2010, but this reference no longer seems to be available. http://office.microsoft.com/enus/excel-help/about-solver-HP005198368.aspx?pid=CH010004571033.
    The other references below [Ref 1-10] document the history of the statistical suitability of the PRNG and probability distributions in various versions of Excel.  This includes the Wichmann-Hill PRNG implementations supposedly (arguably) used in
    Excel 2003 & 2007 for random number generation.  But still, we have no answer as to which PRNG algorithm is used in
    Excel 2010 (and 2013 for that matter).
    Microsoft indicates that RAND() has been improved in Excel 2010; Microsoft states, "...and the RAND function now uses a new random number algorithm." (see https://support.office.com/en-ca/article/Whats-New-Changes-made-to-Excel-functions-355d08c8-8358-4ecb-b6eb-e2e443e98aac). 
    But no details are given on the actual algorithm.  This is critical for Monte Carlo methods and many other applications.
    Any help would be much appreciated. Thanks.
    [Ref 1] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 97. 
    Computational Statistics & Data Analysis. Vol. 31 No. 1, pp 27-37. July 1999.
    http://users.df.uba.ar/cobelli/LaboratoriosBasicos/excel97.pdf
    [Ref 2]L. Knüsel.  On the accuracy of the statistical distributions in Microsoft Excel 97. Computational Statistics & Data Analysis. Vol. 26 No. 3, pp 375-377. January 1998.
    http://www.sciencedirect.com/science/article/pii/S0167947397817562
    [Ref 3]B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2000 and Excel XP. 
    Computational Statistics & Data Analysis. Vol.40 No. 4, pp 713-721. October 2002.
    https://www.researchgate.net/publication/222672996_On_the_accuracy_of_statistical_procedures_in_Microsoft_Excel_2000_and_Excel_XP/links/00b4951c314aac4702000000.pdf
    [Ref 4] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2003. 
    Computational Statistics & Data Analysis. Vol.49. No. 4, pp 1244-1252. June 2005.
    http://www.pucrs.br/famat/viali/tic_literatura/artigos/planilhas/msexcel.pdf
    [Ref 5] L. Knüsel. On the accuracy of statistical distributions in Microsoft Excel 2003. Computational Statistics & Data Analysis, Vol. 48, No. 3, pp 445-449. March 2005.
    http://www.sciencedirect.com/science/article/pii/S0167947304000337
    [Ref 6]B. McCullough, D.Heiser.  On the Accuracy of Statistical Procedures in Microsoft Excel 2007. 
    Computational Statistics & Data Analysis. Vol.52. No. 10, pp 4570-4578. June 2008.
    http://users.df.uba.ar/mricci/F1ByG2013/excel2007.pdf
    [Ref 7] A. Yalta. The Accuracy of Statistical Distributions in Microsoft<sup>®</sup> Excel 2007. Computational Statistics & Data Anlaysis. Vol. 52 No. 10, pp 4579 – 4586. June 2008.
    http://www.sciencedirect.com/science/article/pii/S0167947308001618
    [Ref 8] B. McCullough.  Microsoft Excel’s ‘Not The Wichmann-Hill’ Random Number Generators. Computational Statistics and Data Analysis. Vol.52. No. 10, pp 4587-4593. June 2008.
    http://www.sciencedirect.com/science/article/pii/S016794730800162X
    [Ref 9] G. Melard.  On the Accuracy of Statistical Procedures in Microsoft Excel 2010. Computational Statistics. Vol.29 No. 5, pp 1095-1128. October 2014.
    http://homepages.ulb.ac.be/~gmelard/rech/gmelard_csda23.pdf
    [Ref 10] L. Knüsel.  On the Accuracy of Statistical Distributions in Microsoft Excel 2010. Department of Statistics - University of Munich, Germany.
    http://www.csdassn.org/software_reports/excel2011.pdf

    I found the same KB article:
    https://support.microsoft.com/en-us/kb/828795
    This was introduced (according to the article) in Excel 2003. Perhaps the references in notes 2 and 3 might help.
    The article describes combining the results of 3 generators, each similar to a Multiply With Carry (MWC) generator, but with zero carry. MWC generators do very well on the Diehard battery of randomness tests (mentioned in your references), and have
    very long periods. But using zero carry makes no sense to me.
    Combining the three generators only helps if the periods of the 3 are relatively prime (despite what the article implies). Then the period of the result will be the product of the 3 periods. But without knowing the theory behind these generators, I have
    no idea what the periods would be. The formulas for MWC generators fail here.
    Richard Mueller - MVP Directory Services

  • How do I obtain the next number for a Primary Key using an ADF View Object?

    I have two separate View Objects (A & B) for the same Entity Object. View Object A does a SELECT on all of the fields in the table. This View Object is where I execute my adds and updates. View Object B is only used to retrieve the next number for the primary key. This is done so that when I add a row to the database, I always get the max number of the primary key and add one to it. I accomplished this by setting the SQL mode to Expert and using the SQL: "SELECT MAX(NBR) AS MAX_NUMBER FROM TABLE_1". This may be overkill having a seperate View Object for this, but so far this is the only way I have found to obtain the next number. However, I have discovered that this way does not always work.
    The problem I'm running into is when I try to add multiple records to View Object A without committing the transaction between each add. Because View Object B is disconnected from View Object A, the MAX_NUMBER of View Object B comes back with the same number for each add I do on View Object A. So I know I must retrieve the MAX_NUMBER from View Object A.
    I've tried using the following code in my Table1ViewImpl class:
    this.setQuery("SELECT MAX(Table1.NBR) AS MAX_NUMBER FROM TABLE_1 Table1");
    this.executeQuery();
    The view object now has what I want, but I have yet to figure a way to extract the MAX_NUMBER out of the View Object. I've also looked into using the method addDynamicAttribute() but I can't figure out any way to set the attribute with the MAX_NUMBER.
    I can't be the only one trying to retrieve the next number from a database table using ADF. Can anyone help me with this? FYI - I'm using JDev 10.1.3 EA.

    You missing the point.
    On a multi-user db knowing the next highest number doesn't guarantee the number will be available when it comes time to commit the record. You can prove this to yourself by opening two instances of your app and do whatever you do to add a new record to your VO. Both will assume the same number, and when you commit an error will be generated
    You must use sequences to avoid the possibility of duplicate keys. If you are trying to avoid gaps in your numbering then you need to convince yourself why this is necessary.

  • Custom Employee Number Generation Using Fast Formulas

    Hi,
    I have a requirement to generate custom employee numbers like "EMP100001". we have already created a business group with the setting of Employee number generation as Automatic. but we need to generate custom employee number as Format given above instead of automatic number generation.
    I have created my own PL/SQL Package to generate custom employee number as per Person Type. Also created a Fast Formula Function with the following parameters -
    Name = Get_Custom_Number
    Data Type = Text
    Class = External Funtion
    Alias Name = NULL or what you want the alias to be
    Description = Returns the next custom number value
    Definition = CUSTOM_EMP_NUMBER_GENERATION.Get_Custom_Number (PL/SQL Function)
    Proving the following Context usages and Parameters details to the Fast Formula Function -
    Context usages:-
    Number = 1
    Context Name = BUSINESS_GROUP_ID
    Data Type = Number
    Parameters as defined in PL/SQL function
    1 p_legislation_code Text Input Only
    2 p_person_type Text Input Only
    3 p_person_number Text Input Only
    4 p_party_id Number Input Only
    5 p_person_id Number Input Only
    6 p_national_id Text Input Only
    7 p_date_of_birth Date Input Only
    Than i created a Fast Formula using the following navigation
    Total Compensation > Basic > Write Formula
    with following details -
    Name = EMP_NUMBER_GENERATION
    Type = Person Number Generation
    Description = Returns next Employee number
    and wrote my formula code.
    When i created a Employee from Enter and Maintain People screen it is showing automatic number instead of my custom employee number.
    I m not able to find where i m missing the logic or some parameters?
    If anyone has come across such situation, please provide some pointers here.
    Thanks
    Renu

    What is the application release?
    Please review these docs and see if it helps.
    Is it Possible to Update Generate Employee Number Method From Automatic to Manual? [ID 393827.1]
    Need To Change The Employee Numbering From Automatic To Manual [ID 291634.1]
    Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr [ID 452044.1]
    How to Prefix a Zero on Custom Employee Numbers [ID 822425.1]
    How To Implement Custom Person Numbering Using FastFormula Based on User Person Type Instead of System Person Type [ID 372696.1]
    Thanks,
    Hussein

  • Check next number (activity code)

    Good day experts.
    This is the issue we are currently importing a SFC into the system or using the supplier barcode for the SFC inside visprise.  We unfortnately use two diferent product types from the same supplier where the two don't really have any differeneces.  The products are hard drives one is 40 gig and the other is a 80 gig, but inside visprise we are having troubles keeping the product seperated.
    We are wanting a way to check the barcode, because the part number is inside this barcode from the supplier to seperate the two inside visprise.
    I thought about using check next number activity code, but unfortnately this isn't getting the job done.  I was wondering if I was doing something wrong.  As of right now I have the acitivity codes create SFC as Pre-start and check next number as a pre-validate start.   I have tried changing the hook point, but nothing seems to work.  I can force it to not work at all or work for everything.
    I have a setup the next number maintenance and I can print out the correct barcode for this material, but I can't prevent us importing a incorrect barcode.

    Basically this is what is happening.  We are 'importing' Barcodes into the data base.  Problem lies we have two materials that are very close to each other (both hard drives) they are getting mixed inside the test equipment causing us to much down time.  I was reading up on the activity codes and was wondering how next number maintenance or mask valiation was working inside SAP ME.  To try and prevent the confusion.
    The biggest differences between the materials, that concerns SAP ME, is the barcode format.  The two different part numbers are inside the the supplier barcode that is given to us, which we are currently using for our SFC in SAP ME.
    It isn't a requirement for me to use SAP ME, but I was exploring every avenue.  If it is true that these only work at the specific points that the help site is suggesting i will try a different avenue, this is looking very possible right now.  I have tried using the activity codes with no luck in succeeding in the goal.

  • IS O&G - is it possible to use MPL without activating the ECC- DIMP?

    Hi
    We are an Oil and Gas industry and activated IS oil and gas in ECC6.0, our requirement is to use functionality such as Master Parts list which is there in ECC-DIMP under configuration control, as some companies within same group where MPL is required .
    The question is it possible to use MPL without activating the ECC- DIMP
    Request you to please help us to understand.
    Regards

    Hi Venkat,
    If a report is created over a DSO, it pulls data from the active table of a DSO. So as suggested in all the posts above it is not possiable to report on the DSO without activating it.
    Activation of DSO only allows to generate SID's to link transaction data and master data, SID's could also be generated at the time of reporting (When the report fetches data from BI server, but for the SID generation data is needed in active table). Also activation checks the correctness of data etc.
    Could you please let know why you want to report on the unactive request, is it having some problem with activation?
    Regards,
    Pankaj

  • Next Number Activity Hook - Error on save

    Hello all,
    Running into a problem trying to create an Activity Hook for the Next Number Maintenance within NWDS.
    I create the java class and deploy it to SAP ME 6.1 and create the activity in Activity Maintenance. When I add the Activity Hook to the Next Number Maintenance and try to save it generates the following error message:
    Activity "MAT_NEXT_NUMBER" specifies a Java Class ("com.<vendorID>.nextnumber$MaterialNextNumber") that could not be found in the class path ("C:\usr\sap\ME0\J00\exe\jstart71.jar;C:\usr\sap\ME0\J00\exe\sapjvm_6\lib\jvmx.jar;C:\usr\sap\ME0\J00\exe\sapjvm_6\lib\jvmx_tools.jar;C:\usr\sap\ME0\J00\exe\jre\lib\iqlib.jar;C:\usr\sap\ME0\J00\exe\sapjvm_6\lib\tools.jar;C:\usr\sap\ME0\J00\j2ee\cluster\bin\boot\sap.com~tc~bl~jkernel_boot~impl.jar;C:\usr\sap\ME0\J00\j2ee\cluster\bin\boot\jaas.jar;C:\usr\sap\ME0\J00\j2ee\cluster\bin\system\sap.com~tc~bl~bytecode~library.jar;C:\usr\sap\ME0\J00\j2ee\cluster\bin\boot\memoryanalyzer.jar") (Message 16018)
    Was wondering what this means?
    Did I forget to do something during the process? If so, what do I need to do?
    Any help would be appreciated,
    Mike Jewson

    Hello,
    I did set this up as any normal Activity Hook, so it is set as a Type: Service.
    Here is the trace information after it is run:
    #2.0 #2014 03 19 15:00:35:759#0-400#Error#com.sap.me.trace#
    ##sap.com/me~ear#C000C0A8CA89007B0000000100000EC4#4997050000000004#sap.com/me~ear#com.sap.me.trace.VM#SITE_ADMIN#34#JTA Transaction : 12004#8F1E85FCAF9811E3865E0000004C3FBA#bb314cc4af9811e3c16d0000004c3fba#bb314cc4af9811e3c16d0000004c3fba#0#Thread[HTTP Worker [@558364746],5,Dedicated_Application_Thread]#Plain##
    Activity "MAT_NEXT_NUMBER" specifies a Java Class ("com.<vendorID>.nextnumber$MaterialNextNumber") that could not be found in the class path ("C:\\usr\\sap\\ME0\\J00\\exe\\jstart71.jar;C:\\usr\\sap\\ME0\\J00\\exe\\sapjvm_6\\lib\\jvmx.jar;C:\\usr\\sap\\ME0\\J00\\exe\\sapjvm_6\\lib\\jvmx_tools.jar;C:\\usr\\sap\\ME0\\J00\\exe\\jre\\lib\\iqlib.jar;C:\\usr\\sap\\ME0\\J00\\exe\\sapjvm_6\\lib\\tools.jar;C:\\usr\\sap\\ME0\\J00\\j2ee\\cluster\\bin\\boot\\sap.com~tc~bl~jkernel_boot~impl.jar;C:\\usr\\sap\\ME0\\J00\\j2ee\\cluster\\bin\\boot\\jaas.jar;C:\\usr\\sap\\ME0\\J00\\j2ee\\cluster\\bin\\system\\sap.com~tc~bl~bytecode~library.jar;C:\\usr\\sap\\ME0\\J00\\j2ee\\cluster\\bin\\boot\\memoryanalyzer.jar") (Message 16018)
    at com.sap.me.frame.BaseDAO.abort(BaseDAO.java:2615)
    at com.sap.me.frame.BasicBOBean.abort(BasicBOBean.java:2066)
    at com.sap.me.activity.ActivityBOBean.execute(ActivityBOBean.java:499)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sun.proxy.$Proxy1166.execute(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.visiprise.frame.proxy.DefaultInterceptor.intercept(DefaultInterceptor.java:31)
    at com.visiprise.frame.proxy.InterceptorChain.process(InterceptorChain.java:48)
    at com.visiprise.frame.proxy.GenericSOProxy.invoke(GenericSOProxy.java:81)
    at com.sun.proxy.$Proxy1845.execute(Unknown Source)
    at com.sap.me.numbering.NextNumberBOBean.formatNextValues(NextNumberBOBean.java:1125)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sun.proxy.$Proxy268.formatNextValues(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.visiprise.frame.proxy.DefaultInterceptor.intercept(DefaultInterceptor.java:31)
    at com.visiprise.frame.proxy.InterceptorChain.process(InterceptorChain.java:48)
    at com.visiprise.frame.proxy.GenericSOProxy.invoke(GenericSOProxy.java:81)
    at com.sun.proxy.$Proxy1865.formatNextValues(Unknown Source)
    at com.sap.me.numbering.NextNumberApplicationBean.createSampleValue(NextNumberApplicationBean.java:405)
    at com.sap.me.numbering.NextNumberApplicationBean.populateApplicationVO(NextNumberApplicationBean.java:470)
    at com.sap.me.numbering.NextNumberApplicationBean.update(NextNumberApplicationBean.java:546)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sun.proxy.$Proxy274.update(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.me.coral.core.controller.EJBServiceProxy.invoke(EJBServiceProxy.java:110)
    at com.sun.proxy.$Proxy1864.update(Unknown Source)
    at com.sap.me.coral.core.command.DefaultSaveCommand.handleCmd(DefaultSaveCommand.java:77)
    at com.sap.me.coral.core.command.AbstractCommand.execute(AbstractCommand.java:218)
    at com.sap.me.coral.core.controller.ActivityServlet.processExistingApplicationRequest(ActivityServlet.java:502)
    at com.sap.me.coral.core.controller.ActivityServlet.handleRequest(ActivityServlet.java:122)
    at com.sap.me.coral.core.controller.BaseServlet.processRequest(BaseServlet.java:122)
    at com.sap.me.coral.core.controller.BaseServlet.doPost(BaseServlet.java:225)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.me.frame.web.MeEntranceFilter.doFilter(MeEntranceFilter.java:36)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    As an experiment I took out all of the logic I originally had and just have it now writing to a text file and this Activity Hook works if I attach it to a Operation Activity Hook (POST_START) without any problems.
    So I am wondering what the difference between that and an Activity Hook for Next Number Matinenance?
    Thank you,
    Mike Jewson

  • IPhone, can i use it without activation?

    i got an iPhone for christmas and i am wondering if i can use the features of it without activating. I do plan on activating it some time next month but, can i use the ipod and stuff on it? thanks

    Nothing on the iPhone will work until it is activated, unless you hack it (which I don't recommend and we can't discuss here, anyway).

  • Errormessage: "Number of activations exceeded"  though I only use 2 devices.

    errormessage: "Number of activations exceeded"  though I only use 2 devices.
    Thank your for helping me with this issue.
    I had to reset my mobile phone and my tablet and now this message appears on my mobile phone:
    "Number of activations exceeded"  though I only use 2 devices.
    I use Mantano reader premium.
    Kind regards,
    Regula

    Thank you Dominic, unfortunately your link does not give me the exact help
    what to do next.There are only some general links.
    Somewhere in the forum I found this:
    . If you reach the limit,
    contact Customer Service to increase your allowable activations. Please
    let us know if these will help in resolving your issue.
    Is there an emailadress to contact, sinI am at work and can't chat.
    Thank you and kind regards,
    Regula
    2014-02-17 7:41 GMT+01:00 Dominic Michael <[email protected]>:
        Re: errormessage: "Number of activations exceeded" though I only use
    2 devices.  created by Dominic Michael<http://forums.adobe.com/people/Dominic+Michael>in *Adobe
    Digital Editions* - View the full discussion<http://forums.adobe.com/message/6127568#6127568

  • Automatic number generation using the function module

    Hai Everyone,
    I have the doubt in automatic number generation.
    i find the function module. the function module is
    report 123.
    *DATA: RC         LIKE INRI-RETURNCODE,
         NUMBER(10) TYPE C.
       CALL FUNCTION 'NUMBER_GET_NEXT'
            EXPORTING OBJECT          = 'HUGO'
                        NR_RANGE_NR     = '01'
            IMPORTING RETURNCODE      = RC
                        NUMBER          = NUMBER.
      CASE RC.
        WHEN ' '.
         everything o.k.
        WHEN '1'.
         the assigned number lies in the critical area.
        WHEN '2'.
         this was the last number, next time the first number
          will be assigned
      ENDCASE.
      write:/ number.
      in that function module what i want to give the  Exporting Object  'HOGO'. where i want to define the number range. what is meant by 'HOGO'.
    If any one faced the same problem plz help me.
    Thanks and regards,
    P.Naganjana Reddy

    Hai Chandrasekhar,
    in that what i have to give. Plz help me in this.
    Subobject data element
    To-year flag
    Number length domain
    No interval rolling
    Number range transaction
    Warning %
    Main memory buffering
    Group table
    Subobject field in group table
    Fld  NoRangeElement
    Fields int./ext. no.range no.
    Fld. NoRangeNo
    Display element text
    Thasnks and regards,
    P.Naganjana reddy

Maybe you are looking for