Adobe interactive form property pdfSource

Hello,
   Would like to know what is the significance of property 'pdfSource' in the Interactive Forms UI element.
How this attribute is used and when it should be used.
Thanks.

Hi,
The property pdfsource in Interactive forms UI element should be bound to a data type of type binary because it is in this context attribute that the file is being stored. We can access the file, read or save to our local disk from this attribute.
Hope this helps. Do get back for further help.
Go through this link for explanation on other properties of Interactive form UI element.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/1a/ff773f12f14a18e10000000a114084/content.htm
Regards,
Vijith

Similar Messages

  • Generate Adobe Interactive Form in background and setpdfSource value.

    Hi,
    Is there any way to create Adobe Interactive Form in the background assigning R/3 data (without displaying) and assign pdfSource binary information in context attribute and later, display Adobe Interactive Form using pdfSource context attribute in a new window?
    if Adobe Interactive Form is in Visible state, I'm also able to display Adobe Interactive Form in a new window using pdfSource binary context attribute, .
    But, unable to create Adobe Interactive form in the background when Adobe Interactive Form Visibility is NONE and unable to assign binary data to pdfSource attribute in context and hence unable to display Adobe Interactive Form in a new window. Kindly help me if this process is possible.
    Thank you in advance.
    Regards
    Prasad

    Hi Prasad,
    This is certainly possible. First populate the dataSource context node with the data (e.g. coming from R/3). Then use <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/api/WDInteractiveFormHelper.html">WDInteractiveFormHelper.getContextDataAsStream</a> to obtain the data.xml as a byte[] by calling toByteArray() on the ByteArrayOutputStream. The next step is to obtain the xdp template as a byte[] (I don't know exactly how to do this, but it's certainly possible using some API, just as you would read other resources deployed within your Web Dynpro). When you have both the template and the data, you can use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/adobe/pdfdocument/api/package-summary.html">PDFDocument</a> API to render a PDF, something as <i>WDPDFDocumentFactory.getDocumentHandler().getDocumentContext().getDocumentCreationContext()</i>; set the data and the template and other options like interactive, call execute and retrieve the pdf byte[] from the returned object. Eventually you can assign the pdf byte[] to the pdfSource context attribute. In case you use NW04, you must use the <a href="http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/pdfobject/api/package-summary.html">PDFObject</a> instead.
    Besides, why would you want to create the PDF before displaying it?
    Kind regards,
    Sigiswald

  • ABAP Webdynpro ADOBE interactive form

    Hi All,
    I have a problem when reading attachments from online adobe interactive form in Webdynpro ABAP.
    I have tried two options:
    Option1:
    Get FP reference.
    l_fp = cl_fp=>get_reference( ).
    try.
    Create PDF Object.
    l_pdfobj = l_fp->create_pdf_object( connection = 'ADS' ).
    Set document.
    l_pdfobj->set_document( pdfdata = lv_pdf ).
    Set task to get attachments.
    l_pdfobj->set_task_getattachments( ).
    Execute, call ADS.
    l_pdfobj->execute( ).
    Get result.
    l_attachments = l_pdfobj->get_attachments( ).
    CATCH cx_fp_runtime_system INTO exc.
    xslt_message = exc->get_text( ).
    ENDTRY.
    option 2: in wdomodify method
    DATA l_ifba TYPE REF TO cl_wd_interactive_form.
    l_ifba ?= view->get_element( 'IF_001' ).
    DATA l_form_method_handler TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
    l_form_method_handler ?= l_ifba->_method_handler.
    DATA l_attachments TYPE tfpattachments.
    l_attachments = l_form_method_handler->get_attachments( ).
    Both options are not getting the attachments.
    Our SAP Netweaver version is 7 and ehp 4, ADS configured.
    If i save the pdf with attachments locally and then use the UI upload and read the attachments it works. But not when the interactive form is online and when i add attachments to it and click submit(where submit code is the option 1 code), it is not finding any attachments. I wonder whether pdfsource context stores the attachments or not.
    When i check the note, SAP say that attachments are supported from ehp2.
    What is that i am missing? Any direction would be good.
    In worst case i will do webdynpro screens for attachments maintenance, wanted to check with all experts before taking this option.
    Please someone answer.
    Thanks
    Anu

    >When i check the note, SAP say that attachments are supported from ehp2.
    That is correct.  Attachments are supported as of NetWeaver 7.0 Enhancement Package 2.
    >Our SAP Netweaver version is 7 and ehp 4, ADS configured.
    Not possible.  NetWeaver 7.0 Enhancement Package 4 doesn't even exist yet.  In fact 7.0 Enhancement Package 2 won't start ramp-up until December 20th. I think you are confusing your ERP Enhancement Package level with your NetWeaver Enhancement Package level.  I'm guessing that it is much more likely that you are on ERP 6.0 Enhancement Package 4.  This level of ERP actually runs on NetWeaver 7.0 Enhancement Package 1.

  • E-mail adobe interactive form without showing it..

    Hi experts!
    I am trying to create a WD apllication in which when the user presses a button an adobe interactive form will be called and e-mail, without showing the actual form.
    From what i saw in the corresponding tutorial, in order to attach the file to the e-mail, the file must first exist in pdf format.
    But, during runtime all i have is the pdfsource.
    So, the point is: how can i create the actual pdf from the pdf Source without showing it???? 
    Thanx in advance!!!!

    Hi,
    actually I would not recommend that. That's something which has to be programmed completely new and does not exist at the moment. If you want to have it outside in the internet for externals you will force candidates to use Adobe Acrobat reader in a certain version and might get browser problems. So technical support might become an issue.
    So the only opportunities you have without creating something new, is using Web Dynpro standard or a third party tool based on flash.
    Best regards

  • Use Of Dictionary Based search help in adobe interactive form

    Hi friends,
       I wanted to export the search help value into corresponding field of Adobe interactive form.
      I am using dictionary type search help in WD context attribute property.  I am able to get the search help popup with right data on form. But if select some value it is not exporting data into the field and getting "entry too longer"  error.
    Can any one help out for this issue.
    Note : Wanted to use only dictionary based search help.
    Thanks in advance
    Naganath Mudale

    thanks

  • How to invoke HTTP Web Services in an Adobe Interactive Form

    Hi all,
    I am using Adobe Livecycle Designer stand-alone (without Netweaver integration), currently a trial 8.2 version.
    I need to invoke an HTTP Web Service (non-SOAP) in an Adobe Interactive Form. The Net.HTTP method does not work due to security reasons. The error message I get is:
    (german)
    " NotAllowedError: Sicherheitseinstellungen verhindern den Zugriff auf diese Eigenschaft oder Methode.
    Net.HTTP.request:28:XFA:form1[0]:mysubform[0]:Region[0]:change"
    In english this translates to: "Security settings prohibit the call of this property or method.
    And indeed the "Javascript for Acrobat API reference" includes the following note:
    "Note:This method can only be made outside the context of a document (for example, in a folder level JavaScript)."
    So this method seems to be excluded from use in an Adobe document, e. g. in an interactive form. But why is it then listed at all? Is there a way to call HTTP Web Services in an Adobe Interactive Form by somehow branching out the call outside the document itself? Of course I do not want to call a SOAP service which then calls the HTTP Web Service
    Is there any other way to invoke HTTP Web Services in an Adobe Interactive Form?
    Thanks a lot for your response!
    Regards
    Christoph

    Hi,
    back again, had to handle other issues, sorry.
    Just to get a little more concrete. The condition depends on the context node attributes. So if an attribute is initial, it's field should not been shown, if it's not initial, it should ne shown. There are 6 context attributes and therefore 6 fields in the form. How can I get the attributes' value?
    And can I put them into the same subform or do I have to create 7 (6 conditions + blank-condition) subforms?
    I put the fields (textfield and context node value) that should be shown depending on conditions in a subform. So how can I adress this subform?
    I'm not so familiar with JavaScript, so please help me. I need something like:
    if (context_node_attribute X is initial) {
             subform_1.presence = "hidden" ;
    I tried it with
    if ( ARB_STUNDEN.rawValue != null) {
         Beratungsstunden.presence = "hidden" ;
    but it didn't work....
    Thanks,
    Tan

  • Abap Webdynpro & Adobe Interactive Forms : Refresh Context

    We created a Abap Webdynpro program to fill an Adobe interactive form. When we read the first time the data the form context is filled and displayed. When we read other data then the form is not refreshed. This is <u><b>only the case</b></u> when the form is enabled as interactive.
    When we use 2 views then everyting is ok. But we want to place the form in an Embedded View, then we have the same problem. Is this a know problem ?

    Hi,
    We faced a similar Issue. We could get past it by chaging the view property to "When Visible" for both the embedded view & Main view.
    Try & letme know if it works. We are trying to solve some other issues aroind this right now. Only the checkboxes dont get populated the second time we go to the view having Adobe form. Rest all data on form is refreshed. But not the Check Boxes.
    thanks,
    Phani

  • Showing linebreaks in Adobe interactive forms webdynpro java

    Hey
    Im using interactive form from Adobe to show the content of my context, but the linebreaks gets converted into spaces. Heres my scenario:
    I have create a context:
    Person (node)
    - Name (value attribute)
    - Lastname (value attribute)
    I have create a view (view1) with 2 TextEdit to enter som text. This two TextEdit fields is binded to the contextnode.
    I have created another view (view2) with interactive form. The interactive forms consist of 2 InputFields that is also binded to the context.
    When i run the application i insert som text in the first view (view1). Then i go to the second view(view2) to display the content as a PDF. This works, but my problem is that the linebreaks I have created in the view1 gets converted into spaces in view2. I have allowd multiple lines.
    My question is that:
    does Adobe interactive form support linebreaks from the context? It is possible to enter linebreaks if I edit the interactive form at runtime, but I want it to display the linebreaks automaticly from the context.
    Are there any way around this? Please help me out. I cant find any sap note about this issue

    I know a little more about the problem now. After viewing the XML source I change the property of the inputfield.
    It was like this:
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="ReadOnly">
    but i changed the access to be nonInteractive
                <field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="nonInteractive">
    now view2 shows the linebreak as in view1... Buut! when im going back to view1 from view2, the linebreaks gets converted into spaces
    thats pretty wierd, aint it?

  • How to create Adobe Interactive Form in MDM

    Iam new to MDM Technology, I want to create Adobe Interactive Form and show a sample demo.
    Sample demo which should show adobe interactive form in mdm and how to integrate adobe interactive form in mdm and how to update th data in MDM
    I have knowledge of creation of adobe form but how to integrate with mdm technology.

    Hi,
    There are couple of ways to integrate MDM with SAP Interactive Forms.
    1. WebDynpro Java and MDM API (requires Portal)
    2. MDM WebService (Portal not required)
    Updating data in MDM using WebDynpro Java :
    1. In Component Controller -> Fetch data from MDM using API and populate appropriate context structure
    2. Map the View Controller and Comp Controller context.
    3. Place Interactive Form UI element in view.(Keep the UI element in UpdatePDF mode, this can be done in properties window. Also increase the height and width property value)
    4. The Interactive Form UI element is editable in Adobe Form Designer (7.1 / 8.0)
    5. Design the form and bind the UI (TextFields/ Dropdowns) with the Context of View Controller.(Done in Binding tab of Object window)
    6. Deploy and run the application.
    The rendered application will contain an Adobe Interactive Form populated with MDM data.
    Regards,
    Suresh

  • Binding problem from adobe interactive form to SAP

    Hello All,
    I'm using SAP NetWeaver Developer Studio 2.0.9 SAP WAS 2004s SP11.
    I'm tried to exercise with document "How To…Create Online and Offline Forms in Web Dynpro for Java" (you can check it this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fd2d690-0201-0010-de83-b4fa0c93e1a9). I could run it succesfuly but i have a problem. I couldn't get data from Adobe Interactive form when i click "Submit to SAP" button. All field value return with "null".
    The code is like that;
    public void onActionFormSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionFormSubmit(ServerEvent)
         String name = wdContext.currentTravelDataElement().getEmployeeName();
         String costcenter = wdContext.currentTravelDataElement().getCostCenter();
         String city = wdContext.currentTravelDataElement().getDestinationCity();
         String country =
         wdContext.currentTravelDataElement().getDestinationCountry();
         wdThis.wdGetAPI().getComponent().getMessageManager().reportSuccess(
         "Form submitted: Employe Name="
         + name
         + " costcenter="
         + costcenter
         + " city="
         + city
         + " country=" +
          country);
    What could be the problem?

    hi Selcuk,
    check what is the cardinality of the node that bound to the interactive form.
    interactive form->properties->dataSource = <xyz node of context>
    goto <xyz node of context> -> properties
    just change the cardinality to 1..1.
    goto
    interactive form->properties...
    check that the dataSource and pdfSource are bound to the right Context nodes/attributes...
    hope this helps...
    with regards,
    -Amol Gupta

  • Calling a WD method from Adobe Interactive Form JavaScript

    Hi all,
    I would like to save the PDF file (into KM) defined by the binary Context Attribute "PdfSource",  when I run a Adobe Interactive Form inside a WD application. And this must be done automaticaly at starting.
    The origin of my problem is that "PdfSource" is not filled-in until the adobe form is completely loaded and ready.
    So i was thinking to use the "form:ready" event of Adobe Inteactive Forms to call a WD method ir order to save the PDF file (into KM) but i do not find the way
    Can anybody tell me if this is correct and how, or should I try another way?
    Very thanks in advance,

    hi
    good
    go through these links, i hope these ll help you to solve your problem.
    https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/services/sal/config/api/WDConfigurationConstants.html
    https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/clientserver/uielib/adobe/api/WDInteractiveFormDisplayType.html
    thanks
    mrutyun^

  • WD BusinessGraphics Image - Displaying it in Adobe Interactive Form

    Hi.
    We need to display some BusinessGraphics (runtime generated) in Adobe Interactive Form. So, we tried to solve it using two ways:
    1 - Generate a URL to access the BusinessGraphics image, using web cached resource. But somehow, it doesn't works well. When we call the URL directly on Internet Explorer, it is displayed. But when we set the URL in an Image in Interactive Form, no success... it is not displayed.
    Ex.: using Formcalc on Initialize event: "Image.value.image.href = $record.PortalData.EmployeePhotoURL"
    OBS.: when we map it to a normal URL (ex.: "http://server.domain.com/image1.jpg"), NOT generated in runtime, it works well...
    2 - Generate the image as a byte stream, convert it to Base64 and bind it to an ImageField, as I saw wrote here in a thread (without any more helpful answers...). The problem here is that we dont know how to generate the Byte stream for the BusinessGraphics image.
    Does anyone knows how to generate a byte array from an Image of a BusinessGraphics component? Or have a differente approach to display a BusinessGraphics on an Interactive Form (like deals directly with IGS)?
    Regards,
    Douglas Frankenberger
    PS.: we are using:
    - NWDS 7.0.10
    - Adobe LiveCycle Designer 7.0.050519

    Hi Chintan.
    Our images were dinamically generated, so we dont have a filename to access it. The method getAbsoluteWebResourceURL requires a valid filename to generate the URL.
    The URL that we have follows the below format:
    http://server:port/webdynpro/dispatcher/vendor.com/xyzwDCName/DCNameApp/~wd_key800_1420382789975/.gif?sap-wd-download=1&sap-wd-cltwndid=0f546c20792111dd80ac0018a451af48&sap-wd-appwndid=0f645c21762111ddc3810057a451af48&sap-wd-norefresh=X
    When we try to open it directly on IE, it works. But, when we set this URL to be opened by an Image in Interactive Form (using a script and/or mapping it to URL property), it doesn't shows up, even allowing Adobe Reader to access the address above (a dialog is shown to require access to all URLs that we have used to the images). Probably what happens is that Adobe try to request a WD resource, and WD understand this Adobe Reader request as a non-compatible browser. So, it denies the response (see "Browser is not supported" message accessing a URL to an Image).
    Is there a way to go through this?
    Regards,
    Douglas Frankenberger

  • BusinessGraphics Image - Displaying it in Adobe Interactive Form

    Hi.
    We need to display some BusinessGraphics (runtime generated) in Adobe Interactive Form. So, we tried to solve it using two ways:
    1 - Generate a URL to access the BusinessGraphics image, using web cached resource. But somehow, it doesn't works well. When we call the URL directly on Internet Explorer, it is displayed. But when we set the URL in an Image in Interactive Form, no success... it is not displayed.
    Ex.: using Formcalc on Initialize event: "Image.value.image.href = $record.PortalData.EmployeePhotoURL"
    OBS.: when we map it to a normal URL (ex.: "http://server.domain.com/image1.jpg"), NOT generated in runtime, it works well...
    2 - Generate the image as a byte stream, convert it to Base64 and bind it to an ImageField, as I saw wrote here in a thread (without any more helpful answers...). The problem here is that we dont know how to generate the Byte stream for the BusinessGraphics image.
    Does anyone knows how to generate a byte array from an Image of a BusinessGraphics component? Or have a differente approach to display a BusinessGraphics on an Interactive Form (like deals directly with IGS)?
    Regards,
    Douglas Frankenberger
    PS.: we are using:
    - NWDS 7.0.10
    - Adobe LiveCycle Designer 7.0.050519

    Hi Chintan.
    Our images were dinamically generated, so we dont have a filename to access it. The method getAbsoluteWebResourceURL requires a valid filename to generate the URL.
    The URL that we have follows the below format:
    http://server:port/webdynpro/dispatcher/vendor.com/xyzwDCName/DCNameApp/~wd_key800_1420382789975/.gif?sap-wd-download=1&sap-wd-cltwndid=0f546c20792111dd80ac0018a451af48&sap-wd-appwndid=0f645c21762111ddc3810057a451af48&sap-wd-norefresh=X
    When we try to open it directly on IE, it works. But, when we set this URL to be opened by an Image in Interactive Form (using a script and/or mapping it to URL property), it doesn't shows up, even allowing Adobe Reader to access the address above (a dialog is shown to require access to all URLs that we have used to the images). Probably what happens is that Adobe try to request a WD resource, and WD understand this Adobe Reader request as a non-compatible browser. So, it denies the response (see "Browser is not supported" message accessing a URL to an Image).
    Is there a way to go through this?
    Regards,
    Douglas Frankenberger

  • Hiding a field in adobe interactive form

    Hi All!
    I am working with Adobe Interactive form. I want to make a <i><b>subform</b></i> invisible based on the selection of one of the options in the <i><b>dropdown list</b></i>. I tried the following javascript in the change event of the <i><b>dropdown list</b></i>:
    <i><b>xfa.resolveNodes("subformName").presence = "invisible";</b></i>
    but nothing happens when i change the value of the <i><b>dropdown list</b></i>.
    Please suggest some solution for this.
    Thanks!

    Hi Temp,
                 We can use a data driven approach for setting the presence. The “Minimum Occurrence property’ has to be set as 0. In this approach if data does not exists at runtime for that particular node, the complete subform will be invisible without any reserved space. (In this approach also layout has to be set as Flow Layout only).
    regards
    Sumit

  • Read values from Adobe Interactive Form inside the webdynpro

    Hello,
    I have problems to read the values of the fields inside de adobe. I read an article on saptechincal that told:
    You can see the Adobe form that we have designed, enter the data as shown below and press the submit button. (As I said earlier an activex control will be installed on to the client machine, you can see the activex control in the internet explore go to the menu: ToolsàInternet optionsàgo to the programs tab àPress button Manage add-ons.
    You can see an activex control named u2018SAP ACFu2019, if you donu2019t have this control you will not see this page: Note you need to have adobe acrobat reader 7.1 installed, I have used version 9, the activex control was not working properly so down graded my adobe reader to 7.1)
    This is true ???  I have the Acrobat reader 9.3 and i saw that also have the SAP ACF installed.
    The value of the property displaytype  on adobe interactive form on webdynpro is activeX or native.
    Thank you in advance.

    Hi,
    <p>
    Thank you for the answer.
    <P>
    I change the value of the attribute but again i can read anything from the adobe form. So let me explain what i'm doing.
    <P>
    Objective: I have to create one webdynpro with an adobe interactive form for create new clients on r/3 system.
    <P>
    1. I create de the view with 2 elements an interactive form and one submit button.
    <P>
    2. Create the context of the view with the following tree:
    <P>
    > context (node)
    <p>
       > ADOBE_DATA (node)
    <p>
          > Clients (from KNA1 table) (node)
    <p>
             > KUNNR
    <p>
             > LAND1
    <p>
             > NAME1
    <p>
             > ORTO1
    <p>
             > TELF1
    <p>
      >PDF_SOURCE
    <p>
    3. Complementing the properties of the interactive form:
      datasource = clients node of the context
      displaytype = native
      pdf_source = pdf_source attribute of the context
      templatesource = name of the form
    <p>
    4. Create the form, and add the data source to the interface of the form
    <p>
    5. On the form bulider i add and subform on the hierarchy tab and the all the fields of the interface to the form and
    automatically the value of the fields are binding.
    <p>
    6.Add a submit button from web dynpro native and add the event click to the button. Then i change the value of the layout type and save e activate the form and the interface
    <p>
    7. The next step is create an action for the button submit for the event  "onSubmit". So i create the function and start coding this code:
    <p>
    DATA: adobe_node    TYPE REF TO if_wd_context_node,
    <p>
            client_node   TYPE REF TO if_wd_context_node,
    <p>
            client_element TYPE REF TO if_wd_context_element,
    <p>
            client        TYPE if_create_client=>element_clients.
    <p>
    *Get reference to the adobe_data node from the context
    <p>
    adobe_node = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    <p>
    *Get reference to the clients node from the context
    <p>
    client_node = adobe_node->get_child_node( name = wd_this->wdctx_clients ).
    <p>
    *Get element node
    <p>
    client_element = client_node->get_element( ).
    <p>
    *Get the values from the form
    <p>
    client_element->get_static_attributes(
    <p>
        IMPORTING
    <p>
          static_attributes = client ).
    <p>
    8. Then for finalize i add the view to the window and crate a web dynpro application and put one break point on the submit function event.
    <p>
    9. Activate and test the application and when the program try to add a reference to the element node always returning a null reference and the application dumped.
    <p>
    So please help with this situation i can't understand what is the mistake.
    <p>
    PS: Now i have installed the acrobat reader 7.0.8
    <p>
    Edited by: miglsilva on Sep 4, 2010 5:50 PM
    Edited by: miglsilva on Sep 4, 2010 6:01 PM

Maybe you are looking for

  • Connecting Laptop to Wireless Network

    I have been trying for days to connect my laptop to my Wireless Home Network on Windows XP. Verizon sent a new modem router. - DLINK 2750B. It works just fine with DESKTOP and at other rooms wired for CAT5.  However, can't get laptop setup to work. T

  • How do I convert a pdf to an excel file

    how do I convert a pdf to an excel file

  • Flat File upload in IP through Web template

    Hi, I am looking for an option to upload a flat file to an input ready cube through web application designer, can any one suggest / think of any way? Solution currently implemented: 1. Planning Function to upload the flatfile 2. Planning sequence con

  • Not able to Connect to OLAP from Jdeveloper

    Hi I'am new to bIBeans I'am trying to connect to OLAP through JDEveloper.I'am getting classDefNotFoundError for oracle/express/connection/ConnectionManager.I've put all jars from the oracle/ora90/olap/olapapi/lib in classpath

  • To twice open the same report since the infoview

    Post Author: Guillaume CA Forum: Desktop Intelligence Reporting Hello, I have a big problem. Detail : 1- I connect myself with the account u201CTESTu201D on the infoview. 2- I open a document u201CAu201D in mode DESKI 3- I refreshed it. 4- During the