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

Similar Messages

  • 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

  • Value Help in Interactive Adobe Form in Web Dynpro

    I have to provide a value help for certain Fields in Interactive Adobe Form using Web Dynpro ABAP. I have managed to get the Value Help Popup for the fields using Java Script in Adobe, but the problem is that whenever I select the Value from the Value Help, the selected value in not getting populated in the field....
       Please let me know the solution in case any one of you come across such kind of requirement.

    Priyanka:
    Can you let me know the steps on how to provide value help in interactive forms?
    Thanks
    Vijai

  • Making selective fields editable in adobe form [using web dynpro]

    Hi,
    I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
    What I did so far:
    1) The fields which I want as editable,  I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
    2) In web dynpro, I have enabled the adobe
    3) This is not making the fields editable.
    4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM 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_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Any inputs regarding this??
    Thanks & Regards.

    Hi,
    Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM 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_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    So I kept this code & I also kept the Interface type "ABAP Dictionary based".
    Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
    Thanks & Regards.

  • Data node mapped to  Adobe Form empty - Web Dynpro ABAP

    Hi,
    I've created a web dynpro component in ABAP. One of the view contains an interactive Adobe form.
    Form properties : Data source and pdf source are mapped
    Enabled checked
    Submit action mapped to a method. This method reads the node mapped to the form.
    Form Layout: Used ZCI Layout and Inserted web dynpro script (XML interface)
    Dragged attributes from data view to create text fields.
    Submit button used from Web dynpro native group
    I could not read data from the form.
    When I submit the form, data is not captured in the context.
    I have used the same context for view and could save the data from the view. But from the adobe form, I cannot read the data.
    Is there anything I missed. I have been on this since 2 days with no solution. I dont see any mistake but the form doesnt work.
    Version: Adobe Designer : 8.1 (from market place)
    SAP Netweaver 2004s SP18
    Any help on this is appreciated.
    P.S. Used all possible help from SDN existing posts and SAP notes.
    Thanks in advance,
    Srinivas

    Hi Srinivas,
    place a button on webdynpro view it self then try.
    make sure your form is working in interactive mode.
    else keep this conde in modifyview method.
    method WDDOMODIFYVIEW.
    data: LR_INTERACTIVE_FORM 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_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018<<ID_OF_YOUR_UIELEMENT>>u2019).
    LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    endmethod.
    or try these links
    For More Information look at the link below.
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm
    Please look into SAP Notes: 1229392
    You can also look at the elearning below:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3
    Regards,
    Mahesh

  • What is the relation between adobe forms and web dynpro

    hi
    what is the relation between adobe forms and web dynpro

    Hi Jyothsna,
    Adobe forms are advanced to smartforms and scripts.
    Adobe forms are much easier than smartforms they are online forms.
    they can be developed online.
    Adobe forms : This is another SAP tool designed to create your own forms. The transaction for this is SFP.
    How to use them: You can create a sales order form in adobe form and send to the sales reps. Sales reps can fill this form when they are not connected to internet / SAP system. Once they connect to SAP just send an e-mail to a specific user id in outlook. You got to customize and code how do you want to process once you receive this form. This enables you to create orders even when you are not connected to the system. Hence no data loss. This is not how i used though :-). This is just my idea.
    What is the difference between Adobe forms and smart forms / scripts.
    Smart forms / scripts are used to show the data in SAP. Most likely you will use these to print / display some kind of reciepts / forms. Many companies must be using this for hard copies / ALE / EDI or to transfer data from SAP to others.
    Adobe forms are used to post data into SAP from SAP too.  So this has an additional feature compared to smartforms.
    Please check this link
    http://www.erpgenie.com/index.php?option=com_content&task=view&id=600&Itemid=77
    Web dynpro in one of the component in NETWEAVER.
    Web Dynpro is the SAP NetWeaver programming model for user interfaces and provides support when developing the Web representation of business applications. The Web Dynpro model is based on the Model View Controller paradigm, and has the following features that build on the classic dynpro model:
    ·        Clear separation of business logic and display logic
    ·        Uniform metamodel for all types of user interfaces
    ·        Execution on a number of client platforms.
    ·        Extensive platform independence of interfaces
    please check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    Best regards,
    raam

  • Error when using Adobe form in Web Dynpro..

    I created an adobe form and gave the form name in template source property of interactive form in web dynpro component.The context node used in that form is automatically created. I pass value to that node using set_static_attributes. When I run the application I am getting an error msg 'Node <node name> does not contain any elements'.Can someone tell me how to solve this problem?

    Dear friend,
    Check the Below link
    https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3

  • 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

  • Submit button  from Interactive adobe form in Web Dynpro ABAP

    Hi all,
    We seem to be having a problem with the 'submit' button on the Interactive Form for the Web Dynpro ABAP.  The submit button is from the Web Dynpro active X or web Dynpro Native in the form designer. The submit button doesn't trigger the action in Web Dynpro. we are currently running on support pack 9 for the ABAP stack. We have Internet Explorer browser version 6.  Could someone tell me if there are requirements for the IE version that will work in conjunction with a particular ABAP stack version.  And, are there specific IE security settings or administrative privilages required with this version of the ABAP stack.  Or, any other ideas as to why this does not seem to work. 
    Thanks in advance,
    Michelle Hong

    Hi Michelle,
    Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
    Many Thanks
    Christine

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application

    Dear All,
    We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
    Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
    When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
    It is working fine for 3 different forms but problem with only 1 form.
    Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
    Thanks,
    Bharath.K

    Dear All,
    Thanks for your responses.
    We had identified the reason.
    Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
    Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
    Thanks,
    Bharath.

  • Adobe form in Web Dynpro Submit Button Problem

    Hi all,
    I've created an Adobe form as a UI element in Web Dynpro as a development component. In this Adobe form, I've included a "Submit to SAP" button from the Web Dynpro Library.
    My whole purpose is to expose this DC as a callable object into Guided Procedures and then run this process, so that the Adobe form(embedded in Web Dynpro) can be seen and allows the user to enter information online into the form or download(maintain offline) and click on the submit button. After clicking of the button, I need the control to return to the GP framework to trigger to the next action. I have configured the button in the Adobe form as a submit format -> XML data and with submit to URL "%com.sap.caf.gp.if.PostProcessorUrl%". I did this because I want it to return the control to GP framework. However, there is also another option of the event submit button in the Web Dynpro UI Adobe element -> event-> onSubmit.... i created an action onsubmit which has the code wdThis.wdGetBformController().complete();
    When I run the GP process, the adobe form appears and when i click submit button, nothing happens... Does anybody know the solution?? Thanks!

    Hello,
    Can somebody tell me if i really need to put this code
    "%com.sap.caf.gp.if.PostProcessorUrl%"
    in the submit button. If so, do i need to configure somewhere what the PostProcessorUrl is? If so, can somebody tell me where i need to do this?
    Thx in advance.
    Kind regards,
    Maarten.

  • REG : ADOBE FORM IN WEB DYNPRO

    HI,
    I have a req to create a time sheet in web dynpro thru ADOBE.
    I created a view and in the view..i used INTERACTIVE FORM UI element and then crated an interface also.
    now I am in adobe form.
    when I searched the  in ADOBE ,i found the TIME SHEET provided by sap.
    now i want to make use of that adobe form in my web dynpro component.
    my question i s:
    how to map the exising ADOBE TIME SHEET  fields to my web dynpro component.
    do i need to create the nodes and attributes for all the   elements in CONTEXT.
    PLZ HELP ME.
    regards
    arjun

    Hi
    Check out these links-
    https://www.sdn.sap.com/irj/sdn/adobe
    https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3
    Regards
    Lekha

  • Language Conversion for Adobe form using Web Dynpro

    Hi,
    I want to convert the whole adobe form which have created in English to some other language using web dynpro. Is it possible.
    Please help me on this.
    Thanks & Regards,
    Gaurav Mittal

    Hi Gaurav,
    Gudday.
    You can very well view a single adobe form in different languages by  maintaining the translations in the desired language using the path
    tools->translation->select the language->translate pdf form
    on selecting the language,the text will be displayed  in source language ....using the menu tabs copy the source text and maintain the texts in the required language.
    Hope it is clear.Please revert for any clarifications.
    Thanks,
    Martina

  • Error in running Adobe forms inside Web DynPro in CE3

    Hi
    I have used Adobe Interactive form in a Web DynPro DC after doing the necessary configuration for ADS in CE SP3. But when I run the application I receive an exception somethis like this
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Interactive Form Operation Failed
    Caused by: com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process RenderRequest...
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:89)
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:112)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:567)
         ... 61 more
    Caused by: com.sap.tc.adobe.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation.
    Request start time: Wed Feb 27 19:55:39 IST 2008
    com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: /usr/sap/CE1/J01/j2ee/cluster/server0/temp/adobewa_CE1_18726550/DM-6001642253044533767.dir/DM-5495524542707707125.tmp
    Specific error information:
    error while logging into credential ^0
    GeneralError: Operation failed.
    SecurityHandler.login:-1:
    Non-empty file name required
    Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0.
    I have done all the configuration by following the blog in
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7290. [original link is broken] [original link is broken] [original link is broken]
    Below file has been used for installing ADS credential
    P12 File: 20070730_0004205_P14.pfx
    Also the server has been restarted after all the configurations are done.
    What would be required more to overcome this error.
    Thanks & Regards
    Sudip

    Hello,
    are you sue the Alias name for the credential is exactly:
    ReaderRights
    What OS do you have?
    Regards,
    Dezso

Maybe you are looking for

  • ORA-27067 Error while restoring database using RMAN

    Hi All, I am trying to restore the backups from my production database to an other server. I was able to restore the spfile and control files but at the step where I restore the datafiles I get the following error: RMAN-03002: failure of restore comm

  • Object refrenence error when add-on start in client machine

    Hi all, I m getting error in add-on when i m start to add-on client machine its through error  object reference error. msgbox continuously Thanks & Regards B.Lakshmi narayanan

  • Time dimension different granularity

    Hi, i have two facts tables. The first is the sales table and i receive the data each day. So the join with the time dimension is at the day level. The second is the costs level and here the data regard stuff like salaries, so clearly is a monthly in

  • Dynamic write statements

    HI Experts, Can anybody tell  me following answers. I have select-options: p_date like Ztab1-date. (we can choose here till 15dates)                                       low =01/07/07 to high-15/07/07 output screen. <b>items   date1 date2 date3 date

  • Audio on time-line

    Is there a way to decide on which audio time-line the audio is put when dragging a clip from the viewer (or browser). I can't find out the logic how it works... Thank you