System generated Collective number in Quotation.

Hi All,
Is there any possibility or a way to have the collective number in quotation generated automatically.
Edited by: vamsi k on Sep 30, 2010 10:40 PM
Edited by: vamsi k on Sep 30, 2010 10:41 PM

Hi
IF it is BDC and if you are using Call Transaction then use like below.
    CALL TRANSACTION 'XXXX' USING GT_BDCDATA
                     MODE   GD_DISMODE
                     UPDATE GD_UPDMODE
                     MESSAGES INTO GT_MESSTAB.
    IF SY-SUBRC <> 0.
      LOOP AT GT_MESSTAB .
        SELECT SINGLE TEXT FROM T100 INTO GD_TEXT WHERE SPRSL = 'E' AND ARBGB = GT_MESSTAB-MSGID AND MSGNR = GT_MESSTAB-MSGNR.
        REPLACE FIRST OCCURRENCE OF '&' IN GD_TEXT WITH GT_MESSTAB-MSGV1.
        REPLACE FIRST OCCURRENCE OF '&' IN GD_TEXT WITH GT_MESSTAB-MSGV2.
        REPLACE FIRST OCCURRENCE OF '&' IN GD_TEXT WITH GT_MESSTAB-MSGV3.
      ENDLOOP.
Regards,
Vijay V

Similar Messages

  • Why is the system generated invoice number jumping by 20?

    Hello,
    We have a document sequence set for our internal invoices that was created recently. When an invoice is dropped, we noticed that the number has jumped by 20. Why is that? How do I correct this?
    Thank you
    SK

    Hi SK,
    Please check the underlying database sequence for the document sequence set. It is quite possible that the database sequence has been created with the cache option set to 20. If that is the case, then specifying the 'no cache' option should resolve the issue.
    PS: Oracle does not support the manipulation of database objects.
    Regards,
    Sujoy

  • Generating the Number

    Hi
    I want to generate a number for Vendor such that it is conactenation of the Region and a SequenceNumber.
    Ex: For North & range 1-1000-----> N0001,N002....N0999
          For South & range 1-1000-----> S0001,S0002....S0999
    Similarly for East and West E0001 & W0001.
    Can anyone help me in this issue.
    Regards
    Nagalakshmi.

    The short answer is you can technically achieve this by means of an assignment.  You would have an Auto ID field and a table that stores the different ranges.  You then sum the values of the auto ID field to the range (or concat, based on what field type you define). 
    However, this may not be the best approach because then your number ranges are going to have gaps in them.  For example, if you have three ranges:
    1000-1999
    2000-2999
    3000-3999
    And you have one Auto ID field that increments every time you create a new record.  Your assignment will add the value of the auto id field to the range when you create a new record.  However, there is a problem that I will demonstrate below.
    1.  You create the first record and it's supposed to use range number 1.  The number looks like this: 1001.
    2.  You create a second record and it uses range number 2.  The number looks like this: 2002.
    3.  You create a third record and it uses range number 3.  The number looks like this: 3003.
    4.  You now create a fourth record using range number 1.  The number looks like this: 1004. 
    As you can see there is a gap of three numbers between 1001 and 1004.  This is because the Auto ID field will increment regardless of what range you are using.  This is a problem if you design your ranges to be small, because you may run out of numbers.  If you are going to use this approach, then you should design your ranges to be very large.
    Otherwise you need another approach.  At one of my clients we solved this problem by building a custom iView in the portals which used the Java API to generate the number.  We have three tables (account group, number range, number range map).  The range was dependant upon the account group that was selected.  Number range table stored all of the ranges.  And number range map allowed you to select an account group and the corresponding number range.  So when the user created a new record in the iView, our java api program would first lookup the number range mapping table and find out based on the account group which range to select from the range table (by using a key).  It would then go into the range table, increment the range value and then assign that value to the number field.
    That's one way of doing it.  But honestly, I would recommend having your remote systems generate the number when MDM pushes the record out, and then interface the number back to MDM and store it in the key mappings.

  • Reg: Generating  custom number instead of system generated no in ME21n

    Hi Experts,
                      I need to know user exits or Badi to generate custom number instead of system generated number while saving p.o ME21n transaction.
    Regards,
    Vikram.S

    Vikram,
    Instead of doing it programatically , ypu can satisfy your requirement in configuration settings.
    check SPRO with the help of functional consultant.

  • How to generate a Ref-number automatically ( System Generated) in ABAP

    Hi,
         I have created a z-table where ref_number is the key field. I want to fill this table automatically by system so that whenever a new record by customer is entererd, this ref_number will be given to them with response.
    So Could any one help me out,
    Gud points will be rewar5ded for useful answers.
    Thanks in advance,
    Sunil

    Hi Sonali,
                       Thanks for you kind reply, but I am not able to get the System generated REQ_NUM and fill the table with the same. The program is as follows,
    Could you help me out,
    INCLUDE MZFIRSTPAGETOP                          .    " global Data
    TABLES: ZCHP_CUST_INFO.
    *DATA: OKCODE LIKE SY-UCOMM.
    DATA:   CNAME LIKE ZCHP_CUST_INFO-CREATED_BY,
            REQTYP LIKE ZCHP_CUST_INFO-REQUEST_TYPE,
            DESC LIKE ZCHP_CUST_INFO-SHORT_TEXT,
            PRIO_TYPE LIKE ZCHP_CUST_INFO-PRIORITY_TYPE,
            EFFECTIVE_DATE like ZCHP_CUST_INFO-REQUIRED_STR_DAT,
            COMM_TYP like ZCHP_CUST_INFO-MODE_OF_COMM,
            COMM like ZCHP_CUST_INFO-ADDRESS,
            REF_NUM LIKE ZCHP_CUST_INFO-REQ_NUM.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'FOR1000'.
      SET TITLEBAR '1000'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    INCLUDE MZFIRSTPAGEO01                          .  " PBO-Modules     *
    INCLUDE MZFIRSTPAGEI01                          .  " PAI-Modules     *
    INCLUDE MZFIRSTPAGEF01                          .  " FORM-Routines   *
    *&      Module  USER_COMMAND_1000  INPUT
          text
    MODULE USER_COMMAND_1000 INPUT.
    CASE SY-UCOMM.
      WHEN 'SUBMIT'.
            ZCHP_CUST_INFO-CREATED_BY = CNAME.
            ZCHP_CUST_INFO-REQUEST_TYPE = REQTYP.
            ZCHP_CUST_INFO-PRIORITY_TYPE = PRIO_TYPE.
            ZCHP_CUST_INFO-SHORT_TEXT = DESC.
            ZCHP_CUST_INFO-CREATED_ON = EFFECTIVE_DATE.
            ZCHP_CUST_INFO-MODE_OF_COMM = COMM_TYP.
            ZCHP_CUST_INFO-ADDRESS = COMM.
    INSERT ZCHP_CUST_INFO.
    COMMIT WORK.
    *GENERATING A REF_NUMBER.
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    nr_range_nr = '01'
    object = 'ZCHP_CUST_INFO'
    QUANTITY = '1'
    SUBOBJECT = ' '
    TOYEAR = '0000'
    IGNORE_BUFFER = ' '
    IMPORTING
    number = ZCHP_CUST_INFO-REQ_NUM " specify ur wa field
    QUANTITY =
    RETURNCODE =
    EXCEPTIONS
    interval_not_found = 1
    number_range_not_intern = 2
    object_not_found = 3
    quantity_is_0 = 4
    quantity_is_not_1 = 5
    interval_overflow = 6
    buffer_overflow = 7
    OTHERS = 8.
    WHEN 'RESET'.
           CLEAR: CNAME,REQTYP,PRIO_TYPE,
    DESC,EFFECTIVE_DATE,COMM_TYP,COMM.
      WHEN 'CANCEL'.
            LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1000  INPUT
    Thanks in advance,
    Sunil K Shetty

  • System generated number

    Hi all,
    I m developing a module pool with z table 1 Header & 1 Item table. Now I would like  to ask how I can get system generated number for the pk filed supose gate pass number and my filed type is char 10.
    When user enter a new entry then system will auto generqte the gpass number .
    so pls let me know if any one can help me to do this job.
    Thanks in advance.
    manju

    Hey Manju,
    first pre determine what range your number should be having , like  starting from 0000000001 like that or 1000000001 etc, after that  :
    Scenario 1 ( if you have to show the number as a field  on the screen)
    write a select query in the PBO of the screen as below
    let the field name be gateno.
    select max(gateno)
              from <dbtab>
              into < var1>.
    this will fetch the last number and then you can increase it.
    if syst-subrc is initial.
    var1 = var1 + 1.
    endif.
    move the value of var1 to the screen field name.
    Scenario 2 ( If you just need to update in the database table)
    write the above select query in the PAI module of the screen when the user performs some action like SAVE.
    Hope this helps,
    reward if useful,
    Regards ,
    RK

  • Jpub generated collections and SLOW RETRIEVAL

    Oracle 8.1.6 EE
    SQLJ/JDBC 8.1.7
    I use jpub to generate oracle specific usertypes (i.e) -usertypes=oracle. All the classes generate fine and I can use them in my code. The problem is that when I try to use the getArray() or getElement() methods from the generated collection class, it is REALLY SLOW. On the order of two minutes to retrieve 30 records. Using a test harness in SQLPLUS the retrieval is fast. On the order of milliseconds.
    I call a stored procedure that returns the array of objects.
    The object looks like this ...
    CREATE OR REPLACE TYPE account_item AS OBJECT
    id number,
    name varchar2(200),
    tag_id varchar2(50),
    state varchar2(20),
    zip varchar2(20),
    primary_contact varchar2(200),
    phone varchar2(20),
    status varchar2(50),
    broker varchar(200)
    The collection type looks like ...
    CREATE OR REPLACE TYPE account_item_list AS TABLE OF account_item
    Does anyone from the jdbc/sql group have any idea why this would be happening ??
    Thanks.
    Joe
    null

    Ad (1): No idea. Retrieving 9 records each with a nested table of 30 items is practically instantaneous. (Using 9.0.1 client and server and OCI.) Are you using thin or OCI JDBC? Maybe there is an issue connecting between an 8.1.7 client and a 8.1.6 server? (The 8.1.6 JPub runtime had bad performance. 8.1.7 is much improved and should be about equal with 9.0.1.)
    Ad (2): With the SQL definitions of account_item and account_item_list and the following table in the scott/tiger schema:
    create table accounts (id number, account account_item_list)
    nested table account store as accounts_nested_table;
    you can run JPublisher as follows:
    jpub -user=scott/tiger -sql=account_item:AccountItem,account_item_list:AccountItemList
    Then use the following program TestAccount.sqlj (can't resist SQLJ here):
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    import sqlj.runtime.ResultSetIterator;
    public class TestAccount
    { #sql public static iterator Iter (int id, AccountItemList account);
    public static void main(String[] args) throws SQLException
    { Oracle.connect("jdbc:oracle:oci:@","scott","tiger");
    Iter it;
    #sql it = { select id, account from accounts };
    while (it.next())
    printList(it.id(), it.account().getArray());
    it.close(); Oracle.close();
    private static void printList(int id, AccountItem[] items) throws SQLException
    { System.out.print("List "+id+" [");
    for (int i=0; i<items.length; i++)
    { System.out.print(items[i].getId());
    if (i < items.length-1 ) System.out.print(",");
    System.out.println("]");
    Compile everything with:
    sqlj *.java *.sqlj
    And then run:
    java TestAccount

  • Confusion over nested tables and system generated nested tables

    Hi,
    I have been reading other threads about nested tables, naming and updating them etc, but I have what seems
    to me some odd behaviour.
    I modified my schema to set the attribute xdb:maintainDom to be false for a collection and then registered
    the schema with the generate tables option defaulted to true. The result was that I had to add xdb:tableProps
    attributes specifying nested table storage at each element above the collection element, this was because Oracle
    was creating tables at each level. So I have this kind of thing:
    <xsd:element name="BibPt" xdb:SQLType="BIBPT_T"
      xdb:defaultTable="BIBPT"
      xdb:tableProps="NESTED TABLE XMLDATA.PTEES.PTEE_SEC.PTEE STORE AS NESTED_PTEE_SEC
    NESTED TABLE XMLDATA.INVS.INV STORE AS NESTED_INV_BIBPT TABLESPACE BIBLIO">
    <xsd:element name="Ptees" xdb:SQLType="PTEES_T" xdb:tableProps="NESTED TABLE
    XMLDATA.PTEE_SEC.PTEE STORE AS NESTED_PTEE_SEC2">When I did this the nested tables were created, but when I loaded data never had anything in them. Instead
    I found that nestes tables with systems generated names like "SYSNTxxxxxxxxx" has been created that contained
    the data.
    When I registered the schema without the tables being generated, I created a table with this syntax:
    create table poc_wip2 of xmltype
    xmlschema "http://www.derwent.co.uk/wpi.xsd" element "WPI"
    NESTED TABLE XMLDATA."BibPt".PTEES.PTEE_SEC.PTEE STORE AS NESTED_PTEE_SEC
    NESTED TABLE XMLDATA."BibPt".INVS.INV STORE AS NESTED_INV_BIBPT(Thanks to a posting by Sam Monsarrat which showed me this was possible).
    Now I had my named nested tables, which contained the data after it was loaded and no system named
    nested tables.
    So why the difference?
    In the first instance why do my named nested tables stay empty and why does the data go into system
    generated tables I have no control over as regards tablespace placement?
    Is it possible to have a XML schema registered that only generates tables that I have named with the defaultTable
    attribute, rather than all or nothing?
    And last but not least, what's the best approach for this, since I want to be able to access the data via indexes
    on the nested tables.
    Thanks
    Pete

    Hi Pete
    Would you please publish the schema you are using?
    Thanks,
    Tobias

  • System generated index property not generated in database

    Hi,
    I created an offline table by copying it from an (first) online database to my project. The table contains a unique key constraint, which references a system generated index. Now I used this offline table to generate a table in another (second) online database. This all works well except, that the "System Generated" property of the index is "false" and not "true" as in the offline table (and the first online database). When I manually reconcile the same table to the second online database again, there is always a difference shown for this index property. When I try to continue the reconcile process to change this property I get an error message, that the index cannot be dropped because it is obviousely referenced by the unique constraint.
    When I drop the constraint and try to generate the index only I get the following warning message:
    Jan 11, 2012 2:08:59 PM oracle.javatools.db.property.AbstractPropertyManager processDiffs
    WARNING: Unsupported property: systemGenerated
    Is there a way to work around this annoying behavour? Is it possible to change this index property by an ALTER INDEX statement?
    Im using JDeveloper 11.1.2.1.0 (Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081)
    Thanks for help and hints
    Thomas
    Edited by: thmayr on 11.01.2012 05:08

    Hi,
    it might be due to some BUG in RDBMS...
    First Check the Secondary index in TEST system
    Look at the Transport Number in DEV system, If this is having error, then it will show you the error details also,
    If that not moved Properly then you need to create another request for the INDEX and move it again
    See the threads with similar problem...
    Warning: Index does not exist in database system MSSQL
    Index does not exist in database system ORACLE??????
    Re creation of database index
    Hope it will solve your problem...
    <b>Reward Points if useful</b>
    Thanks & Regards
    ilesh 24x7

  • System generated column names

    Version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    I see some system generated column names(like SYS_C00009_13061211:44:57$,SYS_C00033_13061211:44:57$) in ALL_TAB_COLS view for a partitioned table, not sure how they got created in the first place and tabledoesn't have any virtual columns. Is it something if we drop a column from table and oracle trying to keep them in the dictionary? when i describe the table these "SYS_C00" columns are not showing.
    I am trying to exchange the partition with staging (similar structure) table, but i end up with this error "
    14097. 00000 -  "column type or size mismatch in ALTER TABLE EXCHANGE PARTITION"
    *Cause:    The corresponding columns in the tables specified in the
               ALTER TABLE EXCHANGE PARTITION are of different type or size
    *Action:   Ensure that the two tables have the same number of columns
               with the same type and size."
    Any suggestions would be appreciated.
    Thanks,
    sg

    I have found my solution to this problem.
    My table is compressed table and when i try to drop some of the columns oracle marking them as unused(SYS_CO with timestamp) instead of dropping them. For partition exchange i have created same number of columns as original table in the same order and marked the "dropped" columns as unused on a temporary table. Now i can able to exchange the partition with out any issues
    Thanks to Jonathan and Connor.
    EXCHANGE PARTITION those pesky columns | Learning is not a spectator sport

  • Change of vendor number in quotation

    Dear fellows,
    I have a query regarding with RFQ process.
    Suppose a quotation is created for a project. In terms of this quotation several vendors could bid with their price. If there is not a valid vendor master record, i.e., has not yet created in SAP, we use a unique one time vendor (vendor number starts with 90*) while creating quotation. If one time vendoru2019s quotation is approved among other bids we create a valid vendor master record through XK01 (vendor number starts with 20*).
    Once quotation is created vendor number field becomes grey, not changeable, is there any possibility where we can change vendor number in quotation from unique one time vendor to actual vendor number; i.e. 90* => 20*   
    Regards
    Metin

    Hi,
    Why you want to chnage vendor number in quotation?
    RFQ sends to vendor and vendor send quotation and you maintaion the quotation with vendor number. After mainationing quotation, why you want to chnage vendor number in quotation.Ok. If somehow system allow you to change vendor name in quotation, Is your business process allow you to do so  OR how your business owner will react! No business process /owner will allow,rt*
    If process allow, then go for concept creation of quotation and maintaning of quoation without vendor and then go for creation of PO.
    Regards,
    Biju K

  • Sorting rule for generating voucher number ina payment batch.

    Hi All,
    How does system generate the voucher number in a payment batch?
    In my system, some voucher number in a payment batch seem sorted by supplier name, some are not.
    I want to know is there any sorting rule for generating voucher number in a payment batch?
    Thanks in advance,
    Best Regards.
    Edited by: user631092 on Jul 16, 2009 3:07 PM

    Hi John,
    Thanks for your information. Maybe I did not explain clearly.My problem is...
    If my setup for payment doucument sequence is starting with 200900000001.
    The user create a payment batch for 10 payments, 200900000001~200900000010.
    I am wondering how does the system decide which payment is 200900000001, which one is 200900000002?
    My users used to file the physical document sorting by supplier name for one batch.
    Most of time, the payment document numbers are also sorted.For expamples,
    200900000001 Supplier A
    200900000002 Supplier B
    200900000003 Supplier C
    Sometimes the sequence become like this,
    200900000001 Supplier B
    200900000002 Supplier A
    200900000003 Supplier C
    Thank you.
    Best Regards,
    Edited by: user631092 on Jul 16, 2009 3:23 PM

  • BAPI_ACC_DOCUMENT_POST & generated document number

    Hi,
    I am using BAPI function BAPI_ACC_DOCUMENT_POST to post financial documents in the system. My question is, how properly retrieve generated document number (BKPF-BELNR). We are using internal document number generation so the function generates document number. But, function itself, does not return generated document number. Currently, after commit I try to locate a record of generated document using reference key ... Isn't there any better way how to get generated document number?
    Tkank you.

    Yes, I found this code ... as I wrote, there is not problem if I set curtp = '10'. BUT, there is another problem, with different currencies. Then, when I try to post document in different currency that the currency of company code is, function raises error "Inconsistent currency information" ...
    here is an example, how I fill tax information, as requested:
    DATA:   docHeader     TYPE BAPIACHE09,
            accGL         LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE,
            accReceivable LIKE BAPIACAR09 OCCURS 0 WITH HEADER LINE,
            accAmnt       LIKE BAPIACCR09 OCCURS 0 WITH HEADER LINE,
            accTax        LIKE BAPIACTX09 OCCURS 0 WITH HEADER LINE,
            extension     LIKE BAPIACEXTC OCCURS 0 WITH HEADER LINE,
            tax_account   TYPE STRING,
            tax_code      TYPE STRING,
            tax_trans     TYPE STRING,
            tax_spec      LIKE ZIFPRMS-VALUE,
            itemno        TYPE N LENGTH 10.
    * initialize document header
      docHeader-bus_act    = 'RFBU'.
      docHeader-username   = sy-uname.
      docHeader-header_txt = fin_data-text.
      docHeader-comp_code  = header-company_code.
      docHeader-doc_date   = header-document_date.
      docHeader-pstng_date = fin_data-posting_date.
      docHeader-ref_doc_no = header-id_sale.
      docHeader-doc_type = params-doc_type.
    * process document items, in loop
      LOOP AT fin_items INTO fin_item.
    * initialize AR (line 1)
         accReceivable-itemno_acc = itemno.
         accReceivable-customer   = cus_data-id_contact.
         accReceivable-comp_code = header-company_code.
         CONCATENATE fin_item-text ' (receivable)' INTO accReceivable-item_text.
         accReceivable-pmnttrms = params-payment_term.
         accReceivable-pmnt_block = params-payment_block.
         IF doc_type = 'APR'.
            accReceivable-sp_gl_ind = 'F'.
         ENDIF.
         APPEND accReceivable.
    * initialize receivable amount
         accAmnt-itemno_acc = itemno.
         accAmnt-currency = fin_data-currency.
         accAmnt-curr_type = '10'.
         accAmnt-amt_doccur = fin_item-vat_base + fin_item-vat.
         IF doc_type(2) = 'CR'.
            accAmnt-amt_doccur = accAmnt-amt_doccur * ( -1 ).
         ENDIF.
         APPEND accAmnt.
         itemno = itemno + 1.
    * do not continue when posting a down payment request
         CHECK doc_type < > 'APR'.
    * initialize GL account line item
         accGL-itemno_acc = itemno.
         accGL-gl_account = params-doc_gl_account.
         CONCATENATE fin_item-text ' (revenue)' INTO accGL-item_text.
         accGL-pstng_date = fin_data-posting_date.
         accGL-tax_code = tax_code.
         accGL-doc_type = params-doc_type.
         accGL-costcenter = fin_item-cost_centre.
         APPEND accGL.
    * initialize GL amount
         accAmnt-itemno_acc = itemno.
         accAmnt-currency = fin_data-currency.
         accAmnt-curr_type = '10'.
         accAmnt-amt_doccur = - ( fin_item-vat_base ).
         IF doc_type(2) = 'CR'.
            accAmnt-amt_doccur = accAmnt-amt_doccur * ( -1 ).
         ENDIF.
         APPEND accAmnt.
         itemno = itemno + 1.
    * initialize TAX account line item
         IF STRLEN( tax_code ) > 0.
            accTax-itemno_acc = itemno.
            accTax-gl_account = tax_account.
            accTax-tax_code   = tax_code.
            accTax-cond_key   = 'MWAS'.
            APPEND accTax.
    * initialize tax amount
            accAmnt-itemno_acc = itemno.
            accAmnt-currency = fin_data-currency.
            accAmnt-curr_type = '10'.
            accAmnt-amt_doccur = - ( fin_item-vat ).
            accAmnt-amt_base = - ( fin_item-vat_base ).
            IF doc_type(2) = 'CR'.
               accAmnt-amt_doccur = accAmnt-amt_doccur * ( -1 ).
               accAmnt-amt_base = accAmnt-amt_base * ( -1 ).
            ENDIF.
            APPEND accAmnt.
            itemno = itemno + 1.
         ENDIF.
      ENDLOOP.
    * translate customer field to BAPI format
      CALL FUNCTION 'MAP2E_BAPICOBL_CI_TO_BAPIEXTC'
         TABLES    INTERNAL_CI_COBL      = cust_ext
                   EXTENSION_CODINGBLOCK = extension.
    * call BAPI function to create customer invoice
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
         EXPORTING DOCUMENTHEADER = docHeader
         IMPORTING OBJ_TYPE = obj_type
                   OBJ_KEY  = obj_key
                   OBJ_SYS  = obj_sys
         TABLES    ACCOUNTGL = accGL
                   ACCOUNTRECEIVABLE = accReceivable
                   ACCOUNTTAX = accTax
                   CURRENCYAMOUNT = accAmnt
                   EXTENSION1 = extension
                   RETURN = returnTab.
    Edited by: Rastislav Mojzis on Jul 9, 2008 7:18 AM

  • Generating Symbolic Number at the time of Syndication

    Hi! All
    I have the following user requirement:
    The Material number in one of the client system is in the following format-
    70000-00001, which is a symbolic number. There are already 54000 records in that particular system. These records needs to be cleaned by MDM and then syndicated back to the respective system with the number being generated in the same format ie. symbolic number and also if any record is added further, it should  generate the number in the ascending order. For Eg. 70000-00001, 70000-00002, 70000-003, etc.
    Please suggest me the best possible solution. Thanks in advance for the same.
    With Best Regards,
    Devendra Pandey

    hi,
    if you have AUTO ID field in the main table. It will generate number for each record in the ascending order only.
    for example:
    700000-00001 for this record the auto id is  001 .
    when ever you are syndicating, you can use Cust Items property in the syndicator ( concatenation of two fields).
    you can set custom delimiter for custom items.
    EX:
    1.create a custom item( ex: custom number ), in that custom tab, you can create the formula, click on that formula,
    2.select the fields, you want to concatinate, ( in our example: material number and auto ID,), this custom filed you find in the source items.
    3.map this Concatinated field to Destination item.
    4.and you can synicate
    hope this may help you,
    Regards,
    Srinivas

  • System generated value for a field and incrementing (using module pool pro)

    Hi,
    I'm getting system generated value for a field and incrementing (i.e done by coding) when i'm saving the screen or transaction (which is created using module pool programming) while modifying, saving its working fine, but when i'm going out of the screen or exit n again i start the screen (with some ztransco) the value for the field again starting from 0 so i want to start from the same value for a field where we exit or got out from the screen n incremented respectively while saving the screen,
    Thanks & Regards,
    MS
    Edited by: Rob Burbank on May 4, 2010 10:40 AM

    Search the forum for number range objects.
    Rob

Maybe you are looking for