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.

Similar Messages

  • Show the PO and Invoice Number along with Distribution Line Info

    Does any one have some code that can show the PO and Invoice number along with the distribution line detail?
    I'm tring to get to the po.po_vendors for segment1 and po.po_distributions_all but it screws up at the po.po_lines_all table which needs outer joins and it's just not working for me.

    In case Invoice Distribution is matched to a Purchase Order then
    ap_invoice_distributions_all.PO_DISTRIBUTION_ID and ap_invoice_distributions_all.DIST_CODE_COMBINATION_ID is the link to po_distributions_all table
    Hope this help
    Ashish

  • .Once the billing document is saved, then an auto-generated mail along with

    please provide me with solution on this real time ticket..
    Once the billing document is saved, then an auto-generated mail along with PDF copy of  invoice has to trigger to customer contact person.

    please provide me with solution on this real time ticket..
    Once the billing document is saved, then an auto-generated mail along with PDF copy of  invoice has to trigger to customer contact person.

  • I changed my number along with my sim card and imessage will not recognize my new number. how can i have imessage forget my old number and use my new number?

    i changed my number along with my sim card and imessage will not recognize my new number. how can i have imessage forget my old number and use my new number?
    i have tried signing out of imessage and signing back in. (when i do that and am asked to select my email adress, i see my new number but it is greyed out and i cant select it)

    But under send and receive, my old number is still displayed while my new number isn't.

  • Accouting Document Number along with Invoice Document Number

    Hi All,
    I want to see the Accouting Document Number along with Invoice Document Number
    while Posting the invoice in MIRO.
    Regards
    Arjun

    Check
    miro (invoiced document number & account documber number)

  • When I export a PNG file on illustrator, I get random empty space along with my exported object. Is there any way I can make just my object export and nothing more?

    This is an example of my problem. This icon is the sole object in this document, and is the only thing being exported here. Yet when I do export it, a random bar of white space is exported along with it. I am currently using Illustrator to design the art for a video game, meaning that this empty space plays havoc with my end product, and I have to meticulously crop anything I export. Since I do have to make hundreds of individual sprites for this, I would love to learn how to fix this problem and save myself a lot of time. So, what exactly am I doing wrong here, and how can I fix it?

    quicklite,
    I believe the resulting/final size may extend just a tiny bit above a whole point/pixel (value) on the pixel grid.
    You may see by Edit>Preferences>General>Use Preview Bounds (if needed), then select one of the top Reference Points in the Transform palette and look at the Y value measured in points/pixels.
    If that is the case, the solution would be to get rid of that tiny bit.

  • Randomly generated competition draw with priority for players that has preference

    (1) INPUT
    player# ColumnA
    Preference
    1 player1 
    music
    2 player2
    3 player3
    music
    4 player4
    music
    5 player5
    singing
    6 player6
    7 player7
    8 player8
    (2) my original requirement was to pair the players randomly, so i used following solution. 
    In E1 i have RAND() for 1000 rows (E1000),D1 I have 128 teams
    In A1 used this formula
    =IF(ROW()-ROW(A$1)+1>$D$1/2,"",RANK(OFFSET($E$1,ROW()-ROW(A$1)+(COLUMN()-COLUMN($A1))*($D$1/2),),$E$1:INDEX($E$1:$E$1000,$D$1)))
    copy across to B1 and down as far as you might need.
    Assuming you have 128 in D1 then A1:B64 will now include one each of numbers 1 to 128. Subsequent cells will be blank. Change D1 to any even number to regenerate numbers. Note: recalculation of worksheet will re-generate random numbers, hide column E if you
    wish
    (3) So now i have a new column called PREFERENCE that has preference / interests that players have set.
    I want to enhance above formula to give priority to players who have set preferences and do their pairing first with other players who have the same preferences.
    If there are no players that have matching pair per perference (e.g singing in above example) then do random match.
    If there are no preferences set then simply follow the logic that i have shared above for random pairing.  
    Appreciate your help!!

    Hi JainPaddy,
    Thanks for posting in MSDN forum.
    Based on the description, you are design a workbook with formula. I would like move it to
    Excel IT Pro Discussions forum since the issue is relative to end-user.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction
    with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with barcode in SmartForms

    Hi masters...
    First all, I have read all posts where u talk about it..
    1) in se73, I have created a new barcode, called 'CODE93'... obviusly for code 9/3...
    2) in the SMARTSTYLES I have created the style 'ISU_COD93'... with the pragraph P1, and Character Format 'C1' choosing my bar code bar 'CODE93'.
    3) in the SmartForms, wrote in the style 'ISU_COD93'.. and in the text... <C1> 1234567 </> ... but doesn't work...
                   <C1> 1234567 </C1> the same...
    when i Preview the form... it shows..... <C1> 1234567 </> or the other...
    somebody has any idea?????
    thx a lot..
    regards... I will give the points to the correct answer

    I have solved it....
    it was something very stupid....
    if I write the text with the WORD editor.. it doesn't work... but if I put the old editor, and write the SAME thing it is working
    thx.
    Edited by: Guillermo Stortoni on Mar 26, 2008 7:43 PM

  • Generating Bar-code with barcode no.

    Hi Experts,
              my requirement is to generate bar-code for data from certain fields like material no,batch no, expiry date etc. Well i am
              able to generate the bar-code with the help of smart style but i am not getting any no below the generated bar-code as
              bar-code no. As i have come across that there are basically 2 types of bar-code no. 1) UPC   and   2) EAN
              Please help me in generation of bar-code with its no below (either in UPC   or   EAN )  type.
    Thanks.
    Praveen Kumar.

    Hi, Praveen,
    I am more a barcode expart than SAP expert.  Here is a link to an article that may be helpful:
    [Printing barcodes from SAP|http://www.makebarcode.com/info/appnote/app_024.html]
    You mentioned using UPC-A or EAN-13.  I recommend that you do not use these symbologies for general-purpose fields like material no,batch no, expiry date etc.  Both of these codes are fixed length, numeric only.  It will be much better if you use a variable-length, alpha-numeric symbol like Code 39 or Code 128.  Code 39 is the easiest to work with; Code 128 requires a little more work to set up your software, but it supports a wider range of characters (lower case, symbols, etc.). 
    Here is a link to a barcode comparison chart.  From there you can find details about these codes.
    [Barcode comparison chart|http://www.makebarcode.com/specs/barcodechart.html]
    Bob

  • How to make a random generator with a max and a minimum

    hello
    can anybody telle me how to make a random generator for numbers with a maximum and minimum input
    thanks in advance

    Hi suske,
    If you want a random day for a given month, this is how I would do it.
    Hope this helps,
    -D
    Message Edited by Darren on 02-02-2006 01:35 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    Days_per_month.jpg ‏32 KB

  • Purchase requistion number and line item number linkage with work order opr

    Hello,
    I want to know what is the link between Purchase requisition number along with its line item number with work order operation number.
    For the non stock component assign to Work order operation ( say operation 10) the PR get generated for that component which assign to that operation .
    in which table we can find that PR as input and output as Work order number along with its operation .
    In AFVC table if we put PR as input then it does not show any entry for that PR number?
    Regards
    Vaibhav

    HI Vaibhav,
    If you have the Work Order Number AUFNR, then you can get AUFPL from AFKO.
    Then Pass AUFPL to AFVC table to get BANFN(Purchase requisition number) and BNFPO(Item number of the purchase requisition in the order).
    Regards,
    Ravi

  • Parallel Number maintanance with Material Serial Number

    Hi Gurus,
    Need to maintain the SUPPLIERS PART NUMBER along with the serial number.
    When ever serial number is traced, the part number too need to be traced.
    Please advice.
    Regds,
    NalindaR

    Dear Uts
    Thanks for the reply. Seems my requirement is different.
    Supplier sends a different number with the material code.
    Ex: Material A., Quantity 100.
    At GRN point we need to enter 100 different serial numbers and 100 different suppier specific numbers.
    These 100 suppier specific numbers are different to each other.
    Simply we need to enter 100 serial numbers and another 100 different numbers together.
    Please help.

  • How to print the top of page part along with the ALV list and generate PDF

    HI all,
             I have created one ALV by using oops concept .
             and also am able to get the top of page where I have One standard logo on the right hand side
             and some details on the left side .
               Now my requirement is to while printing the list the logo and other top of page details should appear
               In the PDF output but currently while am pressing the print preview button only the alv data is coming
              am already using the method
        handle_top_of_page
          FOR EVENT print_top_of_page
                 OF cl_gui_alv_grid,
    may be am missing something ... How to get the top of page along with the logo printed ?

    Hi  Surya,
    After generating the grid display  click on print button,
    a spool number is generated. capture the spool number and convert it to pdf using the fm:
    CONVERT_ABAPSPOOLJOB_2_PDF  and save the file
    Hope this will solve your problem.
    Regards,
    R K.

  • How to Create a Auto Generated number with some preceding text in Sharepoint 2010

    I am trying to create a auto generated number field in Sharepoint 2010 list item. My requirement is to have the following format number generated when new request is created in Sharepoint using form. Auto generated Ticket ID should be in the following format
    "IR13000" "IR13001" "IR13002"....... Please let me know how to get this done. I tried to use combination of default ID and Characters but its not working for new requests, its only reflecting for existing uploaded requests. I
    am trying this for taking up Ticket requests by filling up some fields in the form. Any quick help is much appreciated.
    Thanx

    Here are the steps:
    1 - Open your SharePoint site in SP Designer 2010.
    2 - Click Workflows and add a List workflow. Associate this workflow on the list where you want the Random Text to be generated.
    3 - Inside the workflow editor, select the Action "Update list item"
    4 -  Select 'Current Item'.
    5 - Click Add.. and select the field which needs to be updated with the Random Text. Make sure this column is not of type "Calculated" type, otherwise you won't see it in the list of the fields within the workflow.
    6 - Click "..." button in the next textbox which will open String Builder dialog box.
    7 - Type IR and then click 'Add or Change Lookup and select ID column from "Field from source". Hit OK.
    8 - It should look like IR[%Current Item:ID%]
    9 - Hit OK.
    10 - Save and publish the workflow. (Please note that currently this workflow is not set to auto run on creating new items. That's because we want to test it at this point of time).
    11 - Go to your list in SharePoint and create a new item. After creating, select the item and click Workflows and then run this workflow.
    12 - You should be able to see the text "IR1" in the designated column.
    13 - Once you see that it's working, go to SPD and set the workflow to run automatically on creation of the new item. Save and publish and then return to your list in SharePoint.
    14 - Create a new item there and you should see the Random value in the column.
    15 - You will also see the column in the New form. In order to remove it, go to List settings > content types > Item content type > and select Hidden for this column so that it doesn't showup in any form.
    Try it and let me know how it goes.
    Thanks,
    Ashish

  • Random Letter & Number Generator

    Hello:
    I'm new to programming (FormCalc & JavaScript) and I'm using Adobe LiveCycle Designer ES 8.2 to create a dynamic form to post online.  I need help with creating a "random letter & number generator" in code.  The purpose is when someone opens the form online; I will create a unique number/letter combo on the form.
    Any help or direction would be much appreciated.  Thanks!

    Hi,
    I believe you are in the wrong forum. This is a forum for Adobe
    LiveCycle Collaboration Service (LCCS) , a real-time social
    collaboration platform.
    You need to visit other forums under LiveCycle
      http://forums.adobe.com/community/livecycle/livecycle_es?view=discussions
    Primarily you can look for LiveCycle Forms sub forum.
    Hope this helps
    Thanks
    Hironmay Basu

Maybe you are looking for

  • Same Apple ID forTwo iPhones but Sync Different Google Contacts?

    We have two iPhones (4s and 3gs).  We want to be able to use the same Apple ID for both phones (so that we can share applications on both) but we want to sync to different contacts.  We want to sync one of the phones to Outlook and the other phone to

  • How to generate "named destinations" in PDF

    When generating a PDF, how can I get "named destinations" in my PDF so I can created hyptertext links to it? 1. question: I produce several PDFs files, which have links to chapters in the other PDF. To directly jump to such a chapter, one can use nam

  • Is there a way to copy layer comps into another photoshop document?

    Designing a website and using layer comps. Since there's a couple of sections (3 sections) that can be worked on independently, I'm wondering if it's possible copy layer comps from one document to another. The file size is getting big and I'm trying

  • Why does font looks pixelated when exporting motion template to FCP?

    I created a motion template for some text animations and I also tried with just a motion file and when I added either one to FCP it just looks like crap (pixelated edges, really really bad edges) I noticed this happens if you don't have a drop shadow

  • Is it possible to update a Command node on just the First Page?

    Hello Experts, I am attempting to add a line count with a value on the condition tab of a Command node but it keeps also applying the same change to the same Command node on the NEXT page. I want to add the linecount to the subsequent Command node bu