WD(ABAP) - Oncheck Event by Interactive Form

Accessing Adobe Lifecycle Designer through Web Dynpro workplace will provide you with a set of fields in a special library called "Web Dynpro", in which I find some interesting element. Most of them are mentioned in the following place:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/frameset.htm</a>
As I understood, the script within field triggers a Web Dynpro event allowing developer to realize the value check, search help functions in PDF. For example: the "Check Field" button delivers the code:
app.eval("event.target.SAPCheckFields();");
In Netweaver developer Studio, an Oncheck event is linked with Interactive Form, you find it under the event property. However I cannot find the same event in Web Dynpro ABAP. Does it mean Web Dynpro ABAP doesn't support the oncheck event of interactive form?
I have tried to drag and drop a Check Field button on the form. When I click it at runtime, IE returns error message. Looking into ST22, The exception is CX_WDR_ADAPTER_UNKNOWN_EVENT' was raised.
Does somebody have clue? I appreciated your help on this.

It's ugly, but it's true:
At this point in time, Web Dynpro for ABAP has only one Interactive-Forms-specific standard event (compared to the 2 in Java), which is the Submit event. I am hoping that both Web Dynpro worlds will be on the same level in terms of features in the next release.
Best regards,
Markus Meisl
SAP NetWeaver Product Management

Similar Messages

  • Mapping context subnodes of WD ABAP with context of Interactive Form

    Hi everyone,
    I'm facing a problem here passing my WD subnodes to the context of the interactive form.
    I managed to pass a node with only attributes but not with subnodes in it.
    The code I used is really basic, here is a sample :
      DATA t_affectation TYPE wd_this->elements_t_affectation.
      DATA t_el_affectation TYPE wdr_context_element_set.
      DATA nd_dropdown_project TYPE REF TO if_wd_context_node.
      DATA nd_dropdown_customer TYPE REF TO if_wd_context_node.
      DATA lt_dropdown_customer TYPE wd_this->elements_t_dropdown_customer.
      DATA lt_dropdown_project TYPE wd_this->elements_t_dropdown_project.
      LOOP AT t_el_affectation INTO el_affectation.
        nd_dropdown_project = el_affectation->get_child_node( name = wd_this->wdctx_t_dropdown_project ).
        nd_dropdown_customer = el_affectation->get_child_node( name = wd_this->wdctx_t_dropdown_customer ).
        nd_dropdown_project->bind_table( new_items = lt_dropdown_project ).
        nd_dropdown_customer->bind_table( new_items = lt_dropdown_customer ).
      ENDLOOP.
    But i get a dump telling me
    Termination occurred in the ABAP program "CL_WD_ADOBE_SERVICES==========CP" -
      in "NODE_2_DDIC".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 32
    of the (Include) program "CL_WD_ADOBE_SERVICES==========CM00L".
    and the dump occurs as soon as it explores the subnode:
       20 * depending on the cardinality, it either represents a structure or i
       21   if lr_node_info->is_multiple( ) = abap_false.
       22 *   it represents a structure
       23     lr_element = i_node->get_element( index = 1 ).
       24     node_elem_2_struct(
       25       i_element   = lr_element
       26       i_parent    = i_parent
       27       i_node      = i_node
       28       i_node_info = lr_node_info ).
       29   else.
       30 *   it represents a table
       31     lt_elements = i_node->get_elements( ).
    ------>     assign i_parent->* to <itab>.
       33     loop at lt_elements into lr_element.
       34 *     create a new line inside of the itab
       35       insert initial line into table <itab> reference into lr_data.
    Does any of you has an idea ? I would be most grateful.
    Thank you
    Regards,
    Alexandre

    It's ugly, but it's true:
    At this point in time, Web Dynpro for ABAP has only one Interactive-Forms-specific standard event (compared to the 2 in Java), which is the Submit event. I am hoping that both Web Dynpro worlds will be on the same level in terms of features in the next release.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Submit event in Interactive Form element

    I have WDA with Interactive Form element.
    I put a code onSubmit event of InteractiveForm element.
    I tried several Submit buttons in Live Cycle Designer:
    type Button with Submit option from Standard library and  type Submit to SAP from Native library.
    None of them generates Submit event
    Ehat kind of special "special Adobe Web Dynpro submit button" the Help is talking about?
    Here is an excerpt from WDA help:
    onSubmit
    Describes the action to be executed when the user selects the Submit pushbutton.
    Note that the submit event is only evaluated when there a submit button is selected
    within the form. "Within" means that the special Adobe Web Dynpro submit button has
    been included in the Adobe Designer.
    Thanks,
    Tatyana

    Hello Siva,
    In Interactive Form ,you can place as much submit buttons as you want.
    You are creating a simple calculator in adobe...Right..?
    For this purpose ,
    1. In Adobe Interactive Form, Go to WebDynproActiveX  field and from this ,select 4 submit buttons in sequence
    2.In Caption property label them as Add, Sub, Mul & Div respectively.
    Reply if these steps work for you.
    Best Regards,
    Shital.

  • How to bind webdynpro abap context attributes with interactive form table

    hi,
    I was created table in interactive form and add the all context attributues to each column of the table.
    And add the table into the subform.
    i want to bind the table using bapi values form Webdynpro abap.
    please give the detailed explanation.
    by
    Parthasarathi

    Hey Lingam,
    Check out this link...
    [Inserting a Table or Loop|http://help.sap.com/erp2005_ehp_04/helpdata/EN/4c/9cc19e5c874091a99790e540b06f3a/frameset.htm]
    It's for EhP4, so I'm not sure if it would apply.
    Hope this helps...
    Cheers,
    Kevin

  • Control not going from Adobe Interactive form to ABAP WD Event handler

    Hi
    I am facing an issue with adobe interactive forms and WD ABAP integration.
    The buttons in adobe interactive form when clicked is going round and round and the control is not going to the ABAP code(WD ABAP event handler code whatsoever). I have also set the debugger but the control is not moving to the ABAP code from the adobe interactive form.
    Can anyone help me what can be the issue here and how can I resolve the same?
    Thanks.
    Sid

    Hi Babi,
    In the adobe form layout library Use the Submit(which internally means submit to SAP) button from the Webdynpro Native category.
    Only this button action can connect adobe to web dynpro.
    Whenever we click on this particular button the event will be trigger in the ONsubmit event of interactive form UI element in the webdynpro.There we can write our abap code.Hope this will help you.
    Regards,
    Simi A  M
    Edited by: amsimi on Mar 22, 2011 11:37 AM

  • Adobe interactive form(ABAP WD)size is increasing & not opening from EP UWL

    Hello All,
    Adobe interactive form (ABAP WD) size is increasing after cleansing data from MDM and the form is not opening from portal UWL.
    Same application is working fine in Dev and Qa environment. In dev and QA the form size is around 150 KB after cleansing data from MDM. Some reason in production it is more than 2 MB. FYI - We have multiple app servers in production.
    /Padmanaban

    Hi Babi,
    In the adobe form layout library Use the Submit(which internally means submit to SAP) button from the Webdynpro Native category.
    Only this button action can connect adobe to web dynpro.
    Whenever we click on this particular button the event will be trigger in the ONsubmit event of interactive form UI element in the webdynpro.There we can write our abap code.Hope this will help you.
    Regards,
    Simi A  M
    Edited by: amsimi on Mar 22, 2011 11:37 AM

  • ABAP webdynpro with interactive form - launching failure

    We are doing some prototype in the solution manager box using ABAP webdynpro and Adobe Interactive Form. I created a webdynpro with a very simple Adobe form embedded in an view.
    But when I test the webdynpro, I got the following error page in internet browser, any idea?
    Error when processing your request
    What has happened?
    The URL http://md1as086.medimmune.com:8001/sap/bc/webdynpro/sap/z_wd_bookflight_gebo/ was not called due to an error.
    Note
    The following error text was processed in the system SMT : WebDynpro Exception: ADS: Request start time: Tue Mar 06 11:53:06 EST 2007(200.101). ?&#43970;.RuntimeProcessor.process(RuntimeProc
    The error occurred on the application server MD1AS086_SMT_01 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 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/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_ADAPTERCP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system SMT in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server MD1AS086_SMT_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server MD1AS086_SMT_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: CHEUNGJ -l: E -s: SMT -i: MD1AS086_SMT_01 -w: 0 -d: 20070306 -t: 115305 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    Hi,
    Is you ADS Configured ?
    Check that out.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Adobe Interactive Form in Web Dynpro ABAP

    Hi all.
    I want to create an web dynpro application in ABAP using an Adobe Interactive Form. Can anybody share the document regarding this or any articles.
    Thanks & Regards
    Sagar Ingalwar

    Hi,
    it is so simple..
    1) Create AdobeInteractiveForm UI element in your screen.
    2) Create pdf_source for pdf source  attribute to bind it should be byte data.
    3) Create node for data Source. (The data which you want to place on the pdf form)
    4) right click on interactive form UI element & edit
    5) PDF editor will be open.
    6) drag the required data fields from data source to the form.
    7) place submit button on the form.
    Finally there are two kinds of interactive modes
    1) native mode (it runs on firefox browser)
    2) active X mode (it runs on Internet Explorer 6)
    Please use appropriate submit button on the form (i.e. native/ActiveX submit button)
    Best Regards
    Ravi

  • ADOBE Interactive forms -ABAP or JAVA??

    Hi,
    We are upgrading from 4.7E to ECC 6.0
    What are the pros and cons of using ABAP & JAVA in ADOBE Interactive forms.
    I know we can have both stacks in ECC 6.0 but when do we actuallly require JAVA and when ABAP?
    regards
    Praveen

    Hi,
    ALC Desinger that gets embedded in SE80 for ABAP and Java(NWDS) Development Environment.
    Please check this link.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c1151c55b33119e10000000a1553f7/frameset.htm

  • Online interactive form using ABAP

    Is it possible to create an ABAP program for Online Interactive form (NW 2004)? or do we need ABAP Webdynpro (NW 2004s)?
    We have implemented an offline scenario i.e. create an interactive PDF, fill the forms, save it, upload it and extract information from PDF.  It is working fine.  But we are not able to implement online interactive scenario.
    Any suggestion?
    Thanks,
    Pranav

    While SAP certainly does not recommend to create interactive scenarios from transaction SFP (please use Web Dynpro for such scenarios), it is not entirely correct to say that it is not possible.
    The issue we see is that SFP was created for output forms, i.e. "one way out of the system" (to print etc.). Interactive Forms is based on XML, which means that in ABAP you need to convert the ABAP structures to XML for generation of the PDF on the ADS, and - in interactive scenarios - on the return trip you need to convert the XML (in the PDF) back to ABAP structures. The conversion from ABAP to XML and vice versa is done in the background automatically by the Web Dynpro environment, which is why we recommend it for interactive use. There is no automatic back conversion in SFP, i.e. you'd need to handcode this - which means additional cost and potential for error.
    Hope this helps,
    Markus
    and, thanks, Eddy, for pointing out that the FAQs need an update...
    Markus

  • Can ABAP Webdynpro use interactive form or just print only

    I saw a diagram in the ADS configuration Guide for SP10 what shows that the ABAP side of the configuration is only for print forms. Now my question is: can ABAP Webdynpro include an interactive Adobe form in the view? Has anyone done it before? It seems that it is only for Java Webdynpro that the interactive part is working.
    If you have done one, can you share some information?
    Thanks

    Hi Jeff,
    Sure, Web Dynpro ABAP can also embed Interactive Forms.
    Help is available on help.sap.com: http://help.sap.com/saphelp_nw04s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm
    There are also some nice videos of this following https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7c3bc67e-0c01-0010-dbb3-908315896909?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3">this [original link is broken] [original link is broken].
    Cheers,
    Francois

  • Problem with Input help inside an adobe interactive forms

    Hi Experts,
    I'm currently implementing a Webdynpro ABAP application containing a Interactive forms.
    I'm using Adobe Live Cycle Designer 8.0, Acrobat reader 9.2, Internet Explorer 7.0
    My problem is that when I click on the "input help" button inside the adobe form, he automatically refresh all the forms UI element with their initial values. Is-it a refresh event included when we pressed the "Input help" button or an other event? How Can I deactivate that action, event?
    Because since he automatically refresh my form data I loose the context current values.
    Thanks in advance,
    Louis

    P740741 wrote:>
    > Hi Norbert,
    >
    > Thanks for reply, yes I use ZCI and I inserted the Webdynpro script  through Utilities.
    >
    > Best Regards,
    > Louis
    strange, but you could compare the version of the zci scripting
    in your form in the hierarchy tab there are variables and the ContainerFoundation_JS script --> the first line
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - xxxxxxxxxxxxxxxxxxxxxxxxxxx - ContainerFoundation_JS gives you the requested information about the scripting version...have a look at this version...
    norbert
    perhaps this note helps:
    Note 999998 - Analyzing errors with Adobe Integration of Web Dynpro ABAP
    --> for debugging!
    A client debug function is available as of SAP NetWeaver Release 7.00 Support Package 19 (or after you implement Note 1287114) and for all Enhancement Packages. Activate this client debug function using the URL parameter "sap-wd-clientDebug=X" (attach it to the URL using "&"). You can then activate the client trace using the key combination <CTRL><ALT><SHIFT>T (move the focus to a Web Dynpro UI element, for example, to an InputField, do NOT move the focus to Adobe Reader). The system opens a new browser window with the trace output. The trace may contain an error entry ("Network Error", and so on). The URL also activates the Adobe document services (ADS) trace. The trace outputs of the ADS are copied to the generated PDF document as an attachment. Open the file "Error.pdf" of the ADS trace: Form errors (for example, script errors) are listed there.
    Edited by: Norbert Prager on Oct 24, 2009 7:31 PM

  • Dropdown issue in offline Interactive Form

    Hi,
    Form is created using XML schema interface.. When looked at "PDF Preview" drop down field works fine and shows all possible values.
    I am using ABAP to generate the interactive form. In the function module call, I have set Fillable = 'X' and also Dynamic = 'X' for docparams.
    When I run the program and create the form,  I just see one (first) value populated in the drop-down field, but the field does not show any drop-down to choose other values from..
    since it works fine in PDF preview, I am assuming, the problem is not with the form, but something to do with the calling program.
    any inputs?
    Thanks.

    Hi,
    I am using dynamic forms.. it works fine  in PDF preview.. in calling ABAP program i have set Fillable = X and dynamic = X as well. Do you think the issue is with this script? If something was wrong here, then it should not work properly in "PDF Preview" as well.. but it works fine there.. I think, it has something to do with form being "dynamic" in nature..
    I found something interesting.. if I add a simple app.alert statement anywhere in this script, drop-down works just fine.. My thinking is, by adding this statement I am making the form dynamic / interactive.. since user has to click on "OK" to close the dialog box. so original issue could be in saving the form as dynamic itself.
    I am using "Initialize" event of drop down list with following script:
    var boothString = "kitForms.booth";
    var boothItem =  xfa.datasets.data.resolveNode(boothString );
    if (boothItem  == null){
      this.presence = "invisible";
      hiddenBooth.presence = "visible";
    else {
       try{
              var boothItemValue = boothItem.nodes.item(0).value;     
              var tempString = "kitForms.booth.boothNo" + boothItemValue;
              var oItems = xfa.datasets.data.resolveNode(tempString);
              if (oItems != null){
                   var nItemsLength = oItems.nodes.length;
                   boothW.rawValue = oItems.nodes.item(0).value;
                   boothD.rawValue = oItems.nodes.item(1).value;
                   var nItemsLength = boothItem.nodes.length;  
                   this.rawValue = boothItemValue;
         catch (e){
            this.presence = "invisible";
              hiddenBooth.presence = "visible";
    Data XML looks like this:
    - <booth>
      <item>456</item>
    - <boothNo456>
      <itemW>10.0</itemW>
      <itemD>8.0</itemD>
      </boothNo456>
      <item>123</item>
    - <boothNo123>
      <itemW>10.0</itemW>
      <itemD>23.0</itemD>
      </boothNo123>
      </booth>
    Edited by: Sudhir Pargaonkar on Jun 11, 2008 7:14 PM

  • Differentiate between button events in WD ABAP Interactive form ?

    Hi ,
       I have a senario in which I have  2 buttons in a Webdynpro ABAP Interactive form.
    Button1 is to fectch some values from the back and set in the context so that it is populated in the form.
    Button2 is submit button which calls a BAPI in the backed..
    I need to differentiate between the events of these 2 buttons in my Webdynpro ABAP onSubmit event..
    Is there any way to differentitate which button I have clicked in the form.. ????
    Thanks
    Siva

    Hi Sivaraj,
    you can try defining an action on OnCheck action. I think it should work.
    If it doesnt work then, define an attribute in the context, and place it on the form, make this field invisible. Then on click on button set some values in this attribute. Read the attribute value in the ABAP. And perform the action according to that.
    Hope this helps,
    Amit

  • Click event in Webdynpro abap for interactive form

    Hi ,
    I am using a ZCLI form to be developed using Webynpro abap . I am new to  webynpro abap but I have worked in offlined upload of pdf forms . My problem is I created a wedynpro component and integrated the form .The form is only opening up if the layout choosen is standard layout . if it is a zcli form it is not opening up . I am also not able to capture the click event from the form .
    some immediate help required.
    My requiremnt is to save 2 fileds from  a form in an interactive way to a SAP database using webynpro abap .
    Regards
    Abhil

    Hi Abhil,
    If your layout type is 'ZCI Layout' then you have insert the webdynpro script in the layout. After selecting the ZCI Layout click on enter and then go to layout tab, in this go to Utilities menu->select Insert WebDynpro Script.
    If you do this then in the Hierarchy tab of adobe form you can see the (Variable) ContainerFoundation_JS, it means that you have inserted WebDypro Script in the form.
    Finally activate the form and run the application.
    Thanks,
    Jhansi Miryala

Maybe you are looking for

  • ITunes quits when I refresh podcasts with iPod touch connected

    If I click the "refresh podcast" button in iTunes (version 11.3.1.2) while my iPod touch (32G capacity currently with 4.5G available; still running iOS 5.1.1) is connected, iTunes quits. If the iPod is not connected, the refresh runs just fine; any a

  • Help with setting up Aperture on Snow Leopard

    I have two late 2006 White Core 2 Duo iMacs no longer under warranty. My cameras are 2 Nikon D70's. My printer is an Epson 7600. I installed Leopard on one of the iMacs and it broke within a week of the upgrade. Our homeowners insurance may repair it

  • My Iphone keeps freezing at the homepage

    After using the YouTube app on my original Iphone, I pressedthe home button on my phone to return to my apps (test messaging, calendars, ipod, safari etc.) but the phone froze. The touch screen won't respond when I select any app, yet at the top of t

  • ITunes not showing Nano

    We have a brand new MacBook Pro and a first gen nano. When we plug the nano in the Finder reads it as a drive but it does not show in iTunes. We had been using it with a previous gen unibody MBP (which was stolen) and it worked fine. We have tried tw

  • Hour scale missing from iCal on daily display.

    Did anyone else notice that the time scale for the day is no longer displayed down the left side of the daily display. Didn't it used to show?