Help reqd to generate index(sl.no) automatically

Hi all,
Im working on smartform and i want to declare a code in that only.
I want to generate a serial number continuosly(like an index) for each item/material wise in my main window.
FYI-coding i've declared
CLEAR: PG_INDEX.
INDEX1 = INDEX1 + 1.
PG_INDEX = INDEX1.
&PG_INDEX&
no errors but im not getting the number in the output display.
Pls post ur replies with examples.
thanks & regards
sankar.

delare a vairable count in global definition wid type i.
den create program lines and code as
count = count + 1.
giv count as export parameter and den display it in text

Similar Messages

  • How do you automate the point size of page numbers in a generated index?

    In Framemaker 10 I have a generated index for a book. The indexed items are in point size 10 but the generated page numbers come out in 12 pt.
    Can I automate the page number size to be 10 pt?
    I have tried defining a character tag IndexPage Numbers and entered the following on the index Reference page:
    Level1IX
    <IndexPageNumbers><$pagenum>
    Level2IX
    <IndexPageNumbers><$pagenum>
    but this does produce the desired point size.
    Thanks

    Error,
    I was just generating an index today and had this weird behavior. The level1IX, level2IX, and level3IX entries formatted as expected (TNR, 11pt, plain) but the markers and page numbers displayed as 24pt, bold, Arial which matched the IndexIX format. What is that format for anyway? My user guide does not mention its purpose.
    I looked at the reference page and there was a paragraph formatted as IndexIX with this content:
    <$pagenum>
    It was 24pt, arial, bold, and centered.
    Another manual had an index that formatted properly last week but it too had the above <$pagenum> tag. So it's confusing as to the different behavior.
    I reformatted the <$pagenum>/IndexIX paragraph to TNR, 11pt, plain (in the index file), regenerated the index, and now the page number formatting matches the entry formatting.
    Again, is IndexIX the format for the index page numbers only and why does Frame insert <$pagenum> in the Index spec. on the reference page?
    Yours,
    Michael F.
    ~~~~~~~~

  • Need Mapping Help: Generate index if value comes

    Hi Experts,
    I need mapping help to generate index if value comes form source. we have 4 fields in item level of source and target side we have to pass the these filed values and sequence number.
    below given the structures:
    Source:              Target:
    Item                    Item
       A1                      Text
        A2                      Seq_No
        A3
        A4
    my requirement is if A1 filed values comes from source we should pass to text and pass seq_no to constant-1, same as A2,A3 and A4 filed values also we should pass to text and seq_no for A2 is 2 and A3 is 3 and A4 is 4. suppose if A1 value is not coming from source we should pass seq_no for A2 is 1. if A1 and A3 filed values are not coming from source then we should pass seq_no for A2 and A3 are 1 and 2.
    can you please help me how to achieve this. appreciate for your support.
    Regards,
    Sanjay.

    Hi Sanjay,
                      you can  try this mapping
    1. Generate the target 4  ITEM's  by duplicating the subtree as shown below 3 times.
    Now create the each target item starting from first by mapping them to A1,A2,A3 and A4 respectively. I have shown the first ITEM mapping above. similarly you can map A2 to ITEM[1],
    A3 to ITEM[2] and A4 to ITEM[3].
    2. Now you can map the A* fields to Text one to one as shown below
    Please repeat the same for A2,A3 and A4 to respective Text fields.
    3. 
    First seq_no field as shown
    and similarly others as shown
    Regards
    Anupam

  • 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

  • Is there a script that will generate Index Markers based on Notes?

    I need a way to generate index markers/entries within InDesign based on content that has been added in InCopy. I need this becasue InCopy users can't add Index Markers. One type of content they can add is Notes. Can I use these to generate index markers?
    N.b. I have figured a way for InCopy users to add character styles to words I can then generate a simple keyword index based on these. However I now need to be able to cater for sub level topics, cross references to other topics in the index and equivalent terms, and the character style method won't suffice.
    Any advice/tips on other methods to create indexes based on IC content would be useful.
    Thanks
    I'm using InCopy CS6 and InDesign CS6.

    Me again ;-)
    couldn't test with InCopy but I hope those lines will create a note if some text is selected. contents of the note = the selected text. create a shortcut to the script.
    #target InCopy
    try{
    currSel = app.selection[0];
    currContent = currSel.texts[0].contents;
    newNote = currSel.parentStory.notes.add(LocationOptions.BEFORE, currSel.insertionPoints[0]);
    newNote.texts[0].contents = currContent;
    }catch (e){
    alert(e)   
    changed the first script slightly. Note it's still just a example of how it could work:
    var currDoc = app.activeDocument,
    allStories = currDoc.stories,
    l = allStories.length;
    //checking for at least one existing index ...
    if(!currDoc.indexes[0].isValid){
            currDoc.indexes.add();
    while(l--){
    currStory = allStories[l];
    allNotes = currStory.notes;
    n = allNotes.length;
    while(n--){
    currNote = allNotes[n];
    noteContents = currNote.texts[0].contents
    //create the source
    currSource = currStory.characters.itemByRange(currNote.insertionPoints[0].index, currNote.insertionPoints[0].index + noteContents.length);
    currTopic = currDoc.indexes[0].topics.add(noteContents);
    //this is by default PageReferenceType.CURRENT_PAGE ... changes optionally
    currTopic.pageReferences.add(currSource)
    currDoc.indexes[0].update();
    currNote.remove();
    Hope it'll be of some help
    Hans-Gerd Claßen

  • Error "Lock not set for: Generate index" while running process chain

    SAP BI 7.0
    SP 17
    I am attempting to run a new process chain and the generate index steps are failing with the below errors:
    "Lock NOT set forGenerate index"
    "RSSM PROCESS INDEX terminated, because InfoCube/DSO object could not be locked."
    The process chain just pauses. I let it finish once and it took 2 hours and then it gave the failure messages. I have looked in sm12 and can see the lock records when the process chain is running - unfortunately I can't make much of what's there - everything looks good to me. I also tried creating the indexes manually inside the cube and then re-ran, but still get the same error. Before running the process chain, I can get the indexes to check to green, but then after running the process chain they go back to red. I have attempted many things (including looking at other forum posts), but I still have the error. Please help. Thanks
    Edited by: Brett Hutchinson on Feb 10, 2009 7:50 PM

    Hello,
    So Create index is getting failed in you PS right?
    1)check  if any other loads are running to the same CUBE(May be from other PC's also)
    Goto Manage of the cube and check, some times it may happen if any Loads are running into cube I mean Load/DTP & roll up may be running.. if so wait till the others Loads(Jobs) get complete then Repeat the failed index
    2) If the Create index is running for long time, then  got RSDDV--> Select the CUBE then click on BIA index(Maintenance wizard), you can see a message if indexes are running , this will happen  only when some one would have tried to generate the indexes manually and it may got failed due to some reason , since u are running it manually u couldn't identify whether it got failed or not unless you got to RSDDV and check. So delete the index here and then rebuild them through PC
    Hope it helps!

  • Auto generate index for FK

    Where is option like 'auto generate index for FK' in DataModeler 4.0.3?

    You need to right-click on the Browser node for the Design and select Properties.
    In the Design Properties dialog you will find the Automatic Index Generation option for FKs on the Settings > DDL page.
    David

  • Impossible to generate legends of text automatically.

    I have a big probleme : it's impossible to generate legends
    of text automatically with Captivate 1 and 2. The captures animated
    do not function either.
    Thank you for your help
    EmG

    Can you check a couple of things?
    1. mentioned that the specific recipient wants plain text in Tools | Address book... 'prefers to receive mesages formatted as 'Plain Text' and click on OK to save changes.
    Is there a conflict..Have you checked that there is only one entry for that person. They are not somewhere else in another address book like Collected Addresses etc.
    re: 'Yet, the outgoing message is visualised as HTML both in my Thunderbird outbox and in the receiving inbox on a webmail system'
    2. Edit | Preferences | Composition | Send Options
    * Under 'Text Format' section. Have you selected to send emails as:
    * ''''Send the message in both Plain text and HTML''''
    * Then click on OK to save send options.
    * then click on ok to save Options.
    3. Edit | Account Settings | <account name > | Composition & addressing
    If you uncheck 'compose messages in HTML' and then click on OK to save changes, this will only allow you to compose messages in Plain Text.
    If you have this selected so that you can compose in html and also have set the option (see 2 above) to send the email as both HTML and Plain Text AND set the address book contact to prefer to receive Plain Text, then they should get Plain Text.
    You can select to 'compose messages in HTML' in the Account Settings as stated above, but you can swap to Plain Text for a specific email by holding down 'Shift' key and clicking on 'Write' button.
    Providing the settings (see 2 above) are set to actually ''send'' in both html and Plain text, you could send this to yourself and receive a plain text message no matter what the settings under 'View' > 'Message body As'.

  • Error in MIRO Help Reqd

    I have setup new instance. Created p.o & done MIGO things worked fine. In MIRO typically error is seen in tax code. I have assigned Tax procedure TAXGB to country IN. In Fin Acct in tax on sales & purchases defined new taxcode VX with country option IN. Still during MIRO its showing error Tax code VN & Country IN doesnot exist in procedure TAXGB. In error msg its M8 249 & origin is shown as check invoice document.
    Help reqd from SAP Gurus pls.
    Regards

    Check these links
    while doing MIRO, i am getting error:-Tax code V0 country IN does not exist
    Tax code Z4 country IN does not exist in procedure TAXINJ
    Tax code V0 country IN does not exist in procedure TAXINN
    Tax code V0 country IN does not exist in procedure TAXINN

  • Urgent Help Reqd: Delta Problem....!!!

    Hi Experts,
    Urgent help reqd regarding follwoing scenario:
    I am getting delta to ODS 1 (infosource : 2LIS_12_VCHDR) from R/3. Now this ODS1 gives delta to Cube1. I got one error record which fails when going to cube (due to master data check).And this record would be edited later.
    So I thought of re loading cube and using error handling to split request in PSA and load valid records in cube.Later when I have coorect info abt error, I would load erroneous record manually using PSA.
    I did following steps:
    1)Failed request is not in cube...(setting is PSA and then into target)....also it has been deleted from PSA.
    2)Remove data status from source ODS1.
    3)Change error handling in infopackage to valid " Valid records update, reporting possible".
    4)start loading of cube.
    But when I did this I got following message :
    <b> "Last delta update is not yet completed.Therefore, no new delta update is possible.You can start the request again if the last delta request is red or green in the monitor"</b>
    But both my requests in cube and ODS are Green...no request is in yellow...!!
    Now the problem is :
    1) I have lost ODS data mart status
    2)how to load valid records to cube, since errorneous record can be edited only after 3- 4 days.
    3)How not to affect delta load of tomorrow.
    Please guide and help me in this.
    Thanks in advance and rest assured I will award points to say thanks to SDNers..
    Regards,
    Sorabh
    Message was edited by: sorabh arora

    Hi Joseph,
    Thanks for replying....
    I apolgize and I have modified the message above..
    I just checked in cube...there is no failed request for today...and neither in PSA....Person who has handed this to me may have deleted this is PSA..and why req is not in failed state in cube...I am not sure..though setting is "PSA and then into data package".....
    So how to go frm here....
    Thanks
    Sorabh

  • System generated Index names different on target database after expdp/impdp

    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different names on the target database, which caused a major issue with GoldenGate. Could anyone provide any tricks on how to perform the expdp/impdp and have the same system index name generated to be the same on both source and target?
    Thanks in advance.
    JL

    While I do not agree with Sb choice of wording his solution is correct. I suggest you drop and recreate the objects using explicit naming then you will get the same names on the target database after import for constraints, indexes, and FK's.
    A detailed description of the problem this caused with Golden Gate would be interesting. The full Oracle and Golden Gate versions is use might also be important to the solution, if one exists other than explicitl naming.
    HTH -- Mark D Powell --
    Edited by: Mark D Powell on May 30, 2012 12:26 PM

  • Generated index is missing indexed items

    Working with book and separate chapter for index. Index generates but is missing index entries. Is it something I'm doing or an InDesign problem?

    Thanks for input. All available updates have been applied. Long telcon with India so far has produced no cure but at last they are 'escalating' problem to find a solution. It seems to only happen in the 'Symbols' heading (non-alphabetic entries) of the index. Not only are items missing but reference page numbers are missing and/or scrambled. Looks like several indexed subjects are loosing page references and/or picking up page references from following index lines. If you can read the image attached you'll see what I'm talking about if you compare the index flyout lines with what shows up in the generated index. Quite a time consuming pain. It took me almost an hour on the phone to get India to the point they wanted to see this.

  • Help reqd on Item Level Help Geneneration in Desg6.0

    Hi,
    Has anyone generated Help Modules using Designer 6.0. It worked fine on 2.0 i.e. item level help link was generated.. but with 6.0 only the form(module) level help link is generated. Is there any prefernce change/setting to directly get item level links.
    Daya

    Hi,
    Has anyone generated Help Modules using Designer 6.0. It worked fine on 2.0 i.e. item level help link was generated.. but with 6.0 only the form(module) level help link is generated. Is there any prefernce change/setting to directly get item level links.
    Daya

  • What Help Viewer Component Enables Index tab?

    A customer of ours has a problem with any .chm help file not displaying their index contents properly (showing up as blank). In our app, we have a Help | Help Index menu item that opens up our .chm's index tab. This ends up crashing the entire application.
    Similarly, accessing the help file directly in Windows Explorer (outside of our application) works fine until he goes to the chm's Index tab in which case the HelpViewer crashes.
    Another similar symptom: sometimes the Index tab's contents will be blank and then a crash occurs when he attempts to close the help viewer.
    The index tab problems are not unique to our help files however. So I think there's likely some Windows component missing on his system that makes any .chm file with an index tab display a blank tab or causes crashes.
    Error Messages consistently mention a problem with:
    ModName: itircl.dll
    (Sorry rest of the message is in Swedish)
    Has anyone heard of this problem and know how to fix it? Should customer just re-register the .dll? Or is something else needed?

    Hi there
    There are several DLLs that sometimes become corrupt or get clobbered. I think you would be well advised to download MJs Diags from the link below:
    http://helpware.net
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Generates more network traffic automatically

    Hi All,
    iMac computer generates more network traffic automatically. This creates problem in slow down of network and system slowness.
    Please let me know solution for this.

    How do you know this is happening?

Maybe you are looking for

  • Boot camp installation attempt yields black screen, also phantom monitor

    Hey all, So... I went to install XP on my early 2008 MacBook Black. I've done it before, so I figured there wouldn't be any problems (I had previously removed it). Only, when I attempted to boot from the CD... it appeared to boot, and I heard the CD

  • JPEG Export = Save EXIF Infos as part of the image

    Is there a way to export jpegs with some exif info (creation date and tile) which should be saved directly on the image. Like the showing of the timestamp on the picture  which can be turned on on some cameras. Reasoin is: I want to use those pics on

  • Navigation doubt

    Hello SDN, I am trying to create an authentication Web Dynpro DC. It would work as follows: Using an start plug in the main window it should receive two navigation parameters: login, and password. If authentication is ok, it should redirect to anothe

  • Determining automatic Storage location in RE

    Hello Gurus Im new to SAP and came came across this problem, I would grateful if you help me out. I want that while creating delivery with reference to RE sales document the storage location should be determined automatically. Is it possible and how?

  • Alarm on WCS

    Dear all, in WCS i have several alarms ( mainly Major). Without gonin in the details of the type of alarm, can somebody let me know: 1) If WCS realize that it no more present by default it will be automatically eliminated? For example I see in the ev