Generate file with a master-detail records

Hi everyone,
I need your help, one more time.
I want to generate a file in ODI that have two distincts records of the detail, a master-detail records. The first one record contain general data and second one contains a second level information about the previous.
I got the result using a bad solution, loading the file line by line, but the file is so large and performace was very slow.
The expected result is:
001Purchase Order id 99
002Item 1
002Item 2
001Purchase Order id 150
002Item 1
002Item 3
001Purchase Order id 4870
002Item 3
Anyone has an alternative for that?
regards.

hello
i belive you need to use pivot operator
check out this blog
https://blogs.oracle.com/warehousebuilder/entry/pivoting_data_in_owb
rgds

Similar Messages

  • Master-Details Record

    I have a Master and two details records. I need to generate report for the Master-Details record.
    I need to include some details from the Master table and some details from each of the detail tables.
    For example :
    In Master table: Employee_Number
    Employee_Name
    Company_Code
    Company_Name
    In Application Detail table: Application_Code
    Application_Name
    In Non-Application Details table: Non-Application_Code
    Non-Application_Name
    I need to include Employee_Name, Company_Name, Application_Name and Non-Application_Name in my report. How should I go about creating the report?and may I know what type of report style should I use?Should I use Tabular or Group Above?
    Thank for your help

    hello,
    you might want to start off with a regular master detail layout and then modify the layout manually to fit your needs.
    when running throught he wizard, you just select whichever fields you want to display.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What is the proper way to record line numbers in Master/Detail records?

    Guys and Gals,
    Been thinking about this for awhile, but thought it best to ask the people who really know what they are doing.
    What is the proper way to record & show line numbers in a Master / Detail record set?
    For example, take Master/Detail relationship Orders and OrderItems. Orders has a column Document_Number and OrderItems has Document_Number, Line_Number. Line_Number should contain the row number 1,2,3,4 ... etc. for each row in a document.
    Should I ...
    <ol><li>Add a sequence and a trigger in the database? The FusionOrderDemo does this, but then the sequence never "resets" and I've got row numbers that keep incrementing. So one document has rows 4,5,6 and the next document has 7,8,9 when they should both have 1,2,3.</li>
    <li>Programmatically take care of the row numbers? This seems like I'm asking for trouble. Anytime an insert or delete operation gets done, I'll have to iterate through rows and re-assign row numbers.</li>
    <li>Is there a way to assign row numbers in a table iterator (or data collection?) to an entity?</li></ol>
    Any suggestions would be appreciated. It's looking like #2 is my only option, but if anyone knows different I'd love the input.
    Will

    Thank you both guys.
    As John said, I believe I'm looking for a gap-free sequence per master record.
    The line number of the OrderItems table is the second half of the primary key. The first half of the primary key (DocumentNumber) is the foreign key to the Orders table.
    Think of it like line items on an order or invoice. For example, if you were talking to someone on the phone concerning an invoice, you might say, "The pricing for line item #3 is incorrect." In this case, it's good to have a common reference. Or imagine a Microsoft Excel spreadsheet with no row numbers displayed! You'd never get anywhere if you had to explain something over the phone.
    If this is tricky to perform, I take it using a sequence and trigger such as the Fusion Order Demo is the best way to approach the challenge for simplicity's sake?
    Will

  • Foreign key validation while creating master/detail record in document mode

    I am creating master/detail records in the document mode. And I am generating the master primary key in the create() method of the master Entity Object. Now I valdate the foreign key in the detail Entity Object's validateEntity() method by doing a query to the master table through some View Object.
    But since the master record has not yet been posted (since it hasn't been committed) to the database, this query does not return any record and the validation fails in detail object.
    And thus the create fails.
    Please let me know if this is the right approach for doing this. If so where I am going wrong? Else please let me know if there are any better approach to do this.
    Kunal

    Kunal:
    Use a code snippet like the following:
    --- Assuming you're in the detail EO's create method ---
    oracle.jbo.server.EntityDefImpl eDef = oracle.jbo.server.EntityDefImpl.findDefObject(<package-qualified-name-of-the-master-Entity-Object>);
    oracle.jbo.Row masterRow = eDef.findByPrimaryKey(this.getDBTransaction(), <foreign-key>);
    If the row does not exist, masterRow will be null.
    findByPrimaryKey first checks the entity cache (which will include your new master row(s)) and then go out to database (if it's not in cache).
    Thanks.
    Sung

  • File with 3 types of  record

    I've a entry file with 3 types of record. The first field of each record tell the type. When XI receive this file it must be validate some fields. It's possible management this file in XI? how?
    very thanks

    Validating the field write some UDF.
    If valid then map & if not valid you can raise some exception in Mapping
    in case PI 7.1 this feature is provided using the XML Validation which compares with the XSD.
    You need to create the FCC structure that will generate the XML before sending to XI.  You create the Mapping and define the UDF which will do the validation and call the SAP using Lookup (search the sdn for RFC Lookup or DB Lookup ).

  • Using EJB creating Master/Detail Record

    Hi All
    I would really in need of your help regarding how to show the information of master detail records in a single form
    eg: one text field with department Id and a Search button which should give relevent employees details working in that particular department.
    I tried with ADF business components it works fine..
    I need to do through pure Session Beans and Entity Beans(note : not thru using EJB:UseBean Tag)
    Please i will really appreciate your valuable help..
    Thanks All
    Have a Nice day
    Mohamed Anez

    Kunal:
    Use a code snippet like the following:
    --- Assuming you're in the detail EO's create method ---
    oracle.jbo.server.EntityDefImpl eDef = oracle.jbo.server.EntityDefImpl.findDefObject(<package-qualified-name-of-the-master-Entity-Object>);
    oracle.jbo.Row masterRow = eDef.findByPrimaryKey(this.getDBTransaction(), <foreign-key>);
    If the row does not exist, masterRow will be null.
    findByPrimaryKey first checks the entity cache (which will include your new master row(s)) and then go out to database (if it's not in cache).
    Thanks.
    Sung

  • Master-details records

    Hi Everybody,
    i have a requirement to show master detail records.to show data i have 3 tables
    they are 1) Flat_Master(flat_id,flat_desc,pic)
    2)Flat_Detail(flat_id,flat_face_id,flat_loc)
    3)face_tab(face_id,face_desc)
    in my jsf page i displayed flat_master as master records and flat_detail as detail records
    here flat_detail is updatable.so for flat_face_id i created a lov choice list based on face_tab table(ADF BC level).
    so when master record i changed, my choice list is not getting changed amd even when page load also for the first record also it is not selecting..
    How can i set this choice list value programatically based on master records?
    Any ideas can you please share with me?
    thanks
    KM.
    Edited by: Mr. Murali on Sep 13, 2011 3:21 AM

    pls provide me the detailed view.,
    what ur trying to say and wat s ur use case?

  • Oracle Apps RDF Report generates file with ^M (Carriage return) characters

    We are upgrading from 11i to r12 (also moving from HP unix to AIX on hardware side) and this rdf report generates a text file which is then eventually sent to a third party system for printing. Report works just fine in 11i as it generates a file without any ^M chars but in R12 environment, the same report generates file with ^M chars.
    Also want to understand how the Oracle Apps system hands over the output files to O/S which is saved.
    Pls advice
    Thanks
    Ram M.

    What type of concurrent program are we talk about here?
    This is a Report type of Concurrent program
    How does the text file get generated?
    Report is generating a Text file on :desname, a custom folder. 
    Was the binary mode used to copy the files from the old server to the new one?
    I believe RDF Reports were copied over in Binary format but none of the text files generated from old server are copied over.

  • 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

  • Webhelp forcefully generating files with lowercase filepath

    Hi,
    I have a list of APIs in the TOC that has the folder names in Sentence case;
    The TOC is somewhat like this:
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    -Product APIs
    ---xyz
    ------API documentation
    ---------foo
    ------------foo API1
    ------------foo API2
    ------------foo API2
    ------Webservices API documentation
    ---------Foo
    ------------FooAPI1
    ------------FooAPI2
    ------------FooAPI2
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    The path to an API in Foo in the auto-generated files, such as in whdata, should be: /product_apis/xyz/webservices/Foo.
    However, the path in the the auto-generated files changes to /product_apis/xyz/webservices/foo/
    (note 'Foo' changes to 'foo')
    Since Linux is case-sensitive, these API links do not work in Linux.
    I have replaced all such instances by using a search and replace tool.
    But this is only temporary.
    How do I make sure the files maintain the correct case of the filepath or foldernames
    Thanks and regards,
    PT

    Okay, got it.
    Thanks Rick!!
    I could figure out why the links are breaking by knowing that the filapaths are being generated in all lowercase; I got to know about this by examining the auto-generated files. That's about it.
    Thanks again
    On Wed, 28 Sep 2011 22:02:50 +0530  wrote
        Re: Webhelp forcefully generating files with lowercase filepath
        created by Captiv8r in WebHelp - View the full discussion
    Hello again In RoboHelp 7 if you examine the properties of your Single Source Layout recipe, look near the top of the first page of the dialog. There is where you see the option for lower case file names.  http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-3942922-84647/318-346/tmp1.PNG  Actually, this option is intended to PREVENT things from going haywire when you publish. When it's enabled, the process of generating WebHelp ensures all file names are lower case. But it also ensures all links are amended to lower case so it will prevent broken links from occurring. I'm confused as to your mention of what's inside the whdata, whgdata and whxdata files. These are auto generated by RoboHelp and there should never be a need to muck about with any of them. If you are, perhaps that's part of the issue?   Cheers... Rick    http://www.robowizard.com/pc.gif Helpful and Handy LinksRoboHelp Wish Form/Bug Reporting FormBegin learning RoboHelp HTML 7, 8 or 9 within
    the day!Adobe Certified RoboHelp HTML TrainingSorcerStone BlogRoboHelp eBooks
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3942922#3942922
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3942922#3942922. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in WebHelp by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Re: to create outbound file with multiple header ,detail and trailor in informatica

    Dear Mohan Prakash, Please mentation The Target Which Format you need. Please let me know. Thanks & RegardsKasireddy+966545281845

    hi I want to create a file with muiltple header detail and trailorSample of my file  1F99500094959                    5F99000000999911025F99000000999912025F99000000999913029F99500094959                    1G83341002729803                5G83000000999918020109G83341002729803                1G83910377940                    5G830000009999190201011050003522029G83910377940                    T20110720000000900000006750{  In this file 1 is header and 5 is detail and 9 is trailer and in last T segment is also trailerI have any idea to create seperate 3 files and in lastconcatenate all file with the help of unixbut in my case data is so large (in millions) this approach is not use full please suggest my any ideaHow to create VSAM file

  • How can I upload multiple files in a master detail relationship?

    I would like to be able to upload several files for one record (a one to many relationship). I tried using a master detail form, but the tabular form does not support file browse. I've searched the forum and found several examples asking how to upload multiple files at once. That is not what I'm trying to do. I simply want the user to browse, select a file, provide a file name and description. Then select the next file. When they are done selecting files (it may be one file or many files) I want them to hit the submit button and I'll run a procedure that saves the files to the database.
    How can I do this? Thanks, you guys are the best. Elizabeth

    Elizabeth,
    I had this situation come up once and here's what I did, thought it may not be exactly what you're looking for.
    I created a collection to store the ID's of the files that had been uploaded, along with the key and other information. The file browse input will upload your files into the wwv_flow_files table on submit. I was storing the documents in another application table.
    The after submit process grabs the id from wwv_flow_files where the name is = to your file input.
    After you add that ID and your associated master key in the collection, your final submit process fetches the files from wwv_flow_files and inserts them into your own table.
    I can put an example on apex.oracle.com if that would be helpful.
    Thanks,
    Jeff

  • Help with a master/detail

    hi there,
    i have two entity based view objects that i have created a link between using the application modules data model form. when i run the module and the veiws in the testing applet everything works fine...
    but when i attempt to use the top level part of the new data control for a read only table and the child part of the data control for an updateable form then i can't seem to get any active coordination between the two.
    the child form does provide the correct details when reloading the page but when selecting items in the master table then the data does not change to reflect the current record in the child form.
    how does one go about determining what such a problem would be?
    thanks in advance.

    Hi,
    I have converted a master/detail view from 10.1.3.4 to 11.1.1.1. It works fine in 10.1.3.4. However, the detail page does not refresh in 11.1.1.1.
    The ID of the master page is masterDetail1 as default. The ID of the detail page is detailSheet, as I set it in source file.
    When I set partialTriggers to masterDetail1 on the detail page property, I got a warning:
    13/10/2009 3:46:58 PM org.apache.myfaces.trinidadinternal.context.RequestContextImpl addPartialTriggerListeners
    WARNING: Could not find partial trigger masterDetail1 from CoreTable[org.apache.myfaces.trinidad.component.UIXTable$RowKeyFacesBeanWrapper@4c0047, id=detailSheet] with the supported partialTriggers syntax. The partial trigger was found with the deprecated syntax. Please use the supported syntax.
    When I set partialTriggers to detailSheet on the detail page property, I did not get any error message.
    However, in both cases, the detail page does not refresh when I click to select a master record OR click next/previous/page_list on the master page.
    But, the detail page DOES refresh SLOWLY when I click to select a master record AND next/previous/page_list.
    Please advise how I can fix this issue.
    Thanks,
    Regards,
    Michael

  • Error in a page with a master-detail:Unable to resolve a Validator instance

    Hi all,
    I am using Jdeveloper 11.1.1.2
    I have a page with a master table and a detail table.
    When I try to select a row in the some tables (master or detail), I have this error:
    <AbstractValidatorTag><createValidator> Unable to resolve a Validator instance using either validatorId ' or binding #{row.bindings.IdLocazione.validator}.
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    javax.servlet.ServletException: Unable to resolve a Validator instance using either validatorId '' or binding '#{row.bindings.IdLocazione.validator}'.
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any suggestions?
    Thanks
    Andrea
    Edited by: Andrea9 on 17-feb-2010 00:45

    I am using ADF, I can reproduce in a testcase, but I need time.
    If you want, I can cut and paste the jspx page.
    However, I have a panelStretchLayout: on top facet I have the master table, while in the center facet I have the detail table.
    I have a query component to filtering data of the master table.
    I have this problem doing this:
    1) create a new record on master table.
    2) create some records on detail table (sons of the record of the master table just created).
    3) clicking on "find" of the query component.
    I have tried to do a master-detail with the HR connection using Departments table (master) and Employee (detail). When I try to delete a departments, it does not work, because I have to delete the employees first, while in my case I want to delete the master and the detail in cascade.
    Thanks
    Edited by: Andrea9 on 17-feb-2010 08:25

  • Copying master detail records in oracle forms

    Hi,
    Have a master details block , using a copy button i copy the existing contents
    in both the blocks , than primary key and foreign key value of the both blocks are changed and i want to save it as a new record.
    Problem is when i do the above it goes to record status as update
    it is not doing insert with the values.and throwing an error wrt referential integrity
    pls help
    with thanks

    This forum focuses on EBS. For Form specific questions, you can try Forms

Maybe you are looking for

  • IPad Mini Retina Display Intense Flickering Issue

    Hi all, I've got an iPad Mini Retina 16 Gb iOS 7.1.2, I purchased at end of November 2013. Beginning yesterday, I had two incidents several hours apart where the display would suddenly start flickering like an old black and white TV set. First time i

  • How to changes baseline date in miro with Posting date

    Please tell me the procedure to change the baseline date in miro with posting date (EKBE-BUdat) on basis of  Purchase order No (EBELN) . I tried it by using user exit :-EXIT_SAPLKONT_011  Enhancement : LMR1M002 but got stuck somewhere .Please tell me

  • Where to download acrobat pro trial version

    The Adobe assistant I download doesn't work. Is there another way to download this software?

  • How to make objects appear in an applet

    I have to do a program for school wich shows a switch, it can have 2 possible positions and a light burning green/yellow for on/off... I tried this and didnt get any messages/warnings: package wissel; import java.awt.*; import java.awt.event.*; impor

  • UWN QOS questions

    Hello all. I've got two questions related to wireless QOS in a UWN world: 1) A QOS profile is associated with a WLAN. Is it possible to diferentiate traffic within a single WLAN? Can I assign the gold profile to one DSCP value, and the silver profile