Data Persistence in workflows triggered through interactive forms.

I have read through all the threads regarding Data persistence and do understand that form data is stored in xml format. I still have the following doubt:
For all the custom workflows we are developing for this client (using Adobe interactive forms as the UI in the workflows) we want to have local data persistence. Is there a model which covers data collected through the forms, including those data that are retrieved from SAP at the beginning of the workflow, and those data that are manually entered by the forms user?
Scenario : <b>cost xx - approver 1
cost xx + 1 - approver 2
Form data filled, cost xx and hence a email goes to approver 1.
Now, details changes and cost for that sales order increases to xx + 1.</b>
Will my email still be in the inbox of approver 1?
What if I want data persistence where from the initiation to the end of workflow the data should be persisted irrespective of the changes.
Thanks,
Kavitha

Hello Kavitha,
Your workitem will stay where it is unless you've specifically modelled it to react to a change. In standard purchasing you would use a change event triggered from ME22N or the likes, but unfortuantely I'm not in depth familiar with Adobe Forms so I don't know what happens when data is changed on a form once the WF has started.
However if you want data to remain constant throughout the life of the WF then I'd suggest binding it to a WF container when the doc is first created and then working with that value.
Hope that helps,
Mike

Similar Messages

  • Integration for Business Workflow and SAP Interactive forms by Adobe

    Hi
    Is any of you able to watch the following SDN eLearning Session ?
    <i>Integration for Business Workflow and SAP Interactive forms by Adobe (RIG session 7)</i>
    I can play nearly all the other eBooks, but not this one. Any idea ???
    Regards, bernhard

    I solved the problem.
    It is not possible to view the ebook with IE 7.0. So I removed the new Internet Explorer and everythink is working fine.
    Greetings, Bernhard

  • Current date in web dynpro's java interactive forms

    Hi experts!!
    In multiple interactive forms i am using a date-time field with:
    runtime property set to current date/time. Even though i use as display pattern  & edit pattern YYYY-MM-DD it still shows the time..
    What am i doing wrong????
    Thanx in advance!!!!

    Hi
    Select the date field on your form. On the Object Tab -> Value Tab you said that you selected the radio button "Runtime Property" -> "Current Date Time".  When you select this option there is a script that is being run. You can find the script on the script editor. If you cannot see this script editor then look above your form you will see a slide bar with a blue arrow. Just drag that bar lower down. Then you can modify it as per my previous reply. After that click the green "+" sign to enter script changes.
    If you cannot find it then forward me your email address and i shall take screenshots showing you where it is.
    Thanks
    Thashin Naicker
    Edited by: Thoshin Naicker on Jul 18, 2008 4:53 PM

  • Send Data back to SAP from Adobe Interactive Form

    Hello friends,
    I created a Adobe Interactive form using transaction SFP.
    This form have a comment field.
    My requirement is user enter comments in this filed and click on Submit.
    It needs to call a BAPI and save data in SAP table.
    thankz in Advane
    regards,
    Sumit Malhotra

    Hi,
    Create an WebService for the BAPI and in the Adobe Form create a New Data Connection of Type "WSDL", while creating the New Data Connection it asks for the Path so get the URL Path of the WebService created for the BAPI and assign it to the New Data Connection and specify the Binding for the respective fields under the "Import/Export Binding" in Binding tab of Object Pallette.
    Thanks and Regards
    Pradeep Goli

  • Possible to retrieve data from the backend using online interactive form ?

    Hello All,
      I am currently developing an online interactive form and in it, a textbox which allows user to search for employee data in the backend in the event that the default name is not correct. However, I noticed that in the proerty field of my interactiveform, there is only OnCheck and OnSubmit. Is it possible for me to make a search in the backend and have the results returned to my adobe form again ?
    from
    Kwok Wei

    Hi Kwok Wei,
    OnSubmit and OnCheck work in the same way. So if you need 2 buttons in your form then you can use both of these.
    I have never tried passing parameters but you can define context attributes and assign values. Later these can be accessed from the onSubmit Method.
    Regards,
    Sangeeta

  • Export data to MS Excel in Adobe interactive form

    Hello Experts,
    I am using Webdynpro Java and ALCD 8.2.  Can anyone help me out with functionality of Exporting adobe form data to excel file.
    Thanks in advance,
    Swami

    Hi Swami,
    When you say exporting data to a excel spread sheet.
    Does that mean once the form is generated then user should able to export to excel, if so below is the link for that.
    http://forums.adobe.com/thread/709565?tstart=1
    if its like for an interactive forms where user submits data the on submit event if you want to publish the form data to a spread sheet, I believ there should be a lot of posts on generating CSV files from ABAP code. this is also possible from WDJ provided if you have the respective jar files (on submit even, read data from the context, process to required format, call the excel API and write to it.)
    If from ABAP handler the post from the other blogger here might help.
    does this help, let me know if you are looking for something more specific.
    Cheers,
    Sai

  • Web dynpro Java, Interactive Forms, Workflow/UWL

    I really wanted to watch this eClass entitled:
    "Integration for Business Workflow and SAP Interactive forms by Adobe (Session 7)"
    However, it didn't pull up in my browser.
    I need to trigger a workflow from WDJ and I need to attach an interactive pdf form to a workflow/workitem from WDJ.
    Would i use the standard "SAP_WAPI*" functions modules via Adaptive RFC model in WDJ?
    Maybe these?  SAP_WAPI_ATTACHMENT_ADD_REF, SAP_WAPI_GET_ATTACHMENTS
    Also I am need to open a WDJ when the user clicks on the task in UWL.  This WDJ will read the pdf attachment on the workitem and display it to the user.

    I solved this problem on my own. Aren't I cool?

  • Interactive Forms objects in workflow

    Hi everbody,
    I'm currently trying to configure a workflow scenario with Interactive Forms by Adobe.
    My problem is to initiate a workflow object with interactive forms. From my understanding the object type "dynp_form" in workflow builder doesn't have to do with interactive forms. Which object type do I have to use?
    My next question is: can I use the predefined forms from SAP Forms Builder (SFP) in the workflow?
    I thought about ISR-Wizard to define a form in the QISRCONF. But this doesn't seem to work either.
    I have already configured the Adobe Document Services. The test program FP_PDF_TEST_00 works.
    I'm working on SAP NW '04s ECC6.
    Thanks for your replies,
    Olaf

    Hi,
    Welcome to Adobe Interactive Forms Development.
    Well to start with, you got two options to go ahead...
    Option-1 :
    Using ISR Based Adobe Interactive Forms Development, where we develop forms using SFP transaction and attach them to a scenario which is defined in QISRSCENARIO txn. To get a better understanding about this ISR/PCR's, check this one.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/54/957e40ec66ce62e10000000a155106/frameset.htm
    Option-2 :
    Using Web Dynpro based Adobe Interavtive Forms Development, where we design our Web Dynpro Application which has the Adobe Form. To have a better understanding of this development scenario, check this site.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c1151c55b33119e10000000a1553f7/frameset.htm
    Well coming to your Workflow related query, My suggestion is to refer the Standard PCR based Workflows WS50000031 & WS50000041.
    Yes, you can very much use the Standard forms in your custom workflows, for this you require to attach your workflow template number to the ISR Scenario.
    My replies are well understood only after refering to the above mentioned links.
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to store adobe Interactive form PDF in archive link?

    Hi everybody,
    I had create a WebDybpro Abap that contain an Adobe Interactive Form, now I must store this Interactive Form into Archive Link like a PDF document.
    I succeeded to save the PDF document on the archive link but after this operation, when I open this document saved, it doesn't show me the data but only the Interactive Form structure. The only data that file PDF saves are those I passed to Interactive Form during at the event initialization, but it lose all others datas that I inserted on the Interactive Form before to save.
    There is one mode to save also these datas or I can store only data that I load at the initialization event?
    I hope in your fast help.
    Regards.
    Davide.
    To follow the code that I use for Archive my Interactive form like PDF document.
    Salvataggio nell'ArchLink ********************************************
    Ricavo il PDF Source
      DATA: elem_context    TYPE REF TO if_wd_context_element,
            stru_context    TYPE        wd_this->element_context ,
            item_pdf_source LIKE        stru_context-pdf_source.
    get element via lead selection
      elem_context = wd_context->get_element(  ).
    get single attribute
      elem_context->get_attribute(
        EXPORTING
          name =  `PDF_SOURCE`
        IMPORTING
          value = item_pdf_source ).
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_zcentral_person( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA: l_ref_interfacecontroller TYPE REF TO
                                      ziwci__wdr_ess_central_person.
      l_ref_interfacecontroller = wd_this->wd_cpifc_zcentral_person( ).
      l_ref_interfacecontroller->store_adobe_document(
        ar_object    =  'ZHRDETRAZ'        " Toaom-ar_Object
        doc_type    =  'PDF'                    " Toadv-doc_Type
        object_id    =   objid                    " Sapb-sapobjid
        pdf_source =   item_pdf_source    " Xstring
        sap_object =   'PREL'                  " Toaom-sap_Object  ).
    METHOD store_adobe_document.   ***********************************************
    Converto la XSTRING del PDF in tabella binaria
      DATA: l_tab  TYPE TABLE OF tbl1024,
            lenght TYPE i.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          buffer        = pdf_source
        IMPORTING
          output_length = lenght
        TABLES
          binary_tab    = l_tab.
    Calcolo la dimensione del documento
      DATA: doc_id TYPE saeardoid,
            size   TYPE i,
            lineno TYPE i,
            length TYPE i.
      DESCRIBE TABLE l_tab LINES lineno.
      size = lineno * 1024.
      DATA toaom_fkt  TYPE TABLE OF toaom.
      CALL FUNCTION 'ARCHIV_METAINFO_GET'
        EXPORTING
          ar_object  = ar_object
          sap_object = sap_object
        TABLES
          toaom_fkt  = toaom_fkt.
      CALL FUNCTION 'SCMS_AO_TABLE_CREATE'
        EXPORTING
          arc_id   = 'ZP'
          doc_type = doc_type
          length   = size
        IMPORTING
          doc_id   = doc_id
        TABLES
          data     = l_tab.
    Create link to business object
      CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
        EXPORTING
          archiv_id             = 'ZP'
          arc_doc_id            = doc_id
          ar_object             = ar_object
          mandant               = sy-mandt
          object_id             = object_id
          sap_object            = sap_object
          doc_type              = doc_type
        EXCEPTIONS
          error_connectiontable = 1
          OTHERS                = 2.
    ENDMETHOD.  ********************************************************************

    Hi Davide,
    I have a requirement where I just need to SAP HCM Archive Adobe form in External repository.
    Since you are using the archiveLink functionality.
    Can you please help me how you did?? What configurations need to be maintained for this?
    I am new to this. I did some Rnd on it and found that it can be achieved using HRFORM_HRF02 Business Add-In in the SET_ARCHIVE_INDEX method.
    But I have no clue how to do it?
    Can you please help me?

  • Dynamic  table in Online Interactive form

    Hi,
    Scenario:
       I am doing an Online Interactive form scenario in WebDynpro for Java. In the form, i will be having a dynamic table(the number of rows will grow and shrink, with the help of ADD and DELETE ROW buttons). Initially, that table will have only one empty row.
    Imp: The fields in the table are bound to the data source node, whose cardinality is 1..n. (I want the data enetered in the table in Interactive form, to be updated in the WebDynpro context also).
    Problem: After deploying the application,
      I fill the first row, click ADD button. A new empty row is created. No problem here.
      I fill the second row. Then, when I click the ADD button, a new row is created, but with the values in second row.  
    Even if i create 10 new rows, the values are repeating in all those rows. If I change the value in a row, it reflects in all rows(except first row).
    Note: If the table fields are not bound to any data source node, then I dont have the above mentioned problem.
    Thanks,
    Prabhakar.

    Hi,Prabhakar
    In the note 1090464 It says that this is a limitation of the Subform Instance Controls(the same in table ui element).
    It looks like currently the only workaround is to build in advance empty nodes but then it limits the number of rows in your table.
    Regards,
    Michael

  • HCM interactive Forms - hide fields and backend connection

    Hello,
    we plan to implement a personnel transfer workflow based on interactive forms. Because in one step the user should not be able to see a couple of fields, it is possible in interactive forms zu hide fields based on the users role?
    I read a lot the last days but what I still havent found out and I hope you can push me in the right direction is, how the connection between backend and Form is working.
    Inside of an example form and in the documentation is descriped to use this below code to implement a bushbutton and the send message to create a server round trip. But if I create 2 pushbuttons with the same code, how do I know which button was pressed? Or do I have to create my own events somewhere? Or is there only this one event and I have to set a hidden field with some value via javascript or formcalc to find out whats going on in the form?
    $record.CONTROL_PARAM.ISR_EVENT = "USER_EVENT_CHECK"
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    best regards,
    Kai

    Hey Rajesh
    I'm not sure it will work - but its worth a try.
    Every time i wont to hide some subforms or UI elements - I determine them as "invisible" by default - and when the conditions are right - I turn them to "visible" (negatively way).
    Hopefully it will help you.
    Eyal

  • How to Destroy PDFs generated thru Interactive Form ELement

    Hello Friends
    My team has figured out that constructing pdfs through Interactive Form Element in Netweaver is a big performance issue
    We need to destroy those pdfs generated , So please help us out with this
    thanks a lot

    I guess I'm still not fully understanding your problem.  You mention that they aren't being cleared from the JVM?  On the server or client side? How exactly are you seeing that they aren't being released? I'm assuming you mean server side because you mention JVM.  The JVM isn't used on the client side to display the UI element.  There is no JVM used in Web Dynpro ABAP for the server side processing.  The only place the JVM is used is in the Adobe Document Services itself for the rendering of the PDF.  Is that where you are seeing instances not being cleared?  I'm not exactly sure how that would be manifesting itself.  Could you please provide some more detail.

  • Local data persistence in Interactive workflows

    I have read through all the threads regarding Data persistence and do understand that form data is stored in xml format. I still have the following doubt:
    For all the custom workflows we are developing for this client (using Adobe interactive forms as the UI in the workflows) we want to have local data persistence. Is there a model which covers data collected through the forms, including those data that are retrieved from SAP at the beginning of the workflow, and those data that are manually entered by the forms user?
    Scenario :<b>  cost xx   - approver 1
                     cost xx + 1 - approver 2
    Form data filled, cost xx and hence a email goes to approver 1.
        Now, details changes and cost for that sales order increases to xx + 1.</b>
    Will my email still be in the inbox of approver 1?
    What if I want data persistence where from the initiation to the end of workflow the data should be persisted irrespective of the changes.

    Hello Kavitha,
    Your workitem will stay where it is unless you've specifically modelled it to react to a change. In standard purchasing you would use a change event triggered from ME22N or the likes, but unfortuantely I'm not in depth familiar with Adobe Forms so I don't know what happens when data is changed on a form once the WF has started.
    However if you want data to remain constant throughout the life of the WF then I'd suggest binding it to a WF container when the doc is first created and then working with that value.
    Hope that helps,
    Mike

  • Capturing the changed data in the interactive forms through HTML Viewer

    Dear all,
    I'm showing the Interactive Adobe form in the HTML Viewer and I want to capture it back after the user enters data in the form and save it to application server.
    Can I get some help on this. Please attach supporting documents if any.
    Regards
    Aravind

    sorry i've got no document describing this. under service.sap.com/adobe you'll find a lot of Adobe content.
    But basically use the Adobe Designer from program files\adobe\design 7.0\formdesigner.exe
    create new form based on the CAF tutorials in the Interactive Forms section, add a new data connection to a wsdl, bind input/output parameters to form fields and get a button executing the wsdl operation.
    create your interactive form callable object based on that template, configure the form to start process and as impersonalized form. create the form from the GP administration screen, download it and test it.
    ...And Good Luck!!!

  • How to use SAP Business Workflow along with Interactive Adobe Form

    Hi Experts,
    I am working on SAP Business Workflow since last couple of years.
    Now i have got a new Project where client wants to use SAP Business Workflow along with Interactive Adobe Form.
    I am new to Interactive Adobe Form and Portal thing and i really dont know from where to start.
    We have one central system and 2 local systems. when we do create a Material document using adobe form workflow should trigger and notification should go to group of users who can approve or reject it, once they approve it document gets created in central system and replicated to 2 local system through ALE.
    In the Local system they do extend the document to different plants, again workflow triggers and notification will go to Managers inbox for the approval.
    Once the final approval done data should go and store in SAP.
    Now here i have couple of Questions.
    1. In SAP R3 Business workflow when i execute the workitem from the inbox i do get the application screen ( i.e. MM01 MRP View ) , what is going to happen if the same case i have with Adobe form?? is it possible or do we have to design a adobe form and we will have to map the fields with backend application??
    2. Do i have to maintained 3 separate Org Structure for 3 different system or using UWL  i can manage the show
    3. Untill final submit is not done, where the application data is going to be, is there any kind of buffer that we will have to keep it or its there with XML file??
    Please help me out.
    Thanks in Advance.
    Regards,
    Manoj

    Hi Manoj,
    Welcome to ADOBE Forms related Workflow Development. Well, here are my answers.
    1) You can go for either go for ISR based development or WD development with Adobe form. In both the cases you can achieve your requirement. Yes, you will have to design the Adobe form and bind the fields to backend.
    2) Am not clear or your System landscape to advice you in these regards.
    3) Until final Submit/Approval is done, the data can be stored in WORKFLOW CONTAINERS or XML FORM(If you go for ISR based Development).
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

Maybe you are looking for