Extract interactive form from workflow attachment

I have a multi-step approval process where you want to store the data in
the
backend only after final approval. (requestor >> expert >> approver)
I developed a WDJ app with Interactive forms that triggers Business
Workflow...
I created a Webdynpro Java application which contains an interactive form
for the Requestor.
The Requestor fills out the form, and submits. The submission action
triggers a simple workflow and adds the interactive form as an attachment
to
the workitem. (Using SAP_WAPI_START_WORKFLOW and
SAP_WAPI_ATTACHMENT_ADD)
The new task shows up in UWL with the attached pdf form.
When the approver clicks on the task in UWL it will launch a web dynpro
application which will display the interactive form.
How do I extract the interactive pdf form from workflow?
I want to display the form in my Web dynpro java application and bind
it to the pdfSource context??

Can we know the reason why do you need to extract the Interactive Form from Workflow.When you are calling the workflow try to save the form in a shared folder and save the url of the shared folder in a field and try to acces it by using SAP Activity.You can create a button for that create an SAP activity and when you click on the button the Interactive Form can be opened.
Iam not sure weather i have answered your question or not?

Similar Messages

  • Adobe interactive form and workflow attachment

    I use an ABAP webdynpro to trigger a WF. The WD is an interactive adobe form step for users to enter data. Then before triggering the WF, I would like to save the form as an PDF form so I can send it to the subsequent work item processors. Is this possible? If yes, what do I need to do to make this happen.
    Thanks.

    Hi Raja,
    If i understand well the only way to have Adboe forms in ABAP Wrokflow is to use ISR , that's right ?
    Here's my scenario.
    An User trigger with an abap program a Specific flow , then i send several mails with Adobe forms inside . Thoses forms are send back by mail and process by the abap system .
    My problem is to make sure that all forms have been process and for this i had to develop a specific program in abap in order to check it.
    So Is it possible to define a SAP Abap workflow where on each workitem i will add as attachment my pdf form . Then i can used standard Notification and Standard functionnality of reminding of ABAP Workflow.
    Best regards.
    Bertrand

  • Sending my callable object as interactive form thru workflow for approval

    hai
            I have created a sales order form as per the requirement given by sales head.Also i ve created a role in portal and have deployed my application implementing the rfc s required. i need to send my callable object(component1) to the saleshead with approve and reject button where when he approves notification mail should be sent to the required persons and if he rejects it should come back to me.(order initiator).i need to complete this soon and i dont have any idea about _+sending my callable object as interactive form thru workflow+_ .plz guide me with the steps(step bye step process) to be followed which ll help me to complete this project.

    Can we know the reason why do you need to extract the Interactive Form from Workflow.When you are calling the workflow try to save the form in a shared folder and save the url of the shared folder in a field and try to acces it by using SAP Activity.You can create a button for that create an SAP activity and when you click on the button the Interactive Form can be opened.
    Iam not sure weather i have answered your question or not?

  • How to call Interactive form within Workflow ?

    Hi,
    I have created a interactive form within WebDynpro for ABAP which triggers a workflow for approval. Now I would like to open the same interactive form by the approver and approve the request.
    Any input for calling interactive form from Workflow would be helpful.
    Regards
    Ravikumar

    u need to create the events step by step in the workflow.
    first event would be the condition which should be checked so that it gets triggered when the condition is satisfied.
    second would be the the triggering in which u will get this triggered. u need to create a class in which the adobe form's code will be present like the FM it generates etc.in this class u will to write some methods for eg: if u create method say send_mail in this class u will code all the logic for sending the adobe form as a mail and u assign this in the workflow. So now, in the workflow all the methods that u assign will get triggered.

  • Extract interactive form attachment from workflow workitem

    Hi Friends,
    I created a Webdynpro Java application which has an interactive form.
    The user fills out the form, and submits.
    The submission action triggers a simple workflow and adds the interactive form as an attachment to the workitem. (Using SAP_WAPI_START_WORKFLOW and SAP_WAPI_ATTACHMENT_ADD)
    The new task shows up in UWL with the attached pdf form.
    When user clicks the on the task in UWL, I want to launch another web dynpro application which will read the workitem id and get and display the interactive form in the web dynpro java application.
    How do I extract the interactive pdf form from workflow in binary format?
    so that I can display the form in my Web dynpro java application and bind it to the pdfSource context??

    I thought I could just call the  SAP_WAPI_GET_ATTACHMENTS, however this only returns some docId information for example:
    OBJECT_ID                                                                                DESCRIPT             SHORTTEXT
    SOFM      FOL18          4 EXT34000000000023                                     Office Document      Office Document
    I need to get the binary for this pdf interactive form.
    Edited by: K Ferguson on Jan 16, 2009 5:54 PM

  • Adobe Interactive Form as an Attachment

    Hi we have requirement to make Adobe Interactive Form as an attachment in work item (workflow).
    Does any body come across with this requirement? How we make Adobe Interactive Form as an attachment ?
    Many thanks

    Hi,
    i have the same requirement. But im not able to solve this problem by the link, which is posted. I also used the search function, but no results.
    I know how to send the Interactive Form via email, and it works nice, but how can i create an object out of the Interactive Form and pass it to a workflow container?
    Im using FM SO_OBJECT_INSERT but there is something wrong with the conversion, everytime i try to open the attachment i get a error message that the file is broken.
    Any suggestions how to solve it?
    Kind Regards
    Michael

  • Opening oracle form from workflow notification asks for responsibility.

    Hello All,
    I am trying to open serach service request form from workflow notification.
    For that I have added below.
    1) created Form type of WF attribute and attached it to message. Value of this attribute is
    CSXSRISV:REQUEST_ID=&REQUEST_ID.
    2) So the link apears in the notification but when I form session opens it brings up the responsibility selection screen, If I select Customer Support resp and click on OK, service request get queried properly.
    So everthing is working fine, only issue is when oracle form opens it asks for the responsibility to select from selection screen.
    How can I remove this responsibility selection screen?
    Do I need to pass any parameter or something like that?

    Thanks for the reply.
    I have added CSXSRISV function i.e Find Service Request to the appropriate menu which is attached to the responsibility and opened the form from newly sent notification. Still no luck. Still it is asking me for resp to choose.
    Can you suggest me any other workaround?
    How to see whether workflow worklist is available to customer support resp?

  • Sending java web dynpro interactive form as pdf attachment from Business WF

    Hi,
    I have a java web dynpro application with interactive form(online), on send button click i need to send the filled form as an PDF attchment to internet mail id. I am using SO_NEW_DOCUMENT_ATT_SEND_API1 inside workflow to send attachment. My custom RFC which is interacting with WD app is getting the pdf source context attribute(simply i set the import parameter with that attribute and no juggling is done) as import parameter which  is of type XTSRING. Once i execute the application i am getting mail with attachment as pdf but i am not able to open the pdf. It is of just 1 KB size. It seems my pdf source context attribute is not sending data. Can some one suggest how can i solve this.DO i need to convert the data to pdf format before sending or any otgher thing i need to do.
    Regards
    Ravindra

    I did that before posting the question itself (enables = false), it doesn't work. It just disable the extra features like digital signature and stuff.  Interesting thing is all our HCM forms developed for HR actions works fine with out any issues. Why the interactive form developed with WDJ is not working and it requires credentials??. The same form works fine if I deploy the application directly into server but it throws the error if I check in through NWDI ..
    If you look at the server location it has the file but it throws the error:
    Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: IOException occured while creating template stream from the TemplateSource : .\temp\webdynpro\public\sap.com\ess~ben\webdynpro\Components\com.sap.xss.hr.ben.reviewtable.VcBenefitsReviewTable\ReviewTableView_InteractiveForm_Review.xdp (The system cannot find the file specified)
    Please advise.
    Thank You,
    Hari.

  • How to display Adobe Interactive Form from ABAP (not WDABAP)

    I have created a WD ABAP application that creates an Adobe Interactive Form (ZCI) and submits it for workflow.  All of the data on the form is saved in custom itables in the SAP System.  The end-users are supposed to save a copy of the form at the last step in the workflow before they "Acknowledge" the task in UWL.  Once the acknowledge takes place, they can no longer display the form in UWL. They want an ABAP program that will read the data from the various custom tables and display a "print" version of the form (not interactive). 
    I am calling FM 'FP_FUNCTION_MODULE_NAME' to get the function module for the form. I then call FM 'FP_JOB_OPEN' with the parameter IE_OUTPUTPARAMS-REQNEW set to ABAP_TRUE. The call to the form FM has the following EXPORTING parameters:
        EXPORTING
        /1BCDWB/DOCPARAMS   =
          /1BCDWB/DOCXML         =
    I understand the /1BCDWB/DOCPARAMS but have no idea what needs to be done to for the /1BCDWB/DOCXML parameter.  Can anyone offer any advice or assistance?

    Joyce,
    this is really simple - the reason you have that /1BCDWB/DOCXML  is because you defined your form interface to have an XML based interface.
    While this is great for ABAP Web Dynpro, because the XML is generated for you, this is NOT the case with regular ABAP.
    You should choose ABAP Data Dictionary-Based Interface. You will then be able to add tables, structures and fields to your interface.
    For instance, here's code from a program where I call the form in regular ABAP
    data: ls_worksheet TYPE Zxxx_structure.
    * Fill the ls_worksheet structure here.
    * Call the generated function module
      CALL FUNCTION ls_function
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
          worksheet          = ls_worksheet
        IMPORTING
          /1bcdwb/formoutput = ls_form_output
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          OTHERS             = 4.
    Notice I do not have the /1BCDWB/DOCXML Exporting parameter.
    Just change your interface to a Data Dictionary Based, and add the tables/structures/fields to it.
    then, go to your calling program, fill them, and pass the data through the Exporting parameter.

  • Read PDF form from email attachment

    Hope someone is able to help on this one...
    We are using a pdf form at work to gather some feedback and the user will be submitting the form via email...
    Using outlook 2003 I had a crack at writing a vba module to read the pdf form from the email attachment to update into an excel spreadsheet
    Is it possible to read pdf forms from the email attachment with outlook vba? Or does the attachment need to be saved to a directory first?
    I have in the past done a vba module to save the pdf form attachments to a directory and then using acrobat and it's in-built form data collection tool and exported as a csv, but this feedback form will be an ongoing thing that will be updated daily - and to minimise handling would like to run the outllook macro that reads straight from the email attachment instead of doing another 3 or so steps...
    Below is the snippet I am using - it's a mashup of different code I've found on the net
    Sub Feedback()
        On Error GoTo Feedback_err
        'Dim ns As NameSpace
        Dim objNS As NameSpace
        'Dim Inbox As MAPIFolder
        Dim objFolder As Outlook.MAPIFolder
        'Dim SubFolder As MAPIFolder
        Dim objExcel
        Dim oBook
        Dim oSheet
        Dim gApp As Acrobat.CAcroApp ' In Tools > References > Checked all Acrobat Libraries in VBA > Tools > References
        Dim pdDoc As Acrobat.CAcroPDDoc
        Dim jso As Object
        Dim Item As Object
        Dim Atmt As Attachment
        Dim filename As String
        'Dim i As Integer
        Dim myOrt As String ' Added 13/1/2010
        Set objApp = CreateObject("Outlook.Application")
        Set objNS = objApp.GetNamespace("MAPI")
        Set objFolder = objNS.PickFolder
    ' Check subfolder for messages and exit of none found
        If objFolder.Items.Count = 0 Then
        'If SubFolder.Items.Count = 0 Then
            MsgBox "There is no Feedback emails in this folder.", vbInformation, _
                   "Nothing Found"
            Exit Sub
        End If
    ' Check each message for attachments
        Set objExcel = CreateObject("Excel.Application")
        Set oBook = objExcel.Workbooks.Open("G:\Path\Filename.xls")
        Set oSheet = objExcel.Worksheets(1)
        oSheet.Range("A2").Select
        Set gApp = CreateObject("AcroExch.App") ' make acrobat session
        Set pdDoc = CreateObject("AcroExch.PDDoc")
        Set jso = pdDoc.GetJSObject ' set the Javascript object via this way we can fill in the PDF document fields
        For Each Item In objFolder.Items
            For Each Atmt In Item.Attachments
                If Right(Atmt.filename, 3) = "pdf" Then
                    Do
                    If IsEmpty(objExcel.ActiveCell) = False Then
                        objExcel.ActiveCell.Offset(1, 0).Select
                    End If
                    Loop Until IsEmpty(objExcel.ActiveCell) = True
                        objExcel.ActiveCell.value = jso.getField("CurrentDocDate").value
                        objExcel.ActiveCell.Offset(0, 1).value = Item.Session.CurrentUser
                        objExcel.ActiveCell.Offset(0, 2).value = jso.getField("txtJobNo").value
                        objExcel.ActiveCell.Offset(0, 3).value = jso.getField("rbStatus").value
                        objExcel.ActiveCell.Offset(0, 4).value = jso.getField("rbFeedback").value
                        objExcel.ActiveCell.Offset(0, 5).value = jso.getField("txtComments").value
                End If
            Next Atmt
        Next Item
        oBook.Save
        objExcel.Quit
    Feedback_exit:
        Set Atmt = Nothing
        Set Item = Nothing
        Set objNS = Nothing
        Set pdDoc = Nothing
        Set objExcel = Nothing
        Set jso = Nothing
        Exit Sub
    ' Handle Errors
    Feedback_err:
        MsgBox "An unexpected error has occurred." _
            & vbCrLf & "Please note and report the following information." _
            & vbCrLf & "Macro Name: Feedback" _
            & vbCrLf & "Error Number: " & Err.Number _
            & vbCrLf & "Error Description: " & Err.Description _
            , vbCritical, "Error!"
    Resume Feedback_exit
    End Sub
    I get a vba error 91 "Object Variable or With  block variable not set"
    Cheers
    Ben

    hi Phani,
    with regard to your problem I would suggest you to please go thru this link.
    Hope this would be helpful to you.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/offline%20interactive%20pdf%20form%20using%20e-mail.pdf
    Thanks,
    kris

  • Unable to test Adobe interactive form from webdynpro

    This is the out put i get when i test run the report 'FP_TEST_IA_01'.As suggested in SAP NOTE : 999998
    ADS: com.adobe.ProcessingException: Could not retrieve a password for credential: ReaderRights(200.101).
    Actually i was trying my first Adobe interactive form with webdynpro and when i tested it i got this message.
    The following error text was processed in the system NED : WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    Does Adobe interactive form requires Java stack to be active??
    Or is it only a configuration issue in ADS???
    What all should i take care in order to successfully run an adobe interactive form???
    Regards,
    Venkar Raghavan

    Dear Abhishake,
    Thanks for your reply.
    I had gone through the link you had mentioned detailly.what i understand that is ZCI needs to be installed thats comming with Support pack SAP NetWeaver SPS 10 .
    Will this also take care of ADS configuration.Where can i find a guide to ADS configuration and ZCI installation.
    When i ran a report check FP_CHK_REPORT below is the output i got.can you please throw more light on this.
    ISR      Prepare ISR templates for ZCI migration             ISR-001   Prepare ISR templates for ZCI migration
    ZCI      SAPForms API to Zero-client template migration ZCI-002   Update enumerated DDL XFO bindItems node reference
    ZCI      SAPForms API to Zero-client template migration ZCI-003   Copy enumerated DDL XFO form:ready non-Adobe scripts to the layout::ready ev
    ZCI      SAPForms API to Zero-client template migration ZCI-004   Add an XFO name to each of the embedded P1 Enumerated DDL XFO event handlers
    ZCI      SAPForms API to Zero-client template migration ZCI-001   SAPForm API to Zero-Client template migrator
    Regards,
    Venkat

  • Calling Interactive Adobe Form from workflow work-item

    Hi Experts,
    Here is the requirement.
    WE have Interactive Adobe Form developed and now the requirement is to call this form in our workflow as work-item.
    When the work-item agent double-click on the work-item he must call the adboe form.
    Please provide your inputs/suggestions/Solution/Tips.
    Regards
    Krishna

    Hi Gurprit,
    Thanks for answering my question , appreciated.
    When I am in transaction SWFVISU in the drop-down for the Visualization type I dont see "Adobe Form" .  Whether we need to create an ABAP Webdynpro to call Adobe form.
    Please explain.
    Regards
    Krishna

  • Calling Adobe Interactive Form from a selection screen

    Hi,
    I have to design an interactive adobe form online scenario,it goes like this :
    A certain tcode will call a selection screen when we enter values in the selection screen it will open an adobe form,which will have a submit button,on clicking the button data gets saved in a z table.
    I will be designing  the form in Web Dynpro,is it possible to call such a form through a selection screen?? Can someone please provide some idea on how to implement the above scenario.
    Thanks !!

    Hello,
    for the online scenario you need a communication partner for the form. In WD, you have a partner to exchange the data with. But from a selection screen... who would be your partner? You can of course display a form, a PDF file, a new one (generated) or a uploaded/ stored one, you can even edit the fields, but you don´t have any partner to send the data to.
    To cut this... you need a webservice if you want to exchange some data immediately (online scenario).
    Regards Otto

  • How do I open a Oracle Form from Workflow Notification

    Hi,
    I have created an attribute( for opening oracle form , define type as form) in my workflow process. Currently I cam working on oracle applcaition 11i,
    I want to know the format of assigning value to this attribute my attribute name is "OPEN_FORM"
    My form name is "PMSTIME", parameter is "TIMEID"
    With Regards
    Satheesh Kumar

    Welcome to the Apple Support Communities
    To open a Word document from a USB drive, do it as you would do if the document is stored on the hard disk. Just double-click it and Microsoft Word should open with this document. If another application is opened or it doesn't open, right-click the file, select "Open with" and choose Microsoft Word

  • Adobe Interactive Form with workflow processing

    I am new to both WebDynpro ABAP and Adobe forms.  I  am creating a new adobe form for material stock request with a 2 level approval. I have created the form and the WD application.
    How do you pass the adobe form and it's data from the WD application to the start of the workflow. I assume that you would load the PDF source in a wf container.  What data type should the wF container be? What code is required to get the PDF source in the WD application and code to re-load the PDF source from the container value?
    I currently have the following code to get the PDF source data and pass this to my function module to load the container and start the workflow.
    data:  lv_wi_id    like ls_pdf_data-wi_id.
      data:  ret_error        type c,
             ret_message(70)  type c.
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
    DATA lv_pdf_source LIKE ls_context-pdf_source.
      data lv_pdf_source type string.
    Read the context to get the binary PDFSource attribute.
    get element via lead selection
        lo_el_context = wd_context->get_element(  ).
    get single attribute
        lo_el_context->get_attribute(
          EXPORTING
            name =  `PDF_SOURCE`
          IMPORTING
            value = lv_pdf_source ).
       CALL FUNCTION 'ZMMSR_START_WORKFLOW_2'
         EXPORTING
           pdf_source        = lv_pdf_source
         IMPORTING
           RET_ERROR         = ret_error
           RET_MESSAGE       = ret_message
           RET_WI_ID         = lv_wi_id
         changing
           zmmsr             = ls_pdf_data.
    Thanks for any help

    Hi,
    I would like to answer this through Webdynpro-Java method.Please analyze it. Hope this helps
    First we can create two views. In one view one form and in another view another form.
    Now how to pass values from one view to other view is the question? This can be done through workflow.
    But to acheive this we need to store the values in temporary table through RFC and that RFC should also trigger the workflow.
    Then in workflow we have workflow container, workflow container inturn stores the data and it will have Workitem Id. Now work item will be raised and after clicking on WorkItem by the help of Workitem Id we fetch the records into 2nd view of Adobe Form.

Maybe you are looking for

  • Search and replace in powershell using wildcards

    Hi I'm trying to figure out how to replace a some random (ish) text, in a text string with a defined piece of text using Powershell. The text I want to replace is always between the same two words but the actual text varies from device to device. Let

  • Purchased movie in iTunes but "cannot load at this time"

    Using my iPad, I purchased a movie on iTunes (through the iTunes app).  Purchased was confirmed.  The movie appears in my "Videos" app, but it will only play if I am connected to my wifi.  If I go to iTunes it will show up as a "Purchased" movie and

  • "Invalid Annotation Object" error

    I'm using Windows XP Pro (SP3) on a 2.66 GHz, 2 GB RAM computer, and while working in an Adobe Acrobat 9 document, I had just saved the file (CTRL+S) and the document froze and I got a Windows error box that asked if I wanted to send an error report,

  • Will the iPhone 5 sync right up my 4s backup?

    I'm well, getting the iPhone 5 and I was wondering if with the new IOS 6 and the new iPhone 5 if it would sync right up and all my data would be all in it?

  • 'Open with' window displaying applications twice

    When right clicking on an icon / file, either directly on the desktop or in finder, and selecting 'Open With' I am getting a lot of applications listed twice, directly on top of each other. For example Photoshop CS Photoshop CS Firefox Firefox This s