A randomly assigned number

There is any way to add in a field a a randomly assigned unique number when a user submit the form?
This number will be stay the same doesn`t matter how many times you open and save the form.
Thank you for your help

The number is based on the current date and time - it's all explained in that thread.
Not sure what your second question means? As far as I know the forms would have to be opened at the same second for there to be a number collision.

Similar Messages

  • How can I randomly assign addition or subtraction in a for loop?

    Does anyone have any ideas for how I can randomly assign a for loop to add or subtract random numbers throughout various itterations?  My current code generates two random numbers and adds them together for a set number of itterations.  I need some random itterations to be subtraction.  Thanks in advance!  
    Solved!
    Go to Solution.
    Attachments:
    Screen Shot 2015-06-11 at 7.56.31 AM.png ‏36 KB

    Add another Random Number generator and compare the result against 0.5. Use a case structure around your addition/subtraction operator.
    Seems like you might also want to output which operation actually got picked.

  • Assignment Number updation

    Hi,
    Scenario 1: Contract --> Invoice --> Credit memo Request --> Credit Memo.
    In the above process cycle, we have the contract number appearing in the assignment number field of the credit memo - As desired.
    Scenario 2: Sales Order --> Returns Order -->  Credit Memo.
    In the above process cycle, we have the Returns order number appearing in the assignment number field of the credit memo - which is not expected. Whereas, we want the sales order number to appear in the assignment number field of the credit memo.
    The copy control settings for both Credit memo Request --> Credit Memo &
                                                           Returns Order -->  Credit Memo
    are: allocation number field has the option - "B" - Sales Order.
    For the billing document type --- the allocation number field has the option as "Blank"
    Regards

    Hi,
    For credit memo, you can get return order numer if you maintain "B" in copy control
    If you need  Previous sales order number then maintain sales order number in PO field of return order and you will get in credit memo if you set "A" in copy control
    Thanks
    Chidambaram

  • Problem in assigning number range to support desk messages

    Gurus ,
    we are in the process of configuring service desk in solution manager
    7.0 .
    so far the following steps were done ,
    - implemented note 898614
    -Activate Solution Manager Services via SICF
    -activated BC sets for service desk
    -Fetched SAP components vis DSWP
    -Assigned number range for ABA notification via DNO_CUST01
    but while assigning the support desk for service messages via ,
    SPRO--> SAP Solution Manager --> Basic Settings --> SAP Solution
    Manager System --> Service Desk --> Number Ranges for Notifications.
    Then press the execute icon ( ) next to Assign number range for Service
    Desk Messages.,
    when assigning internal number as '01' and external number as '02' and clicking on save button we
    get the error as "Enter valid number range interval '

    Hi Susin,
    you may have a look at this to get more information about number ranges
    http://help.sap.com/saphelp_nw70/helpdata/EN/2a/fa02fd493111d182b70000e829fbfe/frameset.htm
    A number range is a range of numbers which are assigned to objects uniquely.
    Such numbers are some kind of identifiers (which may be used to describe obejcts). In your case the ABA / Basis notifications are identified by those unique numbers.
    Hope this clarifies things a bit.
    /cheers

  • Po number as assignment number for each item in MIR4 using substitution

    Hi All,
    Using substitution rule in GGB1 iam getting assignment number as PO number only for GL documents.
    But i need the same PO number as assignment number for cleared item documents...
    iam getting YYYYMMDD field as assignment number for each line item....but i need PO number...
    how can i achieve it...
    pls help experts...
    Regards
    Ram
    problem solved
    Edited by: gajeramesh on Feb 3, 2010 2:25 PM

    Hi,
    After creating the items you can write your own text upload program to upload the item texts. Note it cant be uploaded through BAPI or BDC.
    Search the forum for SAVE_TEXT FM, you will get lots of examples for this.
    Also Read the FM documentation for the above FM in SE37.
    Regards
    Karthik D

  • Assignment Number for Special G/L Account

    Hello,
    Doing some tests in version ECC 6.0 the field BSEG-HZUON (G/L allocation number) is not being filled while I am manually inputting the assignment (BSEG-ZUONR).
    When I search items in FBL3N I cant see the assignment number because the special g/l account assignment is not being filled.   This doesnt happen in version 4.6c.
    What could be the reason for this?
    Thanks,
    Alex

    HI Alex,
    A distinction is between reconciliation account and non-reconciliation account. For reconciliation account:-
    The sort key in the master data of the G/L account fills field BSEG-HZUON. Field BSIS-ZUONR is filled via field BSEG-HZUON here.
    Field BSEG-ZUONR can be filled manually or, for example, via the sort key of a customer (if it is a reconciliation account for customers Sort key reconciliation account   > BSEG-HZUON   > BSIS-ZUONR
    Please refer to note 334466,and 676338 on how field BSIS-ZUONR is filled?
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • How to check four cleared items in single assignment number

    Sir, I have passed Entry in F-28 for  payment  received against four bills in single assignment number. Now I want to check four bills in single assignment number in cleared item. Pl advice.
    Ajit Dutta
    Guwahati Airport

    hi Ajit,
    pls try using FBL5N, to display the line items
    Regards,
    nishant

  • Assignment number in MIRO

    Dear all,
    When I proceed Non-PO invoice (FB60), there is one column in line-item: Assignment Number. I use this column to post serial number so that I could use when I do tax report.
    My Tax report can only get data from invoice's line items but header.
    My concern now is in MIRO, I couldn't find Assignment No. column though I tried to apply all layout that exists.
    Please tell me where can I put my serial number, or where the Assignment No. column now is in MIRO?
    Please be noticed that in MIRO we don't have much modifiable column left.
    I would appreciate your help a lot.
    With best regards,
    Linh

    Hi,
    You will find the assignment field in MIRO in header > Details tab
    Regards,
    SDNer

  • MR11_OLD and assignment number

    Hello,
    One of our program uses BDC for MR11_OLD , we found that it is trying to populate the assignment number field for all the items which are non GR/IR line items and this is not happeneing for all but few, I want to know how I can correct this problem? Any SAP notes or inputs on this would be appriciated.
    Thanks

    Information saved in phone's cache will only get deleted when space it takes is overwritten with something else.
    If you restore your phone and set up as new and sync only contacts from the cloud you will clean out old info, but at expense of losing a lot of stuff. Short of full restore ( or just plane erase) of the phone there is nothing that will clean the cache.

  • BAPI_CREDIT_ACCOUNT_GETSTATUS Including assignment number

    Hi,
    I can use BAPI_CREDIT_ACCOUNT_GETSTATUS to view the customers account with all line items but its missing the assignment number which is the customer document number i.e. invoice or credit memo etc (structure RFPOSXEXT, fieldname ZUONR, data element DZUONR)
    Please can anybody help me include this in the BAPI ?
    thanks
    Rob

    Hi,
    Please try to change the serial number manually in mE22N and see.
    Regards,
    Nagaraj

  • Wrong billing assignment number

    Hi,
    We have 2 companies for which we use delivery based invoicing. Both companies use same order- delivery and billing types however for one of our company the invoice is generated with a wrong assignement number (being the shipment #). As per our configuration, in the copy control to billing the setting is E = billing doc. (no u-exit or any sort of customization).
    The only difference between the companies is one is using the transportation module and the other doesn't. The issue arises with the one using the transportation module. The item sold can be the same in both company and are both ZTAN . This causes issues for our collection dept. as they use assignment number in the FI document being fed by the billing doc. to reconcile the multiple partial payments we have in our industry.
    Note that this is not related to the GL account settings such as the FSG, both are using the same with same settings.
    Any idea?
    Thanks!

    and its shipment doc:
    Above is company B documents
    and below invoice from company A and this is how we want B to be:
    Finally VTFL:
    Let me know if this suffies
    BR,
    GV

  • Assignment number in SO Header maps to which segment of ORDERS05?

    Hi All,
    Can anyone let me know the ORDERS05 IDoc segment that corresponds to the Assignment number field in sales order header Accounting tab?
    I need to specify the assignment number while creating a new order through IDoc.
    Thanks.
    Regards,
    Riyaz

    Hi,
    Use transaction we60 to find the relevant documentation for your idoc type.
    regards,
    Jakub

  • Assignment number Field in sales order header

    Hi All,
    Can anyone let me know the ORDERS05 IDoc segment that corresponds to the Assignment number field in sales order header Accounting tab?
    I need to specify the assignment number while creating a new order through IDoc.
    Thanks.
    Regards,
    Riyaz

    Hi,
    Use transaction we60 to find the relevant documentation for your idoc type.
    regards,
    Jakub

  • Usage of Assignment number in VBAK-ZUONR

    HI Everybody,
    Can anyone throw light on the usage of the Assignment number feild in sales order header Accounting tab.
    How effective can we use this feild. Can anyone tell me with a small example.
    Thanks in advance.
    Regards,
    Pavan

    The user exit is a custom amendment to the standard code.
    You can use it as you wish to manipulate/populate data.
    These are the user-exits available for Sales Orders:
    SDAPO001            Activating Sourcing Subitem Quantity Propagation
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan

  • Random generated number along with barcode in smartforms

    Hi All,
    Is it possible to add some random generated number by system to add along with the end of the barcode in smartforms. (what could be the field) If so how it can be done. Tanks in advance
    Regards
    GK

    Hi Tankx man 4 the valuable reply,
         I am able to get that, but what my problem is,
    Eg: In my GR a item with 10 qty, so i made the qty as input and based upon that i am printing 10 labels. for ur ref the code is below"
    menge = TRUNC( is_mseg-menge ).
    DO menge TIMES.
    header-slno = header-slno + 1.
    APPEND header TO itab.
    the complete program is like as follows;
    menge = TRUNC( is_mseg-menge ).
    DO menge TIMES.
    header-slno = header-slno + 1.
    APPEND header TO itab.
    CALL FUNCTION 'QF05_RANDOM_INTEGER'
    EXPORTING
    RAN_INT_MAX   = '999999999'
    RAN_INT_MIN   = '100000000'
    IMPORTING
    RAN_INT       = RANINT
    EXCEPTIONS
    INVALID_INPUT = 1
    OTHERS        = 2.
    IF SY-SUBRC EQ 0.
    ENDIF.
    WRITE :/ RANINT.
    ENDDO.
    but in my barcode all the label has the same random number, can u say how to solve this.

Maybe you are looking for

  • My Mastercard was working effectively

    My Mastercard was working effectively, suddenly it stopped ! it says my payment method is not accepted ! why I have money in my card but still cann't use it

  • Certification for oracle bpm 11g

    HI, can we have a certification for oracle BPM 11g. if possible, when can we expect that beta exam. regards ashok.v

  • Text messages disappearing... Why?

    I was going through a message thread on my phone earlier when I realised that the thread only goes back about a month. I have been messaging this person for about 3 months now and I've not deleted a single message deliberately. My question is, does t

  • Can you put objects on top of movies.

    The submission date is closing in and I am stuck! Is it possible to place buttons on graphics on top of a quicktime movie in Director. I have an actor pointing to the left and I want a button to appear. The right and again another button! My video is

  • Mail permanently offline 10.9.4

    I have 5 accounts in mail and it worked pretty well in my last mac, but on this one it stopped a week ago and won't come back on.  Have tried a different port, nothing happens. I have a late 2013 macbook pro with 10.9.4 which I bought refurbed just a