Saving Offline PDF form from Web-Dynpro with Dynamic File Name

Hello All,
We have a offline PDF form.... When we save the form, a default file name appears. We need to change this default name to some value that is already available in the form fields.
I have gone through some posts in the forum. However not able to figure out the solution.
Following are the details:
1. Web-Dynpro used : ABAP Web-Dynpro
2. Form Type: Native
3. Offline Editable form
Regards,
Kunjal Patel

Hi Rajesh,
I have not yet found a solution....
Also as you have seen no one is replying.....
All,
Should we consider that this issue does not have a specific solution?
Regards,
Kunjal

Similar Messages

  • Problems with Adobe PDF forms in Web Dynpro Java

    As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
    1.Text getting wrapped and repeated from the first line :
    Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
    For eg:
    If I have 4 lines in a text field that is at the end of the page
    1111111111111111111111
    2222222222222222222222
    3333333333333333333333
    4444444444444444444444
    and the page holds space for only two lines it prints the lines
    1111111111111111111111
    2222222222222222222222
    in the first page and then proceeds to the next page and prints
    1111111111111111111111
    2222222222222222222222
    rather than printing
    3333333333333333333333
    4444444444444444444444
    2.No way to hide a page at runtime:
    It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
    Any pointers on this????????
    Helpful answers will be suitably rewarded with points!!!!

    Yes,I am using the versions that you mentioned.
    I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
    if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
    then
    MasterData.MngrCmptnc.presence = "visible"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
    MasterData.StrImp.presence = "visible"
    else
    MasterData.MngrCmptnc.presence = "hidden"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
    MasterData.StrImp.presence = "hidden"
    endif

  • Calling adobe form from Web Dynpro ABAP

    Hi Friends,
                        This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
      WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
      2010(200,101).
                        Can some one tell me how to solve this....
    Regards
    Sankar

    Hi,
    Please refer to this same link in forum
    WebDynpro Exception: ADS: Request start time, start Interactive Form
    WebDynpro Exception: ADS: Request start time
    Thanks
    Pradeep

  • Export with dynamic file name

    Hi everyone.
    I want to know how export oracle tables with dynamic file name on windows XP platform.
    bye.

    You'd have to generate the export command-line or par file using a script -- Windows or SQL !
    It would be easy to use SQL to generate the script.
    So you could have a BATch file that
    a. Calls the SQL to generate the export command-line or parfile
    b. Executes the export
    even possibly run in a loop.
    Hemant K Chitale

  • Regd PDF Printing from Web Dynpro

    Hi,
    We are using NW04s SP10 . I need to show the data coming from RFC as PDF in Web Dynpro. The RFC is returning String as output after SAP Script is converted to PDF . Below is the code i have written in WD for opening as PDF. When i try to open it as PDF, I am getting message in acrobat reader  "<i>The file is damaged and could not be repaired</i>" . Did anyone faced the similar problem before?
    //Converting the string to binary
    b = wdContext.nodeOutput().nodeBinary_File().getBinary_FileElementAt(i).getBin_File().getBytes();
      pdfResource=WDWebResource.getPublicCachedWebResource(b,WDWebResourceType.PDF,WDScopeType.CLIENTSESSION_SCOPE,wdThis.wdGetAPI().getComponent().getDeployableObjectPart(),"Test"+i);
    pdfResource.setResourceName("test.pdf");
       wdComponentAPI.getWindowManager().createExternalWindow(pdfResource.getURL(),"Test"+i,false).open();     
    Thanks,
    Vasu

    Hi all,
    I am able to solve myself. The problem is with the generated data. Now i am able to see the PDF but i am facing issue in showing the data in pdf which i have posted in another thread.
    Thanks,
    Vasu

  • Validation of Adobe Form from Web Dynpro

    Hi, can you please support me with the following problem:
    I created an Adobe Form, which contains several mandatory fields. The Submit-button of the form is positioned in the WebDynpro-View, in which the Adobe Form is embedded, but not within the Adobe Form. I choce this way in order to avoid a useless submit button in the Adobe Form for the Offline Scenario.
    (How) is it possible to do a validation check in the Adobe Form if all mandatory fields are filled by clicking the Submit button outside the Form?
    Thanks in advance,
    Thorsten

    Hi Thorsten,
    That would be done exactly the same as checking mandatory text fields in a standard Web Dynpro application, the fact that you use an interactive form makes no difference. Whether you click on a submit button in the form or a button in the Web Dynpro, the end result is simply that the entered data is transferred to the Web Dynpro context and an action is triggered. In the action (Web Dynpro code) you can check if the data in the context is valid, e.g. mandatory fields or whatever validation you like. However, if you want to do validation in the form itself, so mandatory fields are also checked offline, you have to use scripting in the form itself.
    Kind regards,
    Sigiswald

  • Send PDF Form from web page

    Hi all. I have a web site with a PDF fillable form. Currently, customers must print and snail mail it to us. Most of them use web based mail, so the old mailto: function (which relies on email client like Outlook) is way out of date.
    I cannot find a solution in the forums. Can anyone tell me if I can wrap the form in php and use a php mailer to forward it to my sites mailbox? This would be similar to the standard Contact Us form submission.
    It seems Adobe would give some guidance here as this has been asked several times in the forums. Could really use some pointers. Assistance much appreciated.
    Bob

    > It seems Adobe would give some guidance here as this has been asked several times in the forums.
    They have.
    You have the Doc.submitForm method (listed in the JS API Reference) that will allow you to submit form data to a webservice. There are 6 code examples of how to use this method included in the API Reference as well.
    For XFA forms created in LiveCycle Designer, there is an "HTTP Submit" button as one of the default form objects provided to the user.
    You also have the entire "SOAP" object available to you in Acrobat JavaScript (again, covered in the API Reference) if you need to make very advanced webservice calls.

  • Spooling with dynamic file names

    Hi
    i'm having a situation where i need to execute a script daily, the logs of the script should be saved using spool. is there a way to dynamically create a destination file with the filename as "spooled_text_"||sysdate
    like
    spool spooled_text_30_Jan_2008_08_45_AM
    Any help is greatly appreicated
    Thank you

    As follows, in sqlplus...
    SQL> column dt new_value file_date
    SQL> select to_char(sysdate,'YYYYMMDD') as dt from dual;
    DT
    20080130
    SQL> spool file_name_&file_date..log
    SQL> spool off
    SQL> host ls
    file_name_20080130.log

  • Calling SQL Loader with Dynamic file names

    HI all
    I woul like to know if I can call sql loader as below
    $ sqlldr userid=uname/pwd control=new.ctl, data=$1
    I have to schedule my loader 3 times a day and each time my file names are different(AAA_BBB_timestamp)
    Thanks

    I have found a solution myself and if any one is interested its like this
    for file in `ls -1 /opt/user/from/`
    do
    sqlldr userid=user/pwd@connect_string control=control_file.ctl data="/opt/user/from//$file"
    done
    Ramu

  • Preview deletes info when saving a pdf form from the IRS

    This is driving me CRAZY. I have been working on my tax forms which have all been saved from the internet as a pdf through preview. When I go into the file to update numbers and try to save the file  with the updated information, it won't let me. It will only let me do a "save as". If I do a "save as" and name the file the same as before (replaces original) or if I rename it, the pdf will save, but any data that I did not type in in the most recent session is deleted. So, when I open up my taxes and change a few numbers, the new numbers are saved, but all the rest of my data from before is deleted. It is making me want to scream. It does this repeatedly to different forms saved from the IRS' website and my local state's revenue website and on different days and with a shutdown in between. It isn't the websites, it is preview! 
    Oh, and just for info, sometimes preview will let me save the data I have updated and I don't lose anything, but then I can make a couple of more changes, go to save and the ability to "update" my current file with "save" isn't highlighted, only the "save as".
    This is a brand new macbook pro, only a couple of months old. It has Preview version 5.0.3. I have done all updates that the computer has downloaded.
    Any ideas anyone?
    Thanks,
    Kristie

    Preview suck!!! Please for your own sanity use acrobat to edit PDF. Get it from adobe.com

  • Filling in PDF forms from web forms

    I have acrobot pro, and can build PDF files. What I don't know how to do is build a web form that'll fill in PDFs, and then make a copy to the server, or email the pdf to the person who filled in the form.
    What forum is the correct place to ask this question? I don't want to be irritating people by asking in the wrong place.

    This forum is fine, you just may want to provide more details. Acrobat's help has more information on creating forms, as do a number of tutorials at AcrobatUsers.com.
    Submitting the entire PDF either to a web server or sending it by email is easy, but if it has to work with Reader, the form has to be Reader-enabled. You can do this in Acrobat, but there is a 500 form limit on the number of returned forms Iincluding hardcopies) that you can use data from if you distribute the document to more than 500 users. When you post a Reader-enabled document on a publicly accessible web site, you are effectively distributing it to an unlimited number or people.
    An alternative is to set up the form to submit just the form data to a web server or send it via email. There are no licensing restrictions for this. The form data can then be later imported back into a blank form, stored in a database, or the data file archived.
    Much of what you asked about does not involve Acrobat directly, but rather programming of the server to respond to a form submission.

  • IDOC to multiple file with dynamic file names with same content

    Hi,
    My scenario is from IDOC to file.
    The number of files which i need to create is dynamic, which depends on the number of plants.
    I have a Z-table where i will maintin list of all plants ( non SAP plant names).
    I need to fetch the data from this z-table and depending on the nunber of plants i need to create the file for each plant and fiel name should contain plant name in it. EX: abc_<plant>_datatype.txt
    I want to use only receiver one CC, and files should be created in the same directory.
    Can we do this without BPM?

    Hi,
    You can use the Mapping lookup concept to fetch the plant names from Z-tables and then you can use the variable substitution technique to resolve your purpose.
    Here you need to create multiple interfaces ie.e per plant to create multiple files. You can use common Communication channel for all.
    Mapping Lookup
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
    Mapping Lookups - RFC API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
    Variable Substitution
    An interesting usage of Variable Substitution in XI
    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
    SP12 -Variable Substitution option
    Receiver File Adapter:Variable substitution :FATAL  ERROR
    Thanks
    Swarup

  • Bug:Downloading pdf file from the web,file name in dialog box populates with incorrect file name

    Hi Gurus
    When downloading any pdf file from the web using adobe Reader X the file name dialog box populates with incorrect file name
    compared to the saved file name of the document downloaded.
    Clarity
    1. Download any pdf file from the web
    2. Click File, Save as note the populated File Name
    3. Compare the populated file name with the saved file name of the documant yuo are downloading.
    4. The file Name is incorrect...
    Is there any work around on this issue?Can someone please help?..
    OS:Windows7
    Reader: Adobe Reader X
    I've tried a couple of other versions and still get the same results...

    Are you downloading the file (right-click, save link as), or just opening it by clicking it?
    If the latter, then what happens is the file is loaded to the temporary internet files folder by IE and assigned a temporary name, which is then used when you're trying to save it.
    You can test this out by going to File - Document Properties before trying to save and looking at the file's location.

  • Adobe Forms - Table control data Saved in Database table through Web Dynpro

    Hello Friends,
    I Am facing a Problem in Adobe Forms through Web Dynpro.
    i Want to Make Interactive online Adobe Forms - In Table Control user enter the multiple entry in the table control and after that Click on SAVE button , entry will saved in Database table.
    Please guide me.
    Thanks in advance.
    Gaurav.

    Hi Gaurabh,
    For interactive form you have to check the property DisplayType = native and PdfSource should be a Context Attribute of type 'Xstring'.
    For data retrieval, create a NODE and have all the required attributes within that node of AOBE form.
    Fetch the data in WDDOINIT.
    Also check, that the offline senario for this form is working.
    Hope it helps you.

  • HTTP form post from Web Dynpro Java Application without opening new window

    Hi Experts,
    We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
      try
       strPrintContent="<html>"+
         "<head>"+
         "<script type=\"text/javascript\">"+   
         "function myfunc () "+
         "{"+
         "var frm = document.getElementById(\"paymentForm\");"+
         "frm.submit();"+
         "}"+
         "</script>"+
         "</head>"+
         "<body onLoad=myfunc()>"+
         "<form id=paymentForm  method=post action=\""+merchantURLPart+"\">"+
         "<INPUT type=hidden name=username value="+userName+">"+
         "<INPUT type=hidden name=pass value="+passWord+">"+
         "<INPUT type=hidden name=senderid value="+senderID+">"+    
         "<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
         "<INPUT type=hidden name=message value='"+msg+"'>"+
         "<INPUT type=hidden name=response value="+response+">"+
         "</form>"+
         "</body>"+
         "</html>";    
      IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
      IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
      window.show();
      catch(Exception e)
      wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
    But it opens another window. We dont need that. We have to stay on the same window.  Please suggest what can be done.

    Hi,
    You can create a HTML file with the request post parameters and the external URL something like this:
    public java.lang.String GetRedirecturl( )
    // External URL
    String html = "<html><head></head><body onload=\"load()\"> " +
    "<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
    // Post Parameters
    "<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
    "<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
    "</form> " +
    "" +
    "<script>" +
    "function load(){" +
    "var loc = window.location.search.substring(1);" +
    "var queryString = loc.split(\"sap-wd-resumeurl=\");" +
    "if(queryString.length > 0)" +
    "{" +
    "var resumeURL = queryString[1].split(\"&\");" +
    "if(resumeURL.length >= 0)" +
    "{" +
    " document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
    "}" +
    "}" +
    "document.getElementById('form1').submit();" +
    "}" +
    "</script>" +
    "</body> </html>";
    String redirectUrl = "";
    byte[] byteArrayHtmlData = null;
    try {
      byteArrayHtmlData = html.getBytes("UTF-8");
    } catch (UnsupportedEncodingException e) {
      wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
    IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
    redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
    return redirectUrl;
    Hope this will be helpful.
    Regards,
    Anurag

Maybe you are looking for

  • SCCM 2012 R2 CU3 PXE issue

    Hi, I have a SCCM 2012 R2 CU3 lab where pxe is not working, the clients are able to connect to SCCM server but the download gets stuck on the boot image & then it fails with the following error :- Don't find any specific error related to this deploym

  • Exception before_completion operation, FatalDataStore: null

    I've got an error in the log while updating operation. Insert operation works fine for the same data. The problem is that I can't understand the matter of the error. Here is the trace: [04.12.06 23:17:44:875 EET] 00000041 RegisteredSyn E WTRN0074E: E

  • My email comes in but I cant see the message, only the details. Help!

    I receive my mail but no messages.  Checked all the settins and they seemfine. What next.?  My ac computer works bt not te IPad.

  • IPod touch battery and new ipod touch repairing decision

    Hi, I have an iPod touch 4th generation(8gb)that I have had for about 2 years. A few months ago I noticed something wrong with it. Whenever I kept the battery fully charged it decided to shut off by it's self even when it acted fully charged. Now I'm

  • Jar dependencies

    I have a jar which I would like to use in several webapps (packaged as war files). Problem is, the classes in the jar need to be configured by properties files in the webapp so the jar must be loaded by or below the webapp classloader. It appears tha