Creating Multiple records from 1 record

Very new to OWB and running into a problem. I have data from a reservation system that stores an arrival and departure date for a reservation. I need to be able to create a separte record for each day of the stay in order to simplify reporting. In addition there is a revenue field which I need to divide over each day of the stay.
Any assistance would be apreciated.

It's easy to turn a single row into multiple rows - that's what Pivot operator is for http://download.oracle.com/docs/html/B12146_01/mapoperators.htm#sthref1865.
The challenge I see is how to turn the range of values into discrete individual values (which then can serve as input to Pivot). Does the range have predictable and manageable upper limit, like a week?
Nikolai Rochnik

Similar Messages

  • Creating multiple records from 1 record in the source file for Import DM

    Hi Experts,
    Today I am working on an interface/import where I want to get the following result:
    Source file contains a records like:
    Account, Entity, DriverX
    Sales,EntityA,ZZ
    The BPC appset contains the 2 dimensions Account and Entity next to CostCenter dimension. The DriverX field in the source file is just additional information in the source file. However based on this DriverX we need to determine what CostCenter to choose but we also need to have the same record assigned to a second record in BPC.
    Following my example, based on DriverX value I need to create 2 records:
    Account, Entity, CostCenter,
    Sales,EntityA,CC1
    Sales,EntityA,CC2
    I don't have a problem assigning the record to 1 CostCenter based on DriverX value but I have a problem creating my second record. Does any of you have had the same "challenge" and if so would you like to share the solution for this?
    Best regards,
    Johan
    PS: I am working on SAP BPC, version 7.0 Microsoft version.

    Hi Greg,
    Many thanks for your answer. And yes this would be a solution. However I just simplified my case as the decision to create an second record and where to post is depending on more than 1 field in the source.
    But I will keep it in mind, because I also can opt for a solution to store data differently in BPC fac-tabels which will help me to use script logic.
    If it is not possible to create multiple records from a single records in the standard functionality in the Transformation and/or Conversion file, I have to create a custom DTSX or change my way of storing data.
    Anyone else who is having an alternative idea like Greg came up with?
    Please let it know!
    Best regards,
    Johan

  • How to create multiple records using ADF

    Currently working on my first ADF BC and UIX project, and I basically want to create multiple records after a user makes a choice on the screen. I would like to know at what layer should this functionality be implemented?
    Would this be more at the Struts/Controller level, where I have a java class to perform the creation as part of a data action? I ask because, I am not sure if this is feasible at the ADF BC level (View objects and Entity Objects) via some sort of customization, and i am new to the different possibilies avail as part of the ADF framework
    Regards
    Anora
    (Jdeveloper 10.1.2.1 build 1913, Oracle DB 10.1.2)

    I'd put it into the application module. You then can call the method from the controller layer or from an other application module. This way you put it into the business logic, which helps if you ever decide to use a different client approach (like swing).

  • Creating multiple records

    When creating multiple records in a table using a SBO object eg invoice object, do you have to create a new business object for each record that is created?  There is a lot of overhead in doing this (eg each object takes about 1MB of mem so to create 1000 invoices would hog 1GB of mem).  Is there a way to create just one instance of the object and use it to create many records?  How is the object cleared in between each record creation?

    Greg,
    Everytime you call GetBusinessObject() you should, at the end, also release the acquired memory.
    This can be done with the following code in .net (C#):
    System.GC.Collect();
    System.GC.WaitForPendingFinalizers();
    Another way to clear all the data is to call the <b>GetByKey(-1)</b>; the document with docentry '-1' does never exists and the fields of the object are normally cleared.
    Regards,
    Jurgen

  • HCM Processes and Forms - Create multiple records of one infotype (eg 0008)

    Dear all,
    I'm trying to create two new records in infotype 0008 (basic pay). Regarding it's time constraint 1 it should like the following:
    Before
    01.01.2010 - 31.12.9999 - 2000u20AC
    After
    01.01.2010 - 08.11.2010 - 2000u20AC
    09.11.2010 - 31.12.2010 - 2500u20AC
    01.01.2010 - 31.12.9999 - 3000u20AC
    So I want to add two splits two the record. One is easy, as it's done by the SAP_PA operation. I experimented with the record indices and duplicating my fields, but it didn't work. Another idea would be to retriggerd the SAP_PA several times using scenario steps.
    Can you give me a hint, by which lever multiplee splits can be achieved? Or is this not possible at all?
    Thanks in advance,
    Peter

    Thanks for your fast reply.
    Knowing this as a fallback is comforting. I just want to ensure, that I don't apply any coding, if a task is also possible by customizing.
    Another idea I had in the meantime was to execute the SAP_PA several times. Do you have any experience, if this works to create multiple records in one infotype?
    Edited by: Peter Gilberg on Nov 9, 2010 2:34 PM

  • Can we create multiple records before navigation to that block

    Can we create multiple records and assign values in Forms, before navigation to that block (in a trigger ), and populate ?

    Hello,
    No you cannot. You need to be inside the block in order to use the Create_Record built-in.
    Francois

  • JDev 11g: Create Multiple Record.

    Hi,
    I have a requirement to create multiple record by clicking the create button multiple times and on one click it should save all the records. Everything is working fine, but the issue is,
    when user created 4 records and the 5th record he doesn't want to create then issue is comming. Application is forcing him to enter the data, is there is any way to handle this situation.
    I mean, if the 5th record doesn't contain any data.. it should save 4 records only. Please suggest me the solution to achieve this.
    Thanks,
    Rajesh

    Hi Shay,
    Thanks for your reply. But your second solution will never occur in my case because validator methods will not allow user to click on save button without entering the proper data.
    Is there any otherway instead of deleting the record to achieve this functionality.
    Thanks,
    Rajesh

  • Creating Multiple Ringtones from 1 song

    Does anybody know whether or not we'll be able to make multiple ringtones from one song with out having to pay 99 cents for each one? i.e. you buy one song, +another one bites the dust+, and then you want to make 4 different ringtone from the same song, do we have to pay for each one, even though they're from the same song technically?

    Hi Greg,
    Many thanks for your answer. And yes this would be a solution. However I just simplified my case as the decision to create an second record and where to post is depending on more than 1 field in the source.
    But I will keep it in mind, because I also can opt for a solution to store data differently in BPC fac-tabels which will help me to use script logic.
    If it is not possible to create multiple records from a single records in the standard functionality in the Transformation and/or Conversion file, I have to create a custom DTSX or change my way of storing data.
    Anyone else who is having an alternative idea like Greg came up with?
    Please let it know!
    Best regards,
    Johan

  • Creating Multiple POs from the shopping cart

    Hi
    I have a requirement to create multiple POs from shopping cart. we are in SRM 7.0 I have implemented the BADI BBP_SC_TRANSFER_BE GROUP_PO method. modified group_1 field with 1 and Doc_type with custom document type
    and udpate the change parameter CT_PROC_ITEM with the above changed data for each line item.
    But purchase order always taking original document type and its number range only. 
    Please help me in this regard,
    Regards,
    Rama.

    Hi,
    Thanks for your reply. I have implemented the BADI BBP_BS_GROUP_BE method GROUP_PO_BACKEND. I modified BE_DOC_TYPE with the custom document type and REFNUMBER as the group number .
    But  it is generating number range for the original document type only.  when i debug the code i found that it is taking original document type (which is hardcoded contant value mentioned in the code when number range is initial).
    Please suggest me  after grouping the line items with document types and REFNUMBER how to assign number ranges for each group of line items.
    Regards,
    Rama.

  • Create multiple PDFs from multiple files

    Hi everyone
    I'm trying to use the "Create multiple PDFs from multiple files" function in Acrobat 9 Pro (version 9.4.6) to create about 100 PDFs from InDesign CS5 files. Theoretically this would do the trick for my purpose. BUT: When running the function, it does not use the CS5 InDesign (version 7.0.3), but tries to open the files with InDesign CS3. Of course this does not work. We, as a professional working agency, have installed CS3, CS4 and CS5. Even with making the InDesign CS3 .app invisible an pushing it into the garbage bin during the process did not work. Acrobat still wants to access InDesign CS3. It is not possible to downgrade the files to CS3 files, for there are special (i.e. interactive) functions which only work in CS5. It would be more work than creating the PDFs manually, anyways.
    Does anyone have similar issues? Any ideas how to solve the problem?
    Thanks in advance.
    Thinka

    OK, cool, I found one, which seems to work just fine.
    http://www.kahrel.plus.com/indesign/batch_convert_cs3.html
    found here:
    http://forums.adobe.com/message/3712434#3712434
    Thanks for the hint!

  • Creating multiple links from one map image in Flash CS4

    I have been tasked with creating multiple links from one map image using flash. Each link would go to the main website page with that location. I assume I could create a button for each location on the map but not having a lot of experience any help / tutorial you know of would be super helpful.. Thanks! Not looking for someone to work me thru it but a little guidance would be great!

    If I was to answer the problem, I would be giving you what you asked not to be given... the solution.  So I'll suggest that you start by researching the getURL() function.  That is what AS2 uses for opening web pages.
    As for coding a button, I'll recommend the following article for you... it will explain the proper approach to coding a button, which will give you an advantage over others who don't follow it, but instead use the way the article says not to.
    http://www.adobe.com/devnet/flash/articles/as_bestpractices_04.html
    Google is one of the best resources available for learning how to do things with Flash--it's the first place I go when I have a wondering.  In general, if you type in the right keywords, you get fairly good search results.  In your case, combinations of "AS2", "button", "getURL", "tutorial" would probably work well.

  • How to improve the speed of creating multiple strings from a char[]?

    Hi,
    I have a char[] and I want to create multiple Strings from the contents of this char[] at various offsets and of various lengths, without having to reallocate memory (my char[] is several tens of megabytes large). And the following function (from java/lang/String.java) would be perfect apart from the fact that it was designed so that only package-private classes may benefit from the speed improvements it offers:
        // Package private constructor which shares value array for speed.
        String(int offset, int count, char value[]) {
         this.value = value;
         this.offset = offset;
         this.count = count;
        }My first thought was to override the String class. But java.lang.String is final, so no good there. Plus it was a really bad idea to start with.
    My second thought was to make a java.lang.FastString which would then be package private, and could access the string's constructor, create a new string and then return it (thought I was real clever here) but no, apparently you cannot create a class within the package java.lang. Some sort of security issue.
    I am just wondering first if there is an easy way of forcing the compiler to obey me, or forcing it to allow me to access a package private constructer from outside the package. Either that, or some sort of security overrider, somehow.

    My laptop can create and garbage collect 10,000,000 Strings per second from char[] "hello world". That creates about 200 MB of strings per second (char = 2B). Test program below.
    A char[] "tens of megabytes large" shouldn't take too large a fraction of a second to convert to a bunch of Strings. Except, say, if the computer is memory-starved and swapping to disk. What kind of times do you get? Is it at all possible that there is something else slowing things down?
    using (literally) millions of charAt()'s would be
    suicide (code-wise) for me and my program."java -server" gives me 600,000,000 charAt()'s per second (actually more, but I put in some addition to prevent Hotspot from optimizing everything away). Test program below. A million calls would be 1.7 milliseconds. Using char[n] instead of charAt(n) is faster by a factor of less than 2. Are you sure millions of charAt()'s is a huge problem?
    public class t1
        public static void main(String args[])
         char hello[] = "hello world".toCharArray();
         for (int n = 0; n < 10; n++) {
             long start = System.currentTimeMillis();
             for (int m = 0; m < 1000 * 1000; m++) {
              String s1 = new String(hello);
              String s2 = new String(hello);
              String s3 = new String(hello);
              String s4 = new String(hello);
              String s5 = new String(hello);
             long end = System.currentTimeMillis();
             System.out.println("time " + (end - start) + " ms");
    public class t2
        static int global;
        public static void main(String args[])
         String hello = "hello world";
         for (int n = 0; n < 10; n++) {
             long start = System.currentTimeMillis();
             for (int m = 0; m < 10 * 1000 * 1000; m++) {
              global +=
                  hello.charAt(0) + hello.charAt(1) + hello.charAt(2) +
                  hello.charAt(3) + hello.charAt(4) + hello.charAt(5) +
                  hello.charAt(6) + hello.charAt(7) + hello.charAt(8) +
                  hello.charAt(9);
              global +=
                  hello.charAt(0) + hello.charAt(1) + hello.charAt(2) +
                  hello.charAt(3) + hello.charAt(4) + hello.charAt(5) +
                  hello.charAt(6) + hello.charAt(7) + hello.charAt(8) +
                  hello.charAt(9);
             long end = System.currentTimeMillis();
             System.out.println("time " + (end - start) + " ms");
    }

  • Single Form Erroneously Creating Multiple Records

    I've created a form that uses several pages, with different fields of the form on each page. The pages branch from one to the next depending on the choices made by the user, mostly using a regular select list or a radiogroup with submit. The problem I'm having is that some fields are being populated in one record on one page, and then the information entered by the user on the next page, for another column, creates a new record, so that every time a user would be finished making a complete entry into the form, multiple records have been created, with null fields in each from where those fields were populated, but in a different record. How can I make sure that only one record is created by the user each time they use this form?

    Basically the way the page is designed is that there are only three main pages the user will see. 1) The login page then 2) The main menu page, and then 3) The page where they input the information that should populate the remainder of the fields in that record in the table.
    The login page simply allows the user to access the menu page, and submits no data. The main menu page consists of 5 fields. Three of them are text fields, the fourth is a date field with a date picker. The fifth field is a radiogroup with submit that has 5 options which branch to 5 respective pages. Upon selecting an option from the radiogroup, these fields submit their data to the table and redirect the user to whichever page was designated by their choice.
    This brings up the third page. Most of these other 5 pages consist simply of 4 fields; two required select lists, one required textarea field, and one nonrequired textarea field. Anyway, the problem occurs because instead of populating the remaining fields in the same record, each page with information to submit creates a new record.
    I realize that the preceding may not be any additional relevant info., but I thought that if anything, there may be a better way to do that anyway. I thought that maybe editing the "Process" in the Page Definition could be where I need to change something, but I'm not sure how.
    Right now my "Process Point" is set as "On Submit - After Computations and Validations," and my "Run Process" is set as the default "Once Per Page Visit." These settings are the same on every page on which I have fields that submit data; however, one difference I noticed is in the process editing interface for the initial menu page, the "Name" says "Insert row into USER_INPUT (table name) with a "Type" of "PL/SQL Anonymous Block", whereas all the other pages processes are named "Process row of USER_INPUT" with a type of "Automatic Row Processing (DML)." Am I even close to where I need to be looking to find the solution to this problem? Sorry for the novel I just wrote, but if there's any additional info. I can provide, just let me know.

  • Data merge CS5, will not create multiple records.

    I have my base elements on the master page and two text boxes on page 1 on of a single page document. I am creating raffle tickets so there is box on the left side of the page and the right side of the page. I need this step 3 times down the sheet.
    I've tried using a comma delimited and tab delimited file. These files have two columns with numbers 1-500 and each with a different heading. Ticket 1 and Ticket 2.
    When I turn on multiple records nothing step and repeats. It looks exactly the same as a single record. I make raffle tickets like these quite often but the template I've used for the last few years is 1 up, built to the size of the ticket, and everything works great. I end up with 500 pages, send through our impositioning software then print.
    In this case, my client wants to print the files themselves and have them stepped up 4 per sheet.
    Does anyone know what I might be doing wrong?
    Thanks!

    When I read the third line of Kimberli's email, I thought of this article from my blog which might help if the artwork was set up as it was in previous years (i.e. 1up)
    http://colecandoo.wordpress.com/2011/10/28/theres-more-than-one-way-to-cut-and-stack/
    It takes the 1-up PDF and allows it to be placed into InDesign as it it were prepared in an n-up imposition.
    It isn't a fix to the multiple record issue that the OP has, but rather a workaround.

  • Create Multiple records in transformation routine

    Hi,
    Could anyone let me know how to do creation of multiple records (from one source record) in BI 7.0 transformation routine, E.g.
    Source record
    Cost Center   Period 01       Period 02
           1234          $30                $50
    --> (After transformation)
    Period    Cost center    Total cost
    01              1234             $30
    02              1234             $50
    Many thanks,
    Alvin

    The problem was with the following code segment:
    tmp_curr_rec_id := get_block_property( :system.current_block, current_record );
    set_record_property( tmp_curr_rec_id, :system.current_block, status, new_status );
    After omitting these two lines, the code worked properly.
    Thansk for all whoe replied.
    Regards,
    Tamas

  • Creating multiple PDFs from an xml form

    Hello--
    I am a LiveCycle Designer beginner, so please bear with me.
    I'm hoping to automate the creation of multiple PDFs from within a LiveCycle XML form I created.  We have a database with vendor contact information. Each vendor could have multiple records within our database (currently they range from 2-60). We currently send to a pointperson at each vendor an Excel spreadsheet that contains all the records associated with that vendor. That person then modifies, adds and deletes the records in that spreadsheet. We then input those updates into our database.  
    We recognize that this is an antiquated form of contact management, and want to improve. Of course, the challenge is that we do not have our own server to use, and we are not able to use any third party service that costs anything. Since we already have LiveCycle Designer, I'm hoping XML forms can make things easier for our administrators. I really hope there is a scriptable solution for this. 
    Here is what I've done (much of it to learn how LiveCycle Designer works).
    I created an XDP with all the appropriate fields. 
    I also created separate XML files for each vendor.
    I was able to create individual PDFs when I associate the vendor-specific XML file to the XDP using the Locate Data File field in the Defaults tab of the Form Properties.
    While this works, I essentially have just done the same amount of work as our current solution. Nonetheless, since LiveCycle is scriptable, I'm hoping that I can automate a number of these tasks. Is it possible to automate from within Designer, the creation of multiple PDFs—one for each vendor—using the same XDP form?  Do I need to make the XDP form a TDS file? Is this even the right approach? Is there a way to connect to the database and filter out by vendor the information I need? 
    I apologize if this is all over the place. Any and all advice would be most appreciated!!!

    The Split command also allows you to do this with a few more options like contol of the file naming and number of pages. Here is a quick tip on how to do this if you're interested.
    [Click to watch on the AdobeTV site]

Maybe you are looking for

  • Error while deploying an HFM application in EPMA application

    Hi, I have created an application in HFM and its validating fine. While I try to deply the application by EPMA application library I get the below error; Detail : Initiating Product Action... Generating Headers and Callback Information... Generating

  • Not able to find report server ?

    Hello all, I have installed DeveloperSuite 10g R2 on my laptop and also Oracle 9i database this URL is wroks fine <http://chirag:8889/reports/rwservlet/getserverinfo?server=cyan> when netwrok cable is plugged !! when I go to client side and I do not

  • How do I remove images from Notes app?

    How do I remove images from Notes app? I sometimes find that, when cutting and pasting text from the web, an image is also copied (pretty much at all times I try and avoid this, but sometimes the selection process doesn't allow for fine enough contro

  • Line Item having different currency

    Hi, Two line items in order are having two different currency. In the client legacy there are having this provision, and the same they want in SAP.Can this be processed? If so how. Sold  to and Ship to Party are same and the one place only. kindly ad

  • Drawing with PE10

    I'm trying to draw a train route on a map of europe. I'm assuming I have to use layers but how. Thanks dryheat1