Method to use to display (n) number of strings

hi,
I have a list of strings stored in an array, I need to be able to show these on screen after pressing a button. I am not sure what to use to display these, I setup an action listener on the button to create new JLabel for every string in the array which are created using a while loop, as the number cant be predefined. however by adding a new label to the panel it will only update after having left the screen and come back to it, is there another method I could use as this is obviously no good, maybe I should not use labels to display the strings. However I cannot create a preset number of labels, as the number required is unkown.
any ideas?

If you want the really cheap way to do it, you can use a label with multiple lines by putting <html>...</html> tags around the text and <br> between the lines. :-)
The way we do it here though is to use a JTextArea which is formatted to look like a label.
JLists are another way to do it, but JTextArea can wrap the lines, which JList cannot.

Similar Messages

  • Display item number in US certificate of origin

    Hi,
    Currently in US certificate of origin, it doesnt display item number in item details.
    Sapscript: SD_EXPORT_FUCO
    FunctionPool: SAPLV55E
    Include Name: LV55EF24
    I had copied SD_EXPORT_FUCO into ZSD_EXPORT_FUCO and added V55ENAFT-POSNR to display item number but there is no value in that field.
    In the standard sap Function Pool(SAPLV55E) and Include(LV55EF24),
    this
    *   PERFORM GET_ITEM_NUMBER_NAFT.      "Item number
    *   PERFORM FILL_ITEM_NUMBER_NAFT.     "Item number
    were commented. I guess this is the reason why V55ENAFT-POSNR is empty.
    Is there any other field that i can used to display item number in that sapscript?
    Appreciate advice.
    Cheers!

    Hi,
    Just a suggestion, you can write a perform in the SAP script since you made a Z copy of it. Write the code for fetching the POSNR in the subroutine program. You could take help of the select query from where to fetch the data from that perform that is commented in the SAP programs.
    In the script:
    /: PERFORM GET_POSNR IN PROGRAM Z_GET_POSNR
    /: USING                                                     // parameters to pass
    /: CHANGING                                              // parameters to return back
    In the program Z_GET_POSNR
    FORM GET_POSNR TABLES IT_INTAB STRUCTURE ITCSY IT_OUTTAB STRUCTURE ITCSY
    Write code to fetch POSNR
    Pass the value back to the script
    ENDFORM
    IT_INTAB and IT_OUTTAB have fields NAME and VALUE.
    Thanks and Regards,
    Vanessa

  • Is it possible to use NUMCHARS to display the number of characters in a block of text instead of the whole document? How?

    Is it possible to use NUMCHARS to display the number of characters in a block of text instead of the whole document? How?

    Getting the character count for a paragraph is trivial:
    Sub NumChars1()
    MsgBox Selection.Paragraphs(1).Range.Characters.Count
    End Sub
    Even outputting it to the document is trivial:
    Sub NumChars2()
    With Selection.Paragraphs(1)
      .Range.InsertAfter .Range.Characters.Count
    End With
    End Sub
    The real issue comes when you want to update the document. If the destination paragraph is only ever empty or contains the character count of the previous paragraph, you could use:
    Sub NumChars3()
    With Selection.Paragraphs(1)
      .Next.Range.Text = .Range.Characters.Count & vbCr
    End With
    End Sub
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Displaying "Revision Number" in a report

    We use Crystal's revision number as a means to help us track a problem one of our clients may be having with a report we have provided them for use by our application.  Revision number is found in the Crystal file document summary File > Summary Info > Statistics tab.
    Is there any method to have a Crystal report display this field.  We are using Crystal-10 and Crystal-XI.
    Thanks in advance for any help you might provide.
    Frank

    Not what you want,  but I just add a text box, and put the revision number in it.
    Now, you could use some of the "Special Fields", like file path and name, modification date, modification time.
    and just add them to the report  ( At least these are automatic )
    File summary info, can also be used, ( but this is a manual update, if you need to change it )
    Comments and Titles can be pulled from this location, using a formula like this.
    ReportTitle &" "& ReportComments

  • RDL report(2008).Want to display different number of rows from second page onwards than the first page.

    I have used pagination to display the report data.I have used page break.I want to display 10 records on first page and from second page onwards I want to display 25 records on all remaining pages.
    I followed this link to show 25 records for all page. "http://www.sqlchick.com/entries/2010/9/11/displaying-fixed-number-of-rows-per-ssrs-report-page.html". Now suggest me how display 10 records only on first page having 25 from second page onwards.

    Hi mukesh_harkhani,
    According to your description, you want to insert page break for different number of rows, display 10 rows on the first page and 25 rows on the following pages. After testing the issue in my SQL Server Reporting Services 2008 environment, we can use the
    method below to achieve your requirement:
    In your scenario, right-click the group which contains the expression: =CEILING(RowNumber(Nothing)/25) to open the Group Properties dialog box.
    Modify the original expression to the following in the Group on textbox:
    =Floor((RowNumber(Nothing)+14)/25)
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to display row number in form?

    Hi guys,
    First I fll you in on the story so far..
    I have a database data block named :V_PAYUPLOADHEADER_HP, in the property palette I set order by facility and warehouse.
    I want to display row number for each fetched record, so I make :V_PAYUPLOADHEADER_HP.NUMB, which will contain the row number.
    The following is some methods that I already tried:
    - First I tried to make this field a database item=Y , column name = ROWNUM.
    The result is the number jump around (3, 1, 2, 5, 4 etc. instead of 1, 2, 3, 4, 5) I think it is because of the order by that I set.
    I have to keep this order by setting, so I look for another way to display the rownum.
    - Next I tried to set database item = N, column name = null, calculation mode = formula, formula = :system.trigger_record.
    When I run it all the value of :V_PAYUPLOADHEADER_HP.NUMB is 1. For all the records fetched is 1, 1, 1, 1 instead of 1, 2, 3, 4.
    - I also tried using POST-QUERY trigger attached to the block.
    In the trigger I have this code:
    :V_PAYUPLOADHEADER_HP.NUMB := :system.cursor_record;
    When I run it all the value of :V_PAYUPLOADHEADER_HP.NUMB is 1. For all the records fetched is 1, 1, 1, 1 instead of 1, 2, 3, 4..
    Is there something that I missed?
    What can I do to display the rownum?

    Hi
    You can achieve this by adding new item named 'ROWNUM'. in the Data Block you are working on.
    And it's 'BASE TABLE ITEM' property needs to be set as TRUE'. IN the property ,IN the post-query Trigger use...
    SELECT ROWNUM
    INTO :ROWNUM
    FROM TABLE
    WHERE EMP_ID =EMP_ID;Hope this helps...
    Regards,
    Abdetu...

  • I try to display a number of executed record on the forms screen.

    I try to display a number of executed record on the forms screen
    while a cursor loop statement is running. (the cursor statement is in server)
    And i used the 'when-timer-expired' trigger in forms developer.
    it was possible to update the count of executed record to a temporary table,
    but it didn't work to dislay the result on the forms in real-time .
    only on time the trigger was executed when the cursor loop was finished.
    Does anyone know the method of showing the count in real-time???
    Message was edited by:
    조현정
    Message was edited by:
    조현정

    If I understand you:
    - You created a procedure in the database that uses a cursor to process one record at a time.
    - This procedure updates a temp table that indicates the current record being processed.
    - While the procedure is running you created a repeat timer that queries the temp table and displays in the form the current record being processed.
    Now, you say that the timer only executed once after the database procedure was finished. Is that your problem?
    If so, I think you may have to start the procedure using the database scheduler. Then use a repeat timer to query the temp table. Your procedure will need to indicate in the temp table when it is finished so you can stop the timer. (There may be another way to check if the procedure is done. For example, the database may provide some means to indicate that the procedure in scheduler is done.)
    Message was edited by:
    Mark Roberts

  • Cinema display serial number from plist

    Hi, I need help getting my cinema display serial number from an old Plist file.  My office was broken into recently and someone made off with the monitor.  It's a long shot but I thought I could find the serial number for the campus police.  I was able to find an old com.apple.windowserver.plist file that had some information for the display.  I tried the command <defaults read ./com.apple.windowserver.plist> and came up with the following.  Problem is they don't look like serial numbers for a cinema display.  Any suggestions? 
                    DisplayID = 69530633;
                    DisplayProductID = 37430;
                    DisplaySerialNumber = 42039688;
                    DisplayVendorID = 1552;

    Hi ,
    Go to /Library/Preferences/com.apple.windowserver.plist. Open this with TextWrangler or a similar utility. Look for a DisplaySerialNumber key with an integer value that isn't 0. With any luck, this should be the s/n of your display.
    If you haven't used this display for a while, the records of it may be gone.
    Also, it appears that this isn't guaranteed. Double-check if possible.

  • Using Cinema Display and Samsung LCD with One Mini

    I have been trying unsuccessful to output the DVI of my mini to my 23" Apple Cinema and my Samsung 4669F (native resolution of 1920x 1080p). I have tried various methods including using the Gefen 1:2 DVI Splitter (Ext-DVI-144) and a DVI-HDMI cable to the samsung in conjunction with SwitchResX, all to no avail.
    Any help?- I wish to mirror the same display on both LCD screen simultaneously?- However, I would settle for a solution of a convenient A/B switch? ANy tips?
    What about an external USB video card for the Mini- that should work too?- any tips?
    I used SwitchResX because I determine that because the 23" ACD was 1920 x1200, the Samsung was not displaying because the Gefen splitter box was sending the same signal in 1920 x1200 to the Samsung, which was not accepted by the Samsung whose native resolution is 1920 x 1080p. However, once I switched the resolution to 1920 x 1080 to force an out of the mini to that resolution, there was no display at all on the 23" ACD and I had to do a safe mode reboot to recover the display on the 23" ACD?-
    One would think that it would be relatively easier for Apple to create a script that would allow a person to display 1920 x 1080p on the Cinema Display, a script that overrided the message from the ACD that tells the mac mini to stretch any resolution to 1920x1200 before it gets to the 23" - This way I could use SwitchResX and the Gefen splitter to output 1920x1080p to both displays at once (of course the 23" ACD would have to have some black borders on the top and bottom. Why doesn't apple make this available? - Spent $900 on this monitor and the Mini has a DVI output- why should the Gefen splitter be rendered useless simply because my other display is a different native resolution.
    Message was edited by: sidebysidefootball

    Of course it is!
    (I've got this problem for 3 month now)

  • What algorithm does Excel 2010 use for Pseudo Random Number Generation (MT19937?)

    Does Excel 2010+ use the Mersenne Twister (MT19937) algorithm for Pseudo Random Number Generation (PRNG), implemented by the RAND() function?
    This has been a nagging question for some time now, with "hints" that it indeed does.  However, a relatively thorough search turns up no definitive documentation.  The most direct indication is perhaps given by Guy Melard [Ref 9] where
    he tests Excel 2010's RAND() function using the Crush battery of tests in TestU01 by L'Ecuyer & Simard.  Melard references a "semi-official" indication that Microsoft did indeed implement MT19937 for the RAND() function in
    Excel 2010, but this reference no longer seems to be available. http://office.microsoft.com/enus/excel-help/about-solver-HP005198368.aspx?pid=CH010004571033.
    The other references below [Ref 1-10] document the history of the statistical suitability of the PRNG and probability distributions in various versions of Excel.  This includes the Wichmann-Hill PRNG implementations supposedly (arguably) used in
    Excel 2003 & 2007 for random number generation.  But still, we have no answer as to which PRNG algorithm is used in
    Excel 2010 (and 2013 for that matter).
    Microsoft indicates that RAND() has been improved in Excel 2010; Microsoft states, "...and the RAND function now uses a new random number algorithm." (see https://support.office.com/en-ca/article/Whats-New-Changes-made-to-Excel-functions-355d08c8-8358-4ecb-b6eb-e2e443e98aac). 
    But no details are given on the actual algorithm.  This is critical for Monte Carlo methods and many other applications.
    Any help would be much appreciated. Thanks.
    [Ref 1] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 97. 
    Computational Statistics & Data Analysis. Vol. 31 No. 1, pp 27-37. July 1999.
    http://users.df.uba.ar/cobelli/LaboratoriosBasicos/excel97.pdf
    [Ref 2]L. Knüsel.  On the accuracy of the statistical distributions in Microsoft Excel 97. Computational Statistics & Data Analysis. Vol. 26 No. 3, pp 375-377. January 1998.
    http://www.sciencedirect.com/science/article/pii/S0167947397817562
    [Ref 3]B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2000 and Excel XP. 
    Computational Statistics & Data Analysis. Vol.40 No. 4, pp 713-721. October 2002.
    https://www.researchgate.net/publication/222672996_On_the_accuracy_of_statistical_procedures_in_Microsoft_Excel_2000_and_Excel_XP/links/00b4951c314aac4702000000.pdf
    [Ref 4] B. McCullough, B. Wilson.  On the Accuracy of Statistical Procedures in Microsoft Excel 2003. 
    Computational Statistics & Data Analysis. Vol.49. No. 4, pp 1244-1252. June 2005.
    http://www.pucrs.br/famat/viali/tic_literatura/artigos/planilhas/msexcel.pdf
    [Ref 5] L. Knüsel. On the accuracy of statistical distributions in Microsoft Excel 2003. Computational Statistics & Data Analysis, Vol. 48, No. 3, pp 445-449. March 2005.
    http://www.sciencedirect.com/science/article/pii/S0167947304000337
    [Ref 6]B. McCullough, D.Heiser.  On the Accuracy of Statistical Procedures in Microsoft Excel 2007. 
    Computational Statistics & Data Analysis. Vol.52. No. 10, pp 4570-4578. June 2008.
    http://users.df.uba.ar/mricci/F1ByG2013/excel2007.pdf
    [Ref 7] A. Yalta. The Accuracy of Statistical Distributions in Microsoft<sup>®</sup> Excel 2007. Computational Statistics & Data Anlaysis. Vol. 52 No. 10, pp 4579 – 4586. June 2008.
    http://www.sciencedirect.com/science/article/pii/S0167947308001618
    [Ref 8] B. McCullough.  Microsoft Excel’s ‘Not The Wichmann-Hill’ Random Number Generators. Computational Statistics and Data Analysis. Vol.52. No. 10, pp 4587-4593. June 2008.
    http://www.sciencedirect.com/science/article/pii/S016794730800162X
    [Ref 9] G. Melard.  On the Accuracy of Statistical Procedures in Microsoft Excel 2010. Computational Statistics. Vol.29 No. 5, pp 1095-1128. October 2014.
    http://homepages.ulb.ac.be/~gmelard/rech/gmelard_csda23.pdf
    [Ref 10] L. Knüsel.  On the Accuracy of Statistical Distributions in Microsoft Excel 2010. Department of Statistics - University of Munich, Germany.
    http://www.csdassn.org/software_reports/excel2011.pdf

    I found the same KB article:
    https://support.microsoft.com/en-us/kb/828795
    This was introduced (according to the article) in Excel 2003. Perhaps the references in notes 2 and 3 might help.
    The article describes combining the results of 3 generators, each similar to a Multiply With Carry (MWC) generator, but with zero carry. MWC generators do very well on the Diehard battery of randomness tests (mentioned in your references), and have
    very long periods. But using zero carry makes no sense to me.
    Combining the three generators only helps if the periods of the 3 are relatively prime (despite what the article implies). Then the period of the result will be the product of the 3 periods. But without knowing the theory behind these generators, I have
    no idea what the periods would be. The formulas for MWC generators fail here.
    Richard Mueller - MVP Directory Services

  • I have a 17" Macbook pro with flickering red and cyan(blue) lines across the screen. The issue disappears temporarily when I tap on the computer, and the problem does not occur when I use external display or try to screen capture the problem.

    I purchased my Macbook (17") through a certified apple tecnition in August 2012, it was refurbished and the motherboard was completely replaced. I do a lot of photo editing, but I have been unable to do so because of the red vibrating lines that interrupt my screen. The issue disappears temporarily when I tap on the computer, and the problem does not occur when I use external display or try to screen capture the problem. I brought the computer back to the technition I purchased it from and he said that it was a problem with my fan, so I have two new fans but the issue is still occuring. He says he doesnt know whats wrong. Does anyone have any information on this issue?
    Here is an image of the issue
    http://www.flickr.com/photos/67839707@N08/8884847081/

    I recommend having your Mac serviced by someone competent. A force sufficient to "blow apart" the fans was clearly excessive and may have damaged the display cable, as well as any number of other problems.
    Dust is properly cleaned with a vacuum, preferably one designed for computer service, and they are not cheap.
    Compressed air should never be used. It just blows dust everywhere, often into places where it can no longer be removed.

  • Using VGA display without EDID possible?

    Hello,
    I plan to buy a Mac mini in the near future but I have a rather specific concern about the display connectivity in advance:
    Is it possible to use an analogue VGA display that doesn't deliver any EDID/DDC ( http://en.wikipedia.org/wiki/EDID ) with the current Mac mini via the Display Port-VGA adapter.
    I'm asking this because a PC with nVidia GF9400 onboard graphics and Windows 7 or Vista immediately turns off the VGA signal when the OS is completely booted.
    I have a MBP (4,1/Early '08) and could use the display in question with the DVI-VGA adapter after manually setting the correct resulution and refresh rate.
    Can I safely assume that the Mac mini's GF 320M behaves the same way with the Display Port-VGA adapter? I don't have any device with a display port output yet so I can't really test it myself.
    There's a concerning customer comment to the Display Port-VGA adapter in the German Apple Online Store stating that this customer couldn't connect a Samsung LCD TV with the adapter.
    Thank you very much for the help!

    Thanks for the tool tip. Seems like the display has EDID after all:
    Exported EDID from SwitchResX:
    {quote}DDC block report generated by SwitchResX version 4.1.6 for display
    ------------------- RAW DATA ------------------------
    0 1 2 3 4 5 6 7 8 9 A B C D E F
    0 | 00 FF FF FF FF FF FF 00 4A AE 00 02 01 01 01 01
    1 | 1E 0C 01 03 6E 24 1B 78 EA 8A 01 9A 58 52 8B 28
    2 | 1E 50 54 FF FF 80 61 40 61 4F D1 C0 71 4F 81 4F
    3 | 81 59 81 99 A9 40 BC 1B 00 BA 50 20 1C 30 30 20
    4 | 36 00 44 0A 20 20 20 20 00 00 00 FF 00 31 0A 20
    5 | 20 20 20 20 20 20 20 20 20 20 00 00 00 FD 00 2B
    6 | 55 14 5C 0E 00 0A 20 20 20 20 20 20 20 00 00 FF
    7 | 00 30 30 30 30 30 31 0A 20 20 20 20 20 20 00 B0
    < 00FFFFFF FFFFFF00 4AAE0002 01010101 1E0C0103 6E241B78 EA8A019A 58528B28 1E5054FF FF806140 614FD1C0 714F814F 81598199 A940BC1B 00BA5020 1C303020 3600440A 20202020 000000FF 00310A20 20202020 20202020 20200000 00FD002B 55145C0E 000A2020 20202020 200000FF 00303030 3030310A 20202020 202000B0 >
    { 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x4A, 0xAE, 0x00, 0x02, 0x01, 0x01, 0x01, 0x01, 0x1E, 0x0C, 0x01, 0x03, 0x6E, 0x24, 0x1B, 0x78, 0xEA, 0x8A, 0x01, 0x9A, 0x58, 0x52, 0x8B, 0x28, 0x1E, 0x50, 0x54, 0xFF, 0xFF, 0x80, 0x61, 0x40, 0x61, 0x4F, 0xD1, 0xC0, 0x71, 0x4F, 0x81, 0x4F, 0x81, 0x59, 0x81, 0x99, 0xA9, 0x40, 0xBC, 0x1B, 0x00, 0xBA, 0x50, 0x20, 0x1C, 0x30, 0x30, 0x20, 0x36, 0x00, 0x44, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x31, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFD, 0x00, 0x2B, 0x55, 0x14, 0x5C, 0x0E, 0x00, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0xFF, 0x00, 0x30, 0x30, 0x30, 0x30, 0x30, 0x31, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0xB0, }
    Valid EDID block: checksum passed
    ------------------- MAIN EDID BLOCK -----------------
    EDID Version........1.3
    Manufacturer........RUN
    Product Code........2 (0002) (0200)
    Serial Number.......01010101
    Manufactured........Week 30 of year 2002
    Max H Size..........36 cm
    Max V Size..........27 cm
    Gamma...............2,20
    Display Supported Features:
    Power Management: Active off Power Management: Suspend Power Management: Standby
    Display type:
    RGB color display
    Display is non continuous frequency
    Default color space is not sRGB standard
    Preferred timing mode includes Native Pixel Format
    Input signal & sync:
    Analog input with: 0.700V / 0.000V
    Sync on green
    Separate Sync
    Composite Sync
    Color info:
    Red x = 0,604 Green x = 0,322 Blue x = 0,156 White x = 0,312
    Red y = 0,344 Green y = 0,545 Blue y = 0,117 White y = 0,329
    Established Timings:
    720 x 400 @ 70Hz
    720 x 400 @ 88Hz
    640 x 480 @ 60Hz
    640 x 480 @ 67Hz
    640 x 480 @ 72Hz
    640 x 480 @ 75Hz
    800 x 600 @ 56Hz
    800 x 600 @ 60Hz
    800 x 600 @ 72Hz
    800 x 600 @ 75Hz
    832 x 624 @ 75Hz
    1024 x 768 @ 87Hz
    1024 x 768 @ 60Hz
    1024 x 768 @ 70Hz
    1024 x 768 @ 75Hz
    1280 x 1024 @ 75Hz
    Manufacturer Reserved Timings:
    1152 x 870 @ 75Hz
    Standard Timing Identification:
    #0: 1024 x 768 @ 60Hz (6140)
    #1: 1024 x 768 @ 75Hz (614F)
    #2: 1920 x 1080 @ 60Hz (D1C0)
    #3: 1152 x 864 @ 75Hz (714F)
    #4: 1280 x 960 @ 75Hz (814F)
    #5: 1280 x 960 @ 85Hz (8159)
    #6: 1280 x 1024 @ 85Hz (8199)
    #7: 1600 x 1200 @ 60Hz (A940)
    Monitor Description blocks:
    Descriptor #0 - Timing definition:
    Mode = 1280 x 800 @ 58,492Hz
    Pixel Clock............. 71,00 MHz Non-Interlaced
    Horizontal Vertical
    Active.................. 1280 pixels 800 lines
    Front Porch............. 48 pixels 3 lines
    Sync Width.............. 32 pixels 6 lines
    Back Porch.............. 106 pixels 19 lines
    Blanking................ 186 pixels 28 lines
    Total................... 1466 pixels 828 lines
    Scan Rate............... 48,431 kHz 58,492 Hz
    Image Size.............. 580 mm 10 mm
    Border.................. 32 pixels 32 lines
    Seq Stereo (Rt. Sync = 1)
    Sync: Analog composite with Sync on green
    Descriptor #1 - Serial number:
    1
    Descriptor #2 - Monitor limits:
    Horizontal frequency range.......20-92 kHz
    Vertical frequency range.........43-85 Hz
    Maximum bandwidth unspecified
    Descriptor #3 - Timing definition:
    Mode = 0 x 816 @ 1,452Hz
    Pixel Clock............. 0,32 MHz Non-Interlaced
    Horizontal Vertical
    Active.................. 0 pixels 816 lines
    Front Porch............. 48 pixels 35 lines
    Sync Width.............. 48 pixels 33 lines
    Back Porch.............. 159 pixels -20 lines
    Blanking................ 255 pixels 48 lines
    Total................... 255 pixels 864 lines
    Scan Rate............... 1,255 kHz 1,452 Hz
    Image Size.............. 544 mm 32 mm
    Border.................. 32 pixels 32 lines
    Seq Stereo (Rt. Sync = 1)
    Sync: Analog composite with Sync on green
    {quote}
    Can you evaluate these details? Am I good to go?

  • Node port number :This port is in use.Select another port number-

    I am trying to insalled Informatica 9.0.1 Hotfix2 on my personal laptop and getting below error and was getting same error for 8.6.1, Si i have uninstalled it
    Node port number :This port is in use.Select another port number
    I have tried passing different no like 6005,6006,6007,6008.... but for all it giving me the same error.
    Can any please answer where i can check that which port system is using and what the available values?
    OS: Windows 7 Professional
    DB:Oracle11g

    Hi,
    Goto start > run > enter netstat -o command and execute it and it will display all the addresses. In Foreign Address column the entire ipaddress:portnumber will be display and along with this process id(pid) will be displayed. Check whether the portnumbers are being used by any other application or it is in blocked state. If it is in blocked state then kill that process id with taskkill /pid /f command at command prompt.
    After doing this you can try to install it one more and let us know whether it got succeeded or not.
    Thanks,
    Navin Kumar Bolla

  • Use of Official Document number in VAT Books for Italy

    Dear All,
    I would like to share with you a big doubt I have regarding the use of Official Document Number in the VAT Books. This is a requirement for an Italian client.
    According to my clients requierement they would like to manage 5 different VAT Books:
    1. Sale book (for all finished products sold in Italy, EU and outside EU)
    2. Sale book for sundry sales (CAPEX, services, other goods ...)
    3. Purchase book (for all the goods bought in Italy and out-side EU and for all the services bought in Italy)
    4. EU purchase book (for all the goods and services bought from EU suppliers and for all the services bought from not EU suppliers)
    5. EU sale (reverse charge) book (with the same numbers and amounts of the purchase book number 4)
    For every VAT Book they want the Officil Document number to be displayed. Not only that, they want the Official Document Number to end in 1 (XXXXXXX1) at the start of every natural Year for EVERY VAT Book, and have sequential numbering with no gaps.
    My intention is to use: RFKKITVATM. This is a specific VAT report for Italian Companies. The report selects documents that contain regular VAT and that have been assigned an Official Document number (ODN). You run this report to generate such a list for the current month. It selects documents with an ODN based on the invoice or credit memo posting date. You can create as many layout-variants (one per VAT Book??).
    My question is: The VAT Books are based on different VAT Codes. How can we have every single VAT Book to start with an Official Document number ending in 1? The number range will be Document type dependant and not VAT Code dependant.
    As per my knowledger, To use Official Document Numbering (ODN) in Italy we have to make a number of settings:
    - Activate ODN
    - Specify which document types the system is to assign official document numbers to.
    - Assign installation-specific function modules to events
    - Define Number ranges
    Have you faced up a similar requirement? Is this a legal requierement or is my client mixing up with another legal requierement related to this subject:  To print a sequential number and the fiscal year on each page of the reportu2019s output list. The System starts the numbering automatically at 1, as it does for each subsequent year.
    Many thanks in advance for your help.

    Hello All,
    Am facing an issue when implementing the ODN solution for Italy. I cannot replicate the ODN in field BKPF-XBLNR_ALT when posting Invoice via MIRO.
    1. I have Defined a Document Class per VAT Book
    2. I have Assign a Document Class to Document Types (in my example Document Type "RE" to Document class "43". And select "Generate Official Document Number, with date control".
    3. I have mantained Number ranges
    4. I have Assign the Number ranges to Document Class.
    5. In order to transfer the ODN from Billing docs to Accounting docs I have entered the Document Type "RV" at Billing Document Type level.
    It all works as expected except for the Accounting documents coming from Logistic Invoice verification - MIRO transaction. Document Type "RE" is used for posting but my field BKPF-XBLNR on Accounting document remains blank.
    Is there any additional step am missing?
    Thanks in advance.
    Regards,

  • How do you preview using a spool request number

    How do you preview using a spool request number?
    I have an application in which I have accumulated the results from several smartforms into one spool request. I have the spool request number, and am printing it using function RSPO_RPRINT_SPOOLREQ.
    I need to be able to preview the contents of the spool request before printing. I can not preview when generating the smartforms, as that involves several previews, and I need to preview once only per spool request.
    I have been trying to use RSPO_RDISPLAY_OUTREQ but it dumps immediately (line 47) with field symbol <FTSP01> not assigned.
    Suggestions?

    *With no faction module "COM_SE_SPOOL_DISPLAY", try this simple code, you can display the form *type spool (you also can put the code in a function module):
    REPORT  ypl_test_display_spool MESSAGE-ID zm_print.
    PARAMETERS: rqident LIKE tsp01-rqident,
                            rqdocty LIKE tsp01-rqdoctype.
    *--- there may be more types need to separate..., so use case...
    CASE rqdocty.
      WHEN 'OTF' OR 'SMART'.
        PERFORM display_form.
      WHEN OTHERS.
        PERFORM display_others.
    ENDCASE.
    *&      Form  DISPLAY_FORM
          display form type spool...
    FORM display_form.
      DATA: wstr_otf_control TYPE itcpp.
      DATA: wtbl_buffer TYPE TABLE OF soli WITH HEADER LINE.
      DATA: wtbl_otf TYPE TABLE OF itcoo WITH HEADER LINE.
      DATA: wstr_retcode LIKE itcpp.
    *--- return spool raw data
      CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
        EXPORTING
          rqident              = rqident
        TABLES
          buffer               = wtbl_buffer
        EXCEPTIONS
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          type_no_match        = 7
          OTHERS               = 8.
      IF sy-subrc <> 0.
        MESSAGE s013 WITH text-001.
        EXIT.
      ENDIF.
      LOOP AT wtbl_buffer .
        wtbl_otf-tdprintcom = wtbl_buffer(2).
        wtbl_otf-tdprintpar = wtbl_buffer+2.
        APPEND wtbl_otf.
      ENDLOOP.
    *--- some data to pass to this parameter, may not need...from SP01...
      wstr_otf_control-tdcopies = 1.
      wstr_otf_control-tdappl = 'TX'.
      wstr_otf_control-tddest = 'LOCL'.
      wstr_otf_control-tdpages = 0.
      wstr_otf_control-tdnoprint = 'X'.
      CALL FUNCTION 'DISPLAY_OTF'
        EXPORTING
          control = wstr_otf_control
        IMPORTING
          RESULT  = wstr_retcode
        TABLES
          otf     = wtbl_otf.
      IF wstr_retcode IS INITIAL.
    *--- message...
      ENDIF.
    ENDFORM.                    "DISPLAY_FORM
    *&      Form  display_others
          display other types, may more types needed to separate...
          you can refer current version of SAP report RSPOLST2
    FORM display_others.
      CALL FUNCTION 'RSPO_DISPLAY_SPOOLJOB'
        EXPORTING
          rqident              = rqident
        EXCEPTIONS
          no_such_job          = 1
          job_contains_no_data = 2
          selection_empty      = 3
          no_permission        = 4
          can_not_access       = 5
          read_error           = 6
          OTHERS               = 7.
      IF sy-subrc <> 0.
        MESSAGE s013 WITH text-001.
      ENDIF.
    ENDFORM.                    "display_others

Maybe you are looking for

  • Pdf file not saving imputed information

    i am trying to save a pdf file that i have filled out, but when i save it and go back to look at it, the text information i have filled out is blank. how do i save my text? i am filling out an applictaion.

  • Cannot have multiple items selected in a DropDownList when edit the forum in sharepoint

    hi , i  have custom forum for new and edit, in new forum we have controls drop down values, when select drop down1   values that related values are displayed in dropdown2 , when edit  item  that  time we getting error Cannot have multiple items selec

  • View Performance Issues

    Basically I have created a View that I can Select count(*) on and it returns the number of rows, I use the view for an Insert query to one table only pulling through several fields and after a bit of a pause it works... I then Insert the whole view t

  • HT4759 icloud grayed out on ipad2

    my icloud if grayed out on my ipad  cant figure out why?

  • Listener memory leak.

    Hi, We'are using oracle database 8.1.7.4 OPS cluster on 2 nodes. Recentaly our listener in the node#1 has started leaking. How to findout the reason for this leak. And how to prevent this error? Thanks. Regards, Shabbir Hussain.