Default the Name of the Adobe Form while saving

Hi,
I am calling an Adobe Form from Webdynpro.  While saving the form i need to default the name of the Form.  Can anyone help me to solve this issue.
Thanks & Regards.

Hi Manikandan
I got a requirement as exactly you have posted, default the PDF filename while saving it (In Adobe forms).
If you have any solution for it, kindly share it with me.
Thanks & Regards,
Rajesh P

Similar Messages

  • How to use the separate symbol in the text field in the adobe form.

    Hi,experts,
    I don’t know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
    Action:
    1. config the ADS successfully.
    2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
    3. create a WDA for invoke the form and transfer the 'remark' context data.
    I use the following codes to display the paragraph in the PDF document:
    CONCATENATE
    '1、aaaaaaaaaaa;'
    '2、bbbbbbbbb '
    '3、ccccccccccc'
    '4、ddddddddd'
    INTO remark .
    lo_nd_z_hr_php_payslip->set_attribute(
    EXPORTING
    name = `REMARK`
    value = remark ).
    But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
    Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
    My email is : [email protected]
    Best regards,
    Tao
    Edited by: wang tao on Apr 8, 2008 1:58 AM

    Hi,
    If it is just a one word value then you could use this in the exist event;
    this.rawValue    
    = util.printx(">?<*",this.rawValue);
    This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
    If you wanted something more general ... if they could also enter a middle name then you could call a function like;
    function        toTitleCase(textValue)
      return  textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
    This uses a regex to change all lowercase letters following a word boundary to uppercase.
    Bruce

  • Error in opening the adobe form to create a PCR

    Hi,
    I m getting an error while i open the adobe form to create a PCR as follows.
    Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
    Please help.
    <b>Points are sure.</b>

    Hi,
    I m getting an error while i open the adobe form to create a PCR as follows.
    Script failed. accessor '$record.ENAME.DATA.FIELD' is unknown.
    Please help.
    <b>Points are sure.</b>

  • Access the adobe form data in the workflow container for further processin

    HI,
    I am using HCM processes and Forms. I need to access the form data in the workflow container once the workflow kicks off.
    I need to access these data as would need it for further processing in the workflow.
    I know that TS17900110 allows to import form conatiner to
    -> WF Container in the field name and value pair. But I need to access a lot more fields than what is in the task. Is there a standard task which allow to retrieve all the fields in the form in one task or do I need to develope a custom class to do that. If so could you please provide some clue as in how to code this specific requirement as i am somewhat new to OO ABAP.
    Thanks...

    hi,
    in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
    for eg if u have
    a value node details
    and under that two value attr fname,lname
    import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
    in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
    IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
    Insertdata_Input input = new Insertdata_Input();
    wdContext.nodeInsertdata_Input().bind(input);
    input.setFname(elem.getFname());
    input.setLname(elem.getLname());
    try
    wdContext.currentInsertdata_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    catch (Exception ex)
    { ex.printStackTrace();}
    ul bind details to the datasource.
    when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
    now add submit to sap button in ur form.
    this button correspond to the onactionSubmit dat u have written in the ctrller.
    so wen u click this the data vl be inserted
    Regards
    Jay

  • Displaying the roles in the adobe form for the corresponding system

    Hi Gurus,
    I have two fields in my WDP Abap interactive form. In first filed, 2 radio buttons are there (1. SAP R/3 system, 2. BW System) As per this selection, I need to bring the existing roles and display them in the Adobe form. I know the  technical system names for R/3 and BW as well. Please suggest me how can I achieve this. I know there should be a RFC call ... Please give me the detailed explaination.

    Hi
    Check the format (in the object pallete) of the date field in Adobe liveCycle Designer, If it is not set already set it according to your requirement. then see if it works
    Hope this helps
    Regards
    Amita

  • Using the Adobe Forms for printing through portal

    Hi All,
    I've got a problem with the fact that I do not know exactly how to use the Adobe Forms from the portal.
    I've got the Form Objects done (Interface & Form using SE80) and they work OK when testing the form. The Interface gathers all the datas etc. and the form displays this correctly.
    My problem now is that I need to have this form available from the portal, and this I presume needs some WebDynPro stuff or something else? I'm totally lost on this part ...
    The customer wants to have a button or link in the portal that opens a new window with the produced PDF opened in the new window, much like opening a static PDF file. The user then has the option to print the PDF him/herself using Adobe Readers own print mechanism.
    My interface has only one Import parameter (PERNR number) and one EXPORT parameter (default). The PERNR number must be supplied to the interface so that it can gather all the needed data based on this number.
    Any help on this will be greatly appreciated and rewarded accordingly.
    Thankyou in advance,
    Kim

    Hi Arnab,
    from a forms point of view:
    (I assume you have the ADS up and running on the Java stack. Without it, the form generation doesn't work.)
    If you create your form in transaction SFP and execute the corresponding program that calls the form for testing in SE38, you get to the print dialogue. Here you may choose either locl or lp01 (or any other printer accessible through your network) and then select Print Preview. This should then display the PDF in SAP GUI.
    If you are asking about general printer setup within SAP, check the corresponding documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Hope this helps,
    Markus

  • Handling Submit Button on the ADOBE form called from Web Dynpro

    Hi,
    I have placed a Button on the ADOBE Form. How to Handle the event on this button. When i click this button, i want to save the details of the form into a Custom table.

    Hi Majunath.
    Create an event say, SUB_EVTin the view in WD where you have the Interactive Form UI element.
    Bind this event to the onSubmit of the Form.
    Now check the display type of the form. It will be either ActiveX or Native.
    Now go to the form designer and open Library palette. Navigate to Webdynpro ActiveX or Native Library(Depending on the form display Type in WD).
    Drag and Drop Submit button.
    On click of the button, the event handler in WD view namely, onActionsub_evt will be invoked. You can write your code in this handler.
    Now in order to read data from the form. Go to the form and go to Properties tab. Check the form layout type. If it is not ZCI, run transaction SFP_ZCI_UPDATE and convert the form to ZCI type.
    Now back to the event handler.
    as an example... I will use the following context node definitions
    PDF_DATA  1..1
      ACTUAL_DATA 0..n
        ATTRIB01
        ATTRIB02
    Assume the the node PDF_DATA is bound to the data source of your form.
    Now in the event handler write the foll code
    data: lo_node type ref to if_wd_context_node,
            lt_data   type wd_this->elements_actual_data.
    lo_node = wd_context->get_child_node( name = wd_this-.wdctx_pdf_data ).
    lo_node = lo_node->get_child_node( name = wd_this-.wdctx_actual_data ).
    lo_node->get_static_attributes_table(
      importing
        table = lt_data ).
    This will get all the form data in the internal table lt_data.
    Now you can process the data the way you want and save it in your custom tables.
    Regards,
    Reema .
    Edited by: Reema Shahbazkar on Sep 16, 2008 11:39 PM
    Hope this helps!!

  • To assign the Adobe form in the communication method of the output type.

    Hi Gurus,
    SAP has provided an option to assign the SAP script In the communication method screen which will use to print the layout (document) using this SAP script.  Internally it will overwrite the form name of the Nace transaction. SAP has not provided a field to assign the Adobe forms.
    Can any one help me to resolve this issue
    Thanks,
    Raju Singhireddy

    I don´t understand your problem. I always use Adobe forms in my NACE transaction. Otto

  • How can i find the adobe form translations

    Hi Friends,
    how can i find the adobe form translations?
    i mean i want to know in how many languages my adobe form has been translated?
    is their any report or is their any technique to find the translations........................
    Thanks,
    Harish.K

    Hello Harish,
    To find the translation of Adobe form is nothing but to find the labels or texts used in this adobe form in various languages. This will give you an idea on how many languages your adobe form has been translated.
    So to find the translations in different languages, you have to go to Context node of the Adobe form. Then go through the text nodes which are used as labels. These will be normally stored as Standard texts in SO10.
    For example. Take the text name of any one text node.
    1) Go to SE38.
    2) Type program RSTXTRAN.
    3) Let the Text key - object be TEXT.
    4) Then enter this text name in the field Text key - name. I have put the sample standard text ZTEST_ADOBE as shown below.
    5) Let the Text key - ID be ST.
    6) In Text key - language, Enter *  (i.e enter the Asterisk) because you want to find out all the languages.
    The screen parameters will be as shown below.
    7) Now Execute this report.
    8) It will show all the various languages in which this particular standard text is used which is nothing but the Adobe form is being used in these many languages. For example, the standard text ZTEST_ADOBE is used in 3 languages, English, German and Spanish as shown below. It will look as shown below.
    Note: This will give you the more or less the overall idea of the form that has been used in these many languages. But also make sure the standard text with particular language is also linked with the Transport Request. Because there are chances that the text was created in a particular language but was never used.

  • Save the adobe form

    hi expert
         I have created the simple application in that i have created
    open and save button , once i click the open button the adobe form will open
    after that i want to save these adobe form in the particular location ("c:\temp")
    how can i do this without using the upload and download UI element
    help
    its urgency
    thanks
    Regards
    vijay

    Hello Vijay,
    You want save the pdf file to particular location..,So go through the following code. This might be useful to you.
    IIWDAttributeInfo attInfo =
    wdContext.currentContextElement().node().getNodeInfo().getAttribute("pdfsource");
    ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
    IModifiableSimpleValueSet binaryType =
    type.getSVServices().getModifiableSimpleValueSet();
    binaryType.put("FileName","TravelRequest.pdf");
    binaryType.put("MimeType","WDWebResourceType.PDF");
    String Filename =
    "temp
    webdynpro
    web
    local
    offlineInteractiveForm
    Components
    com.sap.offlineinteractiveform.shital.UploadDownloadformComp
    TravelRequest.pdf";
    /* CONVERTS BINARY FILE TO A BYTE ARRAY */
    try{
    File file = new File(Filename);
    FileInputStream in = new FileInputStream(file);
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    int length;
    byte[] part = new byte [10 * 1024];
    while ((length = in.read(part)) != -1 )
    out.write(part, 0, length);
    in.close();
    wdContext.currentContextElement().setPdfsource(out.toByteArray());
    }catch(Exception e) {
    throw new WDRuntimeException(e);

  • Calling the Adobe form in a workflow step for Approval

    Hi All,
    We are creating a PCR scenario using Adobe forms for "Employee seperation". This form will require 7 subsequent approvals from various agents which is to be handled using a workflow.
    I had gone through the ISR cookbook and managed to create a scenario. I have also assigned it to a PDF form and a dummy workflow. Now from my PCR iview i am able to submit the form for my scenario which also triggers the dummy workflow(through the BUS7051-CREATED event).
    Right now this dummy workflow just sends a mail(by sendmail step) to the first approver. Now i want this workflow to send a workitem to the first approver for approval of this form which will have to appear in his UWL. When the approver double clicks on the workitem in UWL he should be able to view the form along with Approve/Reject/Cancel buttons. I am not aware how to do this. My questions are,
    <b>Is this handled by a decision step or an activity?
    If it is an activity step which Task/Business object method is used to handle this?
    If it is a decision step how do we make the Adobe form also to be displayed along with approve/Reject buttons?</b>
    We are using ECC5.0 and EP6.0.
    Thanks in advance for any help.
    Prasath N

    Hi Rajasekhar,
    The UWL issue has been resolved now and i am receiving the workitems in my UWL. But i am getting the following error when i am trying to execute the workitem from my UWL.
    <b>Service cannot be reached
    What has happened?
    URL http://xxxxxxxx.xxxx.xxx.xxx:8000/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrFormApprove call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system xxx with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:DALSPHSB_HSB_37-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    </b>
    I have done the following configuration settings in SWFVISU transaction :
    Task : TS500000075
    Visualization Type : WebDynpro Java
    visualization parameter: Application
    visualization Value: IsrFormApprove
    visualization parameter: Package
    visualization Value: sap.com/pcui_gp~isr
    Is there anything else that i have missed out in the configuration?
    Message was edited by:
            prasath natesan
    Message was edited by:
            prasath natesan

  • Place the Adobe Form as PDF file in a URL

    Hi Experts,
    I have created an Adobe form and got the PDF data in the form of XSTRING now I need to place this as PDF file in the URL which I have generated programmatically. Not sure on how to do it. Any function modules or classes to place this as PDF file at a URL will be really helpful for me.
    Tried with HTTP* function modules and seems they are not working.
    Thanks for you help.
    Regards,
    Srinivas

    Hi Sai,
    Thanks for ur input.
    My requirement is not exactly the string with XML data, but the string with PDF data.
    I will try to explain my requirement here in detail.
    I have the adobe form triggering from the webdynpro. This form has different objects like, text fields, dropdowns, check boxes, radio buttons...etc and one SUBMIT button for which webservice is attached in the properties.
    User will fill all the fields and clicks on SUBMIT. When he clicks on the SUBMIT, the webservice should attach the filled PDF document at partner level.
    For this purpose, i need the string with PDF data and not the XML.
    WIth this PDF string again i should be able to re generate the PDF document which was filled by the user.
    If string with PDF data is not possible, Please suggest me the possible way of achieving this?
    Regards,
    Ram.

  • Error when activate the Adobe forms

    Hi,
      I am getting the below error message when activate the adobe forms,and the message tells that to install a forms design tool,please tell me which tool in need to install and where i will get this tool.
    Could not start Layout Designer (see long text)
    Message no. FPUIFB086
    Diagnosis
    The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation.
    Procedure
    Make sure that you have the forms design tool installed on your desktop (the tool is part of the SAPGUI installation).
    Also read SAP Note 801524.
    Thanks,
    Deesanth.

    FIrstly, you have posted the question in the wrong forum. There's an entire forum in SCN only for Interactive Forms: .
    Secondly, this is a frequently asked question, especially in the Interactive Forms Forum. There's enough information there to get your query solved by searching.
    pk

  • Error during the adobe form activation

    hi all,
    when am i activate the adobe form layout (Zlayout) , the following error message occured:
    Error during activation
    Message no. EU837
    but iam not found any syntax error in layout development.
    please help in this it very urgent....
    Thanks,
    Ramana

    Hello Sir,
    You need to apply the note 1047930, After this the problem should be resolved.
    Thanks and Regards,
    Deepak...

  • To integrate the Adobe form in webdynpro ABAP

    Hi Experts,
                    How to use the adobe form in Webdynpro ABAP?
    Thanks & regads
        Vino

    That is quite the general question and I think if you search SCN you will find many resources - such as videos, tutorials, how-to guides, documentation - on the subject.  Perhaps just starting with the online Help and the associated links form the help article will get you started:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0f/128841e8231709e10000000a155106/frameset.htm

Maybe you are looking for