Data not go to table?How to Resolve it?

Hi All,
I created one form based upon a table.In that form i want one field value as automatic value from another table.
I write the sql query to a particular field.the value comes to that form automatically.But the problem is when i submit that particular form ,that value is not inserts into that table.
Please give solution to my problem.
Thanks&Regards,
Raghu

Hi Raghu,
Create a Dynamic Action to fetch the value and assign it to the field, Consider that I created the form using EMP table, In that form, as like your requirement I want DEPTNO populated automatically from DEPT table. So I created the Dynamic Action as follows,
Event: Page Load
Action: Execute PL/SQL Code
PL/SQL Code:
BEGIN
SELECT deptno INTO :P3_DEPTNO FROM dept WHERE dname='ACCOUNTING';
END;
Page Items to Submit: P3_DEPTNO
Page Items to Return: P3_DEPTNO
Change the code as per your environment/requirement. I hope It will helpful to you.
Thanks
Lakshmi

Similar Messages

  • Can Any one tell me. System considering the Sales District also in Delivery Split which is not in standard. How to resolve this. Please help me

       Hi
    Can Any one tell me. System considering the Sales District also in Delivery Split which is not in standard. How to resolve this. Please help me

    Dear Srikanth,
    I am not sure, if my answer will satisfy you, but anyway I will try:
    Field Sales District is technically called BZIRK. In delivery structure is this field located in header (table LIKP), what cause split, if origin document (Sales Order) has different Sales District in some positions. This is standard program behavior. Basically it shouldn't happen, as value is taken from customer master (Sold-to Party) and copied to header and items of sales document. But user can manually changer for particular items.
    Well, to solve situation you have few ways:
    1. Do not allow users to change value on items - can be managed by organizational decision or by authorization concept.
    2. If there is a reason to have different Sales District in items, then it can be managed in in routines for copy control between sales and delivery documents (delete value of BZIRK for all items for instance). But then will be this information lost for further usage. It seems to me to invoice is value copied directly from sales order (field VBRP-BZIRK_AUFT) then it mustn't be a critical for analyses.
    3. Your situation also can happen if you wants to collect more sales documents to one delivery. In this case can be that Sales District is different for same customer in different sales order (even seems to be little bit strange). Then solution from point 2 can help as well, I believe.
    Best Regards
    Arnost

  • Creation of a table with static data(not a DB table)

    Hi
    I need to display a table with some static data in an OAF page. This table is not a DB table. It is like an HTML table
    I have placed the following query
    SELECT 'A1','B1' FROM DUAL UNION SELECT 'A2',B2' FROM DUAL in the VO. But it is returning a single row which is acting as the header of the table.
    Can anyone help me to create the table with 2 rows inserted in it.
    Thanks
    Edited by: gsaxena on Aug 4, 2009 3:04 AM
    Edited by: gsaxena on Aug 4, 2009 5:24 AM

    Hi
    Please execute your VO inside the CO of table region ,right now it is not getting executed,thats y it is giving just column names
    use the following code PR method of CO
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject oav = (OAViewObject)am.findViewObject("XXVO");
    oav.first();
    let me know in case of any issue
    thanx
    Pratap

  • How can I lock a table so that a person can only enter data, not manipulate the table?

    I don't want to Lock the table as Numbers does it so perhaps locking is the wrong term. What I want to do is to lock the formatting of the table so it is possible to enter data but not possible to change the position, number of columns etc. I've been searching and all I can come up with is the regular lock function. But I still want to be able to use the cells. Just not change formatting.
    Thanks, Brad

    you cannot.  When you lock a table the whole table is locked.  I would consider segmenting the user input into a seprate, un-locked table and placing the calculations in a locked table

  • Data not viewable in table using Control file  CharacterSet AL32UTF8

    i have a flat file which contains Chinese characters and English Characters
    I have to create a control file, to insert the data in this flat file to the Table
    The characterset i am using in my control file is AL32UTF8
    When i use this characterset the data is getting loaded into the table,but i am not able to view the Chinese characters.
    i am able to see some Upside down question mark symbol
    Please help me of how to view the chinese characters into the table
    Is that any other characterset i have to set in Control file

    NLS_LANG is an environment variable. I'm assuming you're on Windows, so it's probably something like
    Control Panel | System | Advanced | Environment Variables
    Given that you're using Toad, though, there may be someplace there where you set the character set. There is a discussion on Eddie Awad's blog on how various tools can be made to display Unicode data
    http://awads.net/wp/2006/07/06/sql-developer-and-utf8/
    Some of the comments discuss Toad, though that's not a tool I'm familiar with.
    If you happen to be able to use iSQL*Plus, since that's browser based, it supports unicode natively. That's often the easiest solution.
    Justin

  • PPM 5.0: FI data not filled in table RPM_FIDATA

    Hello Experts,
    I have one portfolio item that i linked to one project Cproject and one initiative.
    A WBS element is linked to the this project "Cproject".
    I entred a budget with transaction CJR2 to this WBS and one cost element.
    In the table RPM_FIDATA, i don't find my protfolio item lines.
    Why the table RPM_FIDATA is not filled by this portfolio item data? (In this case with budget)?
    What are the conditions that the table RPM_FIDATA will be filled?
    Thank you in advance,
    Amal

    Thank you very much  Priyatham. You solved my problem.
    I have a question please: Must i  create a daily job for this report? how to do to transfer automatically PPM data?
    Thank you in advance.

  • Data not seen in Table Control --Print Preview

    Hi
    I am creating one Standard Transaction Iview for CATS .
    While doing print preview(Portal Side) in IE 6  , I am not able to see data in Table control(Data Entry Area ).
    Can you please provide me the solution for how I can see the data in Table Control
    Regards
    Ruturaj

    Go to SE11 and search for setup and look for the specific data source and see the content, if the content is actually zero, then there is nothing in the setup table.
    thanks.
    Wond

  • Data not reflecting in Table

    Hi,
    I've simply added the Table Component from the Pallete to my web page and Connected with a Table named "Role_master".
    while running the web application it shows me the following syntax on the Browser:
    <table id="form1:table1:_table" class="Tbl_sun4" width="100%" border="0" cellpadding="0" cellspacing="0"
    I have completely followed the steps as given in [Dru Devore's Blog |http://weblogs.java.net/blog/ddevore/archive/2008/02/jsf_tables_with_1.html]
    Really, i'm not able to judge that why i'm getting this type of syntax instead of displaying Table with Data.
    Please Help..
    Thanks
    Hitesh
    Edited by: Hitesh_kumar on Jul 31, 2008 8:25 AM
    Edited by: Hitesh_kumar on Jul 31, 2008 8:27 AM

    Hi,
    Thanks for the reply.
    I'm Connecting my JSF Web application with the Sql server 2005 using NB 6.0 and i'm using the latest sqljdbc4.jar driver for sql server 2005.
    while connecting the application with the sql server 2005 it is giving me following error :
    java.lang.UnsupportedOperationException: Java Runtime Environemtn(JRE) version 1.6 is not supported bgy this driver. Please use the JDBC 4 Driver (sqljdbc4.jar)instead.Sourecode :
            Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");                               
                    java.sql.Connection con=DriverManager.getConnection("jdbc:sqlserver://localhost:1433;user=sa;password=test1;databaseName=sample");
                    java.sql.Statement stmt=con.createStatement();               
                    java.sql.ResultSet rSet=stmt.executeQuery("select * from details where empcode='1001'");             
                    while(rSet.next())
                        lblName.setText(rSet.getString(1));
                    rSet.close();
                    con.close();
                    stmt.close();               Since i'm using the latest driver, i don't know why such type of error is coming up...
    If you any link, from i can download the NetBeans 6.0 Supported Sql Server 2005 Driver.. please suggest...
    Thanks
    - Hitesh

  • Data not visible in table o/p when compiled with webdynpro compiler

    Hi,
    I am using a Z BAPI to retrieve data from backend ECC6 server and show it using a VC application.
    When I compile this VC application using FLASH(FLEX2), the data is shown in the table, whilst if the VC application is compiled using Webdynpro compiler, the data is not shown in the table.
    The No. Of Rows  parameter has been updated with 10.
    Please suggest what can be done so that data is shown when compiled with Webdynpro compiler.
    Regards,
    Ranu

    Hi Ranu,
    WebDynpro Compiler only supports Webservices.
    You can look at the below link to get into full details -
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/limitationsofWeb+Dynpro
    Regards,
    Vipin Vijayan.

  • Data not pipulating into table

    Hi sdns,
    i have dreated 2 classes:-  1)main
                                            2)sub
    <h5>code of main:-</h5>
    public class main {
         Collection plist = new ArrayList();
         Connection conn = null;
         Statement st;
         public void get_details()
         try
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");     
    conn = DriverManager.getConnection( "jdbc:microsoft:sqlserver://10.10.30.25:1433;databaseName=TrackingSystem","sa","sa" ) ;
    st = conn.createStatement();
    String str = "select * from [Project Table]";
    ResultSet rs = st.executeQuery(str);          
    String a = rs.getString(1);
    String b = rs.getString(2);
    String c = rs.getString(3);
    while(rs.next())
    pdetails rec = new pdetails();
    rec.setEname(a);
    rec.setRname(b);
    rec.setDid(c);
    plist.add(rec);
    catch(Exception e)
    public Collection getPlist() {
    return plist;
    public void setPlist(Collection collection) {
    plist = collection;
    <h3>code of pdetails</h3>
    public class pdetails {
    private String Ename;
    private String Rname;
    private String Did;
    public pdetails()
    Ename = new String();
    Rname = new String();
    Did = new String();
    public pdetails(String Ename,String Rname,String Did)
    this.Ename = Ename;
    this.Rname = Rname;
    this.Did = Did;
    public String getDid() {
    return Did;
    public String getEname() {
    return Ename;
    public String getRname() {
    return Rname;
    public void setDid(String string) {
    Did = string;
    public void setEname(String string) {
    Ename = string;
    public void setRname(String string) {
    Rname = string;
    I have created a jar file for this classes And imported as a model in my web Dynpro Application.
    And mapped it to component controller.
    And from there to view controller.
    I had a view with a table .
    I created the table by using template of table.
    And Binded it to the context of the view.
    And the code i have written in the WDDOINIT() method is:-
    IWDMessageManager msg = wdComponentAPI.getMessageManager();
    try
    Collection c;
    c= new ArrayList();
    main m = new main();
    m.get_details();
    c = m.getPlist();
    wdContext.nodePdetails().bind(c);
    wdContext.nodePdetails().invalidate();
    catch (Exception e) {
    // TODO: handle exception
    msg.reportWarning("Sorry");
    But data is not getting populated in my table.Anything i have to add to my code.
    Or else have i done anything wrong in my code
    Please help me in this Regard.

    What I mean is replace these 2 lines:
    wdContext.nodePdetails().bind(c);
    wdContext.nodePdetails().invalidate();
    with this code:
    wdContext.nodePdetails().invalidate(); // erase previous search results
    for (int i=0; i<c.size(); i++) { //iterate
    SomeObject o = (SomeObject) c.get(i);  // store record in temp variable
    PdetailsElement e = wdContext.nodePdetails.createPdetailsElement(); //create context element
    e.setPropA(o.getPropA()); // set properties of context element
    etc. // set properties of context element
    wdContext.nodePdetails.add(e); // add context element to context node
    I assume that you have bound the table to nodePdetails, andt that this node has cardinality 0..n.
    Also, the elements of this node contain the 3 strings that you want to display in the table.
    So when you iterate over the collection that is the result of your query,
    you create a new element of the context structure (Pdetail) and set the 3 string values.
    Finally add each context element that was created to the context node (add).
    Hope this helps, good luck.

  • Data not updating in table ,data transfered using DTW

    Hi Everybody,
    I had transfered data using DTW, it shows that data imported,but it not updated, that means it not shows in database.
    So please so me any solution to this.
    Regards,
    Srinivas

    Hi suda,
    I am giving he detailes of the BusinessObject
    BusinessObject =oUserLanguages
    template=oUserLanguages.csv
    i had copied the oUserLanguage.csv file and entered data into it and saved it(comma deliminated)
    steps:
    1.i had selected oUserlanguage object from list.
    2.i had selected source file (oUserLanguage.csv )
    3.the data properly matched and data is displayed when source tab is pressed. and ields are properly matched.
    4.three check boxes are checked.
    5.i had seen the message you are sucessfully specified required information for imporing data
    6.in lost step it shows like below
    Total:  2 business object(s)
    2 business object(s) imported successfully
    0 business object(s) not imported
    0 business object(s) updated successfully
    0 business object(s) not updated
    7.in log files status shows succeeded
    But I had cheked the languages , the data imported not shown.
    Regards
    srinivas

  • Data not getting in table in master detail block form

    Hi
    I am using oracle forms 10g
    I have three block namely control_block, Header_block and detail_block and three button in three block. Find button in control_block,Detail button in Header_block and save button in Detail_block.
    Now i will enter PO_number in the Control block and enter find button and the po details is fetched and it will show the po details in the Header_block and in the header_block i have one field named as Expeditor and here the user will assing Expeditor to that po_number and Click the Save button in the Detail_Block.
    this is my code
    DECLARE
    ln_count NUMBER;
    CURSOR c_expeditor
    IS
    SELECT po_number
    FROM xxogec_poexp_expeditor_stg
    WHERE po_number = :header_block.po_number;
    BEGIN
         IF :DETAIL_BLOCK.po_number IS NULL
    THEN
    FOR c_exp_rec IN c_expeditor
    LOOP
    IF c_expeditor%NOTFOUND
    THEN
    INSERT INTO xxogec_poexp_expeditor_stg
    (po_header_id,
    po_number, creation_date,
    po_expeditor_name
    VALUES (:header_block.po_header_id,
    :header_block.po_number, SYSDATE,
    :header_block.expeditor
    ELSE
    UPDATE xxogec_poexp_expeditor_stg
    SET po_expeditor_name = :header_block.expeditor
    WHERE po_number = :header_block.po_number;
    END IF;
    END LOOP;
    STANDARD.COMMIT;
    End if;
    End;
    Now when i press save button the data is not getting inserted.
    Can any please correct me where my code went wrong.
    Thanks & regards
    Srikkanth.M

    FOR c_exp_rec IN c_expeditor
    LOOP
      IF c_expeditor%NOTFOUND
      THENYou'll never get to the IF statemement, because there is nothing to loop if there is nothing to be found.

  • Since updated iPhone 5 to iOS 6.1.3 3G not working, any ideas how to resolve?

    SInce I updated my iPhone 5 to iOS 6.1.3 3G has not been working, tried all sorts to rectify, any ideas how I can get it back up and running?

    Double tap the screen with THREE fingers, that should get it back to normal again.
    Then go into Settings > General > Accessibility > Zoom > OFF.
    Not too sure about the keyboard and random button presses though.  Back it up and restore from iTunes, see if that fixes it.

  • Sorry, this content is not allowed - absolutely puzzled - how to resolve?

    Hi all,
    I tried to start a new thread today - put a lot of effort into the question - good
    English, code (with tags) tested - basically no problems - forum SQL and PL/SQL
    There were absolutely no offensive words, nor indeed could what I wrote
    be construed as anyway offensive (in fact I positively acknowledged another
    poster's contributions).
    When I try to post "jive" (more like "hive" - the kind that itches) refuses
    to accept my post and I get the message - "Sorry, this content is not allowed"
    I tried to edit bits, move bits around, but to no avail.
    What can I do to resolve this issue? Is it common?
    Any ideas, references, URL's ideas, whatever appreciated.
    Paul...

    Billy  Verreynne  wrote:
    There is a list of banned words on OTN to counter spam. A bone of contention
    that has been raised and discussed numerous times here.
    Do not use sales pitch words - like disc0unt. What about b0nus? Or pr1ce?
    Do not use words that refers to articles of clothing like sho3s or j3ans.And if one is writing an app for the garm3nt industry?
    Is it a frustration? You betcha. I've complained bitterly about it. But the OTN admins seem
    convinced that to counter spam, regular posters and valid postings have to feel the pain. :-(V. annoying - it's not like the volume of traffic is huge... I know that I've been told before that
    the current version of hive is not going anywhere - but for the (apparently) vapourware
    that is the new forum software could have a "rep" status and obviously those who use
    obscenities will be "chaparoned" until they mend their ways...
    <rant>
    It's a bit sad that the world's second largest s/w company can't have a semi-decent
    configurable forum system - it also says much about their attitude to the volunteers
    who give of their time and effort on these fora - I've had much more help here than
    I've ever got off metalink - or whatever they're calling it these days. Furthermore
    it strikes me that it would be a good showcase for Apex - another pet rant is that
    the sample apex apps that were available are no longer there, despite the web
    site saying that they would appear - and that's a good three years now...
    Anyway, another cross to bear...
    </rant>
    On a more positive note, I've criticised Oracle from time to time and have had
    cross words with some fellow posters and have never had a post deleted or
    a thread that I started locked.
    Anyway, keep up the good work on PL/SQL and SQL and Database-General.
    Paul...

  • Hyperlink data to specific data not the whole table

    On a table, I have a hyperlink on one of the columns.
    When I click on the data on that column, another page displays a table with all the data including the data that is clicked.
    I like to be able to click on the hyperlinked data and another page opens up and displays only the data in a table associated with the hyperlinked data. If it displays the whole database table, that will be extraneous data.
    Any ideas?

    If I understand correctly at the moment you have a table with data like this:
    Ford
    Vaxhaull
    Saab
    Fiat
    Jaguar
    Skoda
    And when you click on any of the links (car makes) you would get data like this:
    Focus
    Transit
    Corsa
    Astra
    93
    Panda
    XK8
    Octavia
    Where as what you want to see if you clicked on Ford for example is
    Focus
    Transit
    If that is correct then when you are creating your link in the first table you would need to pass either the make of car or an identifier such as an id to the other page. You can then use that value in the SQL in your new page to select the correct records
    SELECT *
    FROM cars
    WHERE make = :P1_CAR_MAKE
    Kind regards,
    Adam

Maybe you are looking for

  • Crystal Report failed scheduling onto the File System

    Hi, We have set up a Crystal report file for scheduling via file system. This report has been running fine with regards to generation all through last few months, but has started failing to generate the report at the scheduled time onto the file syst

  • How can I transfer photos from my computer to my iPod?

    Please can anyone tell me how I can transfer photo's from my desktop Computer Windows 7 to my new iPod....thanks in advance Joy

  • Sap integration with third party software

    hey all, we are actually trying to integrate sap with EAI( IBM WEBSPERE third party software) and here date needs to flow from EAI - SAP. and we have done that through BAPI and in the EAI we got a message saying that the data base has been created bu

  • Photos do not appear in albums.

    I've used iCloud to stream 50 photos (.png files) to "My Photo Stream" on my iPhone 4S. They get there. Selected 4 of those photos, created new album, saved. The New album gets created, but only contains 1 photo. ? I then go back to "My Photo Stream"

  • Zip compression stuttering

    Hello, I'm writing a program for Zip compressing some files but it's performance is quite odd. It zips the first four files very quickly and then stops for a long time (CPU usage=0%) when closing the 5th entry. Then it zips the next four files and st