Pre-fill the filename in Fileupload UI

Hi,
I am unable to pre-fill the filename in fileupoad UI.
When I launch the WD app, on the browser it get the following URL
http://devai063.private.xxxx.com:8081/sap/bc/webdynpro/sap/zgi_file_upload?sap-language=EN
at the end I add &filename=c:benefit.txt and hit enter,
http://devai063.private.xxxx.com:8081/sap/bc/webdynpro/sap/zgi_file_upload?sap-language=EN&filename=c:benefit.txt
In WD window HANDLEDEFAULT method I am checking for the filename parameter if not empty I am setting the 'filename'  to the context of filename of fileuploadUI, but the app does not show the file name C:
benefit.txt in the fileupload UI.
I debugged the HANDLEDEFAULT and I can see the filename but somehow it is not setting to the filname for uploadfile UI.
any advice is highly appreciated.
Thanks,
Ram

From the online help:
Technical Browser Details Beyond the Control of WDA
Due to browser restrictions that are unrelated to Web Dynpro ABAP, the previously entered data path might disappear when a FileUpload UI element is clicked. In newer versions of the browser, it is therefore impossible to enter the file name in the entry field. The field always remains empty. The selection of the file name is therefore only possible in new browser versions using the Browse... button. You cannot enter the file name manually (using the keyboard or the Copy and Paste functions) or by setting the file name from the back end (directly or using context binding). For more details, read the security-related information in Internet Explorer 6 about handling <input type=file>.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/be7941601b1d09e10000000a155106/frameset.htm

Similar Messages

  • Pre-fill the OLAP cache for a query on Data change event  of infoprovider

    Hi Gurus,
    I have to pre-fill the OLAP cache for a query,which has bad performance.
    I read a doc 'Periodic Jobs and Tasks in SAP BW'
    which suggested sum steps to do this
    i hav created the setting for Bex broadcasting for scheduling job Execution with data change in info provider
    thereafter doc says  "an event has to be raised in the process chain which loads the data to this InfoProvider.When the process chain executes the process u201CTrigger Event Data Change (for Broadcaster)u201D, an event is raised to inform the Broadcaster that the query can be filled in the OLAP cache."
    how can this b done please provide with sum proper steps
    Answers are always appreciated.
    Thanks.

    Hi
    U need to create a process chain or use the existing process chain which you are using to load your current solution, just add event change process type in the process chian  and inside it add the info provider which are going to be affected.
    Once you are done with this go to the broadcaster  and  create new setting for that query...you will see the option for event data chainge in infoprovider just choose that  and create the settings.
    hope it helps

  • I want to pre-fill the report

    I have some reports that are similar but are to be run according to sales rep. As I am in the process of doing this more automatically via email 'bursting', but in the meantime, they need these reports. So i am created one report for each rep. I would like to at least pre fill the rep name as report parameter and to use in the headings at the least. I put in one rep name as the default but it does prompt i would like this to run without the prompting having the name as it does. how do I do this?

    hi Paul,
    please see how to set up your reports readying them for a publication in this guide.
    you need to create a dynamic recipients list as per page 6 (using another report which is essentially a list of emails, names, etc.) as well as looking at the Personalization section. the personalization is what you've done already with the rep name as the prompt.
    -jamie

  • How to Pre fill the screen XD01/XD02, from the report program

    Hello,
    I have a requirment where i have to pass the screen values for the genral view of the tcode XD01/XD02,
    For example : In my report program i get the Name, City, Country, PIN etc.. now my requirement is that the First Screen(Genral view) of the XD01 is pre filled with all the values that are passed from the Program and the user can continue after that.
    Please suggest a way to achieve the mentioned functionality .
    Regards,
    Abhinav

    Thanks
    But the screen fields that i have to fill don't have parameter id's ..and i dont want to open the object by access key.
    also my requirement is to leave to the transaction with the filled  screen field .from the report prog...so when i use BDC i get the OK code , that i want to avoid.

  • Can I pre-fill the answer to a specific question? i.e. customer number for a customer questionnaire.

    I am building a customer questionnaire for our existing customers and, on the first page, have fields to type in the customer name and number (a unique number we assign to each customer.) 
    I would prefer to specify these myself when I send out the questionairre in case the customer doesn't know their customer number.  Theoretically, this would work with a query string or something similar so that each customer would get a unique URL to the form (i.e. formcentral.acrobat.com/myquestionnaire.html?custId=1234). 
    I'm intending to track and graph all of my results and don't want multiple submissions from the same customer to skew the findings.  I'm also setting up some mecahnisms to get back in touch with customers who fill out the questionnaire and answer any questions or concerns they expressed with it, which I obviously wouldn't be able to do if they didn't specify adequate identifying informaiton. 

    Hi,
    Currently we do not have a feature that allows you pre-fill in customer response data, or a way to prevent multiple submissions.  Preventing multiple submissions is something that is requested frequently, and we are looking at for a future release.  We do look to the ideas section to help guide us on what features we work on next.  I suggest you add your idea about pre-filling in customer resposne data to the ideas section, and also voting for the preventing of multiple responses idea.
    Thanks,
    Todd

  • I have 2 different accounts at the same websites. Whenever I go to that website, one of my usernames prefills the UN field and I can't access the other account. I cannot overwrite my pre-filled username. Ideas?

    I have 2 different accounts at the same websites. Whenever I go to that website, one of my two user names (always the same one) pre-fills the user-name field and I can't access the other account. The website rightfully rejects my password. I cannot overwrite my pre-filled user-name because the second I hit enter to logon, the original user-name rewrites itself into it's field. Neither of the user names is being saved by firefox anywhere in the "tools"; Options, security, advanced or privacy menu fields.
    I did notice that that website has installed a cookie onto my computer called "_rememberme" which contains the user-name that is plaguing me.
    This is a website that I access for very sensitive and important information and I must have both accounts accessible at different times.
    Thanks, Joshua
    XP, sp3; FF3.6.3
    == This happened ==
    A few times a week
    == I added the second account on this website.

    You need to clear that remember me cookie and make sure that you remove a check mark to remember you on that website.
    Tools > Options > Privacy > Cookies: "Show Cookies"
    You can disable the automatic fill of a name and password.
    See:
    http://kb.mozillazine.org/Password_only_filled_after_entering_user_name
    http://kb.mozillazine.org/signon.autofillForms
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • Possible to use JavaScript to Import Data from XML file to pre-fill fields?

    Hi,
    I have a dynamic fill-in PDF that I want to "pre-fill" internally in my company before sending out to users who will change any pre-filled fields necessary and answer questions we did not already answer.
    We do not have LiveCycle Reader Extensions, but we can use Acrobat to import data from an XML document to pre-fill the named fields.  Is it possibly to do this task using folder-level Javascript or some other method?  I can look into this, and post my findings, but I'd like to know if it's possible or if I need to use a different programming language.

    Hi,
    I am afraid that solution was for a specific client and I can't share it. If I get a chance I will mock up an example, but this wont be for a while. From memory it was just a straight importData method. This would normally fail silently in a non-certified form, but when the form is digitally signed/certified, it works without a hitch.
    Good luck,
    Niall

  • The pre filled fields from downloaded pdf forms are blank; e.g.; prefilled pdf forms from insurance companies.

    I download pre filled pdf claim forms from the web site of my insurance company. The fields are not pre filled with my personnal data ( name, address, etc) like it is supposed to. Furthermore, I cannot even type my own data in the blank fields. All of this works all right with another browser.

    The new built-in PDF viewer does not have the capability to do fill-in forms. Development is still underway on enhancements to the PDF viewer.
    In the meantime, you will need a PDF application that can do fill-in forms (Adobe Reader and Foxit Reader are 2 free PDF applications that can fill-in PDF forms).
    *You have Adobe Reader 9.3.4 installed, but it is a very old version and needs to be updated due to security issues.
    *Check your Plugins - https://www.mozilla.org/en-US/plugincheck/
    *Info about Adobe Reader - https://support.mozilla.org/en-US/kb/use-adobe-reader-plugin-view-or-download-pdf-files?esab=a&s=pdf&r=0&as=s#os=winxp&browser=fx19
    You can change Firefox settings to use another application's plugin to fill-in forms in Firefox instead of using the built-in PDF viewer as a default. Here's how to do that - https://support.mozilla.org/en-US/kb/disable-built-pdf-viewer-and-use-another-viewer

  • Where is the list of allowed applets stored?  Can this be pre-filled?

    The new version (update 11) now asks for permission to run appllets by default.
    The dialog has a checkbox to allow this applet to run in the future.
    Where is this information stored?
    Is it possible to pre-fill it with a list of allowed applets at installation time?

    The Safari list is used to spoof weird sites that can't render Safari properly. There's no way you should want to change it. There's nothing connected with your Firefox deletion.

  • My previously saved login names and passwords for certain websites seem to have disappeared and don't pre-fill with the new Firefox...is there a fix or something I'm doing wrong?

    After upgrading and beginning log in to sites I've previously saved login names/passwords for...the fields no longer pre-fill.

    After upgrading and beginning log in to sites I've previously saved login names/passwords for...the fields no longer pre-fill.

  • How do I change the pre-filled file location when I choose Save As?

    16 September 2013
    Using Windows 7 Home Edition and Firefox 24.0
    I always want Firefox to offer a location when I download stuff. At the moment it fills the Save As file location with a location I never use and it is the same one every time, and I don't know how to stop this from happening. How can I teach Firefox to fill the Save As location with another file location, for example Desktop?
    NB This is absolutely not about setting the default under
    Tools/Options/General/Downloads/Save Files To...
    although everyone automatically assumes it is.
    Background: After using Firefox for a few months on my Windows 7 machine, I then imported old Firefox settings from a VISTA machine.

    You may want to reset the prefs file, it should show the last place you saved a page from.
    * [[Reset Firefox preferences to troubleshoot and fix problems]]

  • The images imported to my stage turn up as blank and render every image previous to the rogue imported image as red squares that fill the perimeters of the image which then renders the publishing and scene testing features in flash useless, what can i do

    I have been working on animating a scene in flash for a few weeks and recently I have encountered a problem with importing my images on to the stage where the images I import do not turn up, however the key frame that I attempted to import the image onto shows that it is occupied by an image and every frame previous to the key frame that just imported an image that does not show turns up as a red square that fills the original perimeters of the image, there is no solution to this problem any where on the forum and the adobe technical support staff will not help me find a solution to this problem what can I do to get Flash running normally again and fix this problem?????
    Also after the first time i publish a preview after i begin using flash, flash renders the publishing and scene testing features as useless and claims that there is no HTML template found, or if the images if i import any images onto the stage that come up blank and render every image previous to that image as a red square and then try and publish a preview  flash renders the publishing and scene testing features as useless and claims that there is no HTML template found. What can I do to fix this problem??? there is no solution on the web anywhere to this problem either.

    I don't know if Flash has a memory limit of its own. The memory for your Flash file is based on the available memory on your computer.
    There is a limit on the number of frames that you can have in any given timeline. I think that it's about 15000 frames, but that's a guess. Flash does all of its work at runtime, this means that no part of your animation is pre-compiled like it is in a video file. So the more objects that you have on the stage, the more work Flash has to do. It follows that the more objects that there are to animate, the more work your processor and the video card have to do.
    Here's a list of articles on memory management that might be useful:
    Garbage collection internals for Flash Player and Adobe AIR | AdobeDeveloper Connection
    actionscript 3 - What are good memory management techniques in Flash/as3 - Stack Overflow
    AS3 Memory Management Tips

  • How to get background image to fill the browser and remain fixed in both IE and Firefox?

    Basically what it says in the title. I've come very close in achieving this but something just doesn't tie up in the html and css code...
    First of all, I'm using IE8 and the latest version of Firefox to test this.
    I used 2 sources of information for getting this done: 1) http://css-tricks.com/perfect-full-page-background-image/ and 2) http://stackoverflow.com/questions/8958697/css3-background-size-cover-doesnt-make-image-co ver-vertically
    In Case 1 the example on the page called CSS-Only Technique #1 gives code that works almost perfectly for me, except that obviously I need a background image, however the CSS provided there is clearly just for an image dropped in the body of a page with no regard for other content that may already be there. The html code that I put on the page is simply <img class="bg" src="../images/background_image.jpg">
    Obviously I used the CSS code provided in the example, minus the last bit which is "@media screen" etc etc, which seems irrelevant to me. Obviously substituting values to suit the image on my page.
    So what happened is that it almost worked as intended in both the browsers (which means the image filled both browsers width-wise as intended and also remained fixed when I zoomed in or out in each case) except that the image went over the top of the current content that I had there already precisely because it's not a background in this "technique". (A curious side-note is that the image didn't push down the content, as I'd have expected in normal circumstances, but went right over the top of it so it hid it (like z-index).
    One thing that does bother me about this "technique" is that if you click on View Demo just below the code provided you will see on the working example page (forest background) the image clearly works as a background and the content sits happily on top! So I don't know whether the person providing the example was trying to mislead people or what! Or he got lazy and showed a different page that didn't use the exact code he provided. No matter.
    In any case this leaves me with the job only half finished, as I still need a background image that works like the 'normal image' code provided.
    On to Case 2 and on this page the first example provided gives the CSS for the background image - namely the code within html {...} part and also shows the same 'normal image' code as given in Case 1. In this case however, although the person provided a suggestion, the css and html doesn't really tie up properly plus some of the css and html seems a bit redundant. So this time when I used the 'html portion' of the CSS code (i.e. just the bit that was most relevant) I got two different behaviours in each browser and neither of which was quite what I'm looking for. In IE8 initially the page looks fine (background fills the page and content is on top) however when I zoom in or out the background also zooms in or out accordingly so is NOT fixed. In Firefox the background image DOES stay fixed, however because the image originally is not the whole height of the browser I'm guessing the code stretches it downwards (while keeping proportions - so the image essentially enlarges) to fill all of it. The quick way to get around it is to probably add some white space to the bottom of the image just to give it enough height that it doesn't stretch/resize automatically. But it would be nice to find out anyway how to get around this in the code. Overall I would say that the result in Firefox comes closest to the desired solution but of course it doesn't help matters with IE8.
    Apologies for the lengthy description but that should at least provide plenty info for anybody that might have a possible solution for me. Essentially what would be great is if somebody could advise me how to take the code from Case 1 and apply it to a 'background' piece of coding like the type that's contained within html {...} in Case 2. Like I said, it's so nearly there but I just can't make it work atm after trying to combine the various bits of code this way and that... Alternatively, if somebody has another html-css version that works nicely for achieving this then please by all means let me know! Thanks v much in advance!

    This works in modern CSS3 supporting browsers.  But not pre-IE9.
    http://alt-web.com/TEST/Resizable-BG.shtml
    Nancy O.

  • Oracle Security Patch Error while applying --The filename, directory name,

    Hello,
    I am running into strange error while applying Oracle Security Patch 68 by using Opatch.
    Supposedly, All the environment variables are set properly.
    ACTIVE_STATE_PERL=true
    DBMS_TYPE=ORA
    dbs_ora_tnsname=YBQ
    JAVA_HOME=C:\jdk1.3.1_10
    OPATCH_DEBUG=TRUE
    ORACLE_HOME=E:\oracle\ora92
    ORACLE_SID=YBQ
    Path=E:\oracle\OPatch;C:\jdk1.3.1_10\bin;E:\oracle\Perl\bin;E:\oracle\ora92\jre\1.4.2\bin\client;E:\oracle\ora92\jre\1.4.2\bin;E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Common Files\VERITAS Shared;\NetBackup\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\Support Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;E:\usr\sap\YBQ\SYS\exe\run
    Installed Active Perl. latest version
    downloaded Opatch 1.0.0.50
    and the patch number 3738339
    I went to that directory and run the command :
    perl opatch.pl apply
    It started of well.
    OPatch version is: 1.0.0.0.50
    Using ORACLE_HOME/oui to look up oui libs...
    Oracle Home = E:\oracle\ora92
    Location of Oracle Inventory = E:\oracle\ora92\inventory
    Oracle Universal Installer shared library = E:\oracle\ora92\oui\lib\win32\oraInstaller.dll
    Path to Java = "E:\oracle\ora92\jre\1.4.2\bin\java.exe"
    Location of Oracle Inventory Pointer = N/A
    Location of Oracle Universal Installer components = E:\oracle\ora92\oui
    Required Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
    find under OH/oui/jlib
    found OraInstaller.jar
    Checking if this is a RAC system...
    Accessing inventory... This may take up to 300 seconds.
    (retry 10 times, delay 30 seconds each time)
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;.:E:\oracle\ora92\jlib\srvm.jar" opatch/O2O "e:\oracle\ora92" "E:\oracle\ora92\oui" opatch.pl 1.0.0.0.50"
    Result:
    ----- DEBUG is ON -------
    oracle.installer.startup_location will be set to E:\oracle\ora92\oui
    oracle.installer.oui_loc will be set to E:\oracle\ora92\oui
    oracle.installer.scratchPath will be set to /tmp
    opatch.local_node_only is OFF
    retryOption is ON: 10
    delayOption is ON: 30
    Few more stuff here .. not pasting the entire contents
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;." opatch/CheckConflict "E:\oracle\ora92\oui" "e:\oracle\ora92" opatch.pl 1.0.0.0.50 3738339 "3741539 3528282 3516951 3622875 3668572 3371796 3239873 3356103 3543125 3666502 2800494 2824035 2964252 3617042 3320622 3571233 3253770 3492040 3566469 3354470 3625370 3583686 3150750 3617519 3635177 3597640 3749394 3542588 3698501 2954891 2918138 3559212 3518909 3412818 3430832 3172282 3358490 3637624 3458446 3179637 2810394 3668224 3609791 3566813 3475932 2338704 3412136 3388633 3540576 3571226 3575743 2690205 3240280 3509265 3177513 3575747 3811906 3554319 3752406 3323435 " E:\3738339\etc\config\actions"
    Result:
    opatch.pl version: 1.0.0.0.50
    Copyright (c) 2001-2004 Oracle Corporation. All Rights Reserved.
    The filename, directory name, or volume label syntax is incorrect.
    Error in executing Java program to check conflict
    ERROR: OPatch failed during pre-reqs check.
    Now there is no problem with executing the last java program in the same prompt by removing the first and the last double quote "
    Please advise.
    Thanks in advance.

    hi somnath,
    this is the portal content management forum. for your database question please use the database forums:
    http://forums.oracle.com/forums/index.jsp?cat=18
    thanks,
    christian

  • Show the filename in a edit_text box in a stamp dialog

    Hi,
    Im tryint to create a stamp that pops-up dialog.
    One of the dialog text box must be filled in by default with the filename of the document that has to be stamped.
    This is a part of the code:
    var dialog = {
    issuepurposeValue: "",
    reviewresultcodeValue: "",
    nextissuestatusValue: "",
    resubmissiondateValue: "",
    respdept1Value: "",
    sigrespdept1Value: "",
    relateddept1Value: "",
    sigrelateddept1Value: "",
    relateddept2Value: "",
    sigrelateddept2Value: "",
    dateValue: "",
    reqnumValue: "",
    docnumberValue: "",
    docrevValue: "",
    initialize: function(dialog) {
    dialog.load({
    "radA": true,
    "radF": true,
    "radL": true,
    "cbxA": true,
    "radP": true,
    "radR": false,
    "txtM": documentFileName,
    "txtK": util.printd("dd-mmm-yyyy", new Date()),
    this.dateValue = false;
    this.resubmissiondateValue = false
    dialog.enable({
    "txtD": this.resubmissiondateValue,
    "txtK": this.dateValue
    cbxA: function (dialog) {
    this.dateValue = !this.dateValue;
    dialog.enable({"txtK": this.dateValue});
    radR: function (dialog) {
    this.resubmissiondateValue =! this.resubmissiondateValue;
    dialog.enable({
    "txtD": true,
    radP: function (dialog) {
    this.resubmissiondateValue =! this.resubmissiondateValue;
    dialog.enable({
    "txtD": false,
    radQ: function (dialog) {
    this.resubmissiondateValue =! this.resubmissiondateValue;
    dialog.enable({
    "txtD": false,
    commit:function (dialog) { // called when OK pressed
    var results = dialog.store();
    if(results["radA"] == true) {this.issuepurposeValue = "FR"};
    if(results["radB"] == true) {this.issuepurposeValue = "FN"};
    if(results["radC"] == true) {this.issuepurposeValue = "FI"};
    if(results["radD"] == true) {this.issuepurposeValue = "AB"};
    if(results["radE"] == true) {this.issuepurposeValue = ""};
    if(results["radF"] == true) {this.reviewresultcodeValue = "A"};
    if(results["radG"] == true) {this.reviewresultcodeValue = "B"};
    if(results["radH"] == true) {this.reviewresultcodeValue = "N"};
    if(results["radI"] == true) {this.reviewresultcodeValue = "F"};
    if(results["radJ"] == true) {this.reviewresultcodeValue = ""};
    if(results["radK"] == true) {this.nextissuestatusValue = "FR"};
    if(results["radL"] == true) {this.nextissuestatusValue = "FN"};
    if(results["radM"] == true) {this.nextissuestatusValue = "FI"};
    if(results["radN"] == true) {this.nextissuestatusValue = "AB"};
    if(results["radO"] == true) {this.nextissuestatusValue = ""};
    if(results["radP"] == true) { this.resubmissiondateValue = "Within 2 weeks"};
    if(results["radQ"] == true) { this.resubmissiondateValue = "In MDR"};
    if(results["radR"] == true) { this.resubmissiondateValue = results["txtD"]};
    this.respdept1Value = results["txtE"];
    this.sigrespdept1Value = results["txtF"];
    this.relateddept1Value = results["txtG"];
    this.sigrelateddept1Value = results["txtH"];
    this.relateddept2Value = results["txtI"];
    this.sigrelateddept2Value = results["txtJ"];
    if(results["cbxA"] == false) {this.dateValue = results["txtK"]};
    if(results["cbxA"] == true) {this.dateValue = util.printd("dd-mmm-yyyy", new Date())};
    this.reqnumValue = results["txtL"];
    this.docnumberValue = results["txtM"];
    this.docrevValue = results["txtN"];
    description:
    The problem is in "txtM" if i put under initialize "txtM": documentFileName, it returns the stamp name and i need the filename.
    hope anyone can help.
    Robbert

    I'm not that good in writing java scripts codes. all my codes come from stealing and modifying with trial and error.
    for your understanding find below the complete stamp code. The stamp is being used as a company approval stamp. a part of this stamp provides the document number of the checked document. to make it easy for the user of the stamp i want to retrieve the document file name as this is most of the time equal to the document number it self.
    "txtM" is the id-tag for a type edit_text box for filling the document number.
    var dialog = {
    issuepurposeValue: "",
    reviewresultcodeValue: "",
    nextissuestatusValue: "",
    resubmissiondateValue: "",
    respdept1Value: "",
    sigrespdept1Value: "",
    relateddept1Value: "",
    sigrelateddept1Value: "",
    relateddept2Value: "",
    sigrelateddept2Value: "",
    dateValue: "",
    reqnumValue: "",
    docnumberValue: "",
    docrevValue: "",
    initialize: function(dialog) {
    dialog.load({
    "radA": true,
    "radF": true,
    "radL": true,
    "cbxA": true,
    "radP": true,
    "radR": false,
    "txtM": documentFileName,
    this.dateValue = false;
    this.resubmissiondateValue = false
    dialog.enable({
    "txtD": this.resubmissiondateValue,
    "txtK": this.dateValue
    cbxA: function (dialog) {
    this.dateValue = !this.dateValue;
    dialog.enable({"txtK": this.dateValue});
    radR: function (dialog) {
    this.resubmissiondateValue =! this.resubmissiondateValue;
    dialog.enable({
    "txtD": true,
    radP: function (dialog) {
    this.resubmissiondateValue =! this.resubmissiondateValue;
    dialog.enable({
    "txtD": false,
    radQ: function (dialog) {
    this.resubmissiondateValue =! this.resubmissiondateValue;
    dialog.enable({
    "txtD": false,
    commit:function (dialog) { // called when OK pressed
    var results = dialog.store();
    if(results["radA"] == true) {this.issuepurposeValue = "FR"};
    if(results["radB"] == true) {this.issuepurposeValue = "FN"};
    if(results["radC"] == true) {this.issuepurposeValue = "FI"};
    if(results["radD"] == true) {this.issuepurposeValue = "AB"};
    if(results["radE"] == true) {this.issuepurposeValue = ""};
    if(results["radF"] == true) {this.reviewresultcodeValue = "A"};
    if(results["radG"] == true) {this.reviewresultcodeValue = "B"};
    if(results["radH"] == true) {this.reviewresultcodeValue = "N"};
    if(results["radI"] == true) {this.reviewresultcodeValue = "F"};
    if(results["radJ"] == true) {this.reviewresultcodeValue = ""};
    if(results["radK"] == true) {this.nextissuestatusValue = "FR"};
    if(results["radL"] == true) {this.nextissuestatusValue = "FN"};
    if(results["radM"] == true) {this.nextissuestatusValue = "FI"};
    if(results["radN"] == true) {this.nextissuestatusValue = "AB"};
    if(results["radO"] == true) {this.nextissuestatusValue = ""};
    if(results["radP"] == true) { this.resubmissiondateValue = "Within 2 weeks"};
    if(results["radQ"] == true) { this.resubmissiondateValue = "In MDR"};
    if(results["radR"] == true) { this.resubmissiondateValue = results["txtD"]};
    this.respdept1Value = results["txtE"];
    this.sigrespdept1Value = results["txtF"];
    this.relateddept1Value = results["txtG"];
    this.sigrelateddept1Value = results["txtH"];
    this.relateddept2Value = results["txtI"];
    this.sigrelateddept2Value = results["txtJ"];
    if(results["cbxA"] == false) {this.dateValue = results["txtK"]};
    if(results["cbxA"] == true) {this.dateValue = util.printd("dd-mmm-yyyy", new Date())};
    this.reqnumValue = results["txtL"];
    this.docnumberValue = results["txtM"];
    this.docrevValue = results["txtN"];
    description:
    name: "Issue Purpose Column",// Dialog box title
    elements:
    type: "cluster",
    name: "Purpose, Result and Next Issue",
    align_children: "align_left",
    elements:
    type: "view",
    align_children: "align_row",
    elements:
    name: "Issue Purpose",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    type: "radio",
    item_id: "radA",
    group_id: "purp",
    name: "For Review (FR)",
    char_width: 14,
    type: "radio",
    item_id: "radB",
    group_id: "purp",
    name: "For Final (FN)",
    char_width: 14,
    type: "radio",
    item_id: "radC",
    group_id: "purp",
    name: "For Information (FI)" ,
    char_width: 14,
    type: "radio",
    item_id: "radD",
    group_id: "purp",
    name: "As Build (AB)" ,
    char_width: 14,
    type: "radio",
    item_id: "radE",
    group_id: "purp",
    name: "Not Applicable" ,
    type: "view",
    align_children: "align_row",
    elements:
    name: "Review Result Code",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    type: "radio",
    item_id: "radF",
    group_id: "resu",
    name: "A Approved (A)",
    char_width: 14,
    type: "radio",
    item_id: "radG",
    group_id: "resu",
    name: "B Approved (B)",
    char_width: 14,
    type: "radio",
    item_id: "radH",
    group_id: "resu",
    name: "Not Accepted (N)" ,
    char_width: 14,
    type: "radio",
    item_id: "radI",
    group_id: "resu",
    name: "For Information (F)" ,
    char_width: 14,
    type: "radio",
    item_id: "radJ",
    group_id: "resu",
    name: "Not Applicable" ,
    type: "view",
    align_children: "align_row",
    elements:
                           name: "Next Issue Status ",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    type: "radio",
    item_id: "radK",
    group_id: "next",
    name: "For Review (FR)",
    char_width: 14,
    type: "radio",
    item_id: "radL",
    group_id: "next",
    name: "For Final (FN)",
    char_width: 14,
    type: "radio",
    item_id: "radM",
    group_id: "next",
    name: "For Information (FI)" ,
    char_width: 14,
    type: "radio",
    item_id: "radN",
    group_id: "next",
    name: "As Build (AB)" ,
    char_width: 14,
    type: "radio",
    item_id: "radO",
    group_id: "next",
    name: "Not Applicable" ,
    type: "view",
    align_children: "align_row",
    elements:
                           name: "Resubmission Date",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    type: "radio",
    item_id: "radP",
    group_id: "resub",
    name: "Within 2 weeks" ,
    char_width: 14,
    type: "radio",
    item_id: "radQ",
    group_id: " resub ",
    name: "In MDR" ,
    char_width: 14,
    type: "radio",
    item_id: "radR",
    group_id: " resub ",
    name: "Other" ,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtD",
    type: "edit_text",
    multiline: false,
    width: 308,
    height: 20                                             
    type: "cluster",
    name: "Responsible Dept. and person",
    align_children: "align_left",
    elements:
    type: "view",
    align_children: "align_row",
    elements:
    name: "Responsible Department",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtE",
    type: "edit_text",
    multiline: false,
    width: 100,
    height: 20
    name: "Responsible Person (Abbreviation)",
    type: "static_text",
    char_width: 19,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtF",
    type: "edit_text",
    multiline: false,
    width: 371,
    height: 20                                             
    type: "view",
    align_children: "align_row",
    elements:
    name: "Related Department #1",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtG",
    type: "edit_text",
    multiline: false,
    width: 100,
    height: 20
    name: "Related Person #1 (Abbreviation)",
    type: "static_text",
    char_width: 19,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtH",
    type: "edit_text",
    multiline: false,
    width: 371,
    height: 20                                             
    type: "view",
    align_children: "align_row",
    elements:
    name: "Related Department #2",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtI",
    type: "edit_text",
    multiline: false,
    width: 100,
    height: 20
    name: "Related Person #2 (Abbreviation)",
    type: "static_text",
    char_width: 19,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtJ",
    type: "edit_text",
    multiline: false,
    width: 371,
    height: 20                                             
    type: "cluster",
    name: "Document information",
    align_children: "align_left",
    elements:
    type: "view",
    align_children: "align_row",
    elements:
    name: "Date",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    type: "check_box",
    item_id: "cbxA",
    name: "Today or",
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtK",
    type: "edit_text",
    multiline: false,
    width: 189,
    height: 20
    type: "view",
    align_children: "align_row",
    elements:
    name: "Requisition Number",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtL",
    type: "edit_text",
    multiline: false,
    width: 300,
    height: 20                                             
    type: "view",
    align_children: "align_row",
    elements:
    name: "Document Number",
    type: "static_text",
    char_width: 14,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtM",
    type: "edit_text",
    variable_Name: "edit",
    multiline: false,
    width: 300,
    height: 20
    name: "Revision",
    type: "static_text",
    char_width: 3,
    name: ":",
    type: "static_text",
    char_width: 1,
    item_id: "txtN",
    type: "edit_text",
    multiline: false,
    width: 50,
    height: 20                                             
    type: "ok_cancel",
    ok_name: "Ok",
    cancel_name: "Cancel"
    //app.execDialog(dialog);
    if(event.source.forReal && (event.source.stampName == "#DXpvGqB1uiHTWNVyDOHTnC"))
      if ("ok" == app.execDialog(dialog))
    var cMsg = dialog.issuepurposeValue;
    event.value = "\n" + cMsg;
    event.source.source.info.reviewresultcode = cMsg;
    cMsg = "\n" + dialog.reviewresultcodeValue;
    this.getField("reviewresultcode").value = cMsg;
    event.source.source.info.nextissuestatus = cMsg;
    cMsg = "\n" + dialog.nextissuestatusValue;
    this.getField("nextissuestatus").value = cMsg;
    event.source.source.info.resubmissiondate = cMsg;
    cMsg = "\n" + dialog.resubmissiondateValue;
    this.getField("resubmissiondate").value = cMsg;
    event.source.source.info.respdept1 = cMsg;
    cMsg = "\n" + dialog.respdept1Value;
    this.getField("respdept1").value = cMsg;
    event.source.source.info.sigrespdept1 = cMsg;
    cMsg = "\n" + dialog.sigrespdept1Value;
    this.getField("sigrespdept1").value = cMsg;
    event.source.source.info.relateddept1 = cMsg;
    cMsg = "\n" + dialog.relateddept1Value;
    this.getField("relateddept1").value = cMsg;
    event.source.source.info.sigrelateddept1 = cMsg;
    cMsg = "\n" + dialog.sigrelateddept1Value;
    this.getField("sigrelateddept1").value = cMsg;
    event.source.source.info.relateddept2 = cMsg;
    cMsg = "\n" + dialog.relateddept2Value;
    this.getField("relateddept2").value = cMsg;
    event.source.source.info.sigrelateddept2 = cMsg;
    cMsg = "\n" + dialog.sigrelateddept2Value;
    this.getField("sigrelateddept2").value = cMsg;
    event.source.source.info.date = cMsg;
    cMsg = "\n" + dialog.dateValue;
    this.getField("date").value = cMsg;
    event.source.source.info.reqnum = cMsg;
    cMsg = "\n" + dialog.reqnumValue;
    this.getField("reqnum").value = cMsg;
    event.source.source.info.docnumber = cMsg;
    cMsg = "\n" + dialog.docnumberValue;
    this.getField("docnumber").value = cMsg;
    event.source.source.info.docrev = cMsg;
    cMsg = "\n" + dialog.docrevValue;
    this.getField("docrev").value = cMsg;

Maybe you are looking for