On action submit

Gudday,
I need to integrate adobeform in my WDA.My sample adobefrom displays just pernr and first name.
Should i write select statements in on action submit function to fill the form dynamically?
Can anyone suggest me how can i do this??
Awaiting your reply.
Thanks,
Deepthi.

hi, i too came across the same problem as yours.. what i did was i wrote coding in wddoinit, which then calls layout from ftp transaction.. my code in wddoinit was,
    data lo_nd_zfp_emp_01 type ref to if_wd_context_node.
  data lo_el_zfp_emp_01 type ref to if_wd_context_element.
  data ls_zfp_emp_01 type wd_this->element_zfp_emp_01.
navigate from <CONTEXT> to <ZFP_EMP_01> via lead selection
  lo_nd_zfp_emp_01 = wd_context->get_child_node( name = wd_this->wdctx_zfp_emp_01 ).
get element via lead selection
  lo_el_zfp_emp_01 = lo_nd_zfp_emp_01->get_element(  ).
get all declared attributes
  lo_el_zfp_emp_01->get_static_attributes(
    importing
      static_attributes = ls_zfp_emp_01 ).
  CONSTANTS:    c_graphics    TYPE   tdobjectgr  VALUE 'GRAPHICS',
                c_bmap        TYPE   tdidgr      VALUE 'BMAP' ,
                c_bcol        TYPE   tdbtype     VALUE 'BCOL'.
  DATA:         lv_pernr1 TYPE tdobname.
Vorna and Nachn.
  ls_zfp_emp_01-i_firstname = 'VIKRAM'.
  ls_zfp_emp_01-i_lastname = 'SALVI'.
Get the Photographs.
lv_pernr1 = '00000028'. " Employee Number
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
   EXPORTING
     p_object       = c_graphics
     p_name         = lv_pernr1
     p_id           = c_bmap
     p_btype        = c_bcol
   RECEIVING
     p_bmp          = ls_zfp_emp_01-i_photo
   EXCEPTIONS
     not_found      = 1
     internal_error = 2
     OTHERS         = 3.
Send the values back to the node
  lo_el_zfp_emp_01->set_static_attributes(
    EXPORTING
      static_attributes = ls_zfp_emp_01 ).
go through this code,
it will work, all u need to do is make some changes according to ur program in above,
hope u find it useful..
regards,
vikram salvi

Similar Messages

  • Trigger Pop up on action submit

    Hi ,
    I have developed one webdynpro with interactive form. On Action submit , I'm able to trigger popup.
    But my problem is in my submit method, after calling this popup method, I have some other code, which is getting executed before displaying the popup. After executing complete submit method then POPup is  displaying. 
    How can I restrict for not executing rest of the code in submit method, until user clicks OK button in the pop-up?
    Appreciate your response.
    With Regards,
    Ravi.D

    Hi Ravi,
    You would do something like shown below:
    * Popup
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
        window_name          = 'W_POPUP' " your window name
        message_display_mode = if_wd_window=>co_msg_display_mode_selected
        button_kind          = if_wd_window=>co_buttons_ok
        message_type         = if_wd_window=>co_msg_type_none
        default_button       = if_wd_window=>co_button_ok
      DATA:  l_api TYPE REF TO if_wd_view_controller.
      l_api = wd_this->wd_get_api( ).
      lo_window->subscribe_to_button_event(
                   button            = if_wd_window=>co_button_ok
                   action_name       = 'ON_OK
                   action_view       = l_api
                   is_default_button = abap_true ).
      lo_window->open( ).
    As you can see both the call to CREATE_WINDOW & the subscription to the popups buttons are present in the same view. In this snippet I am specifying that up on clicking my popups OK button I would like to trigger the action ON_ACTION. So you would also have to keep in mind to create this action in the "Actions" tab of your view.
    Regards,
    Uday

  • How integrate BPM Action(Submit,Approve) with ADF using worklist APIs

    Hi All,
    Can anyone please help me to say that how to implement the work-list APIs for integrating BPM Actions (Submit,Approve etc.) in Custom ADF page?
    Thanks in Adv.

    Hi Renuka,
    There are basically two ways to create an ADF UI for a BPM Task:
    1. Generate it from the task
    2. Create a ADF Taskflow based on Human Workflow Task
    Since I tell this by heart, I might be slightly wrong in the terms.
    You probably want to try the second option. It is accessible from the "New Gallery". You'll have to provide the Human Task from the BPM project, but then you can build up the ADF Taskflow by your self, based on the customizations of the rest of your application.
    Should not be rocket science for someone with ADF11g experience. Since it is not my dayly job, I need to figure it out every time again ;). But I did it in the past and it wasn't so hard.
    Regards,
    Martien

  • Show/Hide action & Submit Form action on mobile apps

    I want to set up multiple small "help" buttons in various places on my PDF form so that when the user clicks on them, additional information is shown.
    However, my understanding is the the show/hide action is not supported on most mobile devices using the free Adobe Reader.
    Do tool tips work on mobile devices?
    Does the Submit Form work on mobile devices?
    Can anyone help with a suggestion/workaround?

    Hi,
    bind the value properties of the input fields to a managed bean in viewScope. E.g. value=#{viewScope.managedBean.attributeName}. This then guarantees that the bean content survives the request and the data is still there
    Frank

  • BPM WorkSpace- Action Submit -  HTTP 404  - BPM 11g

    Whenever i click on Submit on a User- Initiator task, i get below error...
    However Instance gets completed on that step and goes to next step.
    The webpage cannot be found
    HTTP 404
    Most likely causes:
    •There might be a typing error in the address.
    •If you clicked on a link, it may be out of date.
    What you can try:
    Retype the address.
    Go back to the previous page.
    Go to and look for the information you want.

    Please have a look at: Re: OracleJSP error: java.io.FileNotFoundException when submitting form

  • GP Process - Blank Screen on Action Submit

    Hi,
    I have a typical problem where I'm stuck and tried many ways.
    My scenario is like, I have a simple GP process where there are 3 steps.
    Action 1(User Create Form) - > Action 2 (Email notification) - Action 3 (Approve)
    I'm able to run the process completely but problem is that after Action 1, I get a blank screen. I dont get a message like your action has been completed. Email goes successfully and also work item comes in UWL for approver.
    I dont understand why I GET BLANK PAGE and no action complete message appears.
    Thank you very much in advance.
    Thanks.
    Shiva

    Hi,
    My scenario is like, I have a simple GP process where there are 3 steps.
    Action 1(User Create Form) - > Action 2 (Email notification) - Action 3 (Approve)
    who is the processor for Action 1, 2 and 3?
    if User1is the current processor of Action1 and Action2, then After Completing the email notification Callable object only, u will get the Message "Action has been completed".
    User2 will Approve the form and get the message Action is Completed.
    can u say me , who is processor for this email callable object?
    Thanks and Regards

  • Sending the adobe form to SAP inbox with data (on submit action)

    Hi,
    I am fectching the data from the database table in WDDOINIT method and displaying it on the form. Now my requirement is that, on the action SUBMIT, I have to send this Form to SAP user inbox.
    I wrote a code to send the form as pdf attachment by giving the form name.. but the data are not passed. only the form goes to the sap inbox.
    My question is,  how to send the form as pdf attachment with the data that are fetched...?

    Hi,
    create the parameter FP_FORMOUTPUT as IMPORT parameter structure FPFORMOUTPUT and t_att_content_hex parameter is as XSTRING.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = FP_FORMOUTPUT-pdf
    *   APPEND_TO_TABLE       = ' '
    * IMPORTING
    *   OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = t_att_content_hex
    For sending code as PDF attachment to SAP Inbox
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
    * Message body and subject
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Please fill the attached form and send it back to us.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'Personnel Information Form' ).
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'Personnel Information Form'
    * I_ATTACHMENT_SIZE =
    * I_ATTACHMENT_LANGUAGE = SPACE
    * I_ATT_CONTENT_TEXT =
    * I_ATTACHMENT_HEADER =
          i_att_content_hex = t_att_content_hex ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    * Add attachment
    * Pass the document to send request
      lo_send_request->set_document( lo_document ).
    * Create sender
      DATA:
      lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
      l_send type ADR6-SMTP_ADDR value 'provide Email id here'.
      lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    * Set sender
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    * Create recipient
      DATA:
      lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
      lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    * Set recipient
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    *  lo_send_request->add_recipient(
    *  EXPORTING
    *  i_recipient = lo_recipient
    *  i_express = 'X' ).
    * Send email
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
    Thanks.

  • How to submit InfoPath form data to multiple SharePoint lists at one time?

    Hi,
    I'm looking for a way to submit certain data in InfoPath form to separate SharePoint lists at the same time. I have a form that has two views with many data in them. I want to keep these data in separate SharePoint list besides keeping them in the XML. I know that you can submit to a form library using SharePoint document library data connection, but I'm not sure if you can use several data connections for submitting data to multiple SharePoint lists. Is it only possible to do using code? If yes, can anyone show a sample. I have never coded in InfoPath, though I used C# a lot in .Net.
    Thank you!Regards,
    R.D.M.

    This is an old thread but I tripped over a codeless method to do this with OOB InfoPath 2010 and SP 2010. 
    Assuming your main InfoPath form is published to a document library with the promoted fields that you want to see.
      Publish your form to a new document library to capture the secondary data fields that you want separated out.
    Using the Publishing Wizard do the following:
    Go to – File then Publish
    Select SharePoint Server “ Publish form to a SharePoint Library”
    Enter location of your SharePoint or InfoPath Forms Services Site: 
    accept the default in this field from the first published event
    Next screen, keep the default or change it, Form Library, Site Content Type or Admin Approved
    Next screen, What do you want to do?
    Create a new form library
    Add new document library name and description
    Next screen, Remove all promoted fields not applicable to the new library and add all of the ones you want to see data for.
    Click Next and Publish
    Come back into the form: If you don’t have buttons added directly to the form to submit or update, add them.
    Create a new Action rule on the button
    Label the rule to keep it straight
    Condition, occurs when button clicked
    Add action, Submit data
    Use data connection to the second library created
    Create a second new Action rule on the same button
    Label the rule to keep it straight
    Condition, occurs when button clicked
    Add action, Submit data
    Use original data connection to the library
    Then you can add another action to close the form or do whatever you need.
    Republish the form to both libraries to set the template for both.
    File – Publish – SharePoint Server
    Select Secondary library from drop down follow the rest of the prompts
    Follow step 5a again, select Primary library from drop down, Add back in all of the promoted fields needed for the primary library and follow the prompts.
    DOCUMENT YOUR FORM WELL FOR MAINTENANCE
    Special considerations, your primary library needs a unique ID to reference in your secondary library.
    Your secondary library will need a unique ID that is not related to the primary if you are going to store multiple records for a single primary library reference. 
    Example: One form, multiple updates.

  • How do I submit a pdf form to a direct email link?

    I created a Pdf form It has a submit button on the bottom. I cannot figure out how to submit it to a specific email address on my website. It will open up the website but does not deliver the form to the email. in fact I actually have no idea where the form goes

    Im assuming that the button is created and placed as a plain button
    select the button > Right Click > properties > select an event (I use mouseup) > select an action > submit form > then hit the add button > then insert mailto:[email protected] > then select export format.
    Done

  • Add action in a popup problem

    Hello,
    I want to add custom action when i click on my 'Yes' or 'No'.
    This the code i used to create my and add actions to it.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
                         window_name            = 'POPUP_WIND'
                         title                  = 'Microsoft Internet Explorer'
                       close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                         close_button           = abap_true
                         button_kind            = if_wd_window=>CO_BUTTONS_YESNO
                         message_type           = if_wd_window=>CO_MSG_TYPE_QUESTION
                         default_button         = if_wd_window=>CO_BUTTON_NO
      lr_view_controller = wd_this->wd_get_api( ).
      lo_window->subscribe_to_button_event( button = if_wd_window=>CO_BUTTON_YES button_text = 'Yes'
                                            action_name = 'SUBMIT' action_view = lr_view_controller ).
      lo_window->subscribe_to_button_event( button = if_wd_window=>CO_BUTTON_NO button_text = 'NO'
                                            action_name = 'Cancel' action_view = lr_view_controller ).
      lo_window->open( ).
    In my view that calls the popup i have created the action submit and cnacel.
    But when i run the WDA i get this message:  Action &OBJECT_ID& does not exist
    Does any one have a clue?
    Thanks

    action_name = 'Cancel' action_view = lr_view_controller ).
    IT SHOULD BE IN CAPS I.E. CANCEL NOT Cancel
    so write it like
    action_name = 'CANCEL' action_view = lr_view_controller ).                  " cancel in caps CANCEL
    This will work.
    thanks
    sarbjeet singh
    Edited by: sarbjeet  singh on Feb 9, 2011 3:26 PM

  • Set Form Value and Submit Via Applet

    Hi Friends,
    suppose you have a form such as:
    <form action="submit.jsp" method="post" name = emailForm>
    <input type="text" name="emailField" size = 43>
    </form>And an applet appears on the same JSP page that the form resides.
    This applet is a simple one that takes email addresses and validates them and on clicking on a button labelled submit, the applet is to set the text field of the form to the email address provided and then submit the form. How can I achieve this?
    Thanks and regards.

    Check out http://www.codeproject.com/jscript/javatojs.asp
    You could use something like MainWin.eval("document.emailForm.submit");

  • ADF UI for HT Submit Error

    Hi guys,
    I've created an ADF UI for a HT using the add ADF taskflow based on human task method. From the generated data control I added on the taskdetails.jspx page the full task details (history, comments, attachments, payload, task actions etc.) - I'm using the PS5 version of BPM & JDev.
    The problem appears when I try to submit the task from BPM Workspace using the submit button in the task details. The following error pops-up:
    Workflow Service Engine callback to SOA mesh failed. Callback operation onTaskCompleted from default/manual-input-process-pepsi!3.0/CreateBatchHT to ManualInput/HumanTasks.CreateBatchHT.reference failed with error: Schema validation failed for message part payload. Please ensure at the message sender level that the data sent is schema compliant. Element uri not expected. Check the underlying exception. Ensure that the SOA composite is configured correctly.
    The AdminServer.out file logs has the following entries:
    *<08-Feb-2013 10:28:33 o'clock GMT> <Error> <oracle.soa.services.workflow.soa> <BEA-000000> <<WorkflowServiceEngine.postToMesh> FabricInvocationException posting to SOA mesh: Schema validation failed for message part payload. Please ensure at the message sender level that the data sent is schema compliant. Element 'uri' not expected.
    Operation was: onTaskCompleted on CreateBatchHT from ManualInput/HumanTasks.CreateBatchHT.reference
    Normalized message:
    NormalizedMessage Headers:
    NormalizedMessage Properties:
    tracking.compositeInstanceId:60155
    tracking.ecid:393aa426ffa7998d:-473d69a4:13caf0f746a:-8000-000000000003c307
    priority:0
    tracking.conversationId:urn:F367BC4071D911E28F57B5E05788C099
    tracking.compositeInstanceCreatedTime:Fri Feb 08 10:26:07 GMT 2013
    MESH_METRICS:null
    transport.http.remoteAddress:10.168.41.89
    NormalizedMessage Payload:
    payload:
    <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <title>Create Batch</title>
    <payload><batch xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <batchHeader xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
    <id>2</id>
    <batchId>80115</batchId>
    <batchType>Partial</batchType>
    <merchantId>11111</merchantId>
    <merchantName>Carrefour</merchantName>
    <transactionType>02</transactionType>
    <slips>3</slips>
    <batchTotal>1542.25</batchTotal>
    <batchCurrency>GBP</batchCurrency>
    <captureMethod>Tally Roll</captureMethod>
    <status>In Progress</status>
    <created>2013-02-08</created>
    <updated>2013-02-08</updated>
    </batchHeader>
    <transactions xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
    <transaction><id>1</id><cardNumber>123-456-789</cardNumber><issueNumber>1</issueNumber><transactionTime>00:00:00Z</transactionTime><transactionDate>2013-02-08Z</transactionDate><authCode>2</authCode><expiryDate>2013-02-08Z</expiryDate><receiptNumber>3</receiptNumber><transactionAmount>785.25</transactionAmount><cashbackAmount>0.0</cashbackAmount><status>x</status><created>2013-02-08Z</created><updated>2013-02-08Z</updated></transaction><transaction>
    <id>2</id>
    <cardNumber>123-456-789</cardNumber>
    <issueNumber>2</issueNumber>
    <transactionTime>10:26:07+00:00</transactionTime>
    <transactionDate>2013-02-08</transactionDate>
    <authCode>3</authCode>
    <expiryDate>2013-02-08</expiryDate>
    <receiptNumber>2</receiptNumber>
    <transactionAmount>500.12</transactionAmount>
    <cashbackAmount>0.0</cashbackAmount>
    <status>x</status>
    <created>2013-02-08</created>
    <updated>2013-02-08</updated>
    </transaction>
    </transactions>
    </batch>
    </payload>
    <taskDefinitionURI>default/manual-input-process-pepsi!3.0/CreateBatchHT</taskDefinitionURI>
    <ownerRole>manual-input-process-pepsi.ProcessOwner</ownerRole>
    <priority>3</priority>
    <identityContext>jazn.com</identityContext>
    <processInfo>
    <instanceId>80115</instanceId>
    <processId>ManualInput</processId>
    <processName>Manual Input</processName>
    </processInfo>
    <systemAttributes>
    <acquiredBy>achrist</acquiredBy>
    <approvalDuration>145429</approvalDuration><approvers>achrist</approvers><assignedDate>2013-02-08T10:26:08Z</assignedDate>
    <createdDate>2013-02-08T10:26:08Z</createdDate>
    <customActions>
    <action>SUBMIT</action>
    <displayName>Submit</displayName>
    </customActions>
    <digitalSignatureRequired>false</digitalSignatureRequired>
    <displayInfo>
    <applicationName>worklist</applicationName>
    <hostname>bpm.basedev</hostname>
    <httpPort>7001</httpPort>
    <uri>/workflow/BatchCreateUITest/faces/adf.task-flow?_id=CreateBatchHT_TaskFlow&amp;_document=WEB-INF/CreateBatchHT_TaskFlow.xml</uri>
    </displayInfo>
    <endDate>2013-02-08T10:28:33.429Z</endDate><hasSubTasks>false</hasSubTasks>
    <inShortHistory>true</inShortHistory>
    <isGroup>true</isGroup>
    <numberOfTimesModified>5</numberOfTimesModified>
    <outcome>SUBMIT</outcome><passwordRequiredOnUpdate>false</passwordRequiredOnUpdate>
    <pushbackSequence>INITIAL_ASSIGNEES;1-5</pushbackSequence>
    <secureNotifications>false</secureNotifications>
    <shortHistory>
    <task>
    <state>ASSIGNED</state>
    <updatedBy>
    <id>workflowsystem</id>
    <type>user</type>
    </updatedBy>
    <updatedDate>2013-02-08T10:26:08Z</updatedDate>
    <version>1</version>
    <versionReason>TASK_VERSION_REASON_INITIATED</versionReason>
    </task>
    <task>
    <state>ASSIGNED</state>
    <updatedBy>
    <id>achrist</id>
    <type>user</type>
    </updatedBy>
    <updatedDate>2013-02-08T10:28:11Z</updatedDate>
    <version>2</version>
    <versionReason>TASK_VERSION_REASON_ACQUIRED</versionReason>
    </task>
    </shortHistory>
    <state>COMPLETED</state>
    <systemActions>
    <action>UPDATE_COMMENT</action>
    </systemActions>
    <systemActions>
    <action>VIEW_SUB_TASKS</action>
    </systemActions>
    <systemActions>
    <action>DELEGATE</action>
    </systemActions>
    <systemActions>
    <action>SUSPEND</action>
    </systemActions>
    <systemActions>
    <action>UPDATE</action>
    </systemActions>
    <systemActions>
    <action>UPDATE_ATTACHMENT</action>
    </systemActions>
    <systemActions>
    <action>ESCALATE</action>
    </systemActions>
    <systemActions>
    <action>RELEASE</action>
    </systemActions>
    <systemActions>
    <action>VIEW_PROCESS_HISTORY</action>
    </systemActions>
    <systemActions>
    <action>REASSIGN</action>
    </systemActions>
    <systemActions>
    <action>VIEW_TASK</action>
    </systemActions>
    <systemActions>
    <action>CUSTOM</action>
    </systemActions>
    <systemActions>
    <action>INFO_REQUEST</action>
    </systemActions>
    <systemActions>
    <action>VIEW_TASK_HISTORY</action>
    </systemActions>
    <taskId>0c4e1fc2-9589-42be-87f3-b04e67a67dd4</taskId>
    <taskNumber>208601</taskNumber>
    <updatedBy><id>achrist</id><displayName>Agatha Christie</displayName><type>user</type></updatedBy>
    <updatedDate>2013-02-08T10:28:33Z</updatedDate>
    <version>5</version>
    <versionReason>TASK_VERSION_REASON_COMPLETED</versionReason>
    <taskDefinitionId>default/manual-input-process-pepsi!3.0/CreateBatchHT</taskDefinitionId>
    <taskDefinitionName>CreateBatchHT</taskDefinitionName>
    <workflowPattern>Participant</workflowPattern>
    <isTestTask>false</isTestTask>
    <participantName>default.DefaultPerformer</participantName>
    <assignees>
    <id>manual-input-process-pepsi.Operator</id>
    <displayName>manual-input-process-pepsi.Operator</displayName>
    <type>application_role</type>
    </assignees>
    <rootTaskId>0c4e1fc2-9589-42be-87f3-b04e67a67dd4</rootTaskId>
    <systemStringActions>PUSH_BACK,sharePayload</systemStringActions>
    <isTemplateTask>false</isTemplateTask>
    <taskViewContext>Claimed</taskViewContext>
    <taskNamespace>http://xmlns.oracle.com/pepsi-integration-layer/manual-input-process-pepsi/CreateBatchHT</taskNamespace>
    <actionDisplayName>Task Updated</actionDisplayName>
    <timers></timers>
    <componentType>Workflow</componentType>
    <activityName>Create Batch</activityName>
    <activityId>ABSTRACT_ACTIVITY578594249360</activityId>
    <thread>0</thread>
    <parentThread>-1</parentThread>
    <swimlaneRole>Operator</swimlaneRole>
    <timersSuspended>false</timersSuspended>
    </systemAttributes>
    <systemMessageAttributes/>
    <callback>
    <id>ManualInput/HumanTasks.CreateBatchHT.reference</id>
    <converstationId>urn:F367BC4071D911E28F57B5E05788C099</converstationId>
    </callback>
    <isPublic>false</isPublic>
    <percentageComplete>100.0</percentageComplete><sca>
    <applicationName>default</applicationName>
    <componentName>CreateBatchHT</componentName>
    <compositeDN>default/manual-input-process-pepsi!3.0*soa_9c48401c-891f-4712-8b35-910292e859b3</compositeDN>
    <compositeInstanceId>60155</compositeInstanceId>
    <compositeName>manual-input-process-pepsi</compositeName>
    <compositeVersion>3.0</compositeVersion>
    <ecId>393aa426ffa7998d:-473d69a4:13caf0f746a:-8000-000000000003c307</ecId>
    <parentComponentInstanceId>bpmn:80115</parentComponentInstanceId>
    <parentComponentInstanceRefId>80115-ABSTRACT_ACTIVITY578594249360-ManualInput_try.2-3</parentComponentInstanceRefId>
    <compositeCreatedTime>2013-02-08T10:26:07.506Z</compositeCreatedTime>
    </sca>
    <applicationContext>OracleBPMProcessRolesApp</applicationContext>
    <taskDefinitionId>default/manual-input-process-pepsi!3.0/CreateBatchHT</taskDefinitionId>
    <correlationId>0c4e1fc2-9589-42be-87f3-b04e67a67dd4</correlationId>
    <mdsLabel>soa_9c48401c-891f-4712-8b35-910292e859b3</mdsLabel>
    <customAttributes>
    <customAttributeNumber1>0.0</customAttributeNumber1>
    <customAttributeNumber2>0.0</customAttributeNumber2>
    </customAttributes>
    </task>
    >
    <08-Feb-2013 10:28:33 o'clock GMT> <Error> <oracle.soa.services.workflow.task> <BEA-000000> <<.> Workflow Service Engine callback to SOA mesh failed.
    Callback operation onTaskCompleted from default/manual-input-process-pepsi!3.0/CreateBatchHT to ManualInput/HumanTasks.CreateBatchHT.reference failed with error: Schema validation failed for message part payload. Please ensure at the message sender level that the data sent is schema compliant. Element 'uri' not expected.
    Check the underlying exception. Ensure that the SOA composite is configured correctly.
    If I try to submit the task by using the submit action in the actions drop down embedded in the task inbox, the task submits successfully. The output data from the human task, as it appears in EM with an audit level set on development, is:
    *<auditQueryPayload auditId="7754000" ciKey="60155">
         <serviceOutput>
              <element name="execData" detailId="6273" isBusinessIndicator="false">
                   <value>
                        <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
                             <title>Create Batch</title>
                             <payload>
                                  <batch xmlns="http://xmlns.oracle.com/bpel/workflow/task">
                                       <batchHeader xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
                                            <id>2</id>
                                            <batchId>80115</batchId>
                                            <batchType>Partial</batchType>
                                            <merchantId>11111</merchantId>
                                            <merchantName>Carrefour</merchantName>
                                            <transactionType>02</transactionType>
                                            <slips>3</slips>
                                            <batchTotal>1542.25</batchTotal>
                                            <batchCurrency>GBP</batchCurrency>
                                            <captureMethod>Tally Roll</captureMethod>
                                            <status>In Progress</status>
                                            <created>2013-02-08</created>
                                            <updated>2013-02-08</updated>
                                       </batchHeader>
                                       <transactions xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
                                            <transaction>
                                                 <id>1</id>
                                                 <cardNumber>123-456-789</cardNumber>
                                                 <issueNumber>1</issueNumber>
                                                 <transactionTime>00:00:00Z</transactionTime>
                                                 <transactionDate>2013-02-08Z</transactionDate>
                                                 <authCode>2</authCode>
                                                 <expiryDate>2013-02-08Z</expiryDate>
                                                 <receiptNumber>3</receiptNumber>
                                                 <transactionAmount>785.25</transactionAmount>
                                                 <cashbackAmount>0.0</cashbackAmount>
                                                 <status>x</status>
                                                 <created>2013-02-08Z</created>
                                                 <updated>2013-02-08Z</updated>
                                            </transaction>
                                            <transaction>
                                                 <id>2</id>
                                                 <cardNumber>123-456-789</cardNumber>
                                                 <issueNumber>2</issueNumber>
                                                 <transactionTime>10:26:07+00:00</transactionTime>
                                                 <transactionDate>2013-02-08</transactionDate>
                                                 <authCode>3</authCode>
                                                 <expiryDate>2013-02-08</expiryDate>
                                                 <receiptNumber>2</receiptNumber>
                                                 <transactionAmount>500.12</transactionAmount>
                                                 <cashbackAmount>0.0</cashbackAmount>
                                                 <status>x</status>
                                                 <created>2013-02-08</created>
                                                 <updated>2013-02-08</updated>
                                            </transaction>
                                       </transactions>
                                  </batch>
                             </payload>
                             <taskDefinitionURI>default/manual-input-process-pepsi!3.0/CreateBatchHT</taskDefinitionURI>
                             <ownerRole>manual-input-process-pepsi.ProcessOwner</ownerRole>
                             <priority>3</priority>
                             <identityContext>jazn.com</identityContext>
                             <processInfo>
                                  <instanceId>80115</instanceId>
                                  <processId>ManualInput</processId>
                                  <processName>Manual Input</processName>
                             </processInfo>
                             <systemAttributes>
                                  <acquiredBy>achrist</acquiredBy>
                                  <approvalDuration>255153</approvalDuration>
                                  <approvers>achrist</approvers>
                                  <assignedDate>2013-02-08T10:26:08Z</assignedDate>
                                  <createdDate>2013-02-08T10:26:08Z</createdDate>
                                  <digitalSignatureRequired>false</digitalSignatureRequired>
                                  <endDate>2013-02-08T10:30:23.153Z</endDate>
                                  <hasSubTasks>false</hasSubTasks>
                                  <inShortHistory>true</inShortHistory>
                                  <isGroup>true</isGroup>
                                  <numberOfTimesModified>5</numberOfTimesModified>
                                  <outcome>SUBMIT</outcome>
                                  <passwordRequiredOnUpdate>false</passwordRequiredOnUpdate>
                                  <pushbackSequence>INITIAL_ASSIGNEES;1-5</pushbackSequence>
                                  <secureNotifications>false</secureNotifications>
                                  <state>COMPLETED</state>
                                  <taskId>0c4e1fc2-9589-42be-87f3-b04e67a67dd4</taskId>
                                  <taskNumber>208601</taskNumber>
                                  <updatedBy>
                                       <id>achrist</id>
                                       <displayName>Agatha Christie</displayName>
                                       <type>user</type>
                                  </updatedBy>
                                  <updatedDate>2013-02-08T10:30:23Z</updatedDate>
                                  <version>5</version>
                                  <versionReason>TASK_VERSION_REASON_COMPLETED</versionReason>
                                  <taskDefinitionId>default/manual-input-process-pepsi!3.0/CreateBatchHT</taskDefinitionId>
                                  <taskDefinitionName>CreateBatchHT</taskDefinitionName>
                                  <workflowPattern>Participant</workflowPattern>
                                  <isTestTask>false</isTestTask>
                                  <participantName>default.DefaultPerformer</participantName>
                                  <assignees>
                                       <id>manual-input-process-pepsi.Operator</id>
                                       <displayName>manual-input-process-pepsi.Operator</displayName>
                                       <type>application_role</type>
                                  </assignees>
                                  <rootTaskId>0c4e1fc2-9589-42be-87f3-b04e67a67dd4</rootTaskId>
                                  <systemStringActions>PUSH_BACK,sharePayload</systemStringActions>
                                  <isTemplateTask>false</isTemplateTask>
                                  <taskViewContext>Claimed</taskViewContext>
                                  <taskNamespace>http://xmlns.oracle.com/pepsi-integration-layer/manual-input-process-pepsi/CreateBatchHT</taskNamespace>
                                  <actionDisplayName>Task Updated</actionDisplayName>
                                  <timers/>
                                  <componentType>Workflow</componentType>
                                  <activityName>Create Batch</activityName>
                                  <activityId>ABSTRACT_ACTIVITY578594249360</activityId>
                                  <thread>0</thread>
                                  <parentThread>-1</parentThread>
                                  <swimlaneRole>Operator</swimlaneRole>
                                  <timersSuspended>false</timersSuspended>
                             </systemAttributes>
                             <systemMessageAttributes/>
                             <callback>
                                  <id>ManualInput/HumanTasks.CreateBatchHT.reference</id>
                                  <converstationId>urn:F367BC4071D911E28F57B5E05788C099</converstationId>
                             </callback>
                             <isPublic>false</isPublic>
                             <percentageComplete>100.0</percentageComplete>
                             <sca>
                                  <applicationName>default</applicationName>
                                  <componentName>CreateBatchHT</componentName>
                                  <compositeDN>default/manual-input-process-pepsi!3.0*soa_9c48401c-891f-4712-8b35-910292e859b3</compositeDN>
                                  <compositeInstanceId>60155</compositeInstanceId>
                                  <compositeName>manual-input-process-pepsi</compositeName>
                                  <compositeVersion>3.0</compositeVersion>
                                  <ecId>393aa426ffa7998d:-473d69a4:13caf0f746a:-8000-000000000003c307</ecId>
                                  <parentComponentInstanceId>bpmn:80115</parentComponentInstanceId>
                                  <parentComponentInstanceRefId>80115-ABSTRACT_ACTIVITY578594249360-ManualInput_try.2-3</parentComponentInstanceRefId>
                                  <compositeCreatedTime>2013-02-08T10:26:07.506Z</compositeCreatedTime>
                             </sca>
                             <applicationContext>OracleBPMProcessRolesApp</applicationContext>
                             <taskDefinitionId>default/manual-input-process-pepsi!3.0/CreateBatchHT</taskDefinitionId>
                             <correlationId>0c4e1fc2-9589-42be-87f3-b04e67a67dd4</correlationId>
                             <mdsLabel>soa_9c48401c-891f-4712-8b35-910292e859b3</mdsLabel>
                             <customAttributes>
                                  <customAttributeNumber1>0.0</customAttributeNumber1>
                                  <customAttributeNumber2>0.0</customAttributeNumber2>
                             </customAttributes>
                        </task>
                   </value>
              </element>
              <element name="batch" detailId="6274" isBusinessIndicator="false">
                   <value>
                        <batch xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
                             <batchHeader xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
                                  <id>2</id>
                                  <batchId>80115</batchId>
                                  <batchType>Partial</batchType>
                                  <merchantId>11111</merchantId>
                                  <merchantName>Carrefour</merchantName>
                                  <transactionType>02</transactionType>
                                  <slips>3</slips>
                                  <batchTotal>1542.25</batchTotal>
                                  <batchCurrency>GBP</batchCurrency>
                                  <captureMethod>Tally Roll</captureMethod>
                                  <status>In Progress</status>
                                  <created>2013-02-08</created>
                                  <updated>2013-02-08</updated>
                             </batchHeader>
                             <transactions xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
                                  <transaction>
                                       <id>1</id>
                                       <cardNumber>123-456-789</cardNumber>
                                       <issueNumber>1</issueNumber>
                                       <transactionTime>00:00:00Z</transactionTime>
                                       <transactionDate>2013-02-08Z</transactionDate>
                                       <authCode>2</authCode>
                                       <expiryDate>2013-02-08Z</expiryDate>
                                       <receiptNumber>3</receiptNumber>
                                       <transactionAmount>785.25</transactionAmount>
                                       <cashbackAmount>0.0</cashbackAmount>
                                       <status>x</status>
                                       <created>2013-02-08Z</created>
                                       <updated>2013-02-08Z</updated>
                                  </transaction>
                                  <transaction>
                                       <id>2</id>
                                       <cardNumber>123-456-789</cardNumber>
                                       <issueNumber>2</issueNumber>
                                       <transactionTime>10:26:07+00:00</transactionTime>
                                       <transactionDate>2013-02-08</transactionDate>
                                       <authCode>3</authCode>
                                       <expiryDate>2013-02-08</expiryDate>
                                       <receiptNumber>2</receiptNumber>
                                       <transactionAmount>500.12</transactionAmount>
                                       <cashbackAmount>0.0</cashbackAmount>
                                       <status>x</status>
                                       <created>2013-02-08</created>
                                       <updated>2013-02-08</updated>
                                  </transaction>
                             </transactions>
                        </batch>
                   </value>
              </element>
              <element name="outcome" isBusinessIndicator="false">
                   <value> SUBMIT </value>
              </element>
         </serviceOutput>
         <dataState>
              <dataObject name="batch" isBusinessIndicator="false">
                   <value>
                        <batch xmlns="http://schemas.company.com/pepsi/objects/batch/v1">
                             <batchHeader>
                                  <id>2</id>
                                  <batchId>80115</batchId>
                                  <batchType>Partial</batchType>
                                  <merchantId>11111</merchantId>
                                  <merchantName>Carrefour</merchantName>
                                  <transactionType>02</transactionType>
                                  <slips>3</slips>
                                  <batchTotal>1542.25</batchTotal>
                                  <batchCurrency>GBP</batchCurrency>
                                  <captureMethod>Tally Roll</captureMethod>
                                  <status>In Progress</status>
                                  <created>2013-02-08</created>
                                  <updated>2013-02-08</updated>
                             </batchHeader>
                             <transactions>
                                  <transaction>
                                       <id>1</id>
                                       <cardNumber>123-456-789</cardNumber>
                                       <issueNumber>1</issueNumber>
                                       <transactionTime>00:00:00Z</transactionTime>
                                       <transactionDate>2013-02-08Z</transactionDate>
                                       <authCode>2</authCode>
                                       <expiryDate>2013-02-08Z</expiryDate>
                                       <receiptNumber>3</receiptNumber>
                                       <transactionAmount>785.25</transactionAmount>
                                       <cashbackAmount>0.0</cashbackAmount>
                                       <status>x</status>
                                       <created>2013-02-08Z</created>
                                       <updated>2013-02-08Z</updated>
                                  </transaction>
                                  <transaction>
                                       <id>2</id>
                                       <cardNumber>123-456-789</cardNumber>
                                       <issueNumber>2</issueNumber>
                                       <transactionTime>10:26:07+00:00</transactionTime>
                                       <transactionDate>2013-02-08</transactionDate>
                                       <authCode>3</authCode>
                                       <expiryDate>2013-02-08</expiryDate>
                                       <receiptNumber>2</receiptNumber>
                                       <transactionAmount>500.12</transactionAmount>
                                       <cashbackAmount>0.0</cashbackAmount>
                                       <status>x</status>
                                       <created>2013-02-08</created>
                                       <updated>2013-02-08</updated>
                                  </transaction>
                             </transactions>
                        </batch>
                   </value>
              </dataObject>
         </dataState>
    </auditQueryPayload>*
    Do you have any idea why this might be happening?
    Thanks,
    Alex

    Hi,
    I have a problem - I was trying to deploy a new application to my iPhone and the phone crashed when I installed it. Can anyone help?
    Shankar - see what it's like when people hijack your thread?
    John

  • Pre-submit javascript process

    I'm a bit confused on how to do this. I have a non-tabular form which has various modes of operation.
    In one of them I need run a javascript function that checks a bunch of things. Input from the user may be required before this is completed and the actual submit (which is an update)
    can proceed.
    How can I get somethng to run before the real submit?
    By binding another listener on submit? (And how can I be sure mine happens first?)
    I would imagine this has been done a lot of times before. Anyone care to share any tips?
    Hmm since I wrote that I realized that this is how submit is happening:
    <button value="Apply Changes" onclick="javascript:apex.submit('SAVE')" class="button-default" type="button">
      <span>Apply Changes</span>
    </button>But I don't see a way to tacking another javascript function call in front of apex.submit('SAVE') in
    there.
    Action When Button Clicked
    Action: Submit Page
    Execute Validations: yes      
    Database Action : Sql update action
    There are validations but they don't seem to be javascript and I don't think one can run javascript
    from plsq, correct?
    Edited by: lake on Jan 19, 2011 6:17 PM

    Hi,
    Change action to "Redirect to URL" and to "URL Target" type something like
    javascript:my_js_to_do_submit('my_param');Create "my_js_to_do_submit" to do tasks.
    Then you call inside "my_js_to_do_submit"
    apex.submit('SAVE')Regards,
    Jari
    Edited by: jarola on Jan 20, 2011 3:09 AM

  • Submit event raised automatically

    Hello,
    In my model, I have, in order, one form view , one java web service , and a table view. When I click on submit button from the form view, it sends parameters to web service which returns data in the table view.
    My problem is, when I open the form view from the portal, a submit event is raised automatically even if I don't click on the submit button.
    I would like to know if there is a solution to disable this auto submit.
    Thank you.

    Hi Marcel,
    I use system action "Submit form" and also custom action and I have the same thing. When I execute remote debugging with NWDS and when  I reach my model from portal, my web service is executed automatically and stopped at my breakpoint in java code enven if I don't click on submit button.
    Regards.

  • Dynamic Action - Fire on Page Load problem

    Greeeting,
    i created report with dynamic action Event = page load and action = submit . Event scope = Bind,
    But it is submitting page continously , and i want to submit once..
    how i will handle this.. created example please click on link
    http://apex.oracle.com/pls/apex/f?p=20294:3:1276651806269601:::::

    Hi,
    >
    Earlier on you said:
    Page 1 Sales
    Page 2 Sales Detail
    items in sales page are product name id and rate.
    <b>Product name on Page1 is linked with sales detail page 2.</b>
    >
    How? From your query this relation is not evident.
    >
    Now you say:
    Parameters:
    1- From Date
    2- Date
    3- Choose Area
    >
    You logic is rather mixed up. What is it that you want to achieve? What are the default values for the 3 parameters, if any? Which value on Page 2 is being set while navigating from Page 1?
    Two wrongs do not make a right. So first of all abandon the DA that Sumbit Page on Page Load and focus on the fundamental issue related to your logic.
    The suggested modified query below is NOT WHAT YOU NEED FOR YOUR REQUIREMENT but I am posting it so that you can at least get the report running and then work to fix your logic.
    SELECT SS.OUTLET_ID,
      SS.CAT_ID,
      SS.ITEM_CDE,
      SS.ITEM_NME,
      SUM(DECODE(RETURN_IND,'N',ITEM_QTY,'Y',ITEM_QTY*-1)) QTY,
      SUM(DECODE(RETURN_IND,'N',ITEM_QTY,'Y',ITEM_QTY*-1)*ITEM_RTE) AMT,
      O.OUTLET_NME
    FROM
      (SELECT OSM.OUTLET_ID,
        PI.CAT_ID,
        PI.ITEM_CDE,
        PI.ITEM_NME ITEM_NME,
        OSM.RETURN_IND,
        OSD.ITEM_QTY,
        OSD.ITEM_RTE
      FROM OUTLET_PRICE OP,
        OUTLET_SALES_MASTER OSM,
        OUTLET_SALES_DETAIL OSD,
        POS_ITEM PI
      WHERE OSM.OUTLET_SALES_MASTER_ID = OSD.OUTLET_SALES_MASTER_ID
      AND OSM.OUTLET_ID                = OSD.OUTLET_ID
      AND OSD.OUTLET_PRICE_ID          = OP.OUTLET_PRICE_ID
      AND PI.ITEM_ID                   = OP.ITEM_ID
      /* AND OSM.OUTLET_ID                = :P2_SELECT_OUTLET
      AND OSM.CONSIDERED_DTE BETWEEN :P2_FROM AND :P2_TO */
      AND OSM.OUTLET_ID                LIKE NVL( :P2_SELECT_OUTLET,'%')
      AND OSM.CONSIDERED_DTE BETWEEN NVL(:P2_FROM,TRUNC(SYSDATE)-1) AND NVL(:P2_TO,TRUNC(SYSDATE))
      UNION ALL
      SELECT OSM.OUTLET_ID,
        PI.CAT_ID,
        PI.ITEM_CDE,
        PI.ITEM_NME ITEM_NME,
        OSM.RETURN_IND,
        OSD.ITEM_QTY,
        OSD.ITEM_RTE
      FROM OUTLET_PRICE OP,
        OUTLET_SALES_MASTER OSM,
        OUTLET_SALES_DETAIL OSD,
        ITEM I,
        ITEM_CATEGORY IC,
        POS_ITEM PI
      WHERE OSM.OUTLET_SALES_MASTER_ID = OSD.OUTLET_SALES_MASTER_ID
      AND OSM.OUTLET_ID                = OSD.OUTLET_ID
      --AND OSM.OUTLET_ID                = :P2_SELECT_OUTLET
      AND OSM.OUTLET_ID                LIKE NVL(:P2_SELECT_OUTLET,'%')
      AND OSD.OUTLET_PRICE_ID          = OP.OUTLET_PRICE_ID
      AND OP.ITEM_ID                   = I.ITEM_ID
      AND I.CAT_ID                     = IC.CAT_ID
      AND IC.TEMP_ITEM_ID              = PI.ITEM_ID
      /* AND OSM.CONSIDERED_DTE BETWEEN :P2_FROM AND :P2_TO */
      AND OSM.CONSIDERED_DTE BETWEEN NVL(:P2_FROM,TRUNC(SYSDATE)-1) AND NVL(:P2_TO,TRUNC(SYSDATE))
      )SS ,
      OUTLET O
    WHERE SS.OUTLET_ID = O.OUTLET_ID
    GROUP BY SS.OUTLET_ID,
      SS.CAT_ID,
      SS.ITEM_CDE,
      SS.ITEM_NME,
      O.OUTLET_NME
    ORDER BY ITEM_NMECheers,

Maybe you are looking for