How to Capture Commit Point in Forms

Dear Members,
We are on E-Business Suite 11.5.10.2.
We are trying to change the behavior of AP Invoice Work Bench form through CUSTOM.pll.
When you try to reverse an existing distribution line, then oracle does a lot of validations and many triggers are fired until commit occurs.
I turned on custom events and found WHEN-VALIDATE-RECORD trigger fires 14 times until commit occurs at the end.
MY question is how can we know the commit occurred. I mean in custom.pll i need to write some logic where i need to take some field values in a block at the very end when commit occurs. The field values that i am talking about keep changing from the start to the end and i want to capture the values at the point commit occurs,
Is there any means to know that commit occurred; so that i can retrieve values at that moment.
Thanks
Sandeep

Try to debug the Block_status for line.I will regularly change from change mode to some mode for commit.

Similar Messages

  • How to capture number of tabular form rows in javascript

    Greetings All -
    I have a tabular form that I created manually.
    I am looking for a way in javascript to capture the number of rows that are displayed on the page.
    Is this possible?
    Regards,
    Mark

    Bill -
    Thank you for the reply.
    I had thought of your suggestion but I was unsure where I could execute the apex_application.g_fxx.count command without submitting the page.
    I cannot do this on a submit, because I need to now the number of rows displayed in order to do a calculation while entering a row on a manually created tabular form
    Suggestions appreciated
    Regards,
    Mark

  • GP - CAF : How to capture data from impersonalized form.

    Hi All,
              I have a requirement where in I have submit the data offline using an Adobe form and this data should be fed to an RFC any no if times.
    I have created a interactive callable object (Impersonalized form) using a form template. I'm able to download the form and submit any no of times.
    But the problem I have here is: I do not see any way to capture the data from the form and input it to the RFC. Please let me know if any of you have any ideas.
    Version: Netweaver 2004s SP15
    Thank you,
    Vasu Mullapudi

    I got the solution.
    GP Process in design mode have a tab Forms. Here, we can add the Interactive form callable object (Impersonalised form) and can map the fields to the process context.
    Thats it. Whenever you submit the form, the process is run with the form data and the job is done.
    Note: If the data is not sent to the process, try from the callable object in design mode -> Configuration tab.
    Here while selecting the Start process Upon completion, you have a option for mapping fields.
    Thank you,
    Vasu

  • Commit a different form from another form

    Here's the scenario:
    Form A and Form B are on the screen.
    User makes changes to Form B.
    User clicks on a button in Form A to launch Form C.
    How do I commit changes on Form B when clicking on a button in Form A? Commit and forms_ddl('commit') don't seem to do it.

    Anytime you do a commit, the commit applies to everything in your session. If you want to commit only one form, then you need to open the form using open_form built-in and specify a new session. See the open_form built-in in the help documentation.

  • How to capture the dynamic fields in the form...urgent...Please help me

    Hi Gurus,
    I'm working on Adobe Interactive form developed in WDP ABAP. I have a dynamic field called Roles. User can give n number of roles as Input. How can I capture them in my WDP. I know how to capture if there is a fixed field like name, age, email id etc.. Please give me the detail explaination on this.

    hi,
    when you create a form, the UI elements are created by either directlly dragging and dropping the context elements or map form elements with context elements.
    when pdf is online its contents are reflected in the Context Attributes.
    so if you change/modify the Context Attributes, the change is reflected in the corresponding form fields.
    regards,
    -amol gupta

  • How to generate power point slides from web forms?

    Hello,
    Anybody know how to generate power point slides from the web forms. the data will in the database just like how we generate a report, just like that is there any way we can generate power point slides? if so could you please provide information please. Any examples are appreciated...
    Thanks so much....

    Hi,
    i have never tried it but in
    this link you can see the it should be possible with the
    powerpoint viewer.
    Regards,
    Markus

  • Capturing Data in a Form

    Hello everyone,
    Can someone please help and explain to me how to capture information from an Acrobat form that is emailed out?
    My understanding is that a form will be emailed out from Outlook as an attachment.  The data from that form is to be captured as it comes back into the network.  Now, is the form that is sent out a "stand alone" for lack of a better term, or is that form being hosted from a server somewhere?  I was told one way to capture this form was through a php or cgi script.
    I am technical guy with a strong desktop and server administration and support and network background.  I am not a strong scripter though and need to better understand the whole process before trying to implement a solution.
    Can anyone offer a good explaintion for me please?  There are bits and pieces to this puzzle and they are coming together so I can understand it logically and someone who can fill in the gaps would be much appreciated.
    Thank you,
    Jonathan

    George,
    My most recent responses begin with the "--".  Thanks for your help.
    To address your first question, the form can be set up to submit just the form data, either to a web server or to a recipient via email. So the form (PDF) is not submitted in this scenario. The user loads the form after getting it from a web server, via email, or some other way.
    --OK.  From how it was described to me the form will be sent out and received back as an email attachment.  How can "the form be set up to submit just the form data"?  Technology wise, what needs to be setup?  I understand scripting is involved and that script is delivered through a web server.  If this is all through email, how does traffic back and forth pass through a webserver for this script to run to extract the data dumping it into a .csv or .xlsx file?
    If the form is being served by a web server, it can either be loaded in the user's browser, or directly in Reader/Acrobat, depending on how the user's system is configured. It possible that a user may have a non-Adobe PDF viewer, that may or may not be capable of submitting the form. Reader/Acrobat is capable of submitting a form if it's being viewed in a browser or directly.
    --I understand easier how a form being served by a web server works from an infrastructure point of view.  Would the form ultimately reside on the webserver and in an email a link be sent out asking a user to go fill out this form and submit it or would the actual form go out in an email as an attachment?
    For your second question, it certainly is possible to set up the form to submit the form data to a CGI program on a web server. That's what I would recommend. The data could be stored any number of ways on the server. It could then be further processed so that the data is placed in a spreadsheet file if that's what's wanted. If you transfer the data files to a workstation that has Acrobat installed, it can convert a collection of data files to a CSV file, which can them be imported into Excel to create a spreadsheet.
    --George, I recognize your recommendation, but how is this set up?  Where on the webserver does the CGI script reside and how does it run on a submitted form?  We do want to capture the data in a spreadsheet.  That is our ultimate goal.
    So yes, a web server will be needed if you want to set up the form to submit to one. It does not require any Adobe software, and certainly not Acrobat, which is a desktop application for creating and modifying PDFs. Even if it might somehow be useful on a web server, such use is forbidden by the Acrobat license agreement.
    The web server can process the incoming data in any manner that's required. The particulars depend on the format of the incoming data (FDF, XFDF, "HTML", XML) and what you want to do with it (save the data files on the server, store them or the parsed data in a database, email the data files, etc.)
    --George, where do you classify the data format of the incoming data?  I am guessing in the CGI script?  I have a feeling that the FDF file format will be what we would be looking to setup.  We will definitely want to save the data files and save the data in a spreadsheet.
    Thank you again for your insight.
    Jonathan

  • Commit during Call form,open form?

    If i open another form using call/open form command and exit out of the form which is over the base form with some code, what will happen to the data in the base form.
    How can i commit from the call /open form the base form.
    is there any property that needs to set up.
    What is the default behaviour in case of New form, open form , call form.

    Call form:
    Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
    New Form:
    Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
    Open Form:
    Opens the indicated form. Use OPEN_FORM to create multiple-form applications, that is, applications that open more than one form at the same time.

  • How to receive parameters from a form and insert values in db using servlet

    Hi friends,
    My first question here.
    I'm trying to create a Servlet that takes input from a form and process it and insert it in database.tablename.
    My MAIN ISSUE IS WITH THE NUMBER OF COLUMNS THAT WOULD BE DYNAMIC AND THUS CANT RECEIVE THE PARAMETERS IN STATIC CODE.
    Here is the form code
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <form action="Test" method="post" />
    <table width="90%" border="1" cellspacing="1" cellpadding="1">
    <tr>
    <th scope="col">Student Name</th>
    <th scope="col">RollNo</th>
    <th scope="col">Java</th>
    <th scope="col">J2ee</th>
    </tr>
    <tr>
    <td><input type="text" name="studentname" /></td>
    <td><input type="text" name="rollno" /></td>
    <td><input type="text" name="java" /></td>
    <td><input type="text" name="j2ee" /></td>
    </tr>
    <tr>
    <td><input type="text" name="studentname" /></td>
    <td><input type="text" name="rollno" /></td>
    <td><input type="text" name="java" /></td>
    <td><input type="text" name="j2ee" /></td>
    </tr>
    <tr>
    <td><input type="text" name="studentname" /></td>
    <td><input type="text" name="rollno" /></td>
    <td><input type="text" name="java" /></td>
    <td><input type="text" name="j2ee" /></td>
    </tr>
    </table>
    <input type ="submit" value="insert values in the database now"/>
    </form>
    </html>
    And here is the Servlet
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.io.*;
    public class Test extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Module: Process Result Values from previous page";
    out.println("<html>\n" +
    "<head><title>" + title + "</title></head>\n" +
    "<body>");
              try
                   Class.forName("com.mysql.jdbc.Driver");
                   Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/","root", "root");
                   Statement s = con.createStatement();
    ResultSet res = s.executeQuery("SELECT * FROM dbname.tablename");
    ResultSetMetaData rmeta=res.getMetaData();
    int noofcolumns=rmeta.getColumnCount();
                   if(!con.isClosed())
              catch(Exception e)
    System.out.println("Exception"+e);
    out.println(e);
    if(connectionFlag==1)
    out.println("</body></html>");
    doGet(request, response);
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    This is the basic code structure and I'm trying to figure out this special case with handling the multiple parameters:
    1. I dont' want to use String []a=request.getParameterValues("studentname"); as hard code. The reason being the number of rows will be diyamic and I would like to get the column name and then then use an array of string to take values. But how can I connect these to form a query so that the rows goes on inserted one after other.
    Thanks,
    Mashall

    Thank you for your help.
    I'm something close to it but this segment of code throws a NullPointerException Error. I counted number of rows and columns using the methods getColumnCount() and getColumnName(i).
    ResultSetMetaData md = res.getMetaData(); //Get meta data for the resultset
    int noofcolumns=md.getColumnCount();
    out.println("<br />Number of columns in table (including name and roll number) :::: "+noofcolumns+"<br />");
    for(int i=1;i<=noofcolumns;i++) // access column 1....n
    String columnname = md.getColumnName(i); // get name of column 1....n
    out.println("<br />Current column name ::: "+columnname+"<br />"); //check if the name appear correct.
    String []columndata = request.getParameterValues(columnname); //Get raw value in array
    for(int j=1;j<=rows;j++) // here rows is number of rows in each column
    out.println("To be inserted: <b>"+columndata[j]+"</b> in Row ::: "+j+"<br />");
    //The line above thows null pointer exception.
    }

  • How can I export a PDF form and the filled in fields to a text document?

    OK, so I have a situation.  I need people to be able to open a reader-enabled PDF form, fill out the form fields, and then export the filled-out PDF form to a basic text document.  This seems easy since Adobe Reader can save to text.  The problem is, the answers in the form fields do not show in the text file!  Each radio button shows as yes and no, and there is no indication in the text file which one was selected.  In addition, the form fields are not exported next to the questions on the form.  I tried flattening the form in Adobe pro, and that did not work either.
    How can I create a fillable form for Adobe Reader, and then let the user export their answers AND the questions on the form to plain text?

    OK, so I tried this as a starting point, and assigned it to a button on page 3 of the form.
    p=0;
    console.show();
    console.clear();
    for (var j = 0; j < this.getPageNumWords(p);j++) {
          var word = this.getPageNthWord(p,j,false);
          console.println(word);
    This gives me all the words on the first page not in fields, and each word goes on a separate line.  Now, characters in the document such as "&" or ")" cause the rest of the word to go on the next line down.
    Next, I tried this:
    console.show();
    console.clear();
    for (var j = 0; j < this.getPageNthWord(j);j++)
          var word = this.getPageNthWord(j,false);
          console.println(word);
    This only gives me the first word on page 3, the page the button is placed?
    What I need to do is run the code and place words on one line until the code hits a keyword "var cKeyWord1 = “Key1” for example?, then insert the value of field one, Start a new line in the console, restart the code where it left off until it hits the next key word "var cKeyWord2 = “Key2”, insert the value of field two, add a new line, and on and on.
    Is this possible?

  • How to print bullet in smart form

    Hi Experts,
    I have a requirement in smart form  where different points of texts should come under a bullet.
    Can you please tell  me how to print bullet in smart form.
    Note : I have to use Standard text   
    Thanks in advance
    Bikas

    hi
    good
    We can create bullets in smartforms.
    For this change the editor to text editor and then
    goto insert->characters->SAP Symbols and select the
    symbol you want.
    This may help your requirement.
    You cannot see the bullets in print preview, it'll
    appear only on a hard copy.
    reward point if helpful.
    thanks
    mrutyun^

  • How to capture System Error in XI?

    Hello All,
    1. Can any one tell me , How to capture the system error , Adapter Error and send the alert to make sure the guarenteed delivery from Source to Target via XI ?
    2.I have done the configuration for to capture the mapping error in transaction ALRTCATDEF .But still i am not able to see any messages in my Alert Inbox???
    I have checked with the two weblogs Alert step by step and Alert Trouble shooting guide.but still i am not getting any messages in Alert inbox .Any one can tell me how to fix this?
    Thanks!

    Hi,
      You wrote:
    <i>How to capture the system error , Adapter Error </i>
    Errors are captures in many ways and at different stages,
    like alert, sld errors or even sxmb_moni or even with visual administrator trace, I am not sure of your requirement but if you want a centrlished point to access all these error you may refer a good example as,
    /people/michal.krawczyk2/blog/2005/09/07/xi-why-dont-start-searching-for-all-errors-from-one-place
    <i>have checked with the two weblogs Alert step by step and Alert Trouble shooting guide.but still i am not getting any messages in Alert inbox .Any one can tell me how to fix this?</i>
    The two weblogs are my favourite and best resources but still if you are missing, please elaborate if you are getting any errors or other fesible traces as to why your alerts are not coming in inbox.
    Regards,
    Anirban.

  • How to capture the Logout time in xMII

    Hi Friends,
    How to capture the logout time in xMII when the user clicks on Logout link
    Thanks

    Srikanth,
    It would be better to use a database table(s) to store your audit trail information than an xml file, which could grow beyond a manageable size and then require housekeeping efforts and file rolling, etc.  It would also be much easier to query user related information out of the logs, pareto charts for failed vs. successful login attempts, etc. if the data was stored in a database.
    Have you considered modifying the Relogin.jsp page link in the portal's sub-menu bar?  How about making your own version of this web page and changing the link pointer?  Keep in mind that whatever result you come up with here will need a significant update for NetWeaver UME compatibility in version 12.0.
    Regards,
    Jeremy

  • How to capture the current info in the top-of-page event in Reuse block dis

    How to capture the current info in the top-of-page event in Reuse block dis

    Hi Geetha,
         If you don't have any information to pass the Heading Block, then why you are using this event ?
         please comment/ remove that TOP_OF_PAGE code. and use subtotal code in field catalog block.
          you can use below code for subtotal. 
          FORM field_catalog .
                    gs_fcat-do_sum = &2.
              fcat : 'WRBTR' '15' 'X' ' ' ' ' 'WRBTR' 'Amount',
           ENDFORM.
           Regards,
           Kunjan

  • How to Capture the Objects in Object Library in Openscript tool?

    Hi All,
    I am new to OATS and i was trying to explore the Object Library in Opencript tool.
    Can anyone please advise me how to capture the Oracle forms Object in Object Library or Object Repository using OpenScript Tool?
    It would be grateful,If you can provide me the step to follow for the above.
    Thanks
    Ajith

    Hi Ajith,
    Create one Object Library. In OpenScript click File -> New -> Select Object Library under Script Assets.
    Then mention name of your library and save it.
    Add this library to script assets of your script. Select Script -> Script Properties... -> Script Assets -> Object Library -> Add(button) -> select your Object Library.
    Then save  your script and start recording. After recording you can see xpath of all objects you interacted with during your script recording.
    If you want to apply this to your script, select Script -> Apply Object Library.. -> then select your Object Library. If you want to revert it, then select Script --> Revert All Navigation To Recorded
    Hope this will help you...
    Regards,
    Deepu M

Maybe you are looking for

  • Tol limit

    hi while posting po using miro this error comming: price too high( tol limit exceed 0.00 usd )  could you tell me where i have maintaned tol limt>> regards ss

  • Customer Complaints Processing.

    Hi, I am trying to do cusotmer complaints processing. For this I have defined the Reasons for complaints with the abbrivation RETN for the sales document type RE (Return) and given a tick mark for the changeable and check qty. and the followup docume

  • How to start building new screens in ORPOS 13.0.2

    Hi All, I am very new to ORPOS UI implementation/customization. I am in process of customization/ changing the UI for POS Client. Read the Operation Guide and it is very useful to start with. But I am facing difficulties in setting my Eclipse to run

  • Airport won't power on

    my airport extreme base station wont power on no light or internet connection try multi plugs in my home.

  • Need Help! Ad Hoc Query in HR Tables

    Dear Friends, I need to create a adhoc query for the following tables. PA* HRP1000 HRP1001 But I could select only PNPCE LDB... I do not know how to define one and get the information out from PA* and HRP1000 and HRP1001 info types.... Please help. T