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

Similar Messages

  • Adobe interactive forms in web Dynpro java

    Hi Everyone,
    I am new to webDynpro development and as I am working on Interactive forms, I need pdf's and related materials for the same.
    I mean pdf's for how to create Adobe interactive forms in web Dynpro java.
    Thanks in advance.

    Go Through the following document.
    It will give you good overview.
    Interactive Forms-->Functionality
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    Cheers
    Satya

  • Adobe Interactive forms in web dynpro java and BPM

    Dear all,
    I am able to design forms in adobe life cycle and consumed it in BPM but i am unable to send pdf  to the potential owner of that task . i just want to know about server side configuration which we need to do for sending mails . although i tried it in NWA/configuration wizard but i am not sure whether it is right or wrong and also about credentials .
    can anyone help me with this plzzz
    Thanks in advance
    vinit sharma

    Go Through the following document.
    It will give you good overview.
    Interactive Forms-->Functionality
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    Cheers
    Satya

  • Adobe forms in web dynpro java

    hi
    I am working in adobe interactive forms in web dynpro java .I want to use File upload and Download option in adobe interactive form .Can anyone please help me out.
    The submit button is also not working.Can anyone tell me the right code or pdf's related to above two problems.

    Hi,
    Please have a look at this blog,
    /people/amit.rai4/blog/2008/02/01/demystifying-attachments-with-sap-interactive-forms
    Regards
    Saravanan K

  • Adobe Interactive Forms without Web Dynpro and ACF???

    Hi All, we would like to build an interactive forms solution based on the Adobe software integrated into WAS. However, the customer requires a true thin client application with no additional installation on the client. Integrating Adobe Interactive Forms into Web DynPro however requires the Active Component Framework (ACF) to be installed since these forms are integrated into the page within an ActiveX container.
    So the question is whether there is a way to use Adobe Interactive forms including the Adobe Documents Service within WAS but without(!) using Web Dynpro?(the full blown Adobe LifCycle Forms solution is not an option). Any suggestions on this are highly appreciated!
    Tanks!
    Frodo

    Hello everyone,
    I would like to add a couple of points from the SAP Product Management perspective.
    Adobe has a number of stand-alone products that are the foundation for what SAP can now offer thanks to our partnership. This is exactly why we decided on a partnership that provides us with established technology, which is now integrated.
    It is true that Web Dynpro is the main SAP way of integrating the interactive functions of the solution. We made this decision consciously, because the development and run-time environments provide very useful features that reduce the need for manual coding, such as the possibility of passing the data back to the backend using the Web Dynpro context. The automatism we offer here needs to be implemented from scratch with any other solution, including the Adobe stand-alone one.
    While it is true that the ACF constitutes a certain limitation for the reasons you mention, Adobe will remedy this in 2005. The Reader/Web Dynpro integration will be available later this year for multiple platforms (OS, browsers) and will not require ACF anymore.
    If you do not want to use a full-blown Web Dynpro application for your concrete scenario, consider developing an application that provides nothing but the interactive PDF form to the end user, to be filled in using the stand-alone Reader. The submit of the form data (with or without the PDF itself) could then happen via HTTP or e-mail.
    Kind regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Problem when generating an non-interactive form in Web Dynpro java.

    Hi,
    I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
    java.net.SocketTimeoutException: Read timed out
       at java.net.SocketInputStream.socketRead0(Native Method)
       at java.net.SocketInputStream.read(SocketInputStream.java:129)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
       at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
    I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
    Any ideas?
    Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PM

    Yeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
    My ideas about your question:
    When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
    I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
    - One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
    - Next moment it can be non-interactive, e.g. form is shown to another user.
    So it's more the scenario/situation that determines if the form is interactive or non-interactive.

  • Adobe interactive forms in Web Dynpro.

    Hi all,I'm facing a problem about the interactive form, in Web Dynpro I add a interactive form to a view, when the property "Enabled" is unchecked, the form displayed with no interactivity functions, when I changed it to "checked", the system displayed a error.
    the form layout type I chose is "xACF", and the display mode is active X.
    in SFP, I add a text-field and a button in the form.
    Could anyone help me?
    Edited by: huaizhi lee on Mar 10, 2008 3:14 AM

    Go Through the following document.
    It will give you good overview.
    Interactive Forms-->Functionality
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    Cheers
    Satya

  • How to write database validations in Adobe flex form for web Dynpro

    Hi,
    Can any one help me
    How to write database validations in Adobe flex form for web Dynpro
    Please provide some documents if u have
    Thanks in advance
    D babu

    Hi Thomas Jung  ,
    Thanx for reply.
    I will explain my requirement
    I have vendor field in flex  if  i enter vendor no in flex I am biding this field to web dynpro context field I am getting this value in dynpro .
    With this value I am checking in my SAP database if i donu2019t  get I have to through an error in flex .
    Please tell me how to through an error to flex.

  • Problem of refreshing a tree in web dynpro java

    hi all,
    I'm facing a problem for refreshing a tree in web dynpro java for SAP HR.
    I created a viewset with 2 cells( 1 view for each).
    In the 1st view I created a droplistbyindex to select the unit ID and in the 2nd view ( defaut=false)  I called a method to populate my tree according to my selection in the 1st view ( method called in wdInit).
    When I make the first selection everything is ok.
    But when I select another unit ID, the tree is not changed and I know the context is well changed according to my selection.
    So I think the method is executed only the first the view is called.
    In this case, how can I refresh my tree on real-time?
    Thanks for your help
    Yimin

    May be u can write the code wdDoModify instead.
    -Ashutosh

  • Adobe Reader error with SAP interactive form in Web dynpro ABAP

    Hi,
    We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button. The form is inserted into Web Dynpro ABAP page. This web dynpro application is executed in SAP GUI by this program:
    REPORT  TEST1 MESSAGE-ID SWDP_RUNTIME.
    start-of-selection.
      CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
        EXPORTING
         PROTOCOL               = 'HTTPS'       " HTTP | HTTPS
        INTERNALMODE           = 'X'    "SPACE - browser is started
        PARAMETERS             =
          APPLICATION            = 'Z_FORM'
         CONTAINER_NAME         = 'TEST'
        EXCEPTIONS
          INVALID_APPLICATION    = 1
          BROWSER_NOT_STARTED    = 2
          OTHERS                 = 3.
      IF sy-subrc EQ 1.
        MESSAGE a400.
      ELSEIF sy-subrc = 2.
        MESSAGE a401.
      ELSEIF sy-subrc = 3.
        MESSAGE a667.
      ENDIF.
    Adobe Reader version is 9.1.2
    Is there any solution for this?
    Many thanks for answer.

    Jiri,
    The reason why I thought downgrading would help is because Reader 9 and above is probably not fully supported by SAP yet.
    You can maybe open an OSS and see if Adobe 9 is fully supported or not.
    Chintan

  • Problem executing an Online Form in Web DynPro(Adobe Form)

    Gurus,
    I am trying to create an Online Form in Web DynPro(Adobe Form), i could successfully create the form and deploy it.
    But when i executed, i am getting the below error.
    <<
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation.
    Request start time: Thu May 18 16:31:04 CEST 2006
    com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
    java.lang.Exception: Could not retrieve a password for credential: ReaderRights
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:420)
    >>
    Any Help would highly be appreciated
    Regards,
    Arvind Kugasia

    Hello  Markus,
    let's say I have two systems. One - X - installed J2EE+ABAP and configured WD pdfobject WS proxy to point to second system - Y - with correctly configured ADS (inculding Redaer Rights Credential). Do I have to setup this Reader Rights Credentila also on system X ?? Do I have to setup something else on system X to work with Interactive forms in WD Java on system X ?
    PS: Our ABAP calls from X to ADS on Y are working okay, but I didn't try WD ABAP as basis is too low.
    Thanx, Richard.
    Message was edited by:
            Richard Calaba

  • About Adobe Form and Web dynpro Java development

    Hello experts,
    We had  a requirement to display different Adboe Forms dynmaticlly in Web dynpro Java application.
    There is only one Web dynpro Java application, but 10 Adobe Forms . If user "a" access the application ,display form 1 ; if user "b" access the application , display form 2 ;  if user "c" access the application , display form 3.... just like this.
    There are about 30 fields in BAPI which Web dynpro Java application called . Form 1 mapping to field 1 to field 3, Form 2 mapping to field 4 to field 6, Form 3 mapping to field 7 to field 9 ....
    Is it possible ? If it is possible , could you please give me a solution ?
    Thank you in advance !
    Best Regards,
    Louis

    Siva,
    I referred to the website, but still having issues with generating tables in Adobe Form. I can get all the table rows in the adove form, but the pdf doee not add new pages to display all the table rows. It just createa one page with the table inside it, display few of the rows and truncates rest of the table data.
    Here is the heirarchy of the page with the properties set
    Master Pages ---
            ||--> Page 1
                     ||--> content area
                     ||--> subfrom (properties:: Content - Flowed / Flow direction - top to bottom...pagination tab is greayed out completly)
                                ||--> Table
                                          ||--> HeaderRows (Object: Row - Type: Header Row)
                                          ||--> Row1 (Object Tab/Binding: Repeat Row for each data item - checked)
    Can't make it wor, not sure what's wrong here
    I am using NDS 7.0 SP18 and Adobe LiveCycle 8.0. Does that could be a problem.
    Appreciate your help
    John

  • Having problem in making ABODE form in Web dynpro editable

    Hi,
      I have made a interactive form in SFP whose interface is dictionary based. I am calling this form in web dynpro application by mentioning the name of the form in template source and making the enable property
    of the adobe element ticked . I am also adding the following code in the WDDOMODIFYVIEW.
    data: lr_zpar_sample type ref to cl_wd_interactive_form,
    lr_method_handler type ref to if_wd_iactive_form_method_hndl.
    check first_time = abap_true.
    lr_zpar_sample ?= view->get_element( 'ADOBE_FORM' ).
    lr_method_handler ?= lr_zpar_sample->_method_handler.
    lr_method_handler->set_legacy_editing_enabled( abap_true ).
    where ADOBE_FORM is my adobe UI element.
    but its giving me a dump.
    But if I comment the last code then the form is displayed but the form remains read-only.
    Can any body help?

    Hi,
    I have already done this thing in my web dynpro application, i,e I hve already set the display property to native
    and layout type to ZCI. But still its giving dump.
    The following error text was processed in the system DEV : WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    The error occurred on the application server FP-BLR-DQ-001_DEV_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF_XSD of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW

  • Adobe Interactive Forms - Check Web Dynpro Script

    Created a Web Dynpro application with Adobe Interactive Form. Form interactive etc.
    Typed in the template source, names for interface and selected the context element where to create the interface etc.
    Changed the layout to ZCI, got an error message "Check Web Dynpro Script" but the Utilities => Insert Web Dynpro Script is and remains inactive.
    Any pointers in solving this?

    Initially no need to insert webdynpro script. Once you create interface & form then Activate the interface then check it may work out.

  • Display sapscript form in Web Dynpro Java

    Hi,
    Is it possible to print an existing sapscript form i.e. PO from ECC to my Web Dynpro application? I have successfully created a Web Dynpro Java application to create POs but now have a requirement to display or print the PO?
    Can someone provide me with a sample code? I'm hoping to be able to do this without using Adobe.
    Again, thanks for all your help.
    Best regards,
    Jaypee

    Hi mark,
    Without Adobe also u can display PO order.
    Below is the code to open a HTML window from WDJava, with data from WDJava...
    Inside DoInit()
    IWDAttributeInfo attr1 =
    wdContext.getNodeInfo().getAttribute("htmlfile");
    ISimpleTypeModifiable mtype1 = attr1.getModifiableSimpleType();
    IWDModifiableBinaryType btype1 = (IWDModifiableBinaryType) mtype1;
    btype.setFileName(attr.getName() + ".html");
    btype.setMimeType(WDWebResourceType.HTML);
    _contentType = mtype;
    Where htmlfile is a context attribute of type binary... and do a global declaration like this
    ISimpleTypeModifiable _contentType = null; (This declaration can be done at the end of your view's coding between Begin Others and End Others)
    Now,
    inside on action print
    public void onActionPrintData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String videoName )
    //@@begin onActiondisplayVideo(ServerEvent)
    byte[] content = new byte4028;
    try {
    content = this.displayPrint().getBytes("UTF-8");
    wdContext.currentContextElement().setHtmlfile(content);
    wdContext.currentPrintElement().setAttrUrl(
    _contentType.format(content));
    //Where content is loaded with data from displayPrint() method, which is holding the HTML *page to be displayed to the user *
    IWDWindow win =
    wdThis
    .wdGetAPI()
    .getComponent()
    .getWindowManager()
    .createNonModalExternalWindow(WDWebResource
    .getWebResource(content, WDWebResourceType.HTML)
    .getURL(),"ShowVideo");
    win.setWindowSize(445,460);
    win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    win.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    win.removeWindowFeature(WDWindowFeature.MENU_BAR);
    //win.open();
    win.show();
    // wdComponentAPI.getMessageManager().reportSuccess("444444444444");
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportException ("Unable to open window"+e,false);
    //@@end
    Now finally, design your HTML Page inside the method displayPrint() like this
    public java.lang.String displayPrint( java.lang.String strVideoName )
    //@@begin displayPrint()
    String htmlcontent=null;
    htmlcontent="content what you want to show in print window";
    use script inside the html content to do a print... like window.print();
    return htmlcontent;
    //@@end
    Regards,
    Sunaina Reddy T

Maybe you are looking for

  • Xi Alerts - Can a  field in the payload be a part of the alert message?

    Hi All,           I have a requirement in my alert configuration wherein a specific field in the message  payload needs to appear in the Alert message. In the std configuration I see field containers for std things like message ID, services etc... bu

  • ANN: BPEL PM 10.1.2 Limited Preview 1

    Hi All, We are looking for a few people to help us kick the tires and provide feedback on BPEL PM 10.1.2 before the preview hits OTN. If you are interested, please send us an email to [email protected] with BPEL PM 10.1.2 preview in the email subject

  • Powerbook stuck on apple icon screen

    When I try to start my powerbook it makes the chime then is stuck on the grey screen with the apple icon. No response from any keys. There is a dvd in the drive, so i can't put my install disk in it. I've read that people were able to boot from the d

  • How to convert to MP3 or ACC?

    I made a small song on garageband. now it is saved as .band but want it to be an mp3 or acc. how can i do this? i already tried taking it to itunes and when i try to convert it there, nothing happens. i also tried looking at it with quicktime but it

  • LR CC 2015 will not open after installing

    I installed the new application via my CC application manager and can not get LR CC 2015  open at all.  Any insights? It is showing that it is installed and up to date