Master-Detail Relation- Detail records not displaying

Hi All,
I am working forms(10g) customization for an oracle applications. our requirement is to develop a new window(screen) which should display all the related child records for the master record in the main form on a button press.
i have developed a new database block based on a vew and provided the relation with master block, and done the required customization.
But, when i run the form, and clicked on button, it is giving an error
FRM-40350 Query caused no records to be retrieved.below is the code that i have written on button click
BEGIN
          IF event = 'WHEN-BUTTON-PRESSED'
          THEN
          SHOW_VIEW('XXSCP_GBL_CUST_PEGGING_CON');
          SHOW_VIEW('XXSCP_GBL_CUST_PEGGING_STK');
          app_window.set_window_position('XXSCP_GBL_CUST_PEGGING_WIN',
                                         'CASCADE',
                                         'XXSCP_GBL_EXCEP_DETAILS_WIN');
      SET_BLOCK_PROPERTY('XXSCP_GBL_EXP_DETAIL_V',NEXT_NAVIGATION_BLOCK,'XXSCP_GBL_CUST_PEG_V');                                        
      GO_BLOCK('XXSCP_GBL_CUST_PEG_V');
     -- fnd_message.DEBUG('before execute');
      EXECUTE_QUERY;
      :parameter.p_excep_detail := 'FALSE';
          ELSE
               NULL;
          END IF;
          EXCEPTION
               WHEN OTHERS
               THEN
               fnd_message.DEBUG('other error at button press'||SQLERRM);
          --     NULL;
END;I am able to query records in my view from database, but not working when i run the form.
ANy suggestion will be helpful.
Thanks in advance,
pavan

Duplicate post -- Re: Master-Detail Relation- Detail records not displaying

Similar Messages

  • ST06 - detailed Analisys - OS log not displaying anything

    Hi Experts,
                   ST06 -> detailed Analisys -> OS log not displaying anything in my developement system. When I clickon the OSLog, it is giving the error message "<b>error message:Invalid Parameter
    Please check your Saposcol and your CCMS Agents</b>"
    I have already stopped and started the SAPOSCOL. even though it is not working still...
    Please help to resolve this isssue.
    Thanks,
    Madhuri.

    Hey Madhuri,
    Did you get your issue resolved ? I 'm also facing the same problem.
    If u hvae resolved the issue, do tell me how..
    Regards
    Rahat

  • UIX Master-Detail  - Find button does not display detail lines

    Hello,
    We have a master-detail UIX page. Master has one attribute only. When 'Next' or 'Previous' buttons are pressed, the next master-detail records are displayed.
    However, when master attribute's value is changed by the user and the 'Find' button is pressed, the new detail lines are not displayed. Also we get following error:
    JBO-26080: Error while selecting entity for <ViewObject>
    Has anyone experienced this issue before?
    Thanks, Ali.

    Please dis-regard this post. The correct sequence is to click on Find button, enter new value then click on Execute button to query new values.
    Thanks, Ali.

  • Active condition record not displayed

    Hi,
    During pricing, the active condtion record is picked up.. but not displayed in pricing. The analysis says " Condition record exists (removed manually)"
    The detail analysis says
    This message tells you that the condition record exists but has not been set in the document. If new pricing is carried out for the document item, the condition would be set.
    There can be different reasons why the condition has not been set:
    The condition has been manually deleted from the item condition screen.
    The condition record was created later. Here it should be noted, that order processing and pricing have buffer mechanisms. This has the effect that a newly added condition record is only found after you have completely left order processing and called up the condition record again.
    When an item was added, other key fields were used to access the condition record than the change time. This means that the conditionalcheck at the add and change times could have different results. This can be seen when modifications are made.
    I am very much sure, the record has been created much before the sales order date. If I do carry out new pricing the active condition record is picking up correctly
    any idea?

    Hi
    Are you checking the value in Sales order, before saving the document?
    If yes, please check for the value from VA02/VA03 after saving the Order.
    Thanks,
    Ravi

  • Records not displayed in the WGBEZ field in H_T023_MEPO search help.

    Hello Friends,
    I have created the search help exit , in that based on the LREF3 , we have to fetch the materail groups.
    1.I have written the code in the exit , in the search help exit tables parameter record_tab , the data is coming correctly
    but when we run  search help, the description field is not getting displayed.
    I have shift 2-3 places left side as well but the description is not displayed correctly.
    So how can we get the description field filled.
    2. We want that the LREF3 field should come in the selection screen of the dialog box, so that user can enter the values in it.(dialog with value restriction) so i have added LREF3 field in the search help parameters but i want that
    this field should not be displayed in the results of search help . Only materail group and its description gets displayed.
    So can we achieve the same.
    Thanks to provide answers for my above two questions.

    Hi
    Please go through the related pointers ->
    The OSS note 672960 has already indicated you need to use BADI to address it.
    For Search criteria
    You can also use user-defined fields as search criteria. To do this, you have to set fields XINPUT and XDISPLAY to 'X' in table ET_FIELDS for the fields you want to use in BADI BBP_CUF_BADI_2 in method MODIFY_SCREEN. The fields defined this way are displayed if you choose the 'Extended search' link.
    Re: Custom field in Create Bid Invitation..
    Re: Search Help for Purchasing Group..
    Re: urgent help request - How to add custom fields to  header BID.
    Re: New Screen with table control information in Process Bid Invitation
    Do let me know.
    Regards
    - Atul

  • Adhoc Query- Count of no of Records not displayed

    Hi,
    We are building adhoc queries for one of your requirements. In which, we need to generate the total count of the records. And also no of records with the same value in a specific column.
    Even though we configured this value properly, the ALV output is not displayed as per the configuration.
    Configurations:
    1. Configure a Column in the count field in the "Basic List"
    2. And also tried, Configuring Sort Ascending and Sum attributes under the "Statistics" .
    None of the above two has produced the desired result.
    Can you please suggest me which way we need to go ?

    Hi,
    Before the output in ALV you can try:
    1. Total record count - you can try use DESCRIBE TABLE <internal table>  LINES <variable>.
    2. No. of records with same values - pass the internal table to another internal table and DELETE ADJACENT DUPLICATES COMPARING your needed field, then you can compare the 2 internal table and count number of similar values.
    Hope this gave you another way to address your problem.
    Thanks.
    kath

  • Related Content does not display on the name change page

    Hi all,
    Currently, i am doing some research for the related content. I find that delivery configuration has been on the Name Change component (self service). Then I do the security configuration but the related content option does not display on the name change component. No idea which step next i should take.
    Please advise.
    Any reference or docs is also welcomed.
    Dennis

    Hi,
    What do you mean by my two nodes are all local.
    Are you trying to use Related Content within one environment?
    Make sure you have an authentication domain set on your webprofile and that your hosts file reflects this.
    Make sure there is no proxy or firewall in the way.
    Make sure Integration Broker is setup correctly.
    Try pinging your server including the authentication domain.
    Try looking for log files in the application server and errorLog.html in the Webserv folder.

  • Want claimed record not display to other user.

    Hi All,
    I have a use case where i have display adf table based on vo from DC.
    now i want when i select some rows from table and click on button(claim) these selected record display on this user not all util user does't unclaim
    record.
    how can i handle this in Adf?
    thanks
    Manish

    Hi,
    you could have a view criteria added to the view object that filters the data by the value of a claim field to be the username or null. This however would only filter the information when a user performs a query. However in your post you don't mention how immediate the claim should display for other users
    Frank

  • Records not displayed on the table view

    We have a scenario as follows :
    I am working on webdynpro project in which i have table on one of my second view.
    when i insert a records in the table by entering its values from the Form on the startView,  it is being shown as populated on the table.
    But once I insert my second record(s) also, the first or the previous records are not visible once i click on the display button.
    Can anyone help me to solve my problem as to how to see all the records inserted in the table on this view.
    Also plz let me know how to physically check the records on the database side.I am using the dictionary tables as my datasource and using SAPDB database.
    Thanx in advance..

    hi
    Try this code.
    Node-->Person
    Attributes of Person-->FirstName,LastName(String)
    ComponentController-->FirstCompController
    FirstView:
    onActionDisplay(...){
    String fname= wdContext.nodePerson().currentPersonElement().getFirstName();
    String lname=wdContext.nodePerson().currentPersonElement().getLastName();
       wdThis.wdGetFirstCompController().wdGetContext().nodePerson().currentPersonElement().setFirstName(fname);
       wdThis.wdGetFirstCompController().wdGetContext().nodePerson().currentPersonElement().setLastName(lname);
        wdThis.wdFirePlugOut1();
    SecondView:
    onPlug<plugname>(..)
    String fname=wdThis.wdGetFirstCompController().wdGetContext().nodePerson().currentPersonElement().getFirstName();
      String lname=wdThis.wdGetFirstCompController().wdGetContext().nodePerson().currentPersonElement().getLastName();
       IPrivateSecondView.IPersonElement elem=wdContext.nodePerson().createPersonElement();
       elem.setFirstName(fname);
       elem.setLastName(lname);
       wdContext.nodePerson().addElement(elem);
    you have to do navigationlinks from FirstView to SecondView and viceversa and also context mapping between ComponentController and views.
    In the second view also create actionbutton for navigating to the firstview and
    Fire the oubound plug also.
    Regards
    sowmya.

  • Master Data Load - Number records not match

    I am loading the 0PLANT table.  In R3, it shows 966 records.   After running the InfoPackage, there are 966 records in the PSA, none in error.  But I get a message - Number of records  requested does not match number transferred (packet 1).
    This is a first use of a new source system to this BW.  All master data loads give me the same error.
    What is setup wrong?

    Hello RoberT,
    & How r u ?
    For the same 0PLANT we load data on daily basis. Not only for this but also for more Master Data Objects. For some of them we used to get this message but not as an Error. On pressing the Update Tree (Refresh) it will change the status.
    Anyway u got the records in the PSA so there is no problem with the data load. What signal u find in the Monitor ? Yellow or Red ? If yellow wait for some time, press Update Tree.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Display property of key field in master block effects detail blk refreshing

    Can anyone throw light on why a screen with the detail block in a straightforward master detail block does not refresh correctly unless one of the two key fields in the master block is displayed? The key field did (of course) exist in the master block - it just was not displaying. As soon as this key field was displayed, then when ever the problem screen was opened or the master block records were paged through, then the detail block refreshes nicely. Disable the display property again and the detail block does not refresh nicely. Found problem in forms 6i. (note, usage of the synchronize function did not change anything)
    Did I see similar problem some six or so years ago in forms 4? Ideas anyone?

    re rebuild from scratch.
    yes, we did rebuild the form from scratch. Original form was generated. Carefully made the same blocks, block relationships etc etc etc and then copied code from old forms triggers and so on carefully over.
    re being reproducable
    yep, tis so. We are both long term experienced Oracle developers - but this is a weirdy. Got any ideas? If we work anything out we shall certainly update this.

  • Some contraints are not displayed in modeler

    Hello,
    I imported a set of tables into the modeler that is in Jdeveloper. There are some foreign key constraints that are not being displayed with a line although the constraint is there if I look at the table's properties.

    Hello,
    Answers to your questions:
    -Oracle DB: 9.2.0.1.0
    -Server OS: Win 2000/Server, updated all service packs
    -Jdeveloper: 10g == 9.0.5.1 (build 1605)
    -I use the import wizard to get all of the tables imported to a off-line set at the same time.
    -Yes, the tables were all imported at the same time.
    The schema is propietry, so I can't not release it. It would take me quite bit of effort to remove the propietry information, so I don't think I'll be able to provide the code. If I have free time in a week or so, I'll consider shrubbing it and sending it to you.
    Anyways, here is a descrption ofthe behavior of Jdeveloper when the error ocurrs, a simple description of the DDL, and details on the constraints on the tables where the problem occurs:
    1) I use the import wizard to get all of the tables imported to a off-line set at the same time. Sometimes a table will get imported without a tablename. Sometimes a blank line is in the list of table names, but all of the tables are there. When the blank line error occurs I get the problem with the missing relationship line in the diagram.
    2) Create blank diagram.
    3) Select all tables. Since there is a blank line in the list of table names, I have to use the control key to select all of the tables.
    4) Drag all of the selected tables onto the diagram.
    5) Only one relation is does not display in the diagram with a line although the details of the relation is there if I look in the properties for the table. The relationship that has the problem is a foreign key relationship from a table A to table B named PRE_SMD_FK that is listed below. Table A is different from other tables in the schema because it has a circle constraint which is also listed below.
    DDL is about:
    ~40 tables
    ~20 in a star configuration
    ~19 tables linked in almost a chain
    1 table has no relationships
    ALTER TABLE B
    ADD (CONSTRAINT SME_PK PRIMARY KEY
    (ID))
    ALTER TABLE B ADD (CONSTRAINT
    SMD_STD_FK FOREIGN KEY
    (SYSTEM_VERSION) REFERENCES C
    (SYSTEM_VERSION) ON DELETE CASCADE)
    ALTER TABLE A
    ADD (CONSTRAINT P_PK PRIMARY KEY
    (ID))
    ALTER TABLE A ADD (CONSTRAINT
    PRE_SMD_FK FOREIGN KEY
    (ID) REFERENCES B
    (ID) ON DELETE CASCADE)
    ALTER TABLE A ADD (CONSTRAINT
    P_P_FK FOREIGN KEY
    (PARENT_ID) REFERENCES A
    (ID) ON DELETE CASCADE)
    ALTER TABLE A ADD (CONSTRAINT
    P_P_FK FOREIGN KEY
    (PARENT_ID) REFERENCES B
    (ID) ON DELETE CASCADE)

  • Serious problem with previous / next record in master-details relations

    I have master-details relations like this (if master is A) :
    A-B
    A-C and C-D
    When I move down with do_key('next_record') all values of all records in all blocks are OK. But when I move up, it doesn't work : all D block values are erased and I don't understand why ?
    Thank you for your help.
    Antoine LEFEBVRE.

    Blocks A and B are in the first canvas and blocks C et D are in the second canvas.
    On next_record action from A the B is updated, C too and D too. But on previous_record action, D is not updates.
    To display the second canvas I use a command button and into the WBP trigger there is :
    go_block(C);
    execute_query;
    to be sure to execute query, but it's null.
    What's your suggest ?
    Thank you,
    Antoine.

  • Change in master block record not cascading to detail record blocks

    Using Forms [32 Bit] Version 10.1.2.2.0 (Production)
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    I am encountering the following problem in my form:
    I have a master block that has 2 associated detail blocks, one of which acts as a master block for another detail block:
    Master ---- Detail
             \__ Detail(master) ---- DetailThe first two detail blocks are joined to the master block on 3 fields, a date, a 10 digit code and a 5 digit code.
    The third detail block is joined to its master block by 4 fields, 2 dates, the 10 digit code and the 5 digit code.
    The problem I am encountering is when any of the fields that the blocks are joined on are updated in the master block (they don't show up in the form for the other blocks, it auto populates them) the detail blocks are not also updating and the records are being orphaned.
    So if my master block has the following data:
    January 1, 2009
    1234567890
    abcde
    And there are detail records matching this, but the master block changes too:
    January 1, 2009
    1234567890
    edcba
    Rather then the detail records being updated with this new 5 digit code, it shows up blank on the database as it cannot find detail records that match that new set of data. The records still exist in the table, but they are not updated when the master block is updated. Do i need to change the relation properties of the blocks?

    It is not a good practice to update the primary key values especially when those fields act as foreign keys.
    So it will be better to make those fields UPDATE_ALLOWED false.
    If that is an unavoidable condition, in the pre-update trigger of header block, write the update script to update those fields and re-query the detail
    Or
    in key-commit
    loop thru all the records in detail blk and assign values to those feilds and save it

  • Master-detail: detail field not displayed after changed by master field

    I want to use the Depends on item with Clear/refresh value functionality in a master detail situation. Within the same group it is no problem to use the setter method of a field to change a second field and then displaying this new value. But in the detail group, I can not select items from the master group as a depends on item.
    In the setter of the master field, the value in a field for each row in the detail (table layout) is updated. The only problem is that this updated value is not displayed, the old value doesn't change. When saving the changes, the displayed value is committed to the database. When de updated field is not displayed at all, the correct value is saved, so I know the detail field is updated.
    How can I make sure the displayed value in the detail is displayed after changeing a master field? I already gave the detail field the correct partial trigger.

    Wouter,
    I guese you don;t see the changed value when you display the detail item because after the depends on item update changed the detail item, JSF procesing continues and the detail table changes are sent to the server which will override again the detail item attriibute, resetting it to the old, still displayed value.
    So, the trick is to get PPR working. Make sure the partialTYriggers property of the detail item is set to the value of the id property of the master item. If it still doesn't work, try setting the partial triggers property on the table, instead of the individual item.
    Steven Davelaar,
    JHeadstart team

Maybe you are looking for