Mapping Master/Detail type of information in a PDF form

Hi there,
I have a Web Dynpro Application and I am experiencing some difficulties in mapping the Web Dynpro Context to the PDF form to get the desired result. I hope you smart people can help me.
In the Web Dynpro Context I have the following structure:
- DataSource
Customer (0..n)
Name
Address (0..1)
some attributes like Street, City, etc.
Orders (0..n)
some attributes like description, amount, etc
On the PDF form I want to generate 1 PDF that displays all the order details for all the customers.
In other words a high-level layout for the PDF would be:
Heading
Customer 1
-- Name and Address
-- All Orders
Customer 2
-- Name and Address
-- All Orders
Customer n
-- Name and Address
-- All Orders
By using a SubForm and binding the context I can easily repeat the display of all Customers, but I cannot manage to display all the orders for just a specific Customer.
I believe that I am just not finding how to setup the binding for the PDF elements correctly. If I just drag-n-drop the Order elements onto the form I get a binding in the PDF form of $record.Customer[].Orders[].amount. This does not seem to be correct.
Can any one help me with a solution to my problem? Any advice or a more advanced tutorial than the ones I've found will be much appreciated.
Many thanks,
Albertus

Hello,
Unfortunately I get an exception on the Orders Subform when I try that.
The error message is "The SOM expression 'Orders[*]' for the dataRef specified on field 'Orders', resolved to an incompatible node value of 'dataValue'.
I followed the tutorial "Unit: Interactive Forms Integration into Web Dynpro for
Java, Topic: Dynamically generated forms" that suggested nesting Subforms. The structure I currently have:
Customer SubForm             -> <b>Type:</b> Flow Content, <b>Flow Direction:</b> Table
|--- Customer Row SubForm -> <b>Type:</b> Position Content, <b>Binding:</b> $record.Customer[*], Repeat for Each Data Item
Up to here it works and it repeats for all Customers, but the next subform is the problem. After your reply I set it up as follows:
     |--- Orders Subform         -> <b>Type:</b> Position Content, <b>Binding:</b> Orders[*]
          |--- Description          -> <b>Binding:</b> Description
But I then get the exception above. Any ideas?
Thanks,
Albertus

Similar Messages

  • Why can I no longer type in additional information on my pdf form. It will only allow me to type in limited information.

    Why can I no longer type in additional information on my pdf form. It will only allow me to type in limited information.

    Duplicate post.
    Why can I no longer fill in additional information on my adobe forms on pdf. At time this was an opposition. It will only allow me to type limited information?

  • Implement Master Detail type of form

    Does anybody have tutorial or sample code to implement a master-detail kind of form?
    I am really stuck here.
    Could anyone please help?

    I have looked into that topic, but still i could not figure out.
    When we query display the form in Update mode, by just querying the Master record, the Detail records don't show up.
    I have used a Simple table for my detail records, but the master record is just some text field.
    The rows dont appear in the Simple Table.
    This is the problem that i am getting.

  • Collecting Sensitive Information Via a PDF Form

    I have a client who is bound and determined to have a form on his website that collects sensitive information. Is there a way to create a PDF form that users can download, fill out, and submit the information securely? Since the data will be on the Internet it must be encrypted and send via a secure server (https). Does acrobat.com provide this functionality?
    At first I was going to develop a simple webform hosted on a secure server, but I think this data should be encrypted.
    Any help or direction on this issue is much appreciated.

    Hello there,
    For information on the security measures taken by Acrobat.com, I encourage you to look at our Security page. Acrobat.com account information and document security are taken very, very seriously; we do use secure sockets layer (SSL) technology (which, you'll notice, translates to https in front of a URL at Acrobat.com), and all data is encrypted. Please read further on the Requirements and Security page for details.
    I hope this information is helpful! Let me know if you need additional assistance.
    Best regards,
    Rebecca

  • ADF Desktop Integration - Can it Support Master Detail Information

    I reviewed the OBE and also the user guide. I could not see any specific details as to whether the ADF Desktop integration can support master detail relationship - either master table with detail table or Master form with detail form, to be linked with the excel sheet.
    Defining both the master and detail table as "tables" I was able to get the data into the excel sheet for the entire master and the child of the first master. The fetch of the child records for the second or third master records is not happening, obviously because I am missing suitable actions.
    Please let us know if:
    - the Master detail can be supported in a view only mode in the integrated excel sheet - with partial page functionality?
    - The master - detail page can be used to upload a header record (master) and many detail records.
    Appreciate any inputs.
    Thanks
    Ram.

    Yes. ADFdi can be configured for "master-detail" type use cases.
    You can create cases with a master form and a detail table. Or, you can create cases with multiple tables.
    ADFdi does not automatically manage the relationship between the form and table, or between the tables. So, the implementation details depend on your specific use case.
    For example, given two tables (one above the other), you might choose to make one column in the "master" table double-clickable. The double-click action set can then invoke the download action of the second, "detail" table.
    For a master form - detail table case, you can configure a "next" button to navigate to the next "master" record and download the details into a table.
    HTH

  • Questions about master-detail update and delete!!

    I have created a view object with two entity objects.
    These two entity objects map master-detail tables in DB.
    I want to update both tables when the user input, and delete the record in detail table (keeping master table unchanged) when the user click delete button.
    How can I do?

    did you figure this out? i have created VO made out of two updatable EOs and update works fine. But still have issue with deletion!

  • NO dml Master / detail form/report

    If I wanted to create a form or report that would only display one master record and its children records on one page. What would be the best way to do this?
    The page would not support dml. Only display the data in a master/detail fashion. I tried creating a form thru the wizard but I dont need dml.
    I tried creating a report but all the data is horizental and would prefer more of a form type of layout.
    A simple illustration follows below. Above the line is the data from the master table. Below the line are the childern.
    Columa pk
    Columb columc columnd
    column pk columndesc columna fk
    column pk columndesc columna fk

    Me too facing the some problem can some one pls help

  • Master Detail Highlighting

    Hi,
    I have a master detail type form.
    When I select record 1 in my Master block and go to next block (detail), I would like to have the record 1 highlighted, so that my users now which record they are editing.
    I have tried to set the currect record visual attibute to DEFAULT for both blocks, but nothing seems to happen. Has anybody done this before?
    I am using Forms 9i
    Thanks in advance.
    VC

    You can set a visual attribute in the "Current record attribute" in the block property. This will show the current record in which you are.
    I have created a visual attribute named RECORD with the following properties:
    Foreground color: white
    Background color: blue
    Then in the property palette of a certain block, I have set property "Current record visual attribute group" to RECORD.
    In this way when I move from one record to another the current record is highlight.
    Hope it helps you,
    Fabrizio
    If this answer is helpful or correct, please mark it. Thanks.

  • ADF: Master Details Page

    Hello,
    I have just started out trying to develop an application in JDeveloper with ADF and I am coming from a Apex/Forms/PL SQL background. I am trying to develop an online application form for our Grants program.
    The problem I am having is I have a master detail type page where I have a section D (Master) and then I have a breakdown of cost (detail). I have created a creation page for the section D and I have then another creation section on the same page for the breakdown of the costs by dragging the view that is under the section D view.
    The problem is the detail section seems to be bring back the first record from the table. This is not what I expected as I would assume this to be blank record as we have a blank record in the master part.
    Is there anyway around this where on startup the detail section brings up a blank record instead of the first record in the view?
    Cheers in advance in any help on this matter.
    Paul.

    Most likely you dragged the wrong detail structure from the Data Control palette. When you created your Application Module, and added View objects to it, you would have seen a tree structure. Views will be listed separately, but if you have a View Link associating a detail view with its master, you will also see that view in the tree under the master. Something like this:
    MyMasterView
      MyViewLink
        MyDetailView
    MyDetailViewMake sure that this structure has been moved to the right side of your Application Module. There you will see something like:
    MyMasterView1
      MyDetailView2
    MyDetailView1This is what creates the tree structure in the Data Control palette. When you created your master/detail page, you dragged MyMasterView1 for the fields from your master view. But you probably dragged MyDetailView1 for the details. This does not use the View Link to associate your details with the current master record. To do this, you must use MyDetailView2, which you will find by expanding the tree under the master.
    Now, to get a blank record in the detail, you have to execute a Create action from that data control. You can drag a Create button to the page, and the user can press the button to get a blank record. Or you can cause a create action to happen whenever you enter that page.

  • Execute_Query in MASTER-DETAIL form queries the DETAIL block...?

    I'm using Oracle Form Builder with a Master-Detail relationship, I have a WHEN-NEW-FORM-INSTANCE trigger which runs 'EXECUTE_QUERY;' but it is returning records from the Detail block rather than the master block. Can anyone tell me how to return records from the master block?
    I have no idea what the block name is. I've tried the data block name and the title above the block and both say they are undefined.
    Thanks.

    Welcome at OTN
    Please Before posting on this forum please read
    I have no idea what the block name is. I've tried the data block name and the title above the block and both say they are undefined.At Layout Editor expand the Data Block nodes. Here you will get the block name.
    Check in When-New-Form instance trigger, is there any code like
    Go_Block('details_block');IF yes , delete this line...
    Hope it helps...
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.

  • Tabular Forms, MRU's & master / detail FK's

    APEXV4
    I've used a wizard to create a simple master detail form. Updates & delete's work fine on the detail block. When using the add row button all seems OK too. Issues arise when saving a new detail record. The PK from the master table does not seem to be populating the detail tables FK. This results in a error declaring that the FK cannot be null... as below
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400: cannot insert NULL into ...
    Am I missing a trick here?

    I have just started to look at APEX. Do you have an example of a master detail. I tried to create a form in the samples but do not get what I would expect.
    Should I get a 2 block orientation or will I get something else?
    Do any of the packaged apps / sample code have a good example?
    Thanks!

  • Master-detail: one detail row with multiple columns

    Hi All,
    I have a normal master-detail situation in the databse, in the form however all detail rows should be displayed in one single row, using more columns. The number of details are limited, so I can use a predefined number of text-items.
    Any ideas on how to implement this?
    Regards,
    Michiel

    create a function that returns your details. e.g. :
    function get_detail (P_PK, P_rownum) ...
    let's use the example dept and emp. Your master is dept. Your detail is emp. deptno is the PK for the master table.
    you have in your form multi-records of dept and maybe 5 items for employees. The name of the text-items TI_data_1 .. TI_data_5. In the post-query-trigger you code :
    :DEPT.TI_data_1 := get_detail (:DEPT.DEPTNO, 1);
    :DEPT.TI_data_2 := get_detail (:DEPT.DEPTNO, 2);
    if you need more columns create a loop and use the built-in COPY for assigning the detail-values to the text-items.
    the get_detail e.g. is a select-statement:
    SELECT ENAME
    FROM EMP
    WHERE DEPTNO = P_PK
    AND rownum = P_rownum
    ORDER BY EMPNO
    try it
    Gerd

  • Image mapping and Master Detail Regions in CS3

    Excellent advice to leave a url. I think I am having a similar problem with conceptualizing datasets for utilization with image mapping. I obviously cannot use the Get Schema via the Attach New Data set icon because I have rendered my own Master region. I am working with CS3. I will launch the site and ask for help from the url.
    Here is:
    http://www.atmfoods.net16.net/
    I need help with this. With the phasing out of tabulated layouts for div based layouts I run into quite a few snags attempting to work around deprecation of tags issues. What am I trying to do here:
    1. Get my spry menu to drop down in the child table and not the parent table aligned top left.
    2. Use image mapping of the thumbnail images in integration with datasets and spry Master/Detail regions, even if hand coded to achieve, for a larger image and data on each thumbnail on an accordion spry widget. I am thinking grid systems for the future of my works and hope to achieve some relative command of grid systems. Without gridlock.

    Hi,
    The dataset name in the NestedDataSet constructor does not go
    in quotes.
    Try var dsCreds = new Spry.Data.NestedXMLDataSet(dsAgents,
    "credentials/cred");
    and see if that helps.
    Don

  • Master/detail form - Detail columns lack help information

    I have a master/detail form. All the fields in the master block have help information attached to assist the user when entering data. The detail block, which is more of a multi-row based block, has column headings along the top. However, no where can I insert "help" text for these particular columns. Although self explanatory, it still would be nice to be able to incorporate "help" text for these columns. Am I missing something? Can this be done? I've thought about a button on top of the region which could call an html page with help for these columns, it just seems to be a "rougher" solution than whats available to the individual fields in the master block.

    Hi,
    Nope, you're not missing anything - there is no Help functionality. This is probably because the Help on page items is available for "Labels", which do not exist for tabular forms, which are based on a report structure.
    You would, if you wanted, update the heading to include a "tooltip":
    Instead of, for example:
    HiredateYou could enter:
    &lt;span title="Enter the employee's hire date"&gt;Hiredate&lt;/span&gt;It should also be possible to mimic the popups you get for page items if that is what you need
    Andy

  • Help needed: modeling master-detail relationship using Object types

    I would like to use object types to model a master-detail relationship. For e.g.
    create or replace type detail_t as object
    (id number,
    name varchar2(20)
    create or replace type details_t as
    table of detail_t
    create or replace type master_t as object
    (id number,
    name varchar2(20),
    details details_t
    If I don't use database object-tables, how can I return multiple master rows of the type above from a PL/SQL procedure? Can I return a cursor of some sort?
    I'm using Oracle 8.1.7.
    Thanks,
    Niranja

    Niranjan,
    After the object types are defined, your data would come from either object tables or object views. In your case, to get multiple master rows, simply query the object view.
    Regards,
    Geoff

Maybe you are looking for

  • 7344 servo motion switching between open and closed loop operation

    I have a custom end-of-line test system presently using a 4-axis 7344 servo controller to perform various functional tests on small, brushed DC motors. The system is programmed in C/C++ and uses flex motion functions to control the motor during testi

  • Perform not found when i try to display vendor item

    Runtime Errors         PERFORM_NOT_FOUND Exception              CX_SY_DYN_CALL_ILLEGAL_FORM Date and Time          03/20/2009 01:31:52 Short text      Call (PERFORM) to a non-existent routine. What happened?      There exist various options:      Err

  • How can i updated my mac mini 1st gen.

    i am running a version 10.3.9 now how can i updated it

  • Siri talking when I type text and email

    The Genius Bar did a reset on my phone in an effort to correct an issue.  After the reset (which did not solve my initial issue), Siri started trying to help me type my text and emails by speaking the words I am typing.  How do I shut her up without

  • Can't Install OSX on G5

    So... I have just got my hands on a Power Mac G5. It came without a hard drive, I have put a new one in. It seams to be working all fine, however it has no OS. I have a Power Mac G5 install disc with 10.3.7 on but when I put it in it just spits it ou