Kona LH versus Kona 3

Hi everyone-
I am interested in buying a card that will allow me to input/ouput Hi Def footage from/to FCP. I have heard a lot about the Kona cards.
I was looking into buying either a Kona LH or a Kona3. Besides the $1000 difference, it seems like the only big diff is the Kona 3 cant do any in/output thats analog in nature (so 3/4" or Beta SP stuff cant be captured or output via the card)...
Also the Kona LH cant output true 4:4:4 color space stuff....
Are there any other differences? Has anyone here had any experiences (good or bad) with either card --- or should I look at the Declink or Blackmagic card? Any advice would be helpful.
Thanks!
David

The Kona 3 can cross convert into many formats on the fly, like going from 720p to 1080p or 1080i. The Kona LH cannot do that. Very useful for those of us who shoot 720p but need to deliver 1080p. And the kona 3 will output Analogue, but just not capture it.
But the Kona LH is a VERY good card. I want one myself.
And FCP handles 4:4:4 HD just fine. Captures and outputs 10-bit uncompressed 4:4:4 footage from the HDCAM SR. And at RED they do 2k 4:4:4...
Shane

Similar Messages

  • Kona 3 and Kona 3G support for SpeedGrade monitoring

    Any idea when or if this will be implemented?  
    Sounds like it could be very painful, since Iridas did everything through the GPU.
    Mac Pro's with Kona cards, would love to dump FCP.  Have already subscribed to the cloud, but need to justify putting more machines on before jumping totally in.

    This is a question that we all want answerd. But I thing the answer will come with the next release. Adobe has anounced that there will be a new version of the Creative Suite (all products) in April.

  • KONA users running Final Cut Pro X with KONA 3G, KONA 3, or KONA LHi look here!

    AJA has posted info about how to use their stuff with FCPX:
    http://www.aja.com/news/index_article.php?id=147
    Hope this helps some of you guys.

    Interesting, thanks for posting it. It seems to keep the disconnect between the editing system and the rest of the world. No offline/online, tons of storage demand. I can't work with proxy files from other apps like CatDV.
    I'm staying with 7. At least it deals with the real world.

  • Continuing audio issues using Kona card

    MAC PRO 2 x 2.93 GHz 6 Core
    12 GB 1333 MJZ DDR3 Ram
    Kona 3 card
    Kona driver 10.3.1
    Adobe utilities for Kona 10.3.0
    Quadro 4000 graphics card
    Video drive Apple XServe raid
    plus 2 TB G-raid & 3, 2 TB internal 7200 RPM drives
    OS 10.7.4
    CS6.0.1.31
    So I've been dealing with this issue since I downloded and started using the Kona 3 drivers with PPCS6.0.1
    Often when I start my computer after shutting down the night before and restart premier in the same project I left that was working fine.  I get broken audio in playback.  When I check my computer system audio in and out preferences they have mysteriously switched back to Kona, which is what is causing the problem. 
    I attempt to switch them back to line in and line out, close preferneces and then reopen and that switch has not taken and they're back to Kona.
    I repair permissions and restart and make the change again...sometimes when I do this I get a Kernal panic, so need to shut down and start again.  Someties this will fix the issue for today, sometimes not.  Today after the kernal panic, everything seems to be working properly.
    This is a little anoying and is a 15 to 20 minute excercise each morning.  Sure I could leave my machine on all night, but I'd sure appreciate anyone's ideas on how to solve this continuing issue.
    I turned in a bug report today, since I believe it is indeed a bug somewhere.
    Thx...Jim Watt

    I found a post in the apple forum that solved this issue...
    If you are having problems with your "default output" sound in Snow Leopard, try the following...
    Go to your hard drive (root level), and open the Library folder. Then open the Preferences folder, and open the Audio folder.
    Delete the two preference files contained in the Audio folder:
    - com.apple.audio.DeviceSettings.plist
    - com.apple.audio.SystemSettings.plist
    Reboot your mac, and hopefully your problems will be solved.
    This solution worked for me, and hopefully it will for you too.

  • PrP 5.5 MPE quandry - CUDA card or Kona 3 - Pick 1 for use

    Wow, I just learned from Adobe tech support,something that has the potential to really disappoint a lot of editors switching to PrP 5.5. I was told that PrP supports only 1 graphics card at a time. So you have a choice. If you want to take full advantage of your CUDA card speeding certain things up, then you cant use the Kona 3 card to output the video to an engineering / client monitor. And conversely,  if you need to see your video from the Kona 3 card displayed on a external monitor, you cant take advantage of the MPE / CUDA benefits from your Nvidia card. Yikes.

    Hi All,
    To be clear here, an AJA KONA or Io Express card WILL work in conjunction with Adobe approved nVidia 'CUDA' cards, and the GPU acceleration provided by the Mercury Engine.
    When using an AJA card for monitoring, mastering, or other playout, the AJA cards do require that you use an AJA preset.  However, those presets allow the Mercury Engine, including GPU acceleration, to do its thing on most file types.  There are some uncompressed 10-bit RGB file types that AJA has additional support for, which, will not see the same GPU benefit, but for 99% of Premiere Pro users, their nVidia and AJA cards can work together.
    The confusion is created to some degree by the fact that the AJA plugins for CS 5 did have some additional limitations which limited the performance bonus realized by the GPU acceleration when working in an AJA seqeuence in Premiere Pro.  However, with CS 5.5, the performance bonus is greatly increased.  While it is difficult to make a blanket statement like "4 RT streams" or "4 simultaneous RT effects" due to the number of potential variables that affect the performance of both the AJA plugins, and Premiere Pro, I can say with high confidence that those of you who use both an AJA video I/O card along with an approved nVidia graphics card, will see a great performance bonus relative to using the 'software only' version of Mercury Engine.
    I can say, that on my own test system here, I run both Windows 7 and Mac OS using bootcamp on an older MacPro (2008, v3.1) with 8 cores and 8GB of RAM, and a Quadro FX 4800.  On both operating systems I see similar results.  I reliably see 3 RT streams, and sometimes more, with several different effects, running 1080i29.97 ProRes, DVCProHD, and uncompressed footage at full resolution out of a KONA LHi, and KONA 3G.
    I have seen up to 6 streams with 6 effects run in real-time on this system, but that is generally with thin raster footage, at 24 or 25 fps.  I certainly wont make the claim that you will always get this performance.
    For those of you with more memory, newer systems, and newer nVidia cards, fast storage, lower resolutions, lower framerates, are likely to see better performance than this.
    Thad Huston
    AJA

  • Recording a Voice Over w Kona3 xlr in FCP 6

    hello all
    i've got a fcp 6 setup with a kona 3 card and want to record Voice Overs straight into the timeline but am having some difficulties getting any results.
    The system is brand new and the card is installed properly but i'm not sure what i need to do to set the XLR 1-2 to be audible in FCP.
    Currently my mic is cabled to XLR 1-2 and with the kona 3 control panel the Audio Input Select is AES/EBU (XLR) map channels 1-2 to 1-2. The other option is Embedded 1-16. I'm pretty sure this is correct and mapping the XLR inputs appropriately.
    Within FCP my capture preset is AJA Kona3: 720p 59.94 DVCPro HD. Though i'm not sure if the capture preset effects the voice over tool.
    Within the VO tool:
    source: AJA Kona
    Input: Aja kona (doesn't allow a specific channel)
    in/outs are set on sequence. "ready to record' is displayed but i have no levels.
    any insight is appreciated as i am a little green with the kona card.
    Thanks
    /j

    I'm not sure the AES/EBU xlr inputs will work with a mic plugged directly. This is actually intended to be a digital format - see the wiki here:
    http://en.wikipedia.org/wiki/AES/EBU
    A mic plugged directly into this jack will not provide the compatible signal. I use a Kone with a breakout box that includes analog XLR inputs, but these are differentl. You may have some additional options. You need to convert the audio to digital to use the AES or "embedded" digital audio. If you have a deck connected you may bbe able to use the analog inputs on the deck as a bridge to get to the Kona.
    If you are planning to use the VO tool, you may be recording scratch VO until the script is finalized... in this case, or even if this is intended to be the final audio, you can also hook up an adapter to use the Mac's built-in audio input as a source, in whic case the A/D conversion happens on the Mac's audio card.
    Additionally, you can use a DV or other firewire-compatible camera as a bridge to get digital audio in via firewire.
    Hope this helps -
    Max Average

  • A serious error has occurred or how the 7.1 update ruined my life.

    Ever since the 7.1 update to Premiere, I've had nothing but problems. The desktop app fails to update for every update, and appears to think it's out of date when it's not and then the icon in the menu bar will be grayed out until I reboot 3-4 times. The "workaround for that seems to be to force quit and uninstall the "previous" version and then download the "new" version from the creative cloud web portal. This wouldn't be that large of an issue, but it happens almost every other day.
    Then once I can actually open Premiere, the real fun with errors begins. I have received the "A Serious Error has occurred" screen on 30-40 (not exagerating) delightful occasions in the past couple of weeks, with no real details of what is actually wrong. It usually occurs while trying to fix an issue where my multi-clips aren't showing the audio waveforms in the sequence, but it has happened plenty of other mysterious ways. This is even more complicated, because it's happening on multiple systems and one of them isn't even using the 7.1 update and another is offsite and using different hardware. The same annoying error occurs across them all.
    Another super cool "feature" is that Mercury Playback Engine capabilities come and go as they please. Sometimes they work for Premiere or Media Encoder or After Effects, but sometimes they just pick one for that given day and don't let the other apps playback. All of the systems GPU were working just fine in 7.0.1, but now wtf Adobe?
    My system specs are varied, but the general idea is this:
    Mac Pro systems (4,1-5,1) 2.3GHz - 2.93GHz
    16-24GB RAM
    Nvidia QuadroFX 4800, Nvidia QuadroFX 4000, Nvidia GeForce 9800
    OS X 10.7.4 and 10.7.5
    A few of the systems have AJA Kona 3 and Kona 3G
    Most of the media is being accessed across 10gigE to a ProMax Platform, and the project files are local on SSD's.
    I have the bug report from Apple, so if that helps let me know so I can get that info to someone who cares.

    Hi Kevin,
    I'm still planning on attempting the 10.8.5 install on one of the affected systems. In the process, I have uncovered a new issue related to the CUDA acceleration not being there at all on a system that used to have it. That particular Mac Pro system only has a GeForce GT120, but the point is that in CS6 and CC, the CUDA was working until this latest update. The other systems have QuadroFX 4000 and 4800 cards, so those seem to be getting CUDA playback, however it is intermittent.
    As for the OS X 10.7.4 not allowing me to install 7.1... That is correct. The Creative Cloud Desktop app was failing updating itself (as it still does on every "update") quite a bit, I don't remember any specific messages, but I did see somewhere along the process that I wasn't able to install the Premiere 7.1 update with my 10.7.4. One of the systems here is have a ton of issues with AE, but that's a whole new thread I think. I will attach some of those errors for kicks, but all of these problems occured with the introduction of the virus that is Creative Cloud into our working environment.
    I am working with a wide variety of media: R3D, 5D, F55 4K XAVC, Canon C-300, XDCAM EX, FS-100, ProRes. The projects that I've been having the most issues with lately has the Canon C-300 .MXF media mixed with 5D h.264 as a 2 camera multi-cam set up. The other project that was giving me a lot of trouble right when I installed the Premiere 7.1 update was R3D and F55 4K XAVC. Both issues were the "A Serious Error has occurred. Premiere will try and save your project" vague warning. I usually only lost work since the last Autosave 20 minute interval, but sometimes that is a lot of work and when it happens 10 times in one day, that is unacceptable.
    Here are some answers to some more of those questions:
    What other software are you running?
    These are all possible conflicting software (IMO) that are installed:
    Final Cut Studio 3
    Avid Symphony 6.0.3
    Cinema 4D R14
    RED CineX
    Davinci Resolve
    Nuke7
    Adobe CS5.5 and CS6 are still installed
    Do you have any third-party effects or codecs installed?
    Yes. Trapcode Suite, Primatte, lots of scripts in After Effects. Lots of codecs installed from Sony, Avid, RED, Canon, etc.
    I think I've answered most of the other questions in this thread, but hopefully that helps. I will update when I'm able to get 10.8.5 installed. I suppose a clean install of 10.7.5 perhaps might have the same chances of fixing this as well.
    Here is the Premiere Error:
    Here are a series of AE errors, that might need their own thread:

  • Converting DVCPRO 50 to HD

    I've been asked to upconvert DVCPRO 50 video to DVCPRO 100 video (Isn't that HD?). Any insight on the best way to go about this?
    I've only been editing for a little more than a year and am basically self taught, so I know enough to be dangerous but not much more.
    I'm working on a Mac Pro with Mac OS X (10.4.9)
    Machine Model: MacPro1,1
    Processor Name: Dual-Core Intel Xeon
    Processor Speed: 2.66 GHz
    Number Of Processors: 2
    Total Number Of Cores: 4
    L2 Cache (per processor): 4 MB
    Memory: 4 GB
    I have Final Cut Pro 5 and am using AJA Kona 3 card

    Your Kona 3 card can do this as you capture it, and it's better than the next option I'll wager...
    Once captured you can upconvert it simply by placing it in a DVCPROHD sequence, or you can export it to compressor and upconvert the clips that way.
    By far however, the best way to upconvert SD to HD is to use a teranex box to do it. Pricey for the better ones...
    Jerry

  • Viewing 3D on a Hyundai monitor in 3D

    Now, that there are cheap 3D-Displays (Hyundai 22" 600€), I would like to create my Director films so that they can be viewed in 3D. I could make the display oscillate between 2 frames, displaying left and right eye view, but this seems akward, mostly since my films usually wait for user interaction. Also, I cannot see how I could attribute different polarization directions out from Director. Is there any solution for this idea ?

    You can view it using Viewer & Canvas in FCP. To properly monitor it you need something like the Matrox MXO and an Apple 23" cinema display. If you have one of the tower MacPro boxes, look into the Kona LHe or Kona 3 cards. I understand the new AJA i/o HD will also allow monitoring via firewire 800.
    Good luck,
    x

  • Migrating from old Avid Xpress Meridien to FCP

    Sorry if this question has been answered elsewhere, but unfortunately I don't have the time to dig for it.
    Our agency is cuyrrently looking at upgrading our aging Avid Xpress (5.08, not Pro, not DV, but Meridien on OS9) to a FCP system (per my request). We have a G5 with FCP Studio already installed, but it's really only used for assembling DVDs and (motion) graphics.
    What I'd like to do is move everything over to the FCP system and purchase an outboard video card and possibly more storage.
    First of all, is Automatic Duck the best way to go for migrating projects? We have lots of old commercial and show projects that need to stay in-tact.
    Secondly, what will be my best option for outboard video? We are looking to migrate to HD in the near future (more than likely DVCPro100, NOT hdv) and am looking at the different options for FCP.
    Lastly, will the RAIDs I have from the old Avid work well with FCP, or should I try to push for a different setup?
    Any help or insight is greatly appreciated. Even if it's simply links to past discussions.
    Thank you in advance!

    Automatic duck is a great way of migrating projects, but only if they don't have any Avid filters or effects like Matte Keys or Animattes. Those will not transfer. Straight cuts, dissolves, wipes...they should transfer.
    DVCPRO HD requires no special capture card. It transfers via firewire (thus the reason FCP 4.5 is called FCP HD). But for uncompressed HD, good cards to look into are the Kona LH, Kona 2 (Kona LHe and Kona 3 for the QUADS) or the Decklink HD series from Blackmagic. Aurora has yet to release an HD card, which is a darn shame...
    For DVCPRO HD you will need either firewire 800 drives (recommend the G-Raids) or a SATA or fibrechannel Raid. For uncompressed HD, only the SATA or fibrechannel raids will cut it.
    I am glad to hear that you are considering DVCPRO HD over HDV. Smart move. For more info on my experiences with the DVCPRO HD workflow, click on UNDERDOG.
    Shane

  • Assertion: verticalPosition 0

    Hi all
    I am suporting user that has received error message like this within berowsing some reports results. I am new in BI therefore any help will be realy appreciated
    500 Internal Server Error
      BEx Web Application
    Failed to process request; contact your system administrator
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail was:
    Assertion: verticalPosition < 0
    java.lang.IllegalArgumentException: Assertion: verticalPosition < 0
    at com.sap.ip.bi.webapplications.ui.advancedcontrols.universalgrid.impl.AcUniGridGeneric.setVerticalPosition(AcUniGridGeneric.java:227)
    at com.sap.ip.bi.webapplications.ui.advancedcontrols.universalgrid.saptable.AcUniGridSapTable.notifyUiPaginationChange(AcUniGridSapTable.java:777)
    at com.sap.ip.bi.webapplications.ui.advancedcontrols.paginator.impl.AcPaginator.doNavigateRowPageStartCommand(AcPaginator.java:627)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    Log ID 0017A4772430002D0000004B0000049900045DAF333F8EE8
    Details: Full Exception Chain
    System Environment
    Server
    BI Java Release: 7 - Patch level: 0000000013 - Description: BI Web Applications Java - Additional info:  - Production mode: true
    BI ABAP Release: 700 - Patch level: 0015 - Description: SAP NetWeaver BI 7.0 (SAP_LocalSystem) - Additional info:  - Production mode: true
    Java Virtual Machine IBM J9 VM - IBM Corporation - 2.3
    Operating System Linux - amd64 - 2.6.5-7.283-smp
    Context
    ACCESSIBLE false
    CACHE true
    CONTENT_PADDING true
    COUNTRY 
    DEBUG false
    DEBUG_LEVEL 0
    DEBUG_MESSAGES false
    DEBUG_TEXTS false
    DISPLAY_STACK_TRACE_IN_ERROR_PAGES true
    LANGUAGE en
    Master System Alias SAP_LocalSystem
    NAVIGATION_NODE_LAUNCHER_URL pcd:portal_content/com.kone.kone/com.kone.Roles/com.kone.PR_Call_out_analyst/Call_out_Analyst/ZBIMNU_CORR_COAN/00000016/00000017
    PROFILING false
    Query String (Current Browser Request) BI_COMMAND=&BI_COMMAND-BI_ADVANCED=INFO_FIELD_ITEM_1_t_INFO_FIELD_ITEM_1&BI_COMMAND-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND-PASSIVE_ID=INFO_FIELD_ITEM_1_t_INFO_FIELD_ITEM_1_tc&BI_COMMAND-PASSIVE_VALUE=true&BI_COMMAND-TARGET_ITEM_REF=INFO_FIELD_ITEM_1&BI_COMMAND_1=&BI_COMMAND_1-BI_ADVANCED=ANALYSIS_interactive_pivot_left_bottom&BI_COMMAND_1-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_1-PASSIVE_ID=ANALYSIS_interactive_pivot_left_bottom_paginator&BI_COMMAND_1-PASSIVE_VALUE=2&BI_COMMAND_1-TARGET_ITEM_REF=ANALYSIS&BI_COMMAND_2=&BI_COMMAND_2-BI_ADVANCED=QUERYVIEW_SELECTION_AcDDLBase&BI_COMMAND_2-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_2-PASSIVE_ID=QUERYVIEW_SELECTION_AcDDLBase_combobox&BI_COMMAND_2-PASSIVE_VALUE=ZG_COR_CLINICA_PRIOR_LIFT_01_default&BI_COMMAND_2-TARGET_ITEM_REF=QUERYVIEW_SELECTION&BI_COMMAND_3=&BI_COMMAND_3-BI_ADVANCED=DROPDOWN_DISPLAY_AcDDLBase&BI_COMMAND_3-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_3-PASSIVE_ID=DROPDOWN_DISPLAY_AcDDLBase_combobox&BI_COMMAND_3-PASSIVE_VALUE=Option_0&BI_COMMAND_3-TARGET_ITEM_REF=DROPDOWN_DISPLAY&BI_COMMAND_4=&BI_COMMAND_4-BI_ADVANCED=ANALYSIS_interactive_pivot_left_bottom&BI_COMMAND_4-BI_COMMAND_TYPE=NAVIGATE_ROW_PAGE_START&BI_COMMAND_4-TARGET_ITEM_REF=ANALYSIS&REQUEST_ID=7
    Query String (Initial Browser Request) BUILDTREE=false&NAVIGATIONTARGET=navurl%3A%2F%2F92bb8192fffeaac665d3278118bec6e3&NAVPATHUPDATE=false&QUERY=ZG_COR_CLINICA_PRIOR_LIFT_01&RELATIVENAVBASE=&SAP-LAFVERSIONS=portal%3A7.0.13.0.1%3Bur%3A7.0.13.1.1&SAP-PP-CONSUMERBASEURL=http%3A%2F%2Fkwportal.kone.com%3A80&SAP-PP-PRODUCERID=BJ4_producer_LB&THEME=Kone
    RTL false
    Request URL http://bj4j2ee.kone.com:80
    SAP_BW_IVIEW_ID pcd:portal_content/com.kone.kone/com.kone.Roles/com.kone.PR_Call_out_analyst/Call_out_Analyst/ZBIMNU_CORR_COAN/00000016/00000017
    SAP_EXTERNAL_SID L3qPeYVSc3TG5fymiTefw--WFBMeufqxvZsoSKqv_ElA--
    SERVER_URL_PREFIX http://bj4j2ee.kone.com
    THEME_NAME Kone
    TRACE false
    TRAY_TYPE PLAIN
    Template (Main Object) ELEM ZG_COR_CLINICA_PRIOR_LIFT_01
    Template (Main) ZKONE_PATTERN
    Template Parameters <parameterList>
      <param name="BODY_ONLY" value="X"/>
      <param name="CHECK_POPUP_BLOCKER" value="X"/>
      <param name="DATA_MODE" value="NEW"/>
      <param name="DOCUMENT_SAVE_LEVEL" value="0"/>
      <param name="ERRORS_VISIBLE" value="X"/>
      <param name="INFORMATION_VISIBLE" value="X"/>
      <param name="ITEMS_STATELESS" value="false"/>
      <param name="MELT_VARIABLES" value="X"/>
      <param name="REPORT_REPORT_DISPLAY_TARGET" value="X"/>
      <param name="RRI_OPEN_MODE" value="OPEN_IN_SEPARATE_WINDOW">
        <param name="OPEN_IN_SEPARATE_WINDOW" value=""/>
      </param>
      <param name="START_STATELESS_INTERVAL" value="0"/>
      <param name="STATELESS" value="false"/>
      <param name="SYSTEM_MESSAGES_VISIBLE" value="X">
        <param name="SYSTEM_MESSAGES_DISPLAY_MODE" value="ALWAYS"/>
      </param>
      <param name="TEMPLATE_VERSION" value="1"/>
      <param name="USE_CONTEXT_MENU_SNIPPETS" value="X"/>
      <param name="USE_LAYERED_WINDOWS" value="X"/>
      <param name="USE_PERSONALIZATION" value="X"/>
      <param name="USE_SPECIFIC_VARIANT_CATALOG" value="X"/>
      <param name="VARIABLE_SCREEN" value="X"/>
      <param name="WARNINGS_VISIBLE" value="X"/>
      <param name="WINDOW_MODE" value="modal"/>
    </parameterList>
    Time Wed Dec 10 12:02:47 CET 2008
    USE_HTTPS_FOR_ADS false
    USE_SAP_EXPORT_LIB false
    User KCOIAR (USER.R3_DATASOURCE.KCOIAR)
    Deployed SCAs
    SCA Version SP Patch Compiled Deployed
    ADSSAP 7.00 13 0 2007-08-12 01:18:54 CEST 2008-02-01 22:14:48 CET
    BASETABLES 7.00 13 0 2007-08-12 01:36:38 CEST 2008-02-01 19:32:19 CET
    BI-BASE-S 7.00 13 9 2008-04-25 07:00:46 CEST 2008-05-15 13:19:44 CEST
    BI-IBC 7.00 13 0 2007-08-12 12:03:28 CEST 2008-02-03 11:20:37 CET
    BI-REPPLAN 7.00 13 1 2008-01-04 12:21:05 CET 2008-03-06 11:20:39 CET
    BI-WDALV 7.00 13 1 2007-11-05 11:28:29 CET 2008-03-06 11:20:52 CET
    BIWEBAPP 7.00 13 9 2008-04-25 07:01:59 CEST 2008-05-15 12:14:34 CEST
    BI_MMR 7.00 13 0 2007-08-12 01:37:49 CEST 2008-02-01 22:16:00 CET
    BI_UDI 7.00 13 0 2007-08-11 19:04:00 CEST 2008-05-15 18:20:39 CEST
    BP_BIADMIN 60.1 5 0 2006-01-18 13:49:00 CET 2008-03-06 17:28:36 CET
    CAF 7.00 13 0 2007-08-09 09:23:15 CEST 2008-02-03 11:28:52 CET
    CAF-KM 7.00 13 0 2007-08-09 07:54:22 CEST 2008-02-03 11:54:05 CET
    CAF-UM 7.00 13 0 2007-08-09 09:23:24 CEST 2008-02-01 22:16:47 CET
    CORE-TOOLS 7.00 13 0 2007-08-12 01:41:21 CEST 2008-02-01 19:32:32 CET
    EP-PSERV 7.00 13 4 2008-02-05 10:49:39 CET 2008-03-06 11:21:04 CET
    EP-WDC 7.00 13 0 2007-08-12 12:41:08 CEST 2008-02-03 11:43:28 CET
    EPBC 7.00 13 0 2007-08-12 12:37:44 CEST 2008-02-01 22:19:37 CET
    EPBC2 7.00 13 0 2007-08-12 12:38:06 CEST 2008-02-03 11:29:46 CET
    JLOGVIEW 7.00 13 0 2007-08-12 00:16:00 CEST 2008-02-01 19:32:45 CET
    JSPM 7.00 13 0 2007-08-12 00:17:00 CEST 2008-02-01 19:16:27 CET
    KM-KW_JIKS 7.00 13 0 2007-08-12 01:45:19 CEST 2008-02-01 22:19:54 CET
    KMC-BC 7.00 13 0 2007-08-12 12:41:47 CEST 2008-02-03 11:30:45 CET
    KMC-CM 7.00 13 0 2007-08-12 12:43:04 CEST 2008-02-03 11:31:37 CET
    KMC-COLL 7.00 13 0 2007-08-12 12:43:35 CEST 2008-02-03 11:33:32 CET
    LM-PORTAL 7.00 13 0 2007-08-09 07:58:38 CEST 2008-02-03 11:33:38 CET
    LM-TOOLS 7.00 13 0 2007-09-06 10:46:34 CEST 2008-02-03 11:40:26 CET
    NET-PDK 7.00 13 0 2007-08-12 12:45:34 CEST 2008-02-03 11:08:38 CET
    RTC 7.00 13 0 2007-08-12 12:48:07 CEST 2008-02-03 11:08:41 CET
    RTC-STREAM 7.00 13 0 2007-08-12 12:48:07 CEST 2008-02-03 11:40:31 CET
    SAP-EU 7.00 13 0 2007-08-09 08:01:01 CEST 2008-02-03 11:52:14 CET
    SAP-JEE 7.00 13 0 2007-08-12 01:53:11 CEST 2008-02-01 19:33:23 CET
    SAP-JEECOR 7.00 13 12 2008-04-14 12:47:29 CEST 2008-05-15 12:16:07 CEST
    SAP_JTECHF 7.00 13 0 2007-08-12 01:56:44 CEST 2008-02-01 19:35:31 CET
    SAP_JTECHS 7.00 13 0 2007-08-12 01:59:51 CEST 2008-02-03 11:42:33 CET
    UMEADMIN 7.00 13 0 2007-08-09 09:39:47 CEST 2008-02-03 11:43:56 CET
    UWLJWF 7.00 13 0 2007-08-12 12:52:23 CEST 2008-02-03 11:44:29 CET
    VCBASE 7.00 13 0 2007-08-12 12:52:34 CEST 2008-02-03 11:54:35 CET
    VCFLEX 7.00 13 0 2007-08-12 12:53:39 CEST 2008-02-03 11:54:08 CET
    VCFRAMEWORK 7.00 13 0 2007-08-12 12:53:51 CEST 2008-02-03 11:54:14 CET
    VCKITBI 7.00 13 0 2007-08-12 12:23:20 CEST 2008-02-03 11:54:38 CET
    VCKITGP 7.00 13 0 2007-08-12 12:53:51 CEST 2008-02-03 11:54:41 CET
    VCKITXX 7.00 13 0 2007-08-12 12:53:51 CEST 2008-02-03 11:54:44 CET
    WDEXTENSIONS 7.00 13 0 2007-08-09 08:05:30 CEST 2008-02-03 11:55:52 CET
    Full Exception Chain
    Log ID 0017A4772430002D0000004B0000049900045DAF333F8EE8
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: Unknown Error     at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:2872)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2632)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:1007)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:893)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:879)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:505)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:236)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:22)     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)     at java.security.AccessController.doPrivileged(AccessController.java:246)     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(AccessController.java:219)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: java.lang.IllegalArgumentException: Assertion: verticalPosition < 0     at com.sap.ip.bi.webapplications.ui.advancedcontrols.universalgrid.impl.AcUniGridGeneric.setVerticalPosition(AcUniGridGeneric.java:227)     at com.sap.ip.bi.webapplications.ui.advancedcontrols.universalgrid.saptable.AcUniGridSapTable.notifyUiPaginationChange(AcUniGridSapTable.java:777)     at com.sap.ip.bi.webapplications.ui.advancedcontrols.paginator.impl.AcPaginator.doNavigateRowPageStartCommand(AcPaginator.java:627)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)     at java.lang.reflect.Method.invoke(Method.java:391)     at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:101)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:410)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:325)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.AdvancedControl.processCommand(AdvancedControl.java:214)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.Framework.dispatchAdvanced(Framework.java:206)     at com.sap.ip.bi.webapplications.ui.items.UiItem.dispatchAdvanced(UiItem.java:470)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)     at java.lang.reflect.Method.invoke(Method.java:391)     at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:101)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:439)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:325)     at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:174)     at com.sap.ip.bi.webapplications.runtime.base.ItemRenderer.processCommand(ItemRenderer.java:53)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processItemCommand(Page.java:1479)     at sun.reflect.GeneratedMethodAccessor34843.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)     at java.lang.reflect.Method.invoke(Method.java:391)     at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:101)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:439)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:325)     at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:174)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSuper(Page.java:1727)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandInternal(Page.java:1706)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSequence(Page.java:2389)     at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3747)     at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:2792)     ... 39 more

    Hi Ivan,
    have you got resolution for the said error? if yes, what was that, as i am getting same error after applying stack 13 for BW Java.
    regards,
    Amit

  • Custom Table updation thru table control

    Hi All,
    My requirement is to update the custom table by creating a custom screen with table control,say my z table has 2 fields name1 and bukrs.
    if i enter the value in table control then i click the save icon these fields should get updated in the z table .can any one send me the piece of code for this,since i have not worked on table control i need it in detail.
    Useful answers will be rewarded....
    Thanks in Advance.....

    PROGRAM  ZSD_REBATE_MASTER MESSAGE-ID FV
             NO STANDARD PAGE HEADING.
    TABLES: KONA,
            ZSD_BILLINFO,
            ZSD_RBT_ELG_INV,
            KNVV.
    DATA: OK_CODE LIKE SY-UCOMM,
          L_CODE LIKE SY-UCOMM.
    DATA : BEGIN OF I_KNVV_DATA OCCURS 0,
           GJAHR LIKE ZSD_RBT_MAS_DATA-GJAHR,
           KNUMA LIKE ZSD_RBT_MAS_DATA-KNUMA,
           VKBUR LIKE ZSD_RBT_MAS_DATA-VKBUR,
           VKORG LIKE ZSD_RBT_MAS_DATA-VKORG,
           VTWEG LIKE ZSD_RBT_MAS_DATA-VTWEG,
           SPART LIKE ZSD_RBT_MAS_DATA-SPART,
           OTQTY LIKE ZSD_RBT_MAS_DATA-OTQTY,
           PCPDAYS LIKE ZSD_RBT_MAS_DATA-PCPDAYS,
           OTPC LIKE ZSD_RBT_MAS_DATA-OTPC,
           MATKL LIKE ZSD_RBT_MAS_DATA-MATKL,
          EBDFROM LIKE ZSD_RBT_MAS_DATA-EBDFROM,
          EBDTO LIKE ZSD_RBT_MAS_DATA-EBDTO,
           STATUS LIKE ZSD_RBT_MAS_DATA-STATUS,
         END OF I_KNVV_DATA.
    DATA : G_ANS(1), GR1, FLAG(1),LS(1).
    *&      Module  STATUS_1500  OUTPUT
          text
    MODULE STATUS_1500 OUTPUT.
      SET PF-STATUS '1500'.
      SET TITLEBAR 'HEADING_1500'.
    ENDMODULE.                 " STATUS_1500  OUTPUT
    *&      Module  USER_COMMAND_1500  INPUT
          text
    MODULE USER_COMMAND_1500 INPUT.
      OK_CODE = SY-UCOMM.
      L_CODE = OK_CODE.
      IF L_CODE = 'EXIT'.
        LEAVE PROGRAM.
      ELSEIF L_CODE = 'OK'.
        PERFORM ERROR_MESSGE.
        IF FLAG <> '1'.
          SELECT SINGLE * FROM ZSD_RBT_ELG_INV WHERE KNUMA = KONA-KNUMA.
          IF SY-SUBRC = 0.
            UPDATE ZSD_RBT_MAS_DATA SET STATUS = 'C'
                           WHERE KNUMA = KONA-KNUMA.
            COMMIT WORK.
          ENDIF.
          CALL SCREEN 1600.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " USER_COMMAND_1500  INPUT
    *&      Module  MOD_CHECK_INPUT  INPUT
          text
    MODULE MOD_CHECK_INPUT INPUT.
      SELECT SINGLE * FROM KONA WHERE KNUMA = KONA-KNUMA.
      IF SY-SUBRC <> 0.
        MESSAGE E999 WITH 'Agreement No. ' KONA-KNUMA 'does not exists'.
      ENDIF.
    ENDMODULE.                 " MOD_CHECK_INPUT  INPUT
    *&      Module  EXIT  INPUT
          text
    MODULE EXIT INPUT.
      OK_CODE = SY-UCOMM.
      L_CODE = OK_CODE.
      CLEAR OK_CODE.
      IF L_CODE = 'EXIT'.
        LEAVE PROGRAM.
      ENDIF.
    ENDMODULE.                 " EXIT  INPUT
    ***&SPWIZARD: DATA DECLARATION FOR TABLECONTROL 'GRID_MAST'
    *&SPWIZARD: DEFINITION OF DDIC-TABLE
    TABLES:   ZSD_RBT_MAS_DATA.
    *&SPWIZARD: TYPE FOR THE DATA OF TABLECONTROL 'GRID_MAST'
    TYPES: BEGIN OF T_GRID_MAST,
             GJAHR LIKE ZSD_RBT_MAS_DATA-GJAHR,
             KNUMA LIKE ZSD_RBT_MAS_DATA-KNUMA,
             VKBUR LIKE ZSD_RBT_MAS_DATA-VKBUR,
             VKORG LIKE ZSD_RBT_MAS_DATA-VKORG,
             VTWEG LIKE ZSD_RBT_MAS_DATA-VTWEG,
             SPART LIKE ZSD_RBT_MAS_DATA-SPART,
             OTQTY LIKE ZSD_RBT_MAS_DATA-OTQTY,
             PCPDAYS LIKE ZSD_RBT_MAS_DATA-PCPDAYS,
             OTPC LIKE ZSD_RBT_MAS_DATA-OTPC,
             MATKL LIKE ZSD_RBT_MAS_DATA-MATKL,
            EBDFROM LIKE ZSD_RBT_MAS_DATA-EBDFROM,
            EBDTO LIKE ZSD_RBT_MAS_DATA-EBDTO,
             STATUS LIKE ZSD_RBT_MAS_DATA-STATUS,
           END OF T_GRID_MAST.
    *&SPWIZARD: INTERNAL TABLE FOR TABLECONTROL 'GRID_MAST'
    DATA:     G_GRID_MAST_ITAB   TYPE T_GRID_MAST OCCURS 0 WITH HEADER LINE,
              G_GRID_MAST_WA     TYPE T_GRID_MAST. "work area
    DATA:     G_GRID_MAST_COPIED.           "copy flag
    *&SPWIZARD: DECLARATION OF TABLECONTROL 'GRID_MAST' ITSELF
    CONTROLS: GRID_MAST TYPE TABLEVIEW USING SCREEN 1600.
    *&SPWIZARD: LINES OF TABLECONTROL 'GRID_MAST'
    DATA:     G_GRID_MAST_LINES  LIKE SY-LOOPC.
    DATA: L_LINE LIKE GRID_MAST-CURRENT_LINE.
    *&SPWIZARD: OUTPUT MODULE FOR TC 'GRID_MAST'. DO NOT CHANGE THIS LINE!
    *&SPWIZARD: COPY DDIC-TABLE TO ITAB
    **&      Module  GRID_INACT  OUTPUT
          text
    MODULE GRID_MAST_INIT OUTPUT.
      DATA: L_FLAG(1).
      IF G_GRID_MAST_COPIED IS INITIAL.
    *&SPWIZARD: COPY DDIC-TABLE 'ZSD_RBT_MAS_DATA'
    *&SPWIZARD: INTO INTERNAL TABLE 'g_GRID_MAST_itab'
        PERFORM GET_DATA.
        LOOP AT I_KNVV_DATA.
          G_GRID_MAST_ITAB-GJAHR = I_KNVV_DATA-GJAHR.
          G_GRID_MAST_ITAB-KNUMA = I_KNVV_DATA-KNUMA.
          G_GRID_MAST_ITAB-VKBUR = I_KNVV_DATA-VKBUR.
          G_GRID_MAST_ITAB-VKORG = I_KNVV_DATA-VKORG.
          G_GRID_MAST_ITAB-VTWEG = I_KNVV_DATA-VTWEG.
          G_GRID_MAST_ITAB-SPART = I_KNVV_DATA-SPART.
          G_GRID_MAST_ITAB-OTQTY = I_KNVV_DATA-OTQTY.
          G_GRID_MAST_ITAB-PCPDAYS = I_KNVV_DATA-PCPDAYS.
          G_GRID_MAST_ITAB-OTPC = I_KNVV_DATA-OTPC.
          G_GRID_MAST_ITAB-MATKL = I_KNVV_DATA-MATKL.
         G_GRID_MAST_ITAB-EBDFROM = I_KNVV_DATA-EBDFROM.
         G_GRID_MAST_ITAB-EBDTO = I_KNVV_DATA-EBDTO.
          G_GRID_MAST_ITAB-STATUS = I_KNVV_DATA-STATUS.
         G_GRID_MAST_ITAB-OTPC = I_KNVV_DATA-OTPC.
          APPEND G_GRID_MAST_ITAB.
        ENDLOOP.
        L_FLAG = 'X'.
        G_GRID_MAST_COPIED = 'X'.
        REFRESH CONTROL 'GRID_MAST' FROM SCREEN '1600'.
      ENDIF.
      IF L_FLAG IS INITIAL.
        L_LINE = GRID_MAST-CURRENT_LINE.
        IF NOT G_GRID_MAST_WA IS INITIAL.
         READ TABLE G_GRID_MAST_ITAB INDEX GRID_MAST-CURRENT_LINE.
         IF SY-SUBRC <> 0.
          MOVE-CORRESPONDING G_GRID_MAST_WA TO G_GRID_MAST_ITAB.
          APPEND G_GRID_MAST_ITAB.
          REFRESH CONTROL 'GRID_MAST' FROM SCREEN '1600'.
         CLEAR G_GRID_MAST_WA.
         ENDIF.
        ENDIF.
      ELSE.
        CLEAR L_FLAG.
      ENDIF.
    ENDMODULE.                    "GRID_MAST_INIT OUTPUT
    *&SPWIZARD: OUTPUT MODULE FOR TC 'GRID_MAST'. DO NOT CHANGE THIS LINE!
    *&SPWIZARD: MOVE ITAB TO DYNPRO
    MODULE GRID_MAST_MOVE OUTPUT.
      IF NOT G_GRID_MAST_WA IS INITIAL.
        MOVE-CORRESPONDING G_GRID_MAST_WA TO ZSD_RBT_MAS_DATA.
        CLEAR G_GRID_MAST_WA.
      ENDIF.
      GRID_MAST-LINES = G_GRID_MAST_LINES + 100.
    ENDMODULE.                    "GRID_MAST_MOVE OUTPUT
    **&SPWIZARD: OUTPUT MODULE FOR TC 'GRID_MAST'. DO NOT CHANGE THIS LINE!
    **&SPWIZARD: GET LINES OF TABLECONTROL
    MODULE GRID_MAST_GET_LINES OUTPUT.
      SELECT SINGLE * FROM ZSD_RBT_ELG_INV WHERE KNUMA = KONA-KNUMA.
      IF SY-SUBRC = 0.
        UPDATE ZSD_RBT_MAS_DATA SET STATUS = 'C'
                       WHERE KNUMA = KONA-KNUMA.
        COMMIT WORK.
        IF ZSD_RBT_ELG_INV-ZFLAG = 'C'.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 = 'GR1'.
              SCREEN-INPUT = '0'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ENDIF.
      ENDIF.
      G_GRID_MAST_LINES = SY-LOOPC.
    ENDMODULE.                    "GRID_MAST_GET_LINES OUTPUT
    *&SPWIZARD: INPUT MODULE FOR TC 'GRID_MAST'. DO NOT CHANGE THIS LINE!
    *&SPWIZARD: MODIFY TABLE
    MODULE GRID_MAST_MODIFY INPUT.
      MOVE-CORRESPONDING ZSD_RBT_MAS_DATA TO G_GRID_MAST_WA.
      IF L_FLAG IS INITIAL.
        L_LINE = GRID_MAST-CURRENT_LINE.
        IF NOT G_GRID_MAST_WA IS INITIAL.
        IF L_LINE = GRID_MAST-CURRENT_LINE.
         READ TABLE G_GRID_MAST_ITAB INDEX GRID_MAST-CURRENT_LINE.
         IF SY-SUBRC = 0.
          MODIFY G_GRID_MAST_ITAB    FROM G_GRID_MAST_WA
        INDEX GRID_MAST-CURRENT_LINE.
        ELSE.
          MOVE-CORRESPONDING G_GRID_MAST_WA TO G_GRID_MAST_ITAB.
          APPEND G_GRID_MAST_ITAB.
          REFRESH CONTROL 'GRID_MAST' FROM SCREEN '1600'.
        ENDIF.
        ELSE.
          MOVE-CORRESPONDING G_GRID_MAST_WA TO G_GRID_MAST_ITAB.
          APPEND G_GRID_MAST_ITAB.
          REFRESH CONTROL 'GRID_MAST' FROM SCREEN '1600'.
         CLEAR G_GRID_MAST_WA.
         ENDIF.
        ENDIF.
      ELSE.
        CLEAR L_FLAG.
      ENDIF.
    MODIFY G_GRID_MAST_ITAB
       FROM G_GRID_MAST_WA
       INDEX GRID_MAST-CURRENT_LINE.
    ENDMODULE.                    "GRID_MAST_MODIFY INPUT
    *&SPWIZARD: INPUT MODULE FOR TC 'GRID_MAST'. DO NOT CHANGE THIS LINE!
    *&SPWIZARD: PROCESS USER COMMAND
    MODULE GRID_MAST_USER_COMMAND INPUT.
      OK_CODE = SY-UCOMM.
      PERFORM USER_OK_TC USING    'SY-UCOMM'
                                  'G_GRID_MAST_ITAB'
                                  'FLAG'
                         CHANGING OK_CODE.
      SY-UCOMM = OK_CODE.
    ENDMODULE.                    "GRID_MAST_USER_COMMAND INPUT
    *&      Module  STATUS_1600  OUTPUT
          text
    MODULE STATUS_1600 OUTPUT.
      SET PF-STATUS 'STATUS_1600'.
      SET TITLEBAR 'HEADING_1600'.
    ENDMODULE.                 " STATUS_1600  OUTPUT
    *&      Module  USER_COMMAND_1600  INPUT
          text
    MODULE USER_COMMAND_1600 INPUT.
      CASE SY-UCOMM.
        WHEN 'CAN'.
          CLEAR: G_GRID_MAST_COPIED, G_GRID_MAST_ITAB.
          LEAVE TO SCREEN '1500'.
        WHEN 'BACK'.
          CLEAR: G_GRID_MAST_COPIED, G_GRID_MAST_ITAB.
          LEAVE TO SCREEN '1500'.
        WHEN 'EXIT'.
          LEAVE TO SCREEN '1500'.
        WHEN 'SAVE'.
        DELETE FROM ZSD_RBT_MAS_DATA WHERE KNUMA EQ KONA-KNUMA.
          PERFORM SAVE_DATA.
       WHEN 'DELE'.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1600  INPUT
    *&      Form  FCODE_INSERT_ROW                                         *
    FORM fcode_insert_row
                  USING    P_TC_NAME           TYPE DYNFNAM
                           P_TABLE_NAME             .
    &SPWIZARD: BEGIN OF LOCAL DATA----
      DATA L_LINES_NAME       LIKE FELD-NAME.
      DATA L_SELLINE          LIKE SY-STEPL.
      DATA L_LASTLINE         TYPE I.
      DATA L_LINE             TYPE I.
      DATA L_TABLE_NAME       LIKE FELD-NAME.
      FIELD-SYMBOLS <TC>                 TYPE CXTAB_CONTROL.
      FIELD-SYMBOLS <TABLE>              TYPE STANDARD TABLE.
      FIELD-SYMBOLS <LINES>              TYPE I.
    &SPWIZARD: END OF LOCAL DATA----
      ASSIGN (P_TC_NAME) TO <TC>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
      ASSIGN (L_TABLE_NAME) TO <TABLE>.                "not headerline
    *&SPWIZARD: get looplines of TableControl                              *
      CONCATENATE 'G_' P_TC_NAME '_LINES' INTO L_LINES_NAME.
      ASSIGN (L_LINES_NAME) TO <LINES>.
    *&SPWIZARD: get current line                                           *
      GET CURSOR LINE L_SELLINE.
      IF SY-SUBRC <> 0.                   " append line to table
        L_SELLINE = <TC>-LINES + 1.
    *&SPWIZARD: set top line                                               *
        IF L_SELLINE > <LINES>.
          <TC>-TOP_LINE = L_SELLINE - <LINES> + 1 .
        ELSE.
          <TC>-TOP_LINE = 1.
        ENDIF.
      ELSE.                               " insert line into table
        L_SELLINE = <TC>-TOP_LINE + L_SELLINE - 1.
        L_LASTLINE = <TC>-TOP_LINE + <LINES> - 1.
      ENDIF.
    *&SPWIZARD: set new cursor line                                        *
      L_LINE = L_SELLINE - <TC>-TOP_LINE + 1.
    *&SPWIZARD: insert initial line                                        *
      INSERT INITIAL LINE INTO <TABLE> INDEX L_SELLINE.
      <TC>-LINES = <TC>-LINES + 1.
    *&SPWIZARD: set cursor                                                 *
      SET CURSOR LINE L_LINE.
    ENDFORM.                              " FCODE_INSERT_ROW
    *&      Form  FCODE_DELETE_ROW                                         *
    FORM fcode_delete_row
                  USING    P_TC_NAME           TYPE DYNFNAM
                           P_TABLE_NAME
                           P_MARK_NAME   .
    &SPWIZARD: BEGIN OF LOCAL DATA----
      DATA L_TABLE_NAME       LIKE FELD-NAME.
      FIELD-SYMBOLS <TC>         TYPE cxtab_control.
      FIELD-SYMBOLS <TABLE>      TYPE STANDARD TABLE.
      FIELD-SYMBOLS <WA>.
      FIELD-SYMBOLS <MARK_FIELD>.
    &SPWIZARD: END OF LOCAL DATA----
      ASSIGN (P_TC_NAME) TO <TC>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
      ASSIGN (L_TABLE_NAME) TO <TABLE>.                "not headerline
    *&SPWIZARD: delete marked lines                                        *
      DESCRIBE TABLE <TABLE> LINES <TC>-LINES.
      LOOP AT <TABLE> ASSIGNING <WA>.
    *&SPWIZARD: access to the component 'FLAG' of the table header         *
        ASSIGN COMPONENT P_MARK_NAME OF STRUCTURE <WA> TO <MARK_FIELD>.
        IF <MARK_FIELD> = 'X'.
          DELETE <TABLE> INDEX SYST-TABIX.
          IF SY-SUBRC = 0.
            <TC>-LINES = <TC>-LINES - 1.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                              " FCODE_DELETE_ROW
    *&      Form  COMPUTE_SCROLLING_IN_TC
          text
         -->P_TC_NAME  name of tablecontrol
         -->P_OK       ok code
    FORM COMPUTE_SCROLLING_IN_TC USING    P_TC_NAME
                                          P_OK.
    &SPWIZARD: BEGIN OF LOCAL DATA----
      DATA L_TC_NEW_TOP_LINE     TYPE I.
      DATA L_TC_NAME             LIKE FELD-NAME.
      DATA L_TC_LINES_NAME       LIKE FELD-NAME.
      DATA L_TC_FIELD_NAME       LIKE FELD-NAME.
      FIELD-SYMBOLS <TC>         TYPE cxtab_control.
      FIELD-SYMBOLS <LINES>      TYPE I.
    &SPWIZARD: END OF LOCAL DATA----
      ASSIGN (P_TC_NAME) TO <TC>.
    *&SPWIZARD: get looplines of TableControl                              *
      CONCATENATE 'G_' P_TC_NAME '_LINES' INTO L_TC_LINES_NAME.
      ASSIGN (L_TC_LINES_NAME) TO <LINES>.
    *&SPWIZARD: is no line filled?                                         *
      IF <TC>-LINES = 0.
    *&SPWIZARD: yes, ...                                                   *
        L_TC_NEW_TOP_LINE = 1.
      ELSE.
    *&SPWIZARD: no, ...                                                    *
        CALL FUNCTION 'SCROLLING_IN_TABLE'
             EXPORTING
                  ENTRY_ACT             = <TC>-TOP_LINE
                  ENTRY_FROM            = 1
                  ENTRY_TO              = <TC>-LINES
                  LAST_PAGE_FULL        = 'X'
                  LOOPS                 = <LINES>
                  OK_CODE               = P_OK
                  OVERLAPPING           = 'X'
             IMPORTING
                  ENTRY_NEW             = L_TC_NEW_TOP_LINE
             EXCEPTIONS
                 NO_ENTRY_OR_PAGE_ACT  = 01
                 NO_ENTRY_TO           = 02
                 NO_OK_CODE_OR_PAGE_GO = 03
                  OTHERS                = 0.
      ENDIF.
    *&SPWIZARD: get actual tc and column                                   *
      GET CURSOR FIELD L_TC_FIELD_NAME
                 AREA  L_TC_NAME.
      IF SYST-SUBRC = 0.
        IF L_TC_NAME = P_TC_NAME.
    *&SPWIZARD: et actual column                                           *
          SET CURSOR FIELD L_TC_FIELD_NAME LINE 1.
        ENDIF.
      ENDIF.
    *&SPWIZARD: set the new top line                                       *
      <TC>-TOP_LINE = L_TC_NEW_TOP_LINE.
    ENDFORM.                              " COMPUTE_SCROLLING_IN_TC
    *&      Form  FCODE_TC_MARK_LINES
          marks all TableControl lines
         -->P_TC_NAME  name of tablecontrol
    FORM FCODE_TC_MARK_LINES USING P_TC_NAME
                                   P_TABLE_NAME
                                   P_MARK_NAME.
    &SPWIZARD: EGIN OF LOCAL DATA----
      DATA L_TABLE_NAME       LIKE FELD-NAME.
      FIELD-SYMBOLS <TC>         TYPE cxtab_control.
      FIELD-SYMBOLS <TABLE>      TYPE STANDARD TABLE.
      FIELD-SYMBOLS <WA>.
      FIELD-SYMBOLS <MARK_FIELD>.
    &SPWIZARD: END OF LOCAL DATA----
      ASSIGN (P_TC_NAME) TO <TC>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
      ASSIGN (L_TABLE_NAME) TO <TABLE>.                "not headerline
    *&SPWIZARD: mark all filled lines                                      *
      LOOP AT <TABLE> ASSIGNING <WA>.
    *&SPWIZARD: access to the component 'FLAG' of the table header         *
        ASSIGN COMPONENT P_MARK_NAME OF STRUCTURE <WA> TO <MARK_FIELD>.
        <MARK_FIELD> = 'X'.
      ENDLOOP.
    ENDFORM.                                          "fcode_tc_mark_lines
    *&      Form  FCODE_TC_DEMARK_LINES
          demarks all TableControl lines
         -->P_TC_NAME  name of tablecontrol
    FORM FCODE_TC_DEMARK_LINES USING P_TC_NAME
                                     P_TABLE_NAME
                                     P_MARK_NAME .
    &SPWIZARD: BEGIN OF LOCAL DATA----
      DATA L_TABLE_NAME       LIKE FELD-NAME.
      FIELD-SYMBOLS <TC>         TYPE cxtab_control.
      FIELD-SYMBOLS <TABLE>      TYPE STANDARD TABLE.
      FIELD-SYMBOLS <WA>.
      FIELD-SYMBOLS <MARK_FIELD>.
    &SPWIZARD: END OF LOCAL DATA----
      ASSIGN (P_TC_NAME) TO <TC>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE P_TABLE_NAME '[]' INTO L_TABLE_NAME. "table body
      ASSIGN (L_TABLE_NAME) TO <TABLE>.                "not headerline
    *&SPWIZARD: demark all filled lines                                    *
      LOOP AT <TABLE> ASSIGNING <WA>.
    *&SPWIZARD: access to the component 'FLAG' of the table header         *
        ASSIGN COMPONENT P_MARK_NAME OF STRUCTURE <WA> TO <MARK_FIELD>.
        <MARK_FIELD> = SPACE.
      ENDLOOP.
    ENDFORM.                                          "fcode_tc_mark_lines
    FORM GET_DATA...
    FORM GET_DATA.
      CLEAR : I_KNVV_DATA, ZSD_BILLINFO, G_GRID_MAST_COPIED,
      G_GRID_MAST_ITAB, ZSD_RBT_MAS_DATA, KNVV, ZSD_RBT_ELG_INV.
      REFRESH: I_KNVV_DATA, G_GRID_MAST_ITAB.
      SELECT SINGLE * FROM KONA WHERE KNUMA = KONA-KNUMA.
      IF SY-SUBRC = 0.
        SELECT * FROM ZSD_RBT_MAS_DATA
               INTO
               CORRESPONDING FIELDS OF
               TABLE I_KNVV_DATA
               WHERE KNUMA = KONA-KNUMA.
        IF SY-SUBRC <> 0.
          SELECT * INTO CORRESPONDING FIELDS OF TABLE I_KNVV_DATA
          FROM KNVV
          WHERE KUNNR = KONA-BONEM.
          SELECT SINGLE * FROM ZSD_BILLINFO WHERE KUNAG = KONA-BONEM.
          LOOP AT I_KNVV_DATA.
            SELECT SINGLE * FROM ZSD_RBT_ELG_INV
                WHERE KNUMA = KONA-KNUMA
                  AND VKORG = I_KNVV_DATA-VKORG
                  AND VTWEG = I_KNVV_DATA-VTWEG
                  AND SPART = I_KNVV_DATA-SPART.
            IF SY-SUBRC = 0.
              I_KNVV_DATA-STATUS = ZSD_RBT_ELG_INV-ZFLAG.
            ENDIF.
            I_KNVV_DATA-GJAHR = ZSD_BILLINFO-GJAHR.
            I_KNVV_DATA-KNUMA = KONA-KNUMA.
            MODIFY I_KNVV_DATA INDEX SY-TABIX.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDFORM.                    "GET_DATA
    FORM SAVE_DATA...
    FORM SAVE_DATA.
      IF NOT G_GRID_MAST_ITAB IS INITIAL.
        CALL FUNCTION 'POPUP_TO_CONFIRM'
           EXPORTING
            TITLEBAR                    = 'Confirmation'
      DIAGNOSE_OBJECT             = ' '
       TEXT_QUESTION               = 'Do you want to save the document?'
            TEXT_BUTTON_1               = 'YES'
      ICON_BUTTON_1               = ' '
            TEXT_BUTTON_2               = 'NO'
      ICON_BUTTON_2               = ' '
             DEFAULT_BUTTON              = '1'
             DISPLAY_CANCEL_BUTTON       = ''
      USERDEFINED_F1_HELP         = ' '
      START_COLUMN                = 25
      START_ROW                   = 6
      POPUP_TYPE                  =
      IV_QUICKINFO_BUTTON_1       = ' '
      IV_QUICKINFO_BUTTON_2       = ' '
          IMPORTING
            ANSWER                      = G_ANS
    TABLES
      PARAMETER                   =
          EXCEPTIONS
            TEXT_NOT_FOUND              = 1
            OTHERS                      = 2
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        IF G_ANS = '1'.
          SELECT SINGLE * FROM ZSD_RBT_MAS_DATA
              WHERE KNUMA = KONA-KNUMA.
          IF SY-SUBRC = 0.
            LOOP AT G_GRID_MAST_ITAB.
             IF G_GRID_MAST_ITAB-OTQTY > 0.
                  I_KNVV_DATA-PCPDAYS
                  I_KNVV_DATA-OTPC
                  I_KNVV_DATA-EBDFROM
                  I_KNVV_DATA-EBDTO
              ZSD_RBT_MAS_DATA-GJAHR = G_GRID_MAST_ITAB-GJAHR.
              ZSD_RBT_MAS_DATA-KNUMA = G_GRID_MAST_ITAB-KNUMA.
              ZSD_RBT_MAS_DATA-VKBUR = G_GRID_MAST_ITAB-VKBUR.
              ZSD_RBT_MAS_DATA-VKORG = G_GRID_MAST_ITAB-VKORG.
              ZSD_RBT_MAS_DATA-VTWEG = G_GRID_MAST_ITAB-VTWEG.
              ZSD_RBT_MAS_DATA-SPART = G_GRID_MAST_ITAB-SPART.
              ZSD_RBT_MAS_DATA-MATKL = G_GRID_MAST_ITAB-MATKL.
              ZSD_RBT_MAS_DATA-OTQTY = G_GRID_MAST_ITAB-OTQTY.
              ZSD_RBT_MAS_DATA-PCPDAYS = G_GRID_MAST_ITAB-PCPDAYS.
              ZSD_RBT_MAS_DATA-OTPC = G_GRID_MAST_ITAB-OTPC.
             ZSD_RBT_MAS_DATA-EBDFROM = G_GRID_MAST_ITAB-EBDFROM.
             ZSD_RBT_MAS_DATA-EBDTO = G_GRID_MAST_ITAB-EBDTO.
              MODIFY ZSD_RBT_MAS_DATA.
              COMMIT WORK.
             ENDIF.
            ENDLOOP.
          ELSE.
            LOOP AT G_GRID_MAST_ITAB.
             IF G_GRID_MAST_ITAB-OTQTY > 0.
                  I_KNVV_DATA-PCPDAYS
                  I_KNVV_DATA-OTPC
                  I_KNVV_DATA-EBDFROM
                  I_KNVV_DATA-EBDTO
              ZSD_RBT_MAS_DATA-GJAHR = G_GRID_MAST_ITAB-GJAHR.
              ZSD_RBT_MAS_DATA-KNUMA = G_GRID_MAST_ITAB-KNUMA.
              ZSD_RBT_MAS_DATA-VKBUR = G_GRID_MAST_ITAB-VKBUR.
              ZSD_RBT_MAS_DATA-VKORG = G_GRID_MAST_ITAB-VKORG.
              ZSD_RBT_MAS_DATA-VTWEG = G_GRID_MAST_ITAB-VTWEG.
              ZSD_RBT_MAS_DATA-SPART = G_GRID_MAST_ITAB-SPART.
              ZSD_RBT_MAS_DATA-OTQTY = G_GRID_MAST_ITAB-OTQTY.
              ZSD_RBT_MAS_DATA-PCPDAYS = G_GRID_MAST_ITAB-PCPDAYS.
              ZSD_RBT_MAS_DATA-OTPC = G_GRID_MAST_ITAB-OTPC.
             ZSD_RBT_MAS_DATA-EBDFROM = G_GRID_MAST_ITAB-EBDFROM.
             ZSD_RBT_MAS_DATA-EBDTO = G_GRID_MAST_ITAB-EBDTO.
              ZSD_RBT_MAS_DATA-STATUS = G_GRID_MAST_ITAB-STATUS.
              ZSD_RBT_MAS_DATA-MATKL = G_GRID_MAST_ITAB-MATKL.
              INSERT ZSD_RBT_MAS_DATA.
              COMMIT WORK.
             ENDIF.
            ENDLOOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    "SAVE_DATA
    ENDMODULE.                 " GRID_CHECK  OUTPUT

  • Accounting entries in Consignment

    Hi ,
    Need clarifications on the following:
    1>How to do MRKO?
    2>What are the accounting entries happen in MRKO transaction?Is it KONS(Dr) and KONS(Cr)?If so why?
    3>Which price it takes a)Inforecord b)material master??
    Need your help!!!!

    Hi,
    Before you can order a material from a vendor or post a goods receipt to consignment stock, you must maintain the consignment price for the vendor in an info record. The price is required for material valuation and accounting purposes.
    If you order consignment material from several vendors, the system maintains the consignment stock separately for each vendor, since the individual quantities of the material can have different prices with each vendor.
    Please check the information from the SAP Library documentation (http://help.sap.                       
    com) under the path:                                                                               
    Logistics -> Materials Management (MM)                                                      
       -> Logistics Invoice Verification (MM-IV)                                                 
         -> Logistics Invoice Verification (MM-IV-LIV)                                           
           -> Automatic Settlements                                                              
             -> Consignment and Pipeline Settlement
    Consignment and pipeline settlement is not connected to the purchasing information system, because the purchase order history is not updated during consignment settlements.
    You cannot make any net postings during consignment settlement. This means that you cannot calculate any cash discounts. To take cash discounts into account, you must include these in the consignment price. This ensures that the cash discount is implicitly posted during the goods withdrawal and settlement.
    You cannot settle delivery costs.
    Best regards
    Erika

  • Unhappy with FCS 2 HD pulldown quality

    The only method I'm aware to pulldown from HD is to copy and paste from an HD timeline to an SD timeline and render. And things look fine during playback. But if paused, you'll notice a thin line where the matte meets the video. And unfortunately, this line carries through when I use Compressor 3.0.1 to encode it into a DVD, even with the highest bit rate. I can use the deinterlace filter, set to blur, to remove the line but then the whole picture has a fuzzy look.
    I just discovered that using compressor to encode the high quality mpeg2 gets rid of the lines. However, I'm using both HD and SD footage in my project so this technique won't work here.
    Given my limitations to only these programs, and no options hardware-wise, is there a better technique to go from HD footage to an SD DVD - that incorporates both HD & SD?

    Well, is there another format that I can down convert to so I can edit in my DV footage?
    Well, to edit DV footage, you need a DV timeline...but what will you be outputting to? DV? If so, then there's nothing you can do. DVD? Then try a ProRes timeline....at the end. As in COpy and Paste your footage into one when you are ready to output. You'll have to render everything but that's a good thing.
    Any hardware you would recommend for HD down convert?
    AJA Kona 3 or Kona LH. But that downconverts when you output to tape only. Again, what is your final format to be?
    Shane

  • Problems..getting nullvalues

    Hello!
    I have 3 jsp-pages with one form in each page to get from page1 to page2 you have to fill all fields in the form else you get an alertwindow (Javascript). All information is saved in a Bean which writes to an xml-file(this is done when you submit from page3)
    When I opened the xml-file I saw that sometimes all values from page1 are equals null but the rest of the values are set correctly (page2 and page3). I cant figure it out why this occur. You can't go on if you haven't filled pag1 correctly.
    Does anyone have any clue why this occur?
    If anyone can help me with this you will get 2 Dukes
    Regards // digital_storm

    Hello!
    Ok here it is but its quite much syntax....
    Its a questionary so my bean got a lot of variables.
    ------------------page1-jsp--------------------------------------------
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.io.*,java.util.*" errorPage="" %>
    <jsp:useBean id="eBeanId" scope="session" class="formular.EBean" />
    <jsp:setProperty name="eBeanId" property="*" />
    <html>
    <head>
    <title>
    Personuppgifter
    </title>
    <script language="JavaScript" type="text/JavaScript">
    function validate(){
    var message="\u00C5tg\u00E4rda f\u00F6ljande f\u00F6r att g\u00E5 vidare:\n\n";
    var stad=document.form1.bori.value;
    var fn=document.form1.fnamn.value;
    var en=document.form1.enamn.value;
    var kon=document.form1.kon.options[document.form1.kon.selectedIndex].text;
    var sysselsattning=document.form1.syssels.options[document.form1.syssels.selectedIndex].text;
    var alder=document.form1.alder.options[document.form1.alder.selectedIndex].text;
    var addtext=false;
    var korrekt=true;
    var x=document.form1;
    var i=1;
    if(fn==""){
         message=message+"Fyll i f\u00E4ltet 'F\u00F6rnamn'"+"\n";
         korrekt=false;
    if(en==""){
         message=message+"Fyll i f\u00E4ltet 'Efternnamn'"+"\n";
         korrekt=false;
    at=x.email.value.indexOf("@")
         if(at==-1){
              message=message+"Ingen giltig emailadress"+"\n";
              korrekt=false;
         if(stad==""){
         message=message+"Fyll i f\u00E4ltet 'Bosatt i'"+"\n";
         korrekt=false;
         if(kon=="V\u00E4lj"){
              message=message+"V\u00E4lj 'K\u00F6n'"+"\n";
              korrekt=false;
         if(sysselsattning=="V\u00E4lj"){
              message=message+"V\u00E4lj 'Syssels\u00E4ttning'"+"\n";
              korrekt=false;
         if(alder=="V\u00E4lj"){
              message=message+"V\u00E4lj '\u00C5lder'"+"\n";
              korrekt=false;
         if(!korrekt){
         alert(message)
         return false;}
         if(korrekt){
         return true;}
    function AddInput(sname){
    if(sname=="Studerar p\u00E5 h\u00F6gskola"){
    var oInput = document.createElement('input');
    oInput.setAttribute('name','utbildning');
    oInput.setAttribute('type','text');
    oInput.setAttribute('size','50');
    oInput.setAttribute('maxlength','60');
    oInput.setAttribute('value','Skriv in vad du studerar');
    document.getElementById("div1").appendChild(oInput);
    if(sname=="Arbetar"){
    var oInput = document.createElement('input');
    oInput.setAttribute('name','jobbarmed');
    oInput.setAttribute('type','text');
    oInput.setAttribute('size','50');
    oInput.setAttribute('maxlength','60');
    oInput.setAttribute('value','Skriv in vad du arbetar med');
    document.getElementById("div1").appendChild(oInput);
    </script>
    <body>
    <table width="735" height="450" align="center">
    <form name="form1" method="post" action="start2.jsp" onsubmit="return validate()">
    <tr bgcolor="#CCCCCC">
    <td height="50" colspan="4"><font color="#FFFFFF" size="4" face="Verdana, Arial, Helvetica, sans-serif">  Allm&auml;nna
    uppgifter </font></td>
    </tr>
    <tr>
    <td background="bilder/vert.gif"> </td>
    <td>F&ouml;rnamn:</td>
    <td><input name="fnamn" type="text" id="fnamn" size="30" maxlength="40"></td>
    <td background="bilder/vert.gif"> </td>
    </tr>
    <tr>
    <td colspan="4" bgcolor="#CCCCCC"> </td>
    </tr>
    <tr>
    <td background="bilder/vert.gif"> </td>
    <td>Efternamn:</td>
    <td><input name="enamn" type="text" id="enamn" size="30" maxlength="40"></td>
    <td background="bilder/vert.gif"> </td>
    </tr>
    <tr>
    <td colspan="4" bgcolor="#CCCCCC"> </td>
    </tr>
    <tr>
    <td width="10" background="bilder/vert.gif"> </td>
    <td width="134">E-mail: </td>
    <td width="534"> <input name="email" type="text" size="30" maxlength="40">
    </td>
    <td width="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">K&ouml;n:</td>
    <td height="10"> <select name="kon" >
    <option selected>V&auml;lj</option>
    <option>Man</option>
    <option>Kvinna</option>
    </select> </td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">&Aring;lder:</td>
    <td height="10"> <select name="alder" >
    <option selected>V&auml;lj</option>
    <option>10-14</option>
    <option>15-19</option>
    <option>20-24</option>
    <option>25-29</option>
    <option>30-34</option>
    <option>35-39</option>
    <option>40-44</option>
    <option>45-49</option>
    <option>50-54</option>
    <option>55-59</option>
    <option>60<</option>
    </select> </td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">Syssels&auml;ttning:</td>
    <td height="10">
    <div id="div1">
              <select name="syssels" onchange="AddInput(this.options[this.selectedIndex].text)">
                   <option selected >V&auml;lj</option>
    <option>Studerar p&aring; h&ouml;gskola</option>
    <option>Arbetar</option>
    <option>Arbetss&ouml;kande</option>
    <option>Pension&auml;r</option>
    <option>Annat</option>
    </select>
              </div>
         </td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">Bosatt i:</td>
    <td height="10"> <input name="bori" type="text" > </td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">Intressen:</td>
    <td height="10"><input name="intressen" type="text" id="intressen" maxlength="40"></td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">Har du mobiltelefon?</td>
    <td height="10"> <p>
    <label>
    <input type="radio" name="harmobil" value="true" checked >
    Ja</label>
    <label>
    <input type="radio" name="harmobil" value="false">
    Nej</label>
    <br>
    </p></td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">Har du en handdator?</td>
    <td height="10"> <p>
    <label>
    <input type="radio" name="handdator" value="true" checked >
    Ja</label>
    <label>
    <input type="radio" name="handdator" value="false">
    Nej</label>
    <br>
    </p></td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    <tr>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    <td height="10">Har du en 3G-telefon?</td>
    <td height="10"><label>
    <input type="radio" name="har3g" value="true" checked >
    Ja</label> <label>
    <input type="radio" name="har3g" value="false">
    Nej</label> </td>
    <td width="10" height="10" background="bilder/vert.gif"> </td>
    </tr>
    <tr bgcolor="#CCCCCC">
    <td height="10" colspan="4"><p>
    <label></label>
    <br>
    </p></td>
    </tr>
    <tr align="center" valign="middle" bgcolor="#FFFFFF">
    <td width="10" height="10"> </td>
    <td height="10" colspan="2"> <input type="submit" name="Submit" value="G&aring; vidare till n&auml;sta sida">
    </td>
    <td width="10" height="10"> </td>
    </tr>
    <tr bordercolor="#CCCCCC" bgcolor="#CCCCCC">
    <td height="10" colspan="4"> </td>
    </tr>
    </form>
    </table>
    <p> </p>
    </body>
    </html>
    I have substituted the filenames which i write/controll to/from but they are working fine.
    "Mio" is a class that has a lot of methods to write/read/check files and that one is also working fine.
    -----My Bean-----------------------------------------------
    package formular;
    import javax.servlet.http.HttpServletRequest;
    import java.io.*;
    import java.util.Vector;
    public class EBean {
    private boolean accept = false;
    private boolean finnsredan = false;
    private boolean notok = true;
    private Vector del = new Vector();
    private String fnamn;
    private String enamn;
    private String email;
    private String kon;
    private String alder;
    private String syssels;
    private String utbildning;
    private String jobbarmed;
    private boolean arstudent = false;
    private boolean ararbetande = false;
    private boolean arpensionar = false;
    private boolean ararbsok = false;
    private String bori;
    private String intressen;
    private boolean intrsport = false;
    private boolean intrmusik = false;
    private boolean harmobil;
    private boolean harhand;
    private boolean har3g;
    private boolean testing;
    private String harejhand;
    private String harej3g;
    private String ma1pris;
    private String ma1stl;
    private String ma1dstl;
    private String ma1fnkt;
    private String ma1de;
    private String ma1varu;
    private String maoman;
    private String maoman1;
    private String sk;
    private String operator;
    private String smsperdag;
    private String anvmob;
    private String maomj1;
    private boolean wapgprs;
    private String anvwapgp;
    private String anvejwapgp;
    private String anvenwapgp;
    private boolean harwapgpanvj=false;
    private boolean harwapgpanvn=false;
    private String mext1;
    private String mext2;
    private String mext3;
    private String mext4;
    private String mext5;
    private String mext6;
    private String mext7;
    private String hdator1;
    private String hdator2;
    private String hdator3;
    private String resa1;
    private String resa2;
    private String kontakt;
    private String hdatoranv1;
    private String program;
    private String tre1;
    private String tre21;
    private String tre22;
    private String tre23;
    private String tre24;
    private String tre25;
    private String tre26;
    private String tre3;
    private String tre4;
    private String tre5;
    private String tre61;
    private String tre62;
    private String tre63;
    private String tre64;
    private String tre65;
    private String tre66;
    private String tre7;
    private String tre8;
    private String tre9;
    private String tre10;
    private String tre11;
    private String tre12;
    private String tre13;
    private String tre14;
    private String tre15;
    private String tre16;
    private String tre17;
    private String tre18;
    private String tre19;
    private String treomj1;
    private String treomj2;
    private String treomn1;
    private String treomn2;
    private String egensk1;
    private String hdatorforb;
    private String maomj3;
    private String kontakt2;
    private String stu1;
    private String stu2;
    private String stu3;
    private String stu4;
    private String stu5;
    private String stu6;
    private String stu7;
    private String stu8;
    private String stu9;
    private String stu10;
    private String stu11a;
    private String stu11b;
    private String stu11c;
    private String stu11d;
    private String stu11e;
    private String stu11f;
    private String stu11g;
    private String stu11h;
    private String stu11i;
    private String stu11j;
    private String stu12;
    private String stu13;
    private String prismodell;
    public boolean getAcc() {
    return accept;
    public void setAccept(String s) {
    if (s.equals("true")) {
    System.out.println("inne i true");
    accept = true;
    else {
    accept = false;
    System.out.println("inne i false");
    public boolean getFinnsredan() {
    return finnsredan;
    public Vector getDeltagare() {
    return del;
    public void setDeltagare() {
    String filnamn =
    "add a visitor to the file";
    String email;
    String line;
    BufferedInputStream textread;
    textread = Mio.openRead(filnamn);
    while (!Mio.eof(textread)) {
    line = Mio.getLine(textread);
    if (!line.equals("")) {
    email = line;
    del.add(email);
    public String getFnamn() {
    return fnamn;
    public void setFnamn(String newValue) {
    if (newValue != null) {
    fnamn = newValue.trim().toLowerCase();
    public String getEnamn() {
    return enamn;
    public void setEnamn(String newValue) {
    if (newValue != null) {
    enamn = newValue.trim().toLowerCase();
    public String getEmail() {
    return email;
    public void setEmail(String newValue) {
    if (newValue != null) {
    email = newValue.trim();
    controllEmail(email);
    public String getKon() {
    return kon;
    public void setKon(String newValue) {
    if (newValue != null) {
    kon = newValue;
    public String getAlder() {
    return alder;
    public void setAlder(String newValue) {
    if (newValue != null) {
    alder = newValue;
    public String getSyssels() {
    return syssels;
    public void setSyssels(String newValue) {
    if (newValue != null) {
    syssels = newValue;
    if (syssels.equals("Studerar p� h�gskola")) {
    arstudent = true;
    ararbetande = false;
    arpensionar = false;
    ararbsok = false;
    if (syssels.equals("Arbetar")) {
    arstudent = false;
    ararbetande = true;
    arpensionar = false;
    ararbsok = false;
    if (syssels.equals("Arbetss�kande")) {
    arstudent = false;
    ararbetande = false;
    arpensionar = false;
    ararbsok = true;
    if (syssels.equals("Pension�r")) {
    arstudent = false;
    ararbetande = false;
    arpensionar = true;
    ararbsok = false;
    public String getUtbildning(){
    return utbildning;
    public void setUtbildning(String t){
    if(t!=""){
    utbildning=t;
    public String getJobbarmed(){
    return jobbarmed;
    public void setJobbarmed(String u){
    if(u!=""){
    jobbarmed=u;
    public boolean getArstudent() {
    return arstudent;
    public String getBori() {
    return bori;
    public void setBori(String newValue) {
    if (newValue != null) {
    bori = newValue;
    public boolean getIntrsport() {
    return intrsport;
    public void setIntrsport(boolean newValue) {
    if (newValue) {
    intrsport = true;
    else {
    intrsport = false;
    public boolean getIntrmusik() {
    return intrmusik;
    public void setIntrmusik(boolean newValue) {
    if (newValue) {
    intrmusik = true;
    else {
    intrmusik = false;
    public String getIntressen(){
    return intressen;
    public void setIntressen(String h){
    if(h!=""){
    intressen=h;
    public boolean getMobil() {
    return harmobil;
    public void setHarmobil(String q) {
    if (q.equals("true")) {
    harmobil = true;
    else {
    harmobil = false;
    public boolean getHarhand() {
    return harhand;
    public void setHanddator(String q) {
    if (q.equals("true")) {
    harhand = true;
    else {
    harhand = false;
    public boolean getHar() {
    return har3g;
    public void setHar3g(String q) {
    if (q.equals("true")) {
    har3g = true;
    else {
    har3g = false;
    /*------------------------- sid1 --------------------------------*/
    public String getMa1pris() {
    return ma1pris;
    public void setMa1pris(String s) {
    if(ma1pris!=""){   
    ma1pris = s;
    public String getMa1stl() {
    return ma1stl;
    public void setMa1stl(String s) {
    ma1stl = s;
    public String getMa1dstl() {
    return ma1dstl;
    public void setMa1dstl(String s) {
    ma1dstl = s;
    public String getMa1fnkt() {
    return ma1fnkt;
    public void setMa1fnkt(String s) {
    ma1fnkt = s;
    public String getMa1de() {
    return ma1de;
    public void setMa1de(String s) {
    ma1de = s;
    public String getMa1varu() {
    return ma1varu;
    public void setMa1varu(String s) {
    ma1varu = s;
    public String getMaoman() {
    return maoman;
    public void setMaoman(String s) {
    maoman = s;
    public String getMaoman1() {
    return maoman1;
    public void setMaoman1(String s) {
    maoman1 = s;
    public String getHarejhand() {
    return harejhand;
    public void setHarejhand(String s) {
    harejhand = s;
    public String getHarej3g() {
    return harej3g;
    public void setHarej3g(String s) {
    harej3g = s;
    public String getSk() {
    return sk;
    public void setSk(String s) {
    sk = s;
    public String getOperator() {
    return operator;
    public void setOperator(String s) {
    operator = s;
    public String getSmsperdag() {
    return smsperdag;
    public void setSmsperdag(String s) {
    smsperdag = s;
    public String getAnvmob() {
    return anvmob;
    public void setAnvmob(String s) {
    anvmob = s;
    public String getMaomj1() {
    return maomj1;
    public void setMaomj1(String s) {
    maomj1 = s;
    public boolean getWapgprs2() {
    return wapgprs;
    public void setWapgprs(String s) {
    if (s.equals("Ja, och jag anv�nder mig av det")) {
    harwapgpanvj = true;
    harwapgpanvn = false;
    wapgprs = true;
    if (s.equals("Ja,men jag anv�nder mig INTE av det")) {
    harwapgpanvn = true;
    harwapgpanvj = false;
    wapgprs = true;
    if (s.equals("Nej")) {
    wapgprs = false;
    public String getProgram(){
    return program;
    public void setProgram(String g){
    if(g!=""){
    program=g;
    public boolean getHarwapgpanvj() {
    return harwapgpanvj;
    public boolean getHarwapgpanvn() {
    return harwapgpanvn;
    public String getMext1() {
    return mext1;
    public void setMext1(String a) {
    if (a != null) {
    mext1 = a;
    public String getMext2() {
    return mext2;
    public void setMext2(String b) {
    if (b != null) {
    mext2 = b;
    public String getMext3() {
    return mext3;
    public void setMext3(String c) {
    if (c != null) {
    mext3 = c;
    public String getMext4() {
    return mext4;
    public void setMext4(String d) {
    if (d != null) {
    mext4 = d;
    public String getMext5() {
    return mext5;
    public void setMext5(String e) {
    if (e != null) {
    mext5 = e;
    public String getMext6() {
    return mext6;
    public void setMext6(String f) {
    if (f != null) {
    mext6 = f;
    public String getMext7() {
    return mext7;
    public void setMext7(String g) {
    if (g != null) {
    mext7 = g;
    public String getHdator1() {
    return hdator1;
    public void setHdator1(String h) {
    if (h != "") {
    hdator1 = h;
    public String getHdator2() {
    return hdator2;
    public void setHdator2(String i) {
    if (i != null) {
    hdator2 = i;
    public String getHdator3() {
    return hdator3;
    public void setHdator3(String j) {
    if (j != null) {
    hdator3 = j;
    public String getResa1() {
    return resa1;
    public void setResa1(String k) {
    if (k != null) {
    resa1 = k;
    public String getResa2() {
    return resa2;
    public void setResa2(String l) {
    if (l != null) {
    resa2 = l;
    public String getKontakt() {
    return kontakt;
    public void setKontakt(String m) {
    if (m != null) {
    kontakt = m;
    public String getEgensk1() {
    return egensk1;
    public void setEgensk1(String s) {
    if (s != "") {
    egensk1 = s;
    public String getHdatorforb() {
    return hdatorforb;
    public void setHdatorforb(String s) {
    if (s != "") {
    hdatorforb = s;
    public String getMaomj3() {
    return maomj3;
    public void setMaomj3(String s) {
    if (s != "") {
    maomj3 = s;
    public String getKontakt2() {
    return kontakt2;
    public void setKontakt2(String s) {
    if (s != "") {
    kontakt2 = s;
    public String getHdatoranv1() {
    return hdatoranv1;
    public void setHdatoranv1(String s) {
    if (s != "") {
    hdatoranv1 = s;
    /*----------------------------Student--------------------------------------*/
    public String getStu1() {
    return stu1;
    public void setStu1(String a) {
    if (a != null) {
    stu1 = a;
    public String getStu2() {
    return stu2;
    public void setStu2(String b) {
    if (b != null) {
    stu2 = b;
    public String getStu3() {
    return stu3;
    public void setStu3(String c) {
    if (c != null) {
    stu3 = c;
    public String getStu4() {
    return stu4;
    public void setStu4(String d) {
    if (d != null) {
    stu4 = d;
    public String getStu5() {
    return stu5;
    public void setStu5(String e) {
    if (e != null) {
    stu5 = e;
    public String getStu6() {
    return stu6;
    public void setStu6(String f) {
    if (f != null) {
    stu6 = f;
    public String getStu7() {
    return stu7;
    public void setStu7(String g) {
    if (g != null) {
    stu7 = g;
    public String getStu8() {
    return stu8;
    public void setStu8(String h) {
    if (h != null) {
    stu8 = h;
    public String getStu9() {
    return stu9;
    public void setStu9(String i) {
    if (i != null) {
    stu9 = i;
    public String getStu10() {
    return stu10;
    public void setStu110(String j) {
    if (j != null) {
    stu10 = j;
    public String getStu11a() {
    return stu11a;
    public void setStu11a(String k) {
    if (k != null) {
    stu11a = k;
    public String getStu11b() {
    return stu11b;
    public void setStu11b(String l) {
    if (l != null) {
    stu11b = l;
    public String getStu11c() {
    return stu11c;
    public void setStu11c(String m) {
    if (m != null) {
    stu11c = m;
    public String getStu11d() {
    return stu11d;
    public void setStu11d(String n) {
    if (n != null) {
    stu11d = n;
    public String getStu11e() {
    return stu11e;
    public void setStu11e(String o) {
    if (o != null) {
    stu11e = o;
    public String getStu11f() {
    return stu11f;
    public void setStu11f(String p) {
    if (p != null) {
    stu11f = p;
    public String getStu11g() {
    return stu11g;
    public void setStu11g(String q) {
    if (q != null) {
    stu11g = q;
    public String getStu11h() {
    return stu11h;
    public void setStu11h(String r) {
    if (r != null) {
    stu11h = r;
    public String getStu11i() {
    return stu11i;
    public void setStu11i(String s) {
    if (s != null) {
    stu11i = s;
    public String getStu11j() {
    return stu11j;
    public void setStu11j(String t) {
    if (t != null) {
    stu11j = t;
    public String getStu12() {
    return stu12;
    public void setStu12(String u) {
    if (u != null) {
    stu12 = u;
    public String getStu13() {
    return stu13;
    public void setStu13(String v) {
    if (v != null) {
    stu13 = v;
    /*------------------------- sid 2 ------------------------------------*/
    public String getAnvwapgp() {
    return anvwapgp;
    public void setAnvwapgp(String s) {
    anvwapgp = s;
    public String getAnvejwapgp() {
    return anvejwapgp;
    public void setAnvejwapgp(String s) {
    anvejwapgp = s;
    public String getTre1() {
    return tre1;
    public void setTre1(String s) {
    tre1 = s;
    public String getTre21() {
    return tre21;
    public void setTre21(String s) {
    tre21 = s;
    public String getTre22() {
    return tre22;
    public void setTre22(String s) {
    tre22 = s;
    public String getTre23() {
    return tre23;
    public void setTre23(String s) {
    tre23 = s;
    public String getTre24() {
    return tre24;
    public void setTre24(String s) {
    tre24 = s;
    public String getTre25() {
    return tre25;
    public void setTre25(String s) {
    tre25 = s;
    public String getTre26() {
    return tre26;
    public void setTre26(String s) {
    tre26 = s;
    public String getTre3() {
    return tre3;
    public void setTre3(String s) {
    tre3 = s;
    public String getTre4() {
    return tre4;
    public void setTre4(String s) {
    tre4 = s;
    public String getTre5() {
    return tre5;
    public void setTre5(String s) {
    tre5 = s;
    public String getTre61() {
    return tre61;
    public void setTre61(String s) {
    tre61 = s;
    public String getTre62() {
    return tre62;
    public void setTre62(String s) {
    tre62 = s;
    public String getTre63() {
    return tre63;
    public void setTre63(String s) {
    tre63 = s;
    public String getTre64() {
    return tre64;
    public void setTre64(String s) {
    tre64 = s;
    public String getTre65() {
    return tre65;
    public void setTre65(String s) {
    tre65 = s;
    public String getTre7() {
    return tre7;
    public void setTre7(String s) {
    tre7 = s;
    public String getTre8() {
    return tre8;
    public void setTre8(String s) {
    tre8 = s;
    public String getTre9() {
    return tre9;
    public void setTre9(String s) {
    tre9 = s;
    public String getTre10() {
    return tre10;
    public void setTre10(String s) {
    tre10 = s;
    public String getTre11() {
    return tre11;
    public void setTre11(String s) {
    tre11 = s;
    public String getTre12() {
    return tre12;
    public void setTre12(String s) {
    tre12 = s;
    public String getTre13() {
    return tre13;
    public void setTre13(String s) {
    tre13 = s;
    public String getTre14() {
    return tre14;
    public void setTre14(String s) {
    tre14 = s;
    public String getTre15() {
    return tre15;
    public void setTre15(String s) {
    tre15 = s;
    public String getTre16() {
    return tre16;
    public void setTre16(String s) {
    tre16 = s;
    public String getTre17() {
    return tre17;
    public void setTre17(String s) {
    tre17 = s;
    public String getTre18() {
    return tre18;
    public void setTre18(String s) {
    tre18 = s;
    public String getTre19() {
    return tre19;
    public void setTre19(String s) {
    tre19 = s;
    public String getTreomj1() {
    return treomj1;
    public void setTreomj1(String s) {
    treomj1 = s;
    public String getTreomj2() {
    return treomj2;
    public void setTreomj2(String s) {
    treomj2 = s;
    public String getTreomn1() {
    return treomn1;
    public void setTreomn1(String s) {
    treomn1 = s;
    public String getTreomn2() {
    return treomn2;
    public void setTreomn2(String s) {
    treomn2 = s;
    public String getPrismodell(){
    return prismodell;
    public void setPrismodell(String h){
    if(h!=""){
    prismodell=h;
    public synchronized void write() {
    int i = controll();
    String namn =
    "generates a new file";
    String namn2 =
    "add the visitor to this file";
    File myFile = new File(namn);
    boolean file_succes = false;
    PrintWriter OutFile, OutFile2;
    try {
    file_succes = myFile.createNewFile();
    OutFile = new PrintWriter(new FileOutputStream(namn, true));
    OutFile.println("<?xml version='1.0' encoding='ISO-8859-1' ?>");
    OutFile.println("<element>");
    OutFile.println(" <Fnamn> " + getFnamn() + " </Fnamn>");
    OutFile.println(" <Enamn> " + getEnamn() + " </Enamn>");
    OutFile.println(" <Email> " + getEmail() + " </Email>");
    OutFile.println(" <K�n> " + getKon() + " </K�n>");
    OutFile.println(" <�lder> " + getAlder() + " </�lder>");
    OutFile.println(" <Syssels�ttning> " + getSyssels() + " </Syssels�ttning>");
    OutFile.println(" <Utbildning> " + getUtbildning() + " </Utbildning>");
    OutFile.println(" <Jobbarmed> " + getJobbarmed() + " </Jobbarmed>");
    OutFile.println(" <Bosatti> " + getBori() + " </Bosatti>");
    OutFile.println(" <Intressen> " + getIntressen() + " </Intressen>");
    OutFile.println(" <Harmobil> " + getMobil() + " </Harmobil>");
    OutFile.println(" <Harhanddator> " + getHarhand() +" </Harhanddator>");
    OutFile.println(" <Har3G-telefon> " + getHar() +" </Har3G-telefon>");
    OutFile.println(" <Harhanddator> " + getHarhand() +" </Harhanddator>");
    OutFile.println(" <Haringenmobild�rf�r> " + getMaoman1() +" </Haringenmobild�rf�r>");
    OutFile.println(" <Haringenhanddatord�

Maybe you are looking for