Invoking a workflow using GP and WD Java Adobe Forms

Hi,
I have a scenario where I want to be able to submit an Adobe Form for approval, if its approved I get info from a BAPI which populates the form, if not I just get a message saying, Not approved. So in steps i'd like to be able to:
1) User fills in a form with input parameters,
2) Submit form,
3) Approver receives form for approval,
4) Approver approves and a BAPI is invoked with the input parameters in the form, the form is populated with what the BAPI returns.
5) Form is sent back to user.
6) If form not approved then message sent to user.
I want to create the Adobe form in Web Dynpro Java. I need advice as to if I should do the whole process in GP, or can I use them both together? What are the steps involved? Can this be achieved? Do we use Portal email services to send communication between the user and the approver? Any advice/help/suggestions very welcome.
Thanks
TM

Hi Lisha
  For storing the data from form to workflow and from workflow to trancation it better to maintain custom table to get the details later. You can use the std FM to insert the data from the form to table in this case you need not create custom table. Tell me which module you are working on. MSS or for ESS like leave, travel, actions like seperations, transfer which one you are using.
Regards
vijay

Similar Messages

  • Direct  RFC And webservice in Adobe Forms

    Dear All,
                Does adobe Lifecycle designer intregate RFC as a webservice ?
    Or we need to write a Java/Adap Dynpro and call the adobe Form?
    Regards,
    Anirban.

    Hello,
    You can call a web service directly from an interactive form. To access RFCs, you need an application (typically webdynpro Java or ABAP).
    Keep in mind that your form is interactive (meaning data storage and exchange capable) only if it has been generated by the ADS.
    Regards,
    Francois

  • What is the use of interface in the adobe forms

    Hi friends,
    can any one tell,
    what is the use of interface in the adobe forms for desigining the form.

    The main purpose of the form interface is to send the application data to the form.
    The form interface is created separately from the form, which consists of the form context and layout. When you create a form, you must assign it to a form interface.
    please have a look at the link below for more info:
    http://help.sap.com/saphelp_nw70/helpdata/EN/96/6ee0d5b39640d68fc0078fc575114a/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
    hope this helps,
    harman

  • Using drag and drop property in forms.

    Hi all,
    I want to use drag and drop property in a form during
    runtime.I am using oracle 7.3.I don't want to call any
    another application.
    Is there any way?
    Thx in advance.

    Mona ! First tell your problem in brief ..Actually what you want
    on runtime ...would you like to fetching the data from one item
    to another or change the position of any item or
    pushbutton ...or what..give detail ...obviously i can help you..
    there are many commands like set_item_property ,
    get_item_property but right now i could not understand your
    prob ..tell me in brief..
    You can ask me at [email protected]..
    -Anwar

  • How to use protect and endprotect in smart form

    hi to all experts,
                        im still begineer in smart form , i have two headings like
    company_code:              purchase doc no:
    after this i have a table to be displayed with four columns
    what i want is the whole data should not be split by a page break
    i know this can be achieved by using protect and end protect in sap scripts how to implement in smart form

    probably u have the table inside a loop or a folder or something....
    see this
    Page protection attribute
    Switch for page protection.
    Use
    Page protection switch.
    In some cases you may want to avoid that text is divided by a page break. Therefore, you can protect text sections with a page protection.
    Page protection can extend to
    a paragraph
    a text node
    all output within a folder, for example, several text nodes combined in this folder.
    a line type (table node)
    If on the current page there is not enough space left for the protected text, it is displayed entirely on the next page.
    So u can page protect a line in table...
    in the table node..goto tables tab and click the details tab-->select the line type and check the 'no page break'
    check box

  • Using JMS and Advanced Queuing within forms.

    I am wondering if anyone can forsee problems with embedding a javabean inside a form that:
    listens to an Oracle queue.
    Do you think there would be some type of problem with a connection factory trying to create a connection and a session from within forms using JDBC?
    Thanks in advance

    Sandu,you are right.
    A Forms timer with status polling is a good and stabil solution .
    But we are connected on a database and a polling of a database event - Job is finished, or a reply received in a Queue -
    is always a network traffic and overhead when we use polling times < 1 min ..
    It would be also a good solution and interesting feature of Forms that the database event sends a message to the waiting client (process ?) ..

  • Trigger workflow from ABAP webdynpro (having an adobe form)

    Hello All,
    I have developed an Webdynpro (for ABAP) component that has an Adobe Form integrated within it. Now I have been given a requirment that the form (once filled out on the portal) needs to be routed to 2-3 persons for approval and then submitted (or processed in SAP). The approving personnel will look at their UWL on the portal and approve/dissapprove.
    I do not have much hands on experience on such a Workflow scenario as above. I have already completed the adobe form part and the webdynpro section.
    I will really appreciate it if anyone can advise as to how I need to proceed here.
    Thanks in advance, Liz

    Hi Liz,
    You can use the FM SAP_WAPI_START_WORKFLOW. In webdynpro you have the button like "Submit" right? All the process has done, the user can click the submit button to get the approval. Under the button you can call this FM.
    Create one workflow based on your scenario, and pass the workflow number to this FM. So once the submit button is clicked then in back end workflow will getting triggered.
    For more Informations, please have a look at following links.
    SAP_WAPI_START_WORKFLOW doesn't start workflow...
    SAP_WAPI_START_WORKFLOW
    SAP_WAPI_START_WORKFLOW help
    Thanks.

  • Populate Table from RFC in WD-Java Adobe Form

    Hi Experts,
    I have a Table in WD-Java Adbe Form. The first column is EMPLOYEE_ID and rest of the columns are EMPLOYEE_DETAILS.
    I provide the EMPLOYEE_ID as input in the first column and then on clicking of the CHECK button, I want to get the remaining columns populated with Employee Details
    If I enter just one employee id (Row1) then I should get the details of the first employee only.
    If I enter two employee ids (Row1 and Row2) then I should get the details of both eployees in the table.
    The ABAP RFC Function Modules have already been designed in such a way that a table is bein passed as Import (having EMPLOYEE_IDs) and another table is beig returned with the filled in details of the employees in the Export.
    THe issue is how to use the RFC to implement this table in the form.
    Thanks & Regards,
    Shobhit
    Message was edited by:
            Shobhit Swarup Mathur

    Hi Shobhit,
    You could populate the columns by writing a script at the click event of the button.
    Is it a dynamic table..(asking this coz then the reference of the row will also be dynamic)
    if its a static table.
    on the click event, you can write the following script.
    Note...i am taking the table name as Table1
    var nTableLength = Table1.nodes.length;
    for (var nCount = 0; nCount < nTableLength; nCount ++) {
    if ((Table1.nodes.item(nCount).className == "subform") && (Table1.nodes.item.nCount).name !== "HeaderRow")) {
    oRow = Table1.nodes.item(nCount);     
    if (oRow.EMPL_ID.rawValue !== null ){
    // populate the other value over here eg
    // oRow.EMPL_NAME.rawValue = 'Shobhit';
    let me know if theres any problem.
    Best Regards
    Mona

  • Problem using RFC to call an adobe form to create pdf file........

    Hi,
       I have an RFC that calls an adobe form to display the pdf output back in a bsp page...the RFC fails at the call to the adobe form (next call after after getting the form name) ...while debugging it looks like within this call it is trying to call fpcomp_job_open and failing on the call check_job_open ...
    The code in my RFC looks like this....
    DATA:
        gs_outputparams  TYPE sfpoutputparams,
        fn_name           TYPE rs38l_fnam,
        fp_docparams      TYPE sfpdocparams,
        fp_formoutput     TYPE fpformoutput,
        frm_result        TYPE sfpjoboutput,
        lv_form           TYPE fpname.
    DATA: l_pdf_xstring  TYPE xstring,
           l_pdf_len      TYPE i.
    lv_form = 'ZHR_ASSESSMENT_FORM'.
    Start formrocessing - OPEN spool job to send to printer
      gs_outputparams-getpdf = 'X'.
      call function 'FP_JOB_OPEN'
        changing
          ie_outputparams = gs_outputparams
        exceptions
          others          = 1.
      IF sy-subrc <> 0.
    *//    RAISE FP Open Error.
          exit.
      ENDIF.
    Get name of the generated function module for the form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = lv_form
        IMPORTING
          e_funcname = fn_name.
      IF sy-subrc <> 0.
    *//    RAISE FP Get Form Module Name Error.
            exit.
      ENDIF.
    Call the Adobe Form
      CALL FUNCTION fn_name
      EXPORTING
          /1bcdwb/docparams  = fp_docparams
          gv_appraisal_id = gv_appraisal_id
      IMPORTING
         /1bcdwb/formoutput = fp_formoutput
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          others             = 4.
      IF sy-subrc <> 0.
    *//    RAISE Call Form Module Error.
            perform f_build_message using 'E'
                                      'ZEXT'
                                      012
                                changing return.
           exit.
      ENDIF.
    End from processing - Close spool job
      CALL FUNCTION 'FP_JOB_CLOSE'
        IMPORTING
          e_result       = frm_result
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    *//    RAISE FP Close Error.
           exit.
      ENDIF.
      form = fp_formoutput-pdf.
    Thanks,
    Venkatesh

    what is the solution for this problem? I have the same problem. I get sy-subrc = 1 after CALL FUNCTION 'FPCOMP_JOB_OPEN'.
    If I look more in detail I see that "Perform check_job_open" is creating the problem:
    FORM check_job_open.
      IF fpstat-is_opened = c_true.  (--> exactly here is the problem. This condition is true so the program is terminated.)
        PERFORM reset_status.
        MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '101' RAISING usage_error.
      ENDIF.
      fpstat-is_opened  = c_true.
      fpstat-is_started = c_false.
    ENDFORM.       
    Does somebody know why my job is open and what is the solution to have the job closed at the beginning of my processing?
    Thanks in advance.

  • Guided Procedures and online interactive adobe forms.

    Hi Experts,
    Scenario : User have to log into GP runtime, When he clicks the first action it should display the adobe form. He  has to fill the details and submit the form. This form is routed for Approver 1 for review. The first approver will log into portal,view it (UWL),approve it and sent for second approver.The same process happens with the second approver.After both approvals, a BAPI updates the data in the interactive form in R/3
    All the process have to be done in Guided Procedures, then  integrated with Portal at the end.
    We have tried creating an Wdynpro Java app with online adobe form and executed successfuly in NWDS and also in Webdynpro content administrator.
    issue:-
    When we create a callable object(webdynpro app(gp interface CO)) in GP and test, we were unable to view the form.
    Now our question is : what are we mising ?
    Is it possible to integrate online interactive adobe form with guided procedures?
    Is our approach to solve the scenario right?
    any links or tutorials will be greatly appreciated
    TIA,

    Hi
    See the following Link: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8a696cea-0c01-0010-d494-9b0b8ce7565f&overridelayout=true]
    Kind Regards
    Mukesh

  • Can you do subtractions and divisions with Adobe forms?

    I am converting MS Excel documents into Adobe Forms using Adobe Strandard 9, and I would like to be able to do subtractions and divisions with the form calculation option. Currently the only options I have are 'sum (+), product (x), average, minimum and maximum'. I see that there are 'Simplified field notation' and 'Custom calculation srcipt' options, but I can find no reference to doing subtractions or divisions. Any help would be appriciated.
    Kerry N

    Try these options:
    Under the Calculate tab for the properties for field3
    In the Custom calulation script field, use:
    this.getField("field3").value = this.getField("field2").value - this.getField("field1").value;
    or in the Simplified field notation, use:
    field1 - field2
    Use / instead of - for division instead of subtraction.
    Karl

  • Events with Scrpts and JavaScript in ADOBE forms

    Hello All,
    On an Adobe form I have field for sub totals. I am trying to choose 'Events with Scripts' on the SHOW pull down values and choose JavaScript in the language. I was able to do this some time ago but now, I am able to choose Events with Scripts but not being able to choose JavaScript for language.
    I do not have much exp. with Adobe or JavaScript but I checked whatever I could think of but could not figure out. Any body ran into this issue before? Any ideas?
    Please post and Thank you ...

    By trial and error, what I did is, chose 'Calculate' in the Show menu then chose JavaScript in the Language pull down menu. Then added my JavaScript code. Then went back and change 'Calculate' in the Show menu to Events with Scripts. Saved and executed it . It worked.

  • Using SFP to create an Adobe form

    Does anyone out there know how to configure a Adobe form that will continue printing the rows of a dynamic table on to the next page?
    90% of the time only one page is required to print the table because the number of rows is small..
    The solution we would like is to create the second page only if the dynamic table rows grow too large to print on one page.
    We have tried reading the SFP help documentation several times but still can not configure it correctly.
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on Sep 25, 2009 3:08 PM

    1. keep the table in the body page(and not in master page)
    2. wrap the table in a subform, and make it page break allowed with flowed layout in the object palette )
    work done.
    and post in forms forum, that would help you better.

  • Errors trying to Invoke web service using BES and SIF

    Moved this up from the Integration Forum to see if I can get some visibility on it.
    Description : When an invoice get's approved we need to pass on the details of the invoice and approval to the 3rd party customer.
    So far I have been able to test the business event which calls the web service that writes the information to a file. However, although the file is created there is no content in the file.
    So the steps up to this point
    1. Create a simple web service that takes a string as an input parameter and writes this out to a file.
    2. Locate the Approve Invoice event [oracle.apps.ap.event.invoice.approval] and add a new subscription that will invoke my web service.
    I have a number of issues at the moment.
    From the business event page I can test the event which writes a record to the wf_java_deferred queue. I have been able to call the service and create a file however that seems to have stopped working. Where do I look to see what's going wrong? Is the diagnostics the best place to start
    If I go into Status Monitoring I can see the last Business Event test I did is now having errors when it tries to invoke the web service. The error I get is
    Error Activity ID          
    Error Activity Label          
    Error Assigned User          
    Error Item Type          
    Error Item Key          
    Error User Key          
    Error Message          oracle.apps.fnd.wf.bes.InvokerException: Event payload is not available
    Error Name          
    Error Notification ID          
    Error Result Code          
    Error Stack          oracle.apps.fnd.wf.bes.InvokerException: Event payload is not available at oracle.apps.fnd.wf.bes.WebServiceInvokerSubscription.onBusinessEvent(WebServiceInvokerSubscription.java:236) at
    oracle.apps.fnd.wf.bes.EventDispatcher.executeSubscription(EventDispatcher.java:870) at oracle.apps.fnd.wf.bes.EventDispatcher.processSubscription(EventDispatcher.java:556) at
    oracle.apps.fnd.wf.bes.EventDispatcher.dispatch(EventDispatcher.java:335) at oracle.apps.fnd.wf.bes.AgentListenerProcessorNew.processMessage(AgentListenerProcessorNew.java:373) at
    oracle.apps.fnd.cp.gsc.SvcComponentProcessor.process(SvcComponentProcessor.java:659) at oracle.apps.fnd.cp.gsc.Processor.run(Processor.java:283) at java.lang.Thread.run(Thread.java:619)
    Error Monitor URL          
    Timeout Value          0
    Event Name          oracle.apps.ap.event.invoice.approval
    Event Details          PLSQL:WF_STANDARD.EVENTDETAILS/WFERROR:332124
    Event Message          View Event Message
    Event Key          3134525_1
    Event Data URL     http://hostname.co.nz:8000/OA_HTML/RF.jsp?function_id=18157&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US&
    params=.tut9vCLHp8BRzYkdaLWV3ekOnBGTRSUSr1RYBqw0ISKruqT5nAzoOSzIkWSQrzWO8z23dyX31GlRw75r21ich1KC4hE2KL.ZedjIDcPalm8f.akDClydWkRR3w2eGuk
    Event Subscription http://hostname:8000/OA_HTML/RF.jsp?function_id=26058&resp_id=-1&resp_appl_id=-1&security_group_id=0&lang_code=US&
    params=fR9VOZbtfJEdYQNb645CRU3kD39os3CZwt7XUpbOYb1RImgFkWaeDFEV0SCaVn1M
    Error Type          UNEXPECTED
    Error Details          PLSQL:WF_STANDARD.ErrorDetails/WFERROR:332124
    Administrator Role          SYSADMIN
    Subscription Details          PLSQL:WF_STANDARD.SubscriptionDetails/WFERROR:332124
    Error Person ID          
    Error Person Username          
    How do I get access to the payload? I only really need 2 or 3 items at this time. Do I need to extend a seeded java function? For example in my initial tests I only want to pass across the Invoice Id so how do I get the value of this attribute out of the wf_event_t (Is this the correct object name) and into the payload that is being passed across to the service call.
    Cheers
    Owen

    Hello Owen
    I am experiencing the exact same issue as you are (missing payload) when invoking a web service and was wondering if you have resolved this issue or gotten any new useful information?
    Regards,
    Magnus

  • Workflow using FCPX and AVCHD.

    Hi All,
    I'm about to start on a new series of projects, and just wanted some clarification from people cleverer than I about the proposed workflow from the client (who knows as little about this as I do!).
    The footage is to be recorded 1080i (Sony hxr-nx70e). The footage recorded in AVCHD onto SDHC cards. Those cards will then be sent to me. I would import the footage into FCP X directly from the cards through my Imac's SDXC inbuilt card reader (and in 'capturing' the footage I would save it - and the project to an external raid drive) then I edit away.
    Now A) Does that workflow make sense?
    and B) Will FCPX be able to see the footage and use it imediately without converting it?
    Be really greatful for any help here. I think that's all correct but I just wanted to clarify before I tell them this suggestion would work.
    Thanks.
    Tim

    The first thing you should domis use FCP to make an archive of the card onto a backup drive. Import from the archive. No need to wait for conversion, you can start editing immediately after you've selected the clips and closed the import window.

Maybe you are looking for

  • How to move E-Business from HP-UX to AIX

    Do you have any reference on how to move E-Business suite to different operating systems or more specifically from HP-UX to AIX? Thx.

  • How do i clear my cache from a failed mac 10.7.5 download

    Hi all, I tried to update from OSx 10.7.3 to the combo 10.7.5 through software updater and it failed at 99% saying its corrupt.  How do I delete this attempt from my cache so I can try again?  It says its still at 99%.  Any help is greatly appreciate

  • How to load master data from 2 source system without using 0logsys as compo

    Hi Gurus, I am working on a project which has 2 source systems. Now I have to load master data from 2 source systems without making 0LOGSYS as compunding attribute. Because all the objects which i want to use compunding attribute are reference object

  • Logical joins vs Physical joins

    Hello, Can anyone tell me what is the difference between physical joins and logical joins. And how OBI Server treats the joins in relation to the Logical and Physical Layer. I'm a little confused also with the place to configure the joins, since ther

  • APP for iMac?

    Hello, I just bought the APP for iMac becuse it was a brilliant deal on eb and way cheaper than the uk.Anyway one question about Techtool deluxe ...is it usefull and does it do a similar if not better job the OnyX becuse I have used that for a long t