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.

Similar Messages

  • Who can I update primary key field in master block

    Hi,
    I want to update the primary key field in master block when there are some records are present in detail block, when I edit the primary key filed there is an error FRM-40509 unable to update record. The primary key is also referred by the detail table.
    So kindly give me the solution who can I update the primary key in master block when there is child records exists in detail block?.
    Best regard,
    shahzad

    pls tell us a little more about, why you want to update a PK in a master block.
    I haven't done that my whole time. Maybe you need something different.
    The problem is, that your child-data references to the master-pk, so there is the point you have to go deep into the codings. But better don't do it. Tell us first why. I think there are other solutions for that.
    try it
    Gerd

  • Change primary key field in Master-Detail Form (Urgent)

    Hi,
    Can some experts share your valuable experience on the problem below?
    We have created a form Master-Detail relation. For some reasons, we have to allow the primary key field to be editable. But we couln't achieve it in Form 6i. It gives update error during commit.
    Your kind help will be highly appreciated.
    Regards,
    YM

    Hi there,
    I think the problem is because u are updating the primary key in the master block but since it is a master detail block u need to update it in the detail block as well.so what i suggest u to do is in the pre-insert trigger assign the value of master primarykey to the detail primary key....
    just check this out hopefully this shud help u.
    Bye
    Atul

  • When moving from one master block to detail block  it must save record.

    when moving from master block to detail block it must save record or it will give message like 'save changes '....
    when i write it ,but this message will be coming.
    But if i save record message will appear two times.
    plz Help me.
    Thanks & Regards
    Venkata.
    Message was edited by:
    venkata

    Hi,
    you could ask for Form_Success when moving to detail_block (in wehn-new-block-instance i.e.) and if not form_success you could show an alert to ask for commit changes...
    Jose.

  • How to display the Primary key field in Application Form.

    IDFINALNO , USERNAME
    (No view) , RockQin
    I developed one new application form which is including the "Edit" item in every record.
    But I can not find the data that is Primary key field . So how to config the property to display that data.
    Thanks a lot!

    One of the guidelines when selecting column for a primary key is:
    Choose a column whose data values are never changed. A primary key value is only used to identify a row in the table, and its data should never be used for any other purpose. Therefore, primary key values should rarely or never be changed.
    Cheers!

  • To add a key field to master data

    Hi Gurus,
      I have 0UC_DEVICE as my time dependant master data.
    It has two key fields(device number and todate).
    I have to add from date also as a keyfield to this master data.
    Can some one help me in this?
    points will be assigned for helpfull answers.
    Regards,
    Senoy

    Hi,
    You can add other Key Field to your master by insetting it as a compounding characteristics. Before that couple of points needs to be taken care off.
    1. Delete the data from Master. As you are adding a Key to master, it will not allow it unless you delete the complete data from master.
    2. Also delete the master data from Quality, Production systems etc... to make this transport successful.
    Regards,
    Yogesh.

  • How to create a JClient form with one master block & multiple detail block?

    Hello,
    I am using Jdevelopver 10.1.2
    I want to have a JClient Form with one master table A and two detail tables B, C.
    But in the JClient Form wizard, I can only create a one master with one detail relationship. Can I create multiple details in that wizard ?
    Thanks
    Stephen

    Create a JPanel based on the second detail table with the wizard and add manually the JPanel to the Master-detail Form.
    Regards
    Fred

  • To display the typ, key field,info in the top-of -page event in OO ALV

    Hi all,
    I need to display the heading and the other select option details in the top-of-page  event in ooalv.How can the key ,typ and the info of top of event  in alv grid be passed in ooalv grid display.
    Regards,
    Arpita

    Check the blog.
    TOP_OF_PAGE in ALV  Using CL_GUI_ALV_GRID
    Now you have to use the method ADD_TEXT to populate the Select options details.
    I hope you know the Function to get the selection details
    RS_REFRESH_FROM_SELECTOPTIONS,. it will give into a table. so use that table and populate the TOP_OF_PAGE uisng the class CL_DD_DOCUMENT.

  • Reference a field from master query in detail query

    Hi,
    Please tell me how do I reference a field say incident_no in my master query to a detail query.
    like
    detail.incident_no != master.incident_no
    I am joining both the queries using a link. But still I need to reference another field from the first query in my second query. I thought this was possible using formula columns or trigger's. Please help.

    Hey Vadim,
    That worked. How come.. You know I did it several times before and all it said was, that it was going to create a new parameter field called so and so.
    Good, so does it work just this time or always ? just kidding. Reports is so unpredictable, at least for me.
    Thanks Vadim,
    Joe.

  • 0vendor is not displaying name attribute when I maintained master data.

    0vendor is not displaying name attribute when I maintained master data.
    Details: I have four records in the 0vendor infoobject (sand box). I have to show these four records to the client. As i have free hands I maintained master data in the name field and finally activated master data. But when I add the name attribute to the vendor charecteristic in the query designer; it is displaying name attribute as # . Any idea how to display the names of the four vendors in the zquery.
    Also do you know the transaction to copy standard query to Zquery?
    Thanks in advance.

    Dear Les
    For 0VENDOR, Set Property as Key & Text, try once again.
    Yes, you can copy the standard query very well.
    Open the Standard query & using SAVE AS, you can copy to "Z" queries.
    Hope, now you will get some idea
    Regards
    Saravanan.ar

  • Forms 6i: master block

    the master block and details block sharing the same canvas.
    after establishing relation ship, i'am able to view item details for details blockand when i delete record in master block cascading is also working fine.
    but when i try to enter data to be stored in master,its not aloowing.

    pls. explain a little bit more. Which error message do you see ?
    You annotation with the canvas can't be the problem. It's not important where the items are displayed.
    Tell us a litte bit about the tables you show in master and detail. Do you have non-basetable-items in there ?
    many questions
    Gerd

  • Key field value in outbound/sender file adapter

    Hi,
    I have a flat file coming in PI. The structre for the same is
    1. Detail record line ocurs n number of time
    2.Summary record line occurs only once at the end
    I have defined a datatype as follows
    <DT>
       <Recordset>
            <Detail>
               All the detail fields
            </Detail>
           <Summary>
               All the summary fields
           </Summary>
    </Recordset>
    </DT>
    Now the number of detail record is not know. But there is only one summary record.
    In the sender file adapter do we need to configure the keyfield paramter? If the number of detail record is * .
    The problem is the input file does not has any key field to parse/identify the detail or sumary record.
    Any alternative?
    Thanks

    hi ,
      if you have two structures so do like this:
    Recordset strucrure                detail,summary*
    detail.fieldFixedlength          :          10,20
    detail.fieldNames                 :        xxx,yyy
    summary.fieldFixedlength     :         10,20
    summary.fieldNames           :        www,vvv
    rest configuration will be same.
    hope this will help.
    regards
    HONEY

  • Sender Adapter - Content Conversion Key Field Query

    Hi,
    I have a flat file of the following structure I am attempting to convert to XML using a file sender adatper:
    H1,H2,H3,H4
    D1,D2,D3,D4,D5,D6
    D1,D2,D3,D4,D5,D6
    D1,D2,D3,D4,D5,D6
    T1,T2,T3,T4
    Within the Content Conversion tab I have a Recordset Structure of:
    Header,1,Detail,*,Trailer,1
    i.e one header record, multiple detail records and one trailer as per the above example.
    It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
    Anyone help ?

    >>It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
    Yes you need to set key field value for your Header, Detail and Trailer
    Example:
    Header.keyFieldValue    H1
    Detail.keyFieldValue     D1
    Trailer.keyFieldValue   T1

  • Diferent key field names within a recordset

    Hi
    Can we have different key field names for records within a recordset.
    When i give different key field names for Header and detail records in a recordset i get the error below: -
    message not processed: com.sap.aii.messaging.adapter.trans.TransformException: Transformer Conversion3.0.5227 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403)
    Thanks

    Hello Pratihchi,
                   One keyfield name is allowed, eventhough we have different records per recordset. Because we can differentiate the rows based on the keyfieldvalue and those value we need to mention in the fieldname. Check below link which contains the example on this.
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5393- [original link is broken] [original link is broken]> [original link is broken] File Adapter->Sender File Adapter for Content Conversion
    Regards.
    Prasanna.

  • Displaying TPM header fields on assignment block - CGPL/IBOM Framework

    Hello Folks,
    Our system is on CRM 7.0. The requirement I have at hand is to display 2 addtional fields 'Status' and 'Tactic' from the Trade Promotions Header on the 'Trade Promotions' assignment block on the Agreements Overview page.
    UI Component - agroe
    View - AGROE/TradePromotion
    These fields are already existing on the Trade Promotion Overiew page and are part of the TPM header.
    What I did till now is,
    1. Used trasnaction CRMC_MKTIB_IL_CUSTOM and under application CRMD_MKTPL changed the attribute structure of the Node MKT_AGR_TPM from CRMS_MKTPL_IB_AGR_TRADE to ZCRMS_MKTPL_IB_AGR_TRADE. I have copied ZCRMS_MKTPL_IB_AGR_TRADE from the original structure and added two new fields for STATUS and TACTIC.
    2. On the View configued the two new fields.
    But the values are not showing up on the assignment blocks.
    This query I guess boils down to the CGPL/IBOM Framework. Could someone please suggest the steps I need to enable the two fields on the assignment block? If anyone has pointers to information on CGPL/IBOM Frameworks please also share the same.
    Thanks & Regards,
    Gaurav
    Edited by: Gaurav Walia on Oct 18, 2009 12:24 PM

    Hi Gaurav,
    Initially I thought that the issue can be that you just replaced the Assigment structure, but the Model Collection, Item and Persistency Class methods may still be using the same structure CRMS_MKTPL_AGR_TRADE in the methods. But that is not the case as they are mostly not redefined.
    (Anyhow, you have to debug methods FETCH_DB,MOVE_DB_STRUCT_2_ATTR, MOVE_ATTR_2_DB_STRUCT of class
    CL_CRM_MKTPL_ASSIGN_TPM_PERS to validate the dataflow.)
    Did you maintain the same in IBOM customizing?Check TCODE;CRMC_MKTIB_IL_CUSTOM.
    The IBOM Collection Class CL_CRM_MKTPL_IB_AGR_TPM_COLL is using structure CRMS_MKTPL_IB_AGR_TRADE in some of the methods.All these things need to be taken care of.
    Personally, I would have tried to create a new relation with same cardinality and key fields and tried to map the same onto UI,as substituting standard IBOM structures and classes may create issues for me in future.
    Regards,
    Masood Imrani S.

Maybe you are looking for

  • Why am i being charged dollars when i did not buy anything!

    why am i being charged ($1.05 on several occations ) when i did not buy anything, just downloaded free apps and sometimes i have updated few of those free apps. all i see is charges our of no where! it doesn't happen every time i do a free download (

  • Error in installing erp 4.7

    ERROR 2010-08-23 19:26:03 MSC-01003  ESyException: ESAPinstException: error text undefined ERROR 2010-08-23 19:26:03 FJS-00012  Error when executing script. ERROR 2010-08-23 19:26:03 FCO-00011  The step fillR3loadPackageTable with step key SAPSYSTEM|

  • Since LION update problem with iphone syncronisation

    Since the LION update on our macbook we have problems with the iphone syncronisation, reset the iphone has not solve the problem - what ist the mistake?

  • Can Logic Pro 9 and ProTools 9 get along?

    I have been using Logic Pro for several years now. I recently bought a version of ProTools 9. Will both of these programs coexsist together on the same Mac without creating problems for each other? Do I need to run them on different computers? I know

  • Any one having problems inserting Pages files into iBook author"

    Ever since I updated the Pages a week ago, iBook Author is unable to read Pages files while attempting to insert. Never had a problem in previous versions of Pages or files created a few months ago. The only work around is to copy text and past into