Sequence number for opportunities

Hello,
My customer needs a sequence number for opportunities... So I can create a custom field but is there a way to automatic generate a number to fill it ? or for that matter a sequence ?
Txs.
Antonio

Antonio, this functionality is not available at this time. This could be done using a custom web service program.

Similar Messages

  • How to execute a same sequence number for the resulting dynamic rows

    Hi friends,
    I have a sequence and trigger(which will fire id for each and every row insert).
    My scenario is, If i update more than 5 rows at a time means, i need to set a same sequence number example(1) for all the 5 rows.
    Next time, if i update another 5 rows means, then i need to set a same sequence number (i.e) 2 for the next 5 rows.
    So, my updation will be dynamic(may be 2 ,5, 10 rows at a time), But i need to set a same sequence number for one of the column for all the rows that i update.
    Next time, if i update another set of rows means, then i need to set only the next sequence number(i.e) 2(assume that previously updated sequence for the before set of rows is 1) for another set of rows.
    Like that sequence has to update in a sequential manner for more than one set of rows in that column.
    How to achieve it friends.
    example
    id-----------------name
    1-------------------A
    1-------------------B
    1-------------------C
    1-------------------D
    1-------------------E
    2-------------------D
    2-------------------E
    2-------------------F
    2-------------------G
    3-------------------H
    3-------------------IBrgds,
    Mini

    Hi,
    You forgot to mention your version.
    If you want a trigger based solution, then in 10g you need two triggers
    1. A statement level trigger that takes sequence.nextval into a dummy variable that will not be used.
    2. A for each row trigger that uses sequence.currval.
    In 11g you should be able to write a single, composite trigger.
    If you want a solution with no triggers, it could look something like
    SQL> create sequence s start with 10;
    Sequence created.
    SQL>
    SQL> create or replace function s_wrapped
      2  return number
      3  as
      4     v number;
      5  begin
      6     select s.nextval
      7     into v
      8     from dual;
      9
    10     return v;
    11  end s_wrapped;
    12  /
    Function created.
    SQL> create table tab1 as (Select level x, cast(null as number) y from dual connect by level <= 5);
    Table created.
    SQL> update tab1
      2    set y = (select s_wrapped from dual)
      3   where x <= 3;
    3 rows updated.
    SQL> commit
      2  /
    Commit complete.
    SQL> select *from tab1
      2  /
           X          Y
           1         10
           2         10
           3         10
           4
           5
    SQL>Regards
    Peter

  • Screen Sequence number for MM01 T.Code

    Hi,
    Do we have any screen sequence for MM01 T.Code ? If Yes, Can you tell me the screen sequence number for MM01 and how to find it for other T.Codes also?
    Thanks in advance
    Pavan

    Hi,
    Follow this path
    SPROIMGLogistic generalMaterial masterConfiguring the Material MasterDefine Structure of Data Screens for Each Screen Sequence
    21 will be the u201CStd ind.(short) tab pagesu201D
    In this if you double click on u201CData screensu2019 in that u201CSub screensu201D if you click on that  you can find the all screen sequences for material master, program and screen number all you can find there
    Regards,
    Pramod

  • Sequence number for group of values in column

    I need to create a sequnece number in a column starting from 5 and incremented by 5, based on values presenet in first column. If the value in first column changes then the sequence should start again with 5 and increment by 5.
    for example: I want to generate the following output
    Cat_code     Seq_No
    1001          5
    1001          10
    1001          15
    1001          20
    2001          5
    2001          10
    2001          15
    3001          5
    3001          10
    4001          5
    4001          10
    4001          15
    4001          20
    5001          5
    6001          5
    7001          5
    7001          10
    7001          15
    7001          20
    7001          25
    So if the cat_code changes, the sequence number should again start from 5 and should be generate sequence number until the cat_code changes again.
    any help apreciated.
    Thanks
    Rahul

    Hi, Rahul,
    You can use the analytic ROW_NUMEBR function to generate the numbers, like this:
    SELECT       cat_code
    ,       5 * ROW_NUMBER () OVER ( PARTITION BY  cat_code
                                     ORDER BY        NULL
                         )       AS seq_no
    FROM       table_x
    ORDER BY  cat_code
    ,            seq_no
    ;You must use an analytic ORDER BY clause when you call ROW_NUMBER. If you don't really care about the order, then you can ORDER BY a constant, but you still need the analytic ORDER BY clause.

  • Sequence Number for messages

    Hi,
    I need to implement a sequence number in the target structure for each time a message mapping is executed.
    As far as i can see on this forum and on sap.help.com it can be easily done with RFClookup inside the message mapping, and best implement something on abap-stack.
    I need to decide on using either a z-table or a number range and i need to decide whether to use PI abap stack or ECC abap stack.
    Any comments are useful.
    kr
    Robert

    Hi Bhavesh,
    I get interesting considerations on my question.
    It will be sequentially, almost for sure,  because i get this message via flatfile.
    Your second consideration is also interesting. Maybe the source can provide, maybe not (i'm not sure)
    Even more interesting if it is really necessary at the receiver side. This i actually asked the business, but still waiting for an answer. Meanwhile i just started looking around for the correct solution.
    kr
    Robert
    On second thought. It will be unique if i use number ranges with RFC lookup, because each number can only be used once.
    Edited by: R. den Hoedt on Mar 16, 2011 4:37 PM

  • Automatic sequence number for Inter-Org

    The problem which right now i am facing is that while making inter-org,... i am maintaining my own sequence... because system is not giving me any automated number... so due to this sometimes... sequence got disturbed... so is there any way.. that i can get the system generated sequence number.. as i am getting for sales order when i save it....if yes.. then please give me brief solution about this issue..
    Thanks,
    Junaid Iftikhar

    Hi,
    If you want your intercompany AR transactions to have a different numbering sequence from regular AR invoices, you need to setup a new transaction batch source for your interncompany AR transactions, a new order type and a new line type for your intercompany sales orders. When you define your order and line types, reference the new batch source you have just created in AR.
    AR Batch Source: AR Manager: Setup: Transactions: Batch Sources.
    Order an Line Type: OM Superuser: Setup: Transaction Types: Define.
    Hope it helps,
    Ketter Ohnes

  • How to generat sequence number for db in XSLT

    Hello SOA Gurus,
    I have a requirement, Please see below
    I am using SOA 11.1.1.6
    From a webservice call to db insert XSLT,  i have 10 elements at source side and 11 elements at target side.
    From source to target first 10 mappings are done.
    Now requirement is, for the 11th element in target- we need pass a sequence number to the targeted database, means---(sequence number has to be generated for every execution of XSLT execution)
    How to do the last point???
    Can anyone help me plzz

    Hi,
    You can pass the sequence number in the 11th element using "oraext:sequence-next-val("Sequence name as a string", "Datasource as a string") function.
    Regards,
    Anshul

  • How to print sequence number for a text item in a oracle reports

    Hi
    I have text item which repets for every round,if i have 3 or 4 rounds i should number the text item as 1,2,3,4 etc.... in a report.
    Can anybody help me
    Thanks in advance

    Hi Bob
    Thank you for your reply.
    Here is the data for example:
    Jobxxxx
    Round
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    So Bob everything is comming from tables except round.
    My question is how to add sequence number to round adn the result should be like this:
    Jobxxxx
    Round 1
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round 2
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round 1
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    Thank you in advance

  • Create Auto increment sequence number for list view report

    Hi All,
              Am using BAM 11.1.1.6 version, Have updating list report & wants to create auto increment sequence number at report level. Is it possible to create column at run time in BAM reports.
    Please help.
    Thanks.

    Hi All,
              Am using BAM 11.1.1.6 version, Have updating list report & wants to create auto increment sequence number at report level. Is it possible to create column at run time in BAM reports.
    Please help.
    Thanks.

  • IDOC to file: Increase sequence number for each item in a segment

    Dear All,
    I am having one scenario IDOC to file, where one IDoc with multiple items for an header in it will be sent.
    In Destination structure, for each iitem segment I am creating multiple rows. I have a field(INC_NUM) in target structure where in I have to start line number from 1 for each item.
    Also I have a condition - for item x or y I should only have the same line number.
    TinAdvance
    Swarna.
    Edited by: Swarna on Oct 24, 2011 8:15 AM

    Hello,
    You can use the statistic function called index for your requirement. Can you give sample input/output so that we can visualize further?
    Hope this helps,
    Mark

  • Determine Sequence Number for Full DR Restore

    According to Oracle’s documentation for performing a full DR using RMAN the following general steps need to be taken:
    1.     Restore the spfile.
    2.     Restore the controlfile
    3.     Set the ‘Set until sequence command’ –
    4.     restore database
    5.     recover database
    My question is how do you determine what to set the ‘until sequence’ to? Do you have to do this or will RMAN recover the database as far as it can and then you can issue the open database reset logs command?
    Thanks

    I am still a little confused.
    I know that I lost my current redo logs, I assume the production server is gone.
    How do I determine if I need to set the 'set until ' clause'
    I ran> list archivelog all;
    List of Archived Log Copies
    Key Thrd Seq S Low Time Name
    1883 1 1918 X 22-JUL-05 /orabkup/oraarc/edwdev_1_1918.arc
    1884 1 1919 X 22-JUL-05 /orabkup/oraarc/edwdev_1_1919.arc
    1885 1 1920 X 22-JUL-05 /orabkup/oraarc/edwdev_1_1920.arc
    1886 1 1921 X 22-JUL-05 /orabkup/oraarc/edwdev_1_1921.arc
    1887 1 1922 X 22-JUL-05 /orabkup/oraarc/edwdev_1_1922.arc
    I ran> list backup of archivelog all;
    BS Key Size Device Type Elapsed Time Completion Time
    903 599M SBT_TAPE 00:01:58 03-AUG-05
    BP Key: 903 Status: AVAILABLE Tag: INCR 1
    Piece Name: bk_uslgr4jl1_s917_p1_t565333665
    List of Archived Logs in backup set 903
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 2244 4136954621811 03-AUG-05 4136954623443 03-AUG-05
    1 2245 4136954623443 03-AUG-05 4136954796514 03-AUG-05
    Do I set the 'SET UNTIL SEQUENCE 2246 THREAD 1;' ?

  • How to get sequence number for tree level in tree table

    Hi,
    User would like to add a column as "Sequence" in the beginning of tree table. The tree table look like as following:
    Sequence Tasks Date
    1 ItemA
    subItem1 12/31/12
    subItem2 12/31/13
    subItem3 12/31/14
    2 ItemB
    subItem1 12/31/12
    subItem2 12/31/13
    subitem3 12/13/14
    How to add this sequence column in tree table?
    Thanks!
    Susan

    Check this sample:
    <af:form id="f1">
                    <af:treeTable value="#{bindings.Departments.treeModel}" var="node" styleClass="AFStretchWidth"
                                  columnStretching="last" selectionListener="#{bindings.Departments.treeModel.makeCurrent}"
                                  rowSelection="single" id="tt1">
                        <f:facet name="nodeStamp">
                            <af:column id="c1" headerText="Department Name" width="200">
                                <af:outputText value="#{node.index + 1} #{node.DepartmentName}" id="ot1"
                                               visible="#{bindings.Departments.treeModel.depth == 0}"/>
                            </af:column>
                        </f:facet>
                        <f:facet name="pathStamp"></f:facet>
                        <af:column id="c2" headerText="Employee Name">
                            <af:outputText id="ot4" value="#{node.FirstName} #{node.LastName}"/>
                        </af:column>
                    </af:treeTable>
                </af:form>Thanks,
    Navaneeth

  • Sequence Number in XI Mapping

    Hi All,
    I have scenario where a sequence number when mapping is done. Consider the example:
    In the source message I have one header and 10 line items in the message. The line item in the target message has a field called sequence number. When i map the source message to the target message each of the target line items hould have a sequence number in the order 1, 2, 3..10.
    How can this be done? Is there a feature in XI which lets us have a global variable which can be incremented for each line item or a java class which can generate new sequence number for each line item or something.
    I'm using message mapping. Java mapping is not used.
    Could you please help me?
    Thanks,
    Sandeep

    Hi Sandeep,
    u can follow these steps to generate a sequence no using global container.
    -> define a global variable by clicking the JAVA_SECTION_TOOLTIP icon on the design tab of source message type of ur message mapping.
    enter the following in the GlobalVariables Section
    Integer counter =0;
    -> define a user defined function (<b>SeqGen</b> let's say)
    write the following code in it.
    Integer seq = 0;
    GlobalContainer globalContainer = container.getGlobalContainer();
    a = globalContainer.getParameter("counter");
    seq = globalContainer.getParameter("counter");
    seq = seq + 1;
    globalContainer.setParameter("counter",seq);
    return a;
    now use this user defined function (SeqGen)in all ur mappings to the sequence no of ur line items.
    Hope this helps.
    Anil

  • Sequence Number Generation in XML Form Buider??????

    Hi All,
    I want to generate some Sequence Number for each XML Form Generated by the XML Form Builder Application?
    Ex: my XML Form Builder Application is "MYAPP". Using this I filled data and Save, then an XML will be created, then it should have some unique Number(say 1234), then if I fill the differennt Data and Save, then another XML will be created. For this the Number should be 1235, next 1236, ........
    I can use the XML Form ID, but that is not User friendly format. Becaz I need to display this Number to the End User.
    (Example: 10b2ae7b-e269-2b10-d88e-ddade2e62015.xml)
    If anybody have idea on this, Please guide me...
    Thanks&Regards||
    Ashok M.
    Edited by: Ashok Kumar Munugoti on Oct 16, 2008 8:04 AM

    closing this Thread.

  • MT940 format on Statement Number/Sequence Number

    Hi Expert,
    I have the following EBS source file, which has 2 sequence numbers:
    As you can read that the section of :28C is the section of Statement Number/Sequence Number.  According to MT940 standard, as follows:
    This field contains the sequential number of the statement, optionally followed by the sequence number of the message within that statement when more than one message is sent for one statement.   The statement number should be reset to 1 on 1 January of each year.
    The sequence number always starts with 001. When several messages are sent to convey information about a single statement, the first message must contain '/001' in Sequence Number.
    One SWIFT message may contain up to 2000 characters.
    My source file's Statement Number/Sequence Number is correct, which caontains 1 statment (00006) and 2 sequence number which are: 00001 and 00002.  But during EBS upload using FF_5, system only managed upload first portion of the source file, and when come to second portion, 00006/00002, it always says ERROR: EBS (00006) already exist.
    But, based on MT940 standard, it should be OK.
    Therefore, does anyone have any idea why SAP FF_5 cannot handle the EBS source file upload?  Any further settings / configuration in order to hanlde Statement Number/Sequence Number?
    Thanks in advance
    sbmel

    Hello,
    I have encountered the same issue on MT940 with statement number/sequence number in field 28C.
    Our bank sends us MT940 into 17 separate files with sequence number for the same statement number (i.e. 13040/0001, 13040/0002..... and so on) while following the rule as below
    intermediate closing balance must have code :62M:
    and intermediate opening balance must have code :60M:
    finalclosing balance must have code :62F:
    and initial opening balance must have code :60F:
    However, the upload of first file in FF_5 terminated with error FV151 Termination in statement no.acct .... ; closing record 62F missing and subsequent files are with FV150 missing beginning record 60F.
    Would you please share your expertise on how you managed to make FF_5 accept these MT940 files with sequence number?
    Thanks in advance for your help on this.
    Regards
    Taro

Maybe you are looking for