Dynamic serail numbers

Hi all,
  i have an internal table it_item with fields it_item-matnr ,it_item-desc and ...
to display in the form i need to get the serial nos dynamically if i have more than one matnr exists.
  waiting for reply.
regards
akmal

are you taliking about the repeatation of material no?
then the code
data : counter type i.
sort itab by matnr.
loop at itab.
at new matnr.
clear : counter.
endat.
counter = counter + 1.
itab-slno = counter.
modify itab index sy-tabix.
endloop.
it will show
1 m1
2 m1
3 m1
1 m2
2 m2
like this if you want any other thing let me know.
regards
shiba dutta

Similar Messages

  • Dynamic Page Numbering for DPS documents

    Since we don't have just 1 document for the entire publication; is there any way to have a footer that has the page number in any way? (without having to manually update every page?)

    Use the book feature.
    But it is difficult to number your publication if you have vertical and
    horizontal pages.
    And why do you need page numbers anyways? Digital has hyperlinks and scroll
    bars for solid navigation
    (mobil gesendet)
    Am 09.01.2012 19:03 schrieb "blasto333" <[email protected]>:
       Dynamic Page Numbering for DPS documents  created by blasto333<http://forums.adobe.com/people/blasto333>in
    Digital Publishing Suite - View the full discussion<http://forums.adobe.com/message/4126818#4126818>

  • Dynamic Page Numbers

    Dynamic Page Numbers
    How do I make dynamic page numbers? So that for each record it will have its own page number?
    i.e.
    record 001 is 3 pages, at the bottom of its pages it says 1 of 3, 2 of 3 and 3 of 3.
    record 002 is 1 pages, at the bottom of its pages it says 1 of 1.
    record 003 is 4 pages, at the bottom of its pages it says 1 of 4, 2 of 4 , 3 of 4 and 4of 4.
    Is there a way to do this??
    Thanks,
    Rob

    Hi Robert
    This is how:
    Create a "Page Number" field, say PN, and a "Total Pages" field, say TP, in the margin.
    Set "Visible" to no for both the fields.
    Create a Boilerplate in margin with text:
    Page &<PN> of &<TP>
    Against both the fields, set "Reset At" property in "Page Numbering dialog" to the Repeating frame that surrounds record00?
    Regards
    Sripathy

  • Dynamic step numbers?

    Sounds complicated and i have read up on section markers and it comes close to what i want to do. Maybe i dont understand it that much and i do apologies if there is another post like this lying somewhere hidden.\
    Below is a screenshot of the template i am working with. I would like the step numbers(Blocks) to be dynamically numbered with each new page i create. If it is possible a little help will be great. If nothing can be done thanks for looking.

    What about using auto numbering in a paragarph style

  • Dynamic page numbers for PDF.

    Hi,
    How to give starting page number for PDF. If i need to start page number from 3 how can i do this ?
    if i need to give randome page number best way to give it?
    Following is the example
    i have 6 page document.
    the page number for the documents should be 3,4,5,9,10,13.
    Thanks in advance...!!plz help me ..!! 

    i would like to give exact senario
    I have document which has 10 pages.Each page has page number on it...
    There are 3 sections.First section is from 1st page to 4th page and second section is from 5th page - 8th page,second section has flowable content.For the second section we might get till 6th page or 7th page or 8th page.If we get till 8th page there will be no problem.If it ends at 7th page the page numbers sequence should be (1,2,3,4,5,6,7,9,10) But section 3 should start from 9th page.
    Thanks in Advance

  • Dynamically calculate numbers in a form without submit

    If I have a form for ordering products, quantity and price,
    I'd like the total on the bottom of the form to update as a user
    changes the quantity of the item (before submitting the form). I'm
    wondering if CF has tags to do this?
    Thanks

    > If I have a form for ordering products, quantity and
    price, I'd like the total
    > on the bottom of the form to update as a user changes
    the quantity of the item
    > (before submitting the form). I'm wondering if CF has
    tags to do this?
    Conceptually, this is not CF's job to do, so - no - CF does
    not provide any
    tags to achieve it. CF runs on the CF server; the form is
    sitting on the
    client browser: how is CF supposed to know what the values
    are to add up?
    You need to use clientside scripting for this: eg:
    JavaScript. I suggest
    you have a read up on that. There are stacks of resources on
    the 'net, and
    - to sound like Dan Bracuk for a moment - Google will help
    you find them.
    Adam

  • Serail numbers in return order lines

    Hello Friends,
    Can any one let me know if its possible to make entering serial number mandatory for return lines in Order lines screen.
    So once user enters a return line for a an item, he should not be allowed to save unless he enter serials number in the form ('Actions>Return lot serial').
    This is emergency requirement, please let me know friends.
    Thanks\Kiran S

    Hello,
    I tried find some kind of profile on support but I did not find anything. I have similar problem with comment in sales order release and I made personalization.
    Regards,
    Luko

  • Dynamic record numbers being used in subsequent scripts

    Here is my test scenario...
    I make a purchase and my purchase is given a unique receipt number.
    In a seperate script, I want to pull up this receipt number to test return and change functions.
    What is the simplest way for me to do this?
    I was hoping to take this receipt number and somehow apply it to a databank file which would be used in other scripts.
    I'm sure there is a VB solution but are there other solutions?
    Any ideas?
    Thanks in advance!!
    boslax

    Hi boslax,
    You are correct that this is possible through VBA. However, there is another way that it can be accomplished through the use of e-Tester Jobs and Page Content Variables. It's a bit difficult to explain via email, but here's the idea...
    Create a script in e-Tester that gets you to the point where the unique receipt number is created. Right-click on that page of the script and choose "Add Page Content Variable". You should then be able to "mouse-over" the receipt number. Once you mouse-over that value, you can click on it to "lock in" on that value. (Now, here's where this gets a bit tricky. If the value is not part of some unique element on the page, it may be difficult to trap just the receipt number. We'll have to add a regular expression that parses out just the number. This can be done by selecting the "Build Pattern" button next to DOM Property Regular Expression under the Manage Variables menu.)
    Once you click on the value, select OK on Dialog Box. You can then give that variable a name. Click "OK" and save the script.
    Record a new script now that goes out and searches for a receipt number. After the script has been recorded, we can overwrite the recorded receipt number with the Page Content Variable from the previous script. Find the Parameters node of the page where the receipt number is passed to. Right-click on the Parameter and choose "Selection Properties". The Recorded Value should now be showing. In the "Mapped to Variable" field, type in your Page Content Variable Name and enclose it within Curly Brackets...eg. {{Variable_Name}}
    Click OK and save the script.
    Last step :) Now you can create a job that appends the two scripts together. Go to File/Job/New Job. Then right-click on the job name and choose "Append Existing Script". You can then choose the two scripts that have been created. They will run one after another and it should do the search on the unique receipt number. If you have any problems, please let me know...

  • How can I create a dynamic XML driven PDF Portfolio?

    I have built an XML application for which I maintain a library of individual PDF page "templates" used to assemble large (1000+ pages) PDF documents. The page templates are saved as PDFs without page numbers as they can be reused anywhere in any manual, the page numbers are applied during the document assembly process. I am now attempting to implement an update process, in which one template change can impact dozens of large documents. I am therefore looking at moving away from creating these large PDF documents and creating something more along the lines of a Package, Portfolio or other solution in which document pages/templates in the library are linked to rather than combined, so that changes across multiple large documents can be done quickly and transparently to the user. I am sure there is a solution using an Adobe spec like Portfolio or XDP, I just need a nudge down the right path, as nothing in what I've read explicitly states that these technologies can be used for this purpose. I would prefer to stay within technologies I am comfortable with to create/modify the necessary files, whcih are XML/XSLT and ANT. I would also like to know if it's possible to add page numbers on the footer of each page in the Portfolio without modifying the template, and if the resulting Portfolio can be saved as a normal PDF or printed with the dynamic page numbers included.
    I know this might be a tall order but if anyone can help clarify what's possible with existing Adobe technologies it would be greatly appreciated.
    Thanks,
    Keith

    Indeed - PDF Portfolios are a collection of static files attached to a one-page cover sheet, you cannot have references to externally-stored documents.
    You can replace individual files in a Portfolio (by adding a file of the same name) but nothing happens automatically, and the file when added to the Portfolio will have no idea about where it originally came from. There's no concept of "check for updates".

  • FM for Adding Serial Numbers for an Uutbound Delivery

    Hi Experts,
       Can you suggest me a Function Module to update the Outbound Delivery with Serail Numbers? Please don't suggest the BDC method.
    Regards,
    Ravi Kanth

    Try with :
    FM : LE_MOB_DELIVERY_UPDATE
    Thanks
    Seshu

  • Passing parameters to an applet dynamically

    I am looking for suggestions on how I can pass parameters to my applet which generates a simple bar graph. If I pass parameter names and values using HTML tags the number of bars are fixed. I want my applet to accept variable number of values for the x and y axes.

    Then use a JSP for the HTML page. This can then pass dynamically generated numbers as params. Alternatively, your applet could communicate to the server through a Socket (package java.net) - although this can cause problems if there are firewalls inbetween client and server.

  • How to update popup (drop down) cells in Numbers using Applescript

    I understand that the list popups (dropdown lists in cells) cannot be dynamic in Numbers.
    I have the same dropdown list in multiple cells and tables, and this list often needs to be changed. Its not practical to amend one list, then copy/paste it into 200 plus cells that require the dropdown facility (they are not in sequential rows).
    Can Applescript be used to do the copy/paste function, as i could specify the cell ranges. My simple attempt only managed to copy/paste the cell values rather than the dropdown/popup list.
    Any constructive help would be appreciated.
    Thanks.

    Hi Hiroto,
    I have this script running, with one issue.
    set tValues to my doThis(1) -- get values of the selection
    if tValues is not "" then
      activate
              display dialog "Select the cells where you want to create the PopUp." & return & "After that, click on the 'OK' button."
              my doThis(tValues) -- set the cell format of the new selection to "PopUp Menu" and set the values of the each menu item
              tell application "Numbers" to display dialog "Done"
    else
              tell application "Numbers" to display dialog "You must select the cells in a table before running this script."
    end if
    on doThis(n)
              tell application "Numbers"
                        set tTables to (tables of sheets of front document whose its selection range isnot missing value)
                        repeat with t in tTables -- t is a list of tables of a sheet
                                  if contents of t is not {} then -- this list is not empty, it's the selected sheet
                                            set activeTable to (get item 1 of t)
                                            if n = 1 then return value of cells of selection range of activeTable-- return values of the selection
                                            set format of (cells of selection range of activeTable) to pop up menu -- set the format to pop up menu
                                            return my setValuePopUp(n) -- set value of each menu item
                                  end if
                        end repeat
              end tell
              return ""
    end doThis
    on setValuePopUp(L)
              tell application "System Events"
                        tell process "Numbers"
                                  set frontmost to true
                                  delay 0.3
                                  set inspectorWindow to missing value
                                  set tWindows to windows whose subrole is "AXFloatingWindow"
                                  repeat with i in tWindows
                                            if exists radio group 1 of i then
                                                      set inspectorWindow to i
                                                      exit repeat
                                            end if
                                  end repeat
                                  if inspectorWindow is missing value then
      keystroke "i" using {option down, command down} -- Show Inspector
                                  else
      perform action "AXRaise" of inspectorWindow -- raise the Inspector window to the front
                                  end if
                                  delay 0.3
                                  tell window 1
      click radio button 4 of radio group 1 -- the "cell format" tab
                                            delay 0.3
                                            tell group 2 of group 1
                                                      set tTable to table 1 of scroll area 1
                                                      set tc to count rows of tTable
                                                      set lenL to (count L)
                                                      if tc < lenL then -- ** add menu items **
                                                                repeat until (count rows of tTable) = lenL
      click button 1 -- button [+]
                                                                end repeat
      keystroke return -- validate the default name of the last menu item
                                                      else if tc > lenL then -- ** remove menu items **
                                                                repeat while exists row (lenL + 1) of tTable
                                                                          select row (lenL + 1) of tTable
      click button 2 --  button [-]
                                                                end repeat
                                                      end if
                                                      tell tTable to repeat with i from 1 to lenL -- ** change value of each menu item **
                                                                set value of text field 1 of row i to item i of L
                                                      end repeat
                                            end tell
                                  end tell
                        end tell
              end tell
    end setValuePopUp
    ==============================
    When the popup is created, if there is one header row, it adds "1" to the list of popup items, if there are two header rows, it adds "1", "2" to the list of popup items. What should i amend to remove this (i have two header rows in my sheet).
    I would ideally like to add a "-" to the list (to represent nothing selected in the cell) as default i.e. top of the list (i could add the symbol to my source data but that would look untidy). At the moment, after running the script all cell values change to 1.
    Oh, what would the best way to modify the script so it selects a specific cell range? At the moment i have to first select a column, then run the script, then select the source cells, then click ok on the dialog box before it does the magic.
    Someone else will be running the script, and if its easy to change, i would prefer to have an absolute source cell range values so the user can just rund the script without any selection required.
    If you can advise on this, that would be most helpful.

  • Dynamic expression evaluation in netui:param

    Hi,
    Is there any way to send dynamic values(numbers) to <netui:param> tag 'value' attribute, pl. let me know as soon as possible.
    Thanks in Advance,
    sugan

    U can use it like any other netui tag.
    Kunal Mittal

  • DLINR - Dynamic Item number - problem, please help

    Hi,
    We have a problem with one of our quotation enhancements:
    For DP82, we have an enhancement in place for one of our DIP profiles.
    Anyway, we are sending component data to DP82 with several custom fields in place. In our enhancement, Dynamic item numbers (DLINR) are assigned to the components via FM AD11_DLI_GET.
    However, some of the components are assigned the same DLINR number.
    The problem with this is that after our enhancement runs, a standard program calls a standard FM that reads back our component data (FM AD15_DLIS_FOR_OBJECTS_READ). The data read back shows all components with the same DLINR numbers combined into one component. This is wrong.
    What is the importance of DLINR (dynamic item) numbers? Do they need to be assigned?
    What do I do?
    Please help.
    Regards,
    Laura

    Hi,
    We have a problem with one of our quotation enhancements:
    For DP82, we have an enhancement in place for one of our DIP profiles.
    Anyway, we are sending component data to DP82 with several custom fields in place. In our enhancement, Dynamic item numbers (DLINR) are assigned to the components via FM AD11_DLI_GET.
    However, some of the components are assigned the same DLINR number.
    The problem with this is that after our enhancement runs, a standard program calls a standard FM that reads back our component data (FM AD15_DLIS_FOR_OBJECTS_READ). The data read back shows all components with the same DLINR numbers combined into one component. This is wrong.
    What is the importance of DLINR (dynamic item) numbers? Do they need to be assigned?
    What do I do?
    Please help.
    Regards,
    Laura

  • I have serial numbers now, but no DVD drive...

    I purchased photoshop at Best Buy, redeemed the serail numbers online, but I dont have a DVD drive. How do I download the software?  Everything is a freaking trial version?

    Download the trial and activate that with your serial number.

Maybe you are looking for