Adobe Form -Interactive -Subform dissappear after Click

Hi.
I have a Interactive form with a Native submit button with single MAIN view .
I am poupulating the form intially in WDOINIT method & I am trying to do some calculations on the form using submit click.
Here is what i am doing onclick.After I click submit button item form dissappears completely .
When I debug i see all the entries in the table lt_material but it doesn't shows up in the form.
I don't have anycode in other Methods.What could be the reason? I can use scripts too but I need to use this functionality for other requirement.
METHOD onactionclick .
  DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
  DATA lo_nd_material_node TYPE REF TO if_wd_context_node.
  DATA lo_el_material_node TYPE REF TO if_wd_context_element.
  DATA ls_material_node TYPE wd_this->element_material_node.
  DATA lt_material TYPE STANDARD TABLE OF wd_this->element_material_node.
  DATA wa_material TYPE wd_this->element_material_node.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
  lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
* navigate from <ADOBE_DATA> to <MATERIAL_NODE> via lead selection
  lo_nd_material_node = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_material_node ).
  IF lo_nd_material_node IS NOT INITIAL.
    CALL METHOD lo_nd_material_node->get_static_attributes_table
      IMPORTING
        table = lt_material.
  ENDIF.
  LOOP AT lt_material INTO wa_material.
    wa_material-diffq = wa_material-sysqn -  ( wa_material-usrmo + wa_material-relw1 + wa_material-relw2 + wa_material-relw3 ).
    MODIFY lt_material FROM wa_material.
  ENDLOOP.
  lo_nd_material_node->bind_table( lt_material ).
ENDMETHOD.

Chintan,
I am using Onsubmit event which is the only avaialble option on form properties.
I just named event as CLICK but I changed it now to submit but it is still doing the same .
Itemform is dissappearing on click.
Control type for native button is regular. code inside this button is .
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - SubmitToSAP.xfo
                      ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                      // END OF DO NOT MODIFY
All I am doing is retrieving the context data and doing some modifications and re-binding.
FYI.. I am moving from WD1 (ALV with buttons ) to WD2 (pops up adobe form in new window intiaily) by transferring cookies . I need that button in WD2 .
Do you think that cookies is causing this problem? because after click i don't need that context data anymore.All i need is form data which I get through
IF lo_nd_material_node IS NOT INITIAL.
    CALL METHOD lo_nd_material_node->get_static_attributes_table
      IMPORTING
        table = lt_material.
  ENDIF.
and re-binding
lo_nd_material_node->bind_table( lt_material ).
Rgds
Vara
Edited by: Vara K on Aug 13, 2009 5:22 PM
Edited by: Vara K on Aug 13, 2009 6:28 PM

Similar Messages

  • HI Iam trying to get into my account in Adobe Form Central and when i click on sign in..not working

    HI Iam trying to get into my account in Adobe Form Central and when i click on sign in...the screen shows " this page cannot be displayed" is there a problem with the site?

    I just found that Amazon web services does have a network issue with one of their instances that is affecting some regions around the east coast, this could be affecting your ability to sign into FormsCentral.  They will likely have that back up soon and assuming that could be the issue it should be fixed shortly.
    Thanks,
    Josh

  • Adobe Form is not opening after saved the form locally

    Hi Experts,
    I have implemented the adobe form using webdynpro java using ACF. The scenario is initially the form is loading with input fieIds and dropdown boxes after that the form data has to be submitted into backend.
    I have encountered the problem that if i save the submitted form into locally and trying to open the form its not opening.
    The server and other details are:
    NetWeaver     - 7.00(2004s) SPS3
    Adobe reader - 9.0
    ADS vesion    - 7.01
    Please let me know if you have any idea.
    Thanks!
    Narasimha

    1). If i will convert the forms from ACF to ZCI capability. Suppose if I want to fall back from ZCI to ACF forms then what is the solution for that?
    Well you won't need to go back to ACF as such but if you want to then may be you can keep take backup of all forms.
    2).After conversion of the forms to ZCI capability then what are the necessary steps i need to follow like abode form ui elements can be changed to webdynpro native ui elements type like that.
    The Report generally mentions all the items in yellow/red for things to work on but yes if you have used ACF Controls you just need to update it by Native controls. From Web Dynpro form properties change the displayType property to native as well.

  • ADOBE form interactive and non-interactive... (HR)

    Hi,
    I'm trying to get in touch with SAP web applications (webdynpro, adobe form, bsp...).
    I have the following requirement:
    I have to provide a page within the sap enterprise portal to allow the employee to track his presence. In this page the employee has to check a presence/absence flag and in another page he can justify his absence with some reason.
    I didn't find a standard functionality to meet this requirement, so I think a new form has to be created.
    As additional requirement this form as to be stored as PDF document and it is not needed to store the information contained in the form in the sap backend system. The information contained in the form has to be stored in a non-sap system, so this information should be available as flat file to be imported in the non-sap system.
    I'd like to understand the possible scenarios from a technical point of view to create the required functionalities.
    ADOBE Interactive Form.
    This is a webdynpro (java or abap) that contains the adobe component. The fields of the adobe component are linked to the sap backend system and are editable. The adobe component reads some data from sap bakend system and stores the values filled by the employee via the adobe component in the backend system.
    ADOBE non-interactive Form
    A webdynpro (java or abap) or a BSP has to be built to create some values, then once the user save/submit the information a PDF document is created with the information created in the previous page.
    What is the difference between ADOBE (non-interactive) Form and ADOBE Interactive Form? The difference is that the first one is not editable? There is a big difference in terms of complexity develop an interactive or a non-interactive adobe form?
    BSP that generates the PDF as output?
    Could you please provide some input/defintion/sample to clarify this topic?
    Thanks in advance
    MP

    Reader credential rights missing. Now it works.

  • ADOBE FORM - Start subform on current page only if space is there

    Hello,
    i have created an adobe form for printout of CRM business partner details.
    The form consists of several subforms.
    Each subform consists of a text as header and a table.
    examples for the subforms:
    - contact persons of account
    - opportunities of account
    - quotations of account
    - orders of account
    - servicerequests of account
    now i face the issue that in some cases the header text of the subform is on the end of one page and the table starts at the next page. How can i configure my adobe form in a way that subform starts only on current page if there is enough space for at least 1 table entry?
    Thank you
    Best regards

    Hi,
    Sorry but i do'nt think that's possible to check dynamically if there is enought place on the form for at least one table line .
    Perhaps you can explore this kind of solution
    Subform 1 => Table content => Allow page break
    Subform 1-1 => "New Header" this one can't allow page break
    Subform 1-1-1 => Real Header
    Subform 1-1-2 => First item
    Subform 1-2 => Items form line 2 to x.... Allow page break
    For this you must modify the context of the form because your table will be read from line 2 to ... and you must add a single record for line 1.
    Also if you want to repeat the real header forms on page break, you can set it on subform 1-2 when overflow is needed.
    Hope this help you.

  • Adobe form / interactive form

    Hi all,
    I am trying to create a printable adobe form that will be called within a program. I created the program that calls the different function modules and the adobe form via SFP. Now I am trying to insert a field into the form which should be open for input. The users just want to add something into this field and then print it. So the input should be saved in the adobe doc. or be printed.
    Is this possible? How can I do this. Any idea?
    I tried to set the parameters of the field and also set the export parameter '/1bcdwb/docparams' of the module calling the form to 'fp_docparams-fillable = 'X'. This doesn't work.
    Thanks and best regards,
    Viktoria

    Reader credential rights missing. Now it works.

  • Adobe forms(Interactive forms)

    Hi to all,
         In our developement server we cant open layout design in intercative forms. Its showing error message like " Cant start Layout designer(see long text)" . What we can do. Is there any patches will upload or Any SAP notes apply .Give me suggessions.

    Hi Geetha K ,
    ADOBE lifecycle designer is part of SAPGUI installation.
    Some admins love to install not fully but leave out what they think may no be needed. So they can keep their job because every one in a while someone needs something they ommitted
    Full installation does not harm anyone anytime and is less complicated. Thank you SAP that we can do partial installs -:)
    Regards
    Clemens

  • Adobe form interactive with web dynpro

    I wanna get the user typed text from the form into web dynpro but get none.
    After user typed the comment in a input field and press the button in the web dynpro, the program will get the pdf source from the context and parse it. The program get other text pre-defined in the form generation but doesn't get the user typed text.
    I tried to change the form type to ZCI use t-code sfp_zci_update. But still failed to get the user typed text.
    What's the problem?

    Dear Ralf,
    Thanks for your prompt replies. I appreciate it.
    I've copied the following code mentioned in the note and pasted it in my wddomodifyview method.
    But after activating and executing the application, the application time outs and gives ADS time out error.
    I've checked and am sure that it is the below code that makes it time out.
    I would also like to draw your attention to the fact that when i then run prog. FP_TEST_00, it also hangs.
    Please help.
    500 Connection timed out
    Error: -5
    Version: 7000
    Component: ICM
    Date/Time: Tue Mar 22 09:52:18 2011 
    Module: icxxthr_mt.c
    Line: 2707
    Server: AIERD_AED_00
    Error Tag: {-}
    Detail: Connection to partner timed out after 180s
    Code is:
    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( 'IFORM').
          LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
          LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Edited by: User on Mar 22, 2011 5:44 AM

  • Login details when Webservice is called from Interactive Adobe form

    Hello Experts,
    Can you please suggest me the procedure to overcome the below issue.
    I am calling the Webservice from my interactive adobe form.
    When ever i click on the Submit button on my form, it is triggering the webservice but asking for the login details for authentication in the popup.
    In the real time scenario i will not be having any user id and passwords. So, I don't want this popup.
    What do i need to follow to get this done.
    Regards,
    Ram

    Turn off security on your web service.
    Paul

  • Adobe Form -  How to set a condition for a Subform

    Hi All
    I am new in Adobe Form and learing it - (I had some knowledges of SmartForm) - One of the requirement I have to do is to print out a different layout (subform) according to a value of a flag.
    In Smartform, I can draw diffrent layouts and put a condition on each layout so each one can be printed accroding to the flag value.
    In Adobe Form, the subform (or any other object) cannot be conditional set - I don't know how to do it - Could comeone please show me how - I reward points for any reply - Thanks

    You are excused with your English - and you must excuse mine , too
    Your questions:
    But, how i write the condition ?
    1- If ( article.table1 = Null ) then ... ?
    2- If ( article.table1.Rangée1.SubForm2.lib_article.rawValue = " " ) then... ?
    Try this:
    1- // Locate the table node from to down
    var tNodes = xfa.resolveNodes("Table1[*]");
    If (tNodes.value == NULL)  {
        tNodes.presence = "Hidden" }     
    or
    2- // locate the varable fields and loop thru to check if they are all empty
    var fNodes_1 = xfa.resolveNodes("article.table1.Rangée1[*].SubForm2.num_article");
    var fNodes_2 = xfa.resolveNodes("article.table1.Rangée1[*].SubForm2.lib_article");
    var fNodesLength = fNodes_2.length;
    var table_empty = "Y";
    for (var fNodeCount = 0; fNodeCount < fNodesLength; fNodeCount++) {
       If     (fNodes1.item(fNodeCount).rawValue <> " ") or
              (fNodes2.item(fNodeCount).rawValue <> " ")      {
                 table_empty = "N";
    // Now find the table node and hide if if necc
    var tNodes = xfa.resolveNodes("Table1[*]");
    If table_empty = "Y"  {
        tNodes.presence = "Hidden" }    
    You must place those codes at the Subform Article level in Javascript mode
    Good Luck
    Edited by: Liem Van Duong on Jun 13, 2008 2:45 AM
    Edited by: Liem Van Duong on Jun 13, 2008 2:46 AM

  • How to make a ADOBE FORM as interactive??

    Hi experts,
                       Please anybody share how to make a ADOBE FORM interactive ? It means the content of the form ( text field etc.,) can be varied ( selected dynamically ) and also the form should be freeze later , so that it cannot be edited again ,.
                    Thanks in advance!!

    Hi shukla,
    Thanks for u r response.
    Here my problem is i created webdynpro component view with interactive element .And i set the all required properties also like checking enable checkbox ,pdfsourcr,formname allthe requird things i did and i developed one adobeform using sfp tcode. In that form they are some input fields are their. and i activated every thing sucessfully.
       while executing webdynpro app i am getting pdf also.But in that pdf i cant able to fill the input fields..i checked with javascript code , and different layouts also but still it will be not editable in pdf..
    I need the solution for this........ Pls help me, I stucked with thispoint ,and its urgent...
    Regards,
    Venkat.

  • Refreshing Adobe Form from Webpage

    Hi.
    Is there a way to refresh adobe form to initial value after canceling or saving data from interactive form and going to back to the form.
    I used INVALIDATE( )
    and it initialize value from the attribute, but value still displays on adobe form. It might have to do w/ cache, but I am not sure how to get rid of them.
    When I actually click on refresh button from IE. It wipes out data, but I don't want users to have to do that.
    Thanks for any help you can give.
    John

    Hi John,
    At what event do you want to refresh the data of the form.
    After deciding onthis u can manually write a code to blank all the fields on the form..
    Hope this helps,
    Thanks
    Amita

  • Adjustable footer in Adobe forms

    Hi Gurus
    Need your help in adobe forms. I am converting the sap-script debit note to adobe forms. my problem is after the line item display the subtotal total and signature should come after with the line items. what i did right now is that the subtotal, total and signature is stable in the footer area which is wrong. what i want is adjustable. like example if i have 2 line items the footer should be in the middle part then if example 10 items in footer in lower part. It depends on how many is the line items.
    line 1
    line 2
    liine 3
                       Subtotal
                        total
                        Signature
    line 1
    line 2
    line 3
                       Subtotal --> should be like this
                        total
                        Signature
    thanks in advance,
    Edited by: Etrafanob on Nov 11, 2009 10:52 PM

    Hi Sandra,
    sorry for that and the late reply. here is the feedback for the benefit of the other. I apply what the replies stated. and to make the footer adjustable it should be put in a WRAP SUBFORM by right clicking the nodes in heirarchy view then in the object pallete there is a option for FLOWED/POSTION then it works for FLOWED. thanks.
    best regards to all.
    Etrafanob.

  • 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.

  • Adobe Forms Error while using Webservice

    Hi All,
         I have created a interactive adobe form in abap . The adobe form has a button , on click of this button a webservice has to triggered. I have written the script to call the webservice(data connection) in FORMCALC but the webservice does not get called when I open the adobe form in my desktop and click on the button in the pdf.
    I get a error saying the "Error attempting to read from file" displays the webservice URL below.
    could someone help me resolve this issue . Is there any settings that I am missing for the interactive form to work?
    Thanks in advance
    Edited by: Sudheendra Puthuraya on Nov 19, 2008 5:58 AM

    Hi Sankar,
    this is a abap web service. I agree with you it is related to authentication.
    When I created the web service from Function module I used security profile as PRF_DT_IF_SEC_NO which would mean there will be no security.
    I also noticed that I work in my office network, the web service works fine but when I am working in my home network I get this error.
    Do you think of any config i might have missed?
    Thanks,
    Pankaj

Maybe you are looking for

  • USB 3.0 expressCard for Lenovo G555

    Hello, is it possible to connect a usb 3.0 ExpressCard to my Lenovo G555? thank you!

  • TV OUT?  i need this feature.   help

    I reviewed the phone on youtube, showed it could do tv out, bought the phone, no tv out?    this was one of the main features i wanted.  how can i get this done?   Thanks - Ryan

  • Trouble pasting sequence

    I have built a show in two sequences...just to make it easier to deal with. Now I want to put the two parts together. I created a new seq., copied part one and pasted it in, no problem. When I try to copy and paste part 2, it doesn't work. Missing pi

  • Can I adjust the speed at which an audio book is read?

    I have an older version on which I can adjust the speed at which a book is read. Is there a way to adjust the speed on the new one?

  • How to ready error in  Logfile?

    HI I am not sure wheather my question is related to this forum or not. I want to know how oracle is capturing errors and what is correct way to ready error in logilfe? Example: below is error: its generated on "<Jul 15, 2013 1:16:34 PM GST" and by lo