Master detail: 2 reports and 2 forms

Hi,
First I had 2 times a "form with report on 2 pages" so I had 4 pages: 2 for the reports and 2 for the forms.
Now it's the purpose to have 1 page with with a sort of master detail of the 2 reports and 2 pages for the forms. But I still need to be able to make a create/update/delete on the different forms.
For the moment I've added the "detail" report below the "master" report on 1 page, and deleted the page with te "detail" report. So there are 2 reports with each a reference to their own form where I can create and delete. Update is possible from the report page.
How can I make those 2 reports a little bit more good-looking? I would like to have a master report and by clicking on a record, the detail-records must appear. I also have to be able to create/update/delete a new master and detail record...
Any ideas?
Greets,
Sofie

Rocco,
The JHeadstart tutorials have a topic "Nesting Groups More than 2 Levels Deep". This topic explains how to make post-generation steps to get the functionality you want. Choose the tutorial for your View Type / Controller Type combination (you can find them via J:\jheadstart\doc\index.html).
Hope this helps,
Sandra Muller
JHeadstart Team

Similar Messages

  • Master-detail relationship - passing parameter from form to form

    Hello.
    I have a question about master detail relationship.
    In first form we have master-detail relationship.
    Example on dept, emp tables:
    We query dept (master), so we can get one or many emp (detail) records. Then we have a third table - tasks. Tasks table (detail) can have many records for one employee.
    Tasks table is in another form, which is called with call_form built_in. So we pass a parameter from master to detail - parameter empno. Because of that, we can only see tasks for one employee and can't navigate to another employee. This is normal.
    Now comes the question.
    Is it possible to call a form (with tasks table) with deptno parameter (so we can navigate through all employees with that department), but first show employee that was last used in first form?
    Example of our goal.
    Master: deptno = 20
    Detail: navigate to JONES employee
    Call new form (tasks)
    Tasks for JONES employee are first shown
    Can navigate to another employee - without requery
    Is this possible?
    If we pass deptno parameter, we can navigate through all employees - but must navigate to the employee we last used in first form.
    If we pass empno parameter to second form, we see last used employee but cannot navigate to another employee without requery.
    Hope you understand my problem.
    Thanks.

    Hi
    yes you can pass parameter from one form to another.
    In your master detail form set the trigger when-new-instance and there define the global variable like
    :GLOBAL.G_CIRCLE_ID := NULL;
    and in your task table set the trigger when-new-instance and there define the global variable like and also write this code
    :GLOBAL.G_DIVISION_ID := NULL;
    IF :GLOBAL.G_CIRCLE_ID IS NOT NULL THEN
         GO_BLOCK('DIVISION');
         SET_BLOCK_PROPERTY('DIVISION',DEFAULT_WHERE,'CIRCLE_ID ='||''''||:GLOBAL.G_CIRCLE_ID||'''');
         EXECUTE_QUERY;
    END IF;
    :GLOBAL.G_CIRCLE_ID := NULL;
    now you maintain your trigger according your need.
    Regards,

  • Diff  b/w Report and a Form

    Hi all can u please give appropriate difference between report and a form ..this was the question asked in my previous interview

    hi,
    welcome to SDN...
    Script is a form which has a layout set as per the company standards and can be used for external use too.  Generally reports are designed for internal use for in house users
    A script is a used for printing company specific documents as shipping labels, invoice, purchase order etc. it is basically meant for printing as copy to the customer or others. it is client dependent. It can never be interactive.
    However, a report is an executable program which can be static or interactive used to automate an existing business functionality which is mainly used for reporting purpose. it is client independent.
    Mark the helpful answers
    ~~Guduri

  • Accident Report and related form

    Dear All,
    my requirement is if any employee met with accident, we have maintian those details in Infotype. and we have submit the accident report form to Form 16 to ESi and Form 18 to inspector offactories.
    do we have such kind of infotype and form 16 and form 18 in sap.
    if there standard foem plese forward report details or path
    Regards
    Hari

    how can i use the row id within my select query?
    Below is my query
    select
    "SRC_DATASTORE",
    "SRC_SCHEMA",
    "SRC_TABLE",
    "TGT_DATASTORE",
    "TGT_SCHEMA",
    "TGT_TABLE",
    "COMMENT",
    "UP_DT",
    "PUB_DT",
    "PROJECT"
    from "TBL_SRC"
    where
    TGT_DATASTORE = :P1_DATASTORE
    AND TGT_SCHEMA = :P1_SCHEMA
    AND TGT_TABLE = :P1_TABLE
    ORDER BY 1
    SRC_DATASTORE","SRC_SCHEMA","SRC_TABLE","TGT_DATASTORE","TGT_SCHEMA","TGT_TABLE" -----these are all my primary keys.
    can u plz help me out with this one

  • Master - Detail relation succeded and the failed!!

    Hi all,
    I've made a master-detail relation between two data block using data block wizard with (copy value from item) property, this worked successfully for times and failed a lot of times!
    when I insert a record at the master data block the value is copied at the detail data block, but when I did the same thing for another time the value didn't copy!!
    to solve this problem I made a trigger at the detail data block (pre insert):
    :Master.Item-Value := :Detail.Item-Value
    this one succeded for the first time and then it failed!!
    I don't know what is the problem
    Note:
    I connected to a database server on another PC and work and save my forms at this PC.
    Edited by: Dev. Musbah on Oct 5, 2008 3:54 AM

    One about the important note:
    Thats exactly the missing point.
    If you assign the PK-value by a database-trigger, you have to read it back into forms after the insert.
    Three possibilities:
    1. There is a property at block level like "DML returning clause" If set to "Yes", forms will read back all values from the db after insert or update.
    2. Write an POST-INSERT-trigger at block-level and read back the ID by yourself using a cursor.
    3. Assign the PK-value already in the form in a PRE-INSERT-trigger and populate the PK-column in the database-trigger only if the pk-column is null
    hope this helps.

  • Creating a new row in a master detail VO relation and its consequences.

    Hi,
    I'm currently facing a lot of problems which make me doubt if my perception about the whole ADF entity-view object mechanism is right.
    I have a page which displays data from a master detail VO relation (master offer - detail officeinfo). I also have a small dialog LOV window which makes it possible for me to select an office to match up with the current offer... Both the office LOV and the officeInfo detail use the same Office entity object.
    This worked perfectly fine until I wanted to add create NEW offers. I created my own insert method which basically performs a createRow on the master VO and inserts the newly created row in this VO. On a sidenote, I also fill out some default data read from a property file, which is why I decided to implement my own insert method in the first place.
    Initially, the problem was that the inputText fields of the detail VO (OfficeInfo) were not displayed at all. I imagined that I also had to perform the create and insert methods on the detail VO and indeed, from that point on all inputText fields were displayed and my page was ready for input.
    Yet today, I notice that in my Office LOV which is based on the same entity as the one my detail OfficeInfo VO uses, this newly created row is ALSO visible. To me this is quite unwanted and surprising behavior. I did not expect the row already to be visible in the LOV, since basically it's just an empty row ready for input...
    Am I perceiving things wrong? Or anyone has a nice solution to fix this?
    Thanks,
    Douglas

    Hi Douglas,
    It is happening because you have created an updateable office LOV which is based on same entity object used to save your newly created records.
    Use readonly LOV based on plsql query in your page and you can keep rest of the thing as it is.
    I think it will solve your problem.
    Cheers,
    Suyog

  • Diff between normal report  and Smart forms

    Hi Experts,
    I  am a fresher, i have only a basic knowledge in sap. please help me to improve my knowledge...
    I have some doubts???
    1) What the difference between normal report(created using SE38 interactive and classic) and smart forms report???
    2) whether we will use any even in script and smart form???
    Please do the needfull...
    thanesh

    Hi
    in smartforms and in scripts we write a driver program to execute the smatform /script.
    we can write the code in the smartform iteself also.
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc

  • Master-details tables with popup edit form : popup doesn't zynchronized

    In first, we don't use "Task Flow".
    We have 1 table master and 1 table details.
    Each of these tables shows an Edit button to open a popup formular.
    This formular is based on the same view object than the table below.
    The trouble is that :
    1. The user moves the current row on the table "Master".
    The table "Detail" refreshes automatically (partial trigger based on the table "Master").
    Click on the Edit Button, on table "Detail" shows the popup formular on current detail row.
    2. The user changes the current row on the table "Master".
    The table "Detail" refreshes automatically (partial trigger based on the table "Master").
    But, Click on the Edit Button, on table "Detail" shows the popup formular on the same previous detail row. The trouble is that the popup formular is not correctly refreshed.
    Failed Tries :
    We add a partial trigger on the detail popup formular, based on :
    a) an item from the Master Table
    b) the MasterTable
    c) the Detail Table
    Without success.
    screenshots:
    1) master table row 1 : [master : ok|http://img87.imageshack.us/img87/5699/sanstitrevs.jpg]
    2) master table row 3 : [master change row : ok|http://img14.imageshack.us/img14/6242/sanstitre2ef.jpg]
    3) detail table, row 1 : [slave row : ok|http://img8.imageshack.us/img8/9392/sanstitre3ay.jpg]
    4) detail table, other row : [slave other row : ko always first detail row data|http://img17.imageshack.us/content.php?page=done&l=img17/5923/sanstitre4bx.jpg&via=mupload]

    On the popup control, try switching the popup's contentDelivery property to lazyUncached.
    CM.

  • Master-Detail(multi) report

    i created one report with Group Above style. at that time it was created one main group and its child group. after that i created one more query. i want to to set it the child of the original master. how can i do?
    Master : Employee master data
    Child1 : Employees original earnings
    Child2 : Employees original deductions
    Child3 : Employees actual earnings
    Child4 : Employees actual deductions
    here i created master and child1 with wizard by selecting group above. after that i created remaining 3 queries. now how can achieve the relation between master and 3 child queries?

    You need to set up 'Data Link' between the master and child queries.
    Btw, do u know that there is a separate forum for Oracle Reports? Plz. post your query there.
    ciao
    S

  • Click on Field in report and Open Form

    I know this question relates to Report but I did not receive any reply from report forum that is why I m posting here.
    I want that when I click on a ABC Field (in runtime report) then it open form..
    please help.

    Thank you both of you
    I have idea what should i write in code but please let me know that Report 6i has any event like in form (When-mouse-click etc) so that I could write code in that trigger.
    I wrote code in PL/SQL of one Field
    function F_MAIL_REFFormatTrigger return boolean is
    AppID PLS_INTEGER;
    begin
    AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\Office11\WINWORD.EXE',
              DDE.App_Mode_Minimized);
    return (TRUE);
    end;
    I have three record in report when report run it is opening word 3 times I m near to solve this issue but I'd like to know proper trigger .
    Message was edited by:
    Kamran

  • Oracle Report and Oracle Form Version supported by Oracle Enterprise 10gR2

    Dear support,
    Would you please advise me on the version of the following product supported by Oracle Enterprise Edition 10gR2?
    1. Oracle Report
    2. Oracle Form
    Thanks.
    Kan Fok

    Hi,
    I think Reports 6i has the option to create character delimited output, which can be used for Excel imports. In Reports 9i the ability to add a mime type that opens Excel directly was added
    Frank

  • Master/Detail SQLPlus report

    Hello,
    Can anyone help me to produce the following o/p using sqlplus commands,
    Order Number Ordered Date Currency Creation Date
    1 01-Jan-2012 USD 01-Jan-2012
    Line Number Item Line amount Type
    1.1 A 10000 External
    1.2 B 10000 External
    Order Number Ordered Date Currency Creation Date
    2 01-Jan-2012 USD 01-Jan-2012
    Line Number Item Line amount Type
    1.1 A 10000 External
    1.2 B 10000 External
    Order Number Ordered Date Currency Creation Date
    3 01-Jan-2012 USD 01-Jan-2012
    Line Number Item Line amount Type
    1.1 A 10000 External
    1.2 B 10000 External
    Please help me.
    Thanks,
    Devaraj.K

    Actually i need report o/pl like below using sql/plus type of execuable
    Order Number Ordered Date Currency Creation Date
    1 01-Jan-2012 USD 01-Jan-2012
    Line Number Item Line amount Type
    1.1 A 10000 External
    1.2 B 10000 External
    Order Number Ordered Date Currency Creation Date
    2 01-Jan-2012 USD 01-Jan-2012
    Line Number Item Line amount Type
    1.1 A 10000 External
    1.2 B 10000 External
    Order Number Ordered Date Currency Creation Date
    3 01-Jan-2012 USD 01-Jan-2012
    Line Number Item Line amount Type
    1.1 A 10000 External
    1.2 B 10000 External

  • Business Partner Detailed Aging Report and ORCT CounterRef

    Hi Experts!
    I would like to add a field onto my Aging Report.  I would like the field to be the CounterRef field found in the ORCT table.
    Is there a way to do this please?
    Look forward to hearing from you!
    Many thanks,
    Caroline

    Hi Caroline,
    Aging report is one of the hard coded report that you don't have option to add any fields.  You need your own report by report tool such as CR.
    Thanks,
    Gordon

  • Salesforce issue- Accessing Objects and Reports with 2 master-details

    I'm using Crystal Reports XI r2 with the Salesforce data connector installed, and I know the same issue exists in CR 2008 as well.  With version of the Salesforce API that the Crystal - Salesforce connector is using, objects that have 2 master-detail relationships are not available to add to reports.  Even if I create a stanard Salesforce report with an object with 2 master-details, that report isn't available in the "Stored Procedures" of Salesforce in Crystal.  The API is about 3 years out of date, any word on when a new version will be available?  This is a big limitation.

    Try SP3 for CR 2008. Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Can I link from Interactive report Page 1 to Master Detail page 2?

    Hi folks-
    I know how to create a Page as an Interactive Report; it creates 2 pages automatically (primary page with the great interactive bar) and a 2nd page that's a single record.
    I know how to create a Page as Master Detail, whereby I get a tabular list without the super interactive bar, and I can select a record, and get transported to a nice page with 2 regions (master on top, detail on bottom).
    I want to have the First page from the Interactive Report, select the record, and go to the 2nd page of a MasterDetail.
    Do I create the Interactive Report, and customize the 2nd page, to add a region?
    Or, do I create both page types, and redirect from the 1st page of the Interactive Report to the DML Form from the MD report? I tried that, re-assigning the link from the Interactive Report to be a Link to Custom Target, and specify the page # of the Master-Detail page. And it is taking me to the right page, but the data from the selected row is not coming with me, and the detail in the bottom region is not appearing at all.
    Can someone please give me a nudge as to the sequence I should be doing?
    (As you can tell, I'm new to Apex.... I'm trying to use it to create a prototype or proof-of-concept for a database driven web application)
    Thank you
    Marion

    Yes, I tried that after I wrote to you - and it's fine, but not what I'm after; it's only based on 1 table and I'm working with 2 tables.
    Perhaps I can explain in better.
    I want one page as an interactive tabular report (of the master records)
    I want to select a row, and transfer to a page that has the corresponding row on top (as a form), and a tabular region below of records from a related detail table.
    ie, I want page 1 from the Interactive Report, and page 2 of the Master Detail report.
    OK - I just took the form page, and added a region below in a tabular report. And I'm getting the data, but I'm getting all the records (not just the ones associated with the single record on top. I figure I need to edit the Region Definition->Source (to specify that the id numbers need to match), but the code is not editable.....
    So I am in Structured Query Attributes, and I've Modified the Join Conditions - but I still get all the detail records in the bottom region. I''m trying to add in the ( + ) qualifier, but it doesn't affect anything...
    I'm soo close to what i'm trying to do!
    Thank you for your continued patience and assistance
    Marion
    here's the Source I have for the region..... (I'm including the excess ID columns just for learning purposes)
    SELECT
    "PHONENUMBERS"."PHONE_ENTITY_ID" "PHONE_ENTITY_ID",
    "ENTITIES"."ENTITY_ID" "ENTITY_ID",
    "ENTITIES"."FIRSTNAME" "FIRSTNAME",
    "ENTITIES"."LASTNAME" "LASTNAME",
    "ENTITIES"."COMPANY" "COMPANY",
    "PHONENUMBERS"."PHONE_ID" "PHONE_ID",
    "PHONENUMBERS"."PHONETYPE" "PHONETYPE",
    "PHONENUMBERS"."PHONENUMBER" "PHONENUMBER",
    "PHONENUMBERS"."PHONECOMMENT" "PHONECOMMENT"
    FROM
    "PHONENUMBERS",
    "ENTITIES"
    WHERE ENTITIES.ENTITY_ID = PHONENUMBERS.PHONE_ENTITY_ID
    Edited by: mtpaper on Oct 12, 2009 1:30 PM
    Edited by: mtpaper on Oct 12, 2009 1:32 PM

Maybe you are looking for