Peforming two processes on submitting the form

Hi All,
In my application i created a form in which i have to create one query...
1) in this form on the basis of product & variant type, value of fields(model code & vin number ) automatically comes from the table by clicking on submit...
2) but i already executed one process on submit button which gives me the value of field (sol available) as yes or no based on whether this query is raised before or not....
now my problem is when i am performing the first operation while submitting second one is not executing.....
so how can I execute both of them on submitting the values.
please help me out...
Thanks,
shruti

Hi All,
In my application i created a form in which i have to create one query...
1) in this form on the basis of product & variant type, value of fields(model code & vin number ) automatically comes from the table by clicking on submit...
2) but i already executed one process on submit button which gives me the value of field (sol available) as yes or no based on whether this query is raised before or not....
now my problem is when i am performing the first operation while submitting second one is not executing.....
so how can I execute both of them on submitting the values.
please help me out...
Thanks,
shruti

Similar Messages

  • Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Here is one solution:
    // mouse up action for submit button;
    function GetField(cName) {
    // get field object for cName field with error checking;
    var oField = this.getField(cName);
    if(oField == null) app.alert("Error accessing field named " + cName + "\nPleae verigy field name, spelling and capitalizeation.", 1, 0);
    return oField;
    } // end GetField function;
    var oPhone = GetField("phone");
    oPhone.required = oPhone.value == oPhone.defaultValue;
    var oEmail = GetField("email");
    oEmail.required = oEmail.value == oEmail.defaultValue;
    if(oPhone.required && oEmail.required) {
    app.alert("Missing required fields.", 1, 0);
    } else {
    app.alert("Submitting form", 3, 0);
    // additional code for submission;

  • Populating values in jsp without submitting the form

    Hi,
    I have a jsp page in which i have 2 select boxes. The values to these select boxes should come from database. When i change the selection of select box, the corresponding values from database should be displayed in the other select box without submitting the form.
    How to accomplish that.
    Any one having any idea about how to implement this stuff, please reply.
    Thanks in advance,
    Joby.

    You should devide the JSP into two frames and make one frame size to 0 so it should not be visible to the use ,and put one jsp in this frame ,tht will work as the hidden jsp.
    now in other frame put ur main jsp and on the change event of th select call a java script function and in this function pass the parametr to the hidden jsp like
    parent.frames["hiddenframename"].document.location="hiddenJspName.jsp?parameter1=value1
    and now in hodden jsp populate the data frm database based on passed parameter and after getting the data fillup the select on the second frame.
    try it and if not work thn write me...
    Bye.

  • Getting the value of iframe to next page while submitting the form

    hi,
    I have used iframe to change the text as bold or italic . This is changing the text as bold or italic.
    iframe has properties name & id, by using i have tried to get the value while submitting the form , I couldn't get the value.
    can u please help me how to read the iframe content.
    the html code is
    *<div><iframe id="xxx" name="xxxx"></frame></div>*

    Hi Anjan,
    I am using this workflow for an employee to send leave request. I have created an event in a program using SAP_WAPI_CREATE_EVENT to create an event zabsence_form. This event is used to trigger the workflow. I have created a table for leave details. The container used in the form is of that table type.
    The agent for ZFILL_ABS_FORM (for filling leave application)  is the workflow initiator and ZABS_APPROVE is a user who is his manager.
    Now the scenario is that I need to do some screen changes for those two users. For that, I need to get the workflow initiator value in the PBO of the form screen. Any way to do that?

  • Two processes running at the same time in Lookout

    I have installed Lookout 5.0 with 200 I/O Points onto our server computer. The application of motion control is next to the 200 I/O points through OPC PMAC server/client. Now I would like to have a second process in the same server for trouble shooting and testing without stopping the motion control process. However, this second testing process could have also many I/O points through Serial and USB ports. I assume that the total amount of I/O points of both processes will be greater than 200.I prefer to have independent processes for control and testing because access levels. Can I have these two processes running at the same time when needed?

    Hi,
    From your description you are using a third party OPC server for the motion application. You could have a second Lookout process communicating with the same OPC server with no problems, as long as you do not exceed the number of I/O points your license supports.
    Also, the process you are using for testing obviously could not overwrite datamembers (or registers if you will) that would interfere in the overall application, in other words you can test your application as long as you keep the coherency of the test.
    So the answer would be, yes it is possible, however you are still limited to the number of I/O's your license supports... You may even consider upgrade the number of I/O's you have in your license.
    Best Regards
    Andre Oliveira

  • How to Save State on an Entry Form prior to Submitting the Form?

    I want to be able to save the values the user enters to fields on the entry form if they navigate away from the page and come back (without the user clicking the submit button for the form.) For example, one of the input fields has a goLink to go to another page to lookup a field value - when the user returns from the page, all other form field values are cleared. If the user does submit the form by clicking the command button, then all form field values are saved (if the user navigates from the page and comes back, all values are retained.) What I'm trying to do then is somehow save the values (passivate the state) for the field the user has filled in when the user navigates from the page without submitting the form. Any suggestions?
    I am using a read-only View Object with all transient values. The VO is configured to passivate state including all transient values. The initial row is created programmatically; there will only be one row for the VO used as an entry form. I am not using a backing bean for the values and would prefer not to use one, but would rather use the VO's capability to passivate state to save the data values. The question then seems to be how to force the VO to passivate state prior to the form being submitted.
    thanks
    Message was edited by:
    javaX

    "My hunch is that the real problem is that the fields are not being set into the bindings due to the use of immediate="true"."
    Yes. Now I see that is the real problem. Is there anyway to force setting the bindings from the input form field values if the user navigates from the page using a goLink, or commandButton with immediate="true" other than overriding the default FacesPageLifecycle classes?
    I'd prefer not to have to do that unless necessary, and, if I over-ride that method, then how could I get it to work normally when the user presses the commandButton at the end of the form and I do want all validation checks to be performed (immediate=false for the form's submit button; immediate=true only for lookup commandButtons used for certain fields)?
    Here's an overview of how I set the page up:
    1. create transient view object; all attributes marked as always updateable; passivate state=true for VO and all transient values; no key id field selected (will only ever be one row - just using VO to save values that will eventually be used to do an insert to the database);
    2. transient VO added to Application Module
    3. Add data control to .jspx page as an ADF Form (not an ADF Creation Form)
    4. Add code to AM to create the initial row for the input form
    protected void prepareSession(Session session) {
    super.prepareSession(session);
    insertTransientViewObjRows();
    private void insertTransientViewObjRows() {
    ViewObject transientvo = getViewObj1();
    transientvo.clearCache();
    transientvo.insertRow(transientvo.createRow());
    --- Entry Form .jspx pagedef.xml snippet ---
    <executables>
    <iterator id="MyIterator" RangeSize="10" Binds="MyView"
    DataControl="AMDataControl"/>
    </executables>
    <bindings>
    <attributeValues id="sponsorid" IterBinding="MyIterator">
    <AttrNames>
    <Item Value="sponsorid"/>
    </AttrNames>
    </attributeValues>
    --- Entry Form .jspx page snippet ---
    <h:form>
    <af:panelForm>
    <af:panelLabelAndMessage label="#{bindings.sponsorid.label}">
    <af:panelGroup layout="horizontal">
    <af:inputText value="#{bindings.sponsorid.inputValue}"/>
    // state will not be saved for other form field values if use immediate="true" when temporarily navigate away from page and return; don't want to validate other form fields here
    <af:commandButton text="Lookup Details"
    action="lookup-page" immediate="true"/>
    </af:panelGroup>
    </af:panelLabelAndMessage>....
    // state will be saved with immediate="false" when user submit forms at end of entry (need to perform validation of form's required fields here)
    <af:commandButton text="Continue to Next Step" immediate="false"
    action="nextpage"/>
    Message was edited by:
    javaX

  • Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (a

    Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (and on top the page reads JRun Servelet Error).  What does this mean? What should I do next?

    Hi.  I purchased Adobe Acrobat Xi Pro from a store (card).  I submitted the number (under the scratch area on the card) on the adobe website, with my personal details etc.  When I submitted the form, I got an error message:  413 header length too large (and on top the page reads JRun Servelet Error).  What does this mean? What should I do next?

  • Error"There was an internal error when submitting the form" URM Disposition

    Hello
    I get the following error - "*There was an internal error when submitting the form*" - when i allocate a Retention Disposition to a Retention Category.
    Any Ideas how this can be solved?
    Thank you

    Not based on the minimal information provided.
    Error messages in 11g, from a UI standpoint, are severely deficient. How about looking in the content server logs and posting some more information?

  • How to trigger a value change listener in JSF without submitting the form

    hi friends,
    I have a JSF Page which contains a check box and a text box.
    I made the text box property as readonly.
    when i click the check box , i want to make my text box as editable.
    i achieved the above task by submitting the whole form when i click the check box.
    i want to acheive the same functionality with out submitting the form.
    In one of the references it is stated that "Value-changed handlers are executed if the page is submitted and the value of the component has changed."
    hope you got the question.
    please let me know, if you know the answer.

    Hi,
    If at all you dont want to submit the form and wanna reflect same form's field(s) as per the change in drop-down/check-box,
    you can simply achive it using traditional way of 'JavaScript'.
    For that you may typically give <h:form> tag any specific id say
    <h:form id="myForm"> and for dropdown/checkbox also you may give id say
    <h:selectBooleanCheckbox id="group" onchange="javascript:reflectChangedValue();"  ... >
    </h:selectBooleanCheckbox>and in the same JSP you can write any JS function say reflectChangedValue() as
    function reflectChangedValue()  {
         var formPrefix  = "myForm:";
         var groupId = formPrefix + "group";
         var value = document.getElementById(groupId).value;
          if(value) {
               // enale textbox here
          } else {
               // disable textbox here
    }For formPrefix and groupId, f you are having any doubts, you can refer to 'view source' from the browser,
    generated HTML of the working JSP.

  • My iPhone 4S locked to Tmobile so I contacted to Tmobile and submitted unlocking form, but I got a replied said my IMEI number was not recognized. So I tried second and third time submitted the form and got same reply.

    My iPhone 4S locked to Tmobile so I contacted to Tmobile and submitted unlocking form, but I got a replied said my IMEI number was not recognized. So I tried second and third time submitted the form and got same reply.  I've been using same handset they issued to and never changed. But I have know idea why they said they don't recognised my IMEI number. Can anyone help me to solve this issue. Thanks

    You need to call T-Mobile or visit a T-Mobile retail store.

  • Submitting the forms back to GP engine after downloading from email

    Hi,
    I have a process with 2 actions.
    Action 1 creates an off-line interactive form from a template and sends to the processor by email. 
    Action 2 is a visual approval.
    After Action 1, the recipient will download the form from email, add some more data to it and submits (HTTP Submit).
    I want the form to be submitted back to the same process so that the processor of action 2 can see all the data available in pdf.
    I selected "Start Process Upon Completion" and tried to invoke the same process but got a "General Error    http://nwportal:52000/gpcore/iformprocessor/adapter.adobe" upon submission. I also tried by not choosing the above option of starting a process, but still got the same error.
    Is it possible to submit back to a process which is already in progress? 
    Or do I have to split the process into 2 processes and invoke the second process?
    If yes, what is the advantage of the option "Enable Use in Guided Procedures" --> "Create offline interactive form and send by e-mail" in the configuration tab of interactive form callable object.
    I found the following thread which talks about similar issue but I couldnt figure out an answer to my issue.
    Submit Form in GP: works but ErrorMessage: Cannot handle content type ...
    Appreciate your help.
    Thanks
    Ram

    Hi Ram,
    Answer to your queries :
    "Is it possible to submit back to a process which is already in progress? "
    Yes it is possible . The form once submitted back can resume the process that was waiting for it.
    "Or do I have to split the process into 2 processes and invoke the second process?
    If yes, what is the advantage of the option "Enable Use in Guided Procedures" --> "Create offline interactive form and send by e-mail" in the configuration tab of interactive form callable object.
    No you do not have to split the process into 2. "Enable Use in Guided Procedures" -- "Create offline interactive form and send by e-mail" are the correct settings for what you are trying to do.
    Regarding the error message you are facing I am not sure why this is happening, make sure your setting in the caf/eu/gp/model is correct. and check out the documents at
    SAP Composite Application Framework - CAF Tutorial Center [original link is broken] in the interactive forms section.
    Sijesh

  • Stale data error while submitting the form(before that opening the popup )

    I am using OAURL to open a pop-up in my oaf page
    passing my page to this class.And at the time of loading the base page
    the pop up window url is like this
    OA.jsp?page=/myfolder/webui/NumberColumnsPG&retainAM=Y&"+"fndOAJSPinEmbeddedMode=Y&addBreadCrumb=S&_ti=55514227&oapc=10
    now i click on the link to open the pop-up
    its opening the pop-up.
    Closing that pop-up.
    Saving the details entered in the base page.
    Now it is executing again from the processRequest() of base page
    now the URL like this...
    OA.jsp?page=/myfolder/webui/NumberColumnsPG&retainAM=Y&"+"fndOAJSPinEmbeddedMode=Y&addBreadCrumb=S&_ti=55514227&oapc=11
    Now i am getting stale data error
    The number of displayed records, 2, exceeds the actual number of records, 1, in view object SampleAM.SampleVO1. Some of the displayed records may have been deleted.
    Here i am observing that the parameter OAPC is different in these two URLs.
    can you please tell me how to come out of this error while i am submitting the base page.
    Thanks

    Hi Pratap,
    Thanks for your information.But there i didn't get any information related to my issue. can you please tell me a way to proceed further in order to solve this issue.
    Thanks
    Satya

  • Constantly getting java.lang.OutOfMemoryError when submitting the form.

    Hello,
    I know this doesn't exactly pertain to Form Server, but maybe someone has some insight.
    I set up JBoss 3.2.5 with Java 1.4.2.11 on a seperate machine to do a remote connection to my LiveCycle environment.
    I am using the SOAPClient sample from the developer guide to save my form. I am able to save the submitted form for just fine, but I can only do so once and the second time I always get am error: "javax.servlet.ServletException: Servlet execution threw an exception" root cause: "java.lang.OutOfMemoryError"
    Even with just the code from the guide, I get this error. Does anyone have any insight into fixing this? I really don't know what to fix in the code since I used the sample from the guide and they close the objects if that was an issue. If it matters, the pdf file I am submitting to be saved is about 800KB and then the saved file size is about 1400KB
    I already tried setting within the run.conf file the following: JAVA_OPTS="-server -Xms1028m -Xmx1028m" but I still get the same out of Memory error. The only error within the server.log file is the following:
    2007-01-10 15:46:19,125 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[SubmitPart1]: Servlet.service() for servlet SubmitPart1 threw exception
    java.lang.OutOfMemoryError
    Thanks,
    Jennifer

    Hi Jennifer,
    If the problem is not yet resolved here is my suggestion.
    With my interaction with Adobe I came to know that SOAP has a limitation of handling a max of 10 MB and in real-time you may stitch the forms more than 10MB.
    Use the EJBClient instead of SOAPClient.
    You may set this is in FormServerDefinition class.
    Thanks,
    Vijay

  • Passing record id during onClick while also submitting the form

    I'm displaying data in two different tables. All of the data is static except for a status field which is also the field that determines what table the data is displayed in. Inside of form tags I am using a cfoutput tag to loop through the records for each table. The status record is in a cfinput with a type of radio button to set the status. I can submit the form using the onClick event of the radio button but I'm unsure how to pass the record id of the record that will need the status field to be updated on my action page. Is it possible to pass this record id along using javascript and then read that it on the action page to pass along to my sql? I planned to send the form back to the same page so that toggling the radio button would move the record to the other table. I wanted to avoid using a submit button and have the change in values of the status field move the record to the "closed" status table or vice versa.

    Greetings,
    Have you tried adding the code below the end of your action line
    ?record_id=#URLEncodedFormat(record_id)#
    Example:
    onClick="this.form.action='path_to_page.cfm?record_id=#URLEncodedFormat(record_id)#';this. form.submit()"
    If I understand what it is you are trying to do, I setup a sample and tried the above "Example" code and it
    passed a record id to the designated page without any issues arising.
    Leonard

  • How do I not have forms close after submitting the form?

    I have created time card forms for our employees and embedded the code into our website. The employees are stating that they forms are closed and cannot go back into it. What am I doing wrong?

    Thank you for the info Andrew. I changed all the forms (employee time-cards) and I thought it was fixed, but then I get all these calls from the employees and they said they couldn't get in because it was closed. It is still closing the form and not reloading. What if I select "Redirect to a new website"? What will that do?
    I really need these to work immediately. I am having to reload (delete code and re-enter code) every few hours to the employees who are out in the field as we are a heating and Air conditioning company and they are on the road all the time; They need to submit their time card.
    Also, they are submitting with their phones and these forms are not mobile friendly. How do I make them Mobile friendly. Is there a check box, I am missing?
    Please help. Thank you.

Maybe you are looking for