File batching in SOA 11g for records which has parent-child relation

Hi,
We have a requirement to read a huge file and process to DB. We use AIA and Syncread operation to read the file.
Huge file with more than 40K lines are getting Transaction timeout and current transactiontimeout was set to 5 min in Server.
I would like to know the option to batch / chunk the records without increasing the transaction timeout setting in Server.
Input File is a fixed length file has a Header and Trailor. SubHeader lines do not have any count like how many lines are associated with it. Only option to relate DetailLine with its subheader is some Reference number.
Schema used is native schema builder and the file has structure like below.
10 123123 123 -- Header
20 10 *123* 123 -- SubHeader1
20 20 *123* 456 -- Detail1
20 20 *123* 789 -- Detail2
20 20 *123* 890 -- Detail3
20 10 *234* 567 --SubHeader2
20 20 *234* 789 --Detail1
20 20 *234* 741 --Detail2
90 9 123321 --Trailor
Regards,
Dheepika.K

Hi,
Thanks for your reply. I just emailed the screen shot to your email . Please verify and let me know your comment.
Regards,
Kiran Konjeti

Similar Messages

  • Creating View for a table with parent child relation in table

    I need help creating a view. It is on a base table which is a metadata table.It is usinf parent child relationship. There are four types of objects, Job, Workflow, Dataflow and ABAP dataflow. Job would be the root parent everytime. I have saved all the jobs
    of the project in another table TABLE_JOB with column name JOB_NAME. Query should iteratively start from the job and search all the child nodes and then display all child with the job name. Attached are the images of base table data and expected view data
    and also the excel sheet with data.Picture 1 is the sample data in base table. Picture 2 is data in the view.
    Base Table
    PARENT_OBJ
    PAREBT_OBJ_TYPE
    DESCEN_OBJ
    DESCEN_OBJ_TYPE
    JOB_A
    JOB
    WF_1
    WORKFLOW
    JOB_A
    JOB
    DF_1
    DATAFLOW
    WF_1
    WORKFLOW
    DF_2
    DATAFLOW
    DF_1
    DATAFLOW
    ADF_1
    ADF
    JOB_B
    JOB
    WF_2
    WORKFLOW
    JOB_B
    JOB
    WF_3
    WORKFLOW
    WF_2
    WORKFLOW
    DF_3
    DATAFLOW
    WF_3
    WORKFLOW
    DF_4
    DATAFLOW
    DF_4
    DATAFLOW
    ADF_2
    ADF
    View
    Job_Name
    Flow_Name
    Flow_Type
    Job_A
    WF_1
    WORKFLOW
    Job_A
    DF_1
    DATAFLOW
    Job_A
    DF_2
    DATAFLOW
    Job_A
    ADF_1
    ADF
    Job_B
    WF_2
    WORKFLOW
    Job_B
    WF_3
    WORKFLOW
    Job_B
    DF_3
    DATAFLOW
    Job_B
    DF_4
    DATAFLOW
    Job_B
    ADF_2
    ADF
    I implemented the same in oracle using CONNECT_BY_ROOT and START WITH.
    Regards,
    Megha

    I think what you need is recursive CTE
    Consider your table below
    create table basetable
    (PARENT_OBJ varchar(10),
    PAREBT_OBJ_TYPE varchar(10),
    DESCEN_OBJ varchar(10),DESCEN_OBJ_TYPE varchar(10))
    INSERT basetable(PARENT_OBJ,PAREBT_OBJ_TYPE,DESCEN_OBJ,DESCEN_OBJ_TYPE)
    VALUES('JOB_A','JOB','WF_1','WORKFLOW'),
    ('JOB_A','JOB','DF_1','DATAFLOW'),
    ('WF_1','WORKFLOW','DF_2','DATAFLOW'),
    ('DF_1','DATAFLOW','ADF_1','ADF'),
    ('JOB_B','JOB','WF_2','WORKFLOW'),
    ('JOB_B','JOB','WF_3','WORKFLOW'),
    ('WF_2','WORKFLOW','DF_3','DATAFLOW'),
    ('WF_3','WORKFLOW','DF_4','DATAFLOW'),
    ('DF_4','DATAFLOW','ADF_2','ADF')
    ie first create a UDF like below to get hierarchy recursively
    CREATE FUNCTION GetHierarchy
    @Object varchar(10)
    RETURNS @RESULTS table
    PARENT_OBJ varchar(10),
    DESCEN_OBJ varchar(10),
    DESCEN_OBJ_TYPE varchar(10)
    AS
    BEGIN
    ;With CTE
    AS
    SELECT PARENT_OBJ,DESCEN_OBJ,DESCEN_OBJ_TYPE
    FROM basetable
    WHERE PARENT_OBJ = @Object
    UNION ALL
    SELECT b.PARENT_OBJ,b.DESCEN_OBJ,b.DESCEN_OBJ_TYPE
    FROM CTE c
    JOIN basetable b
    ON b.PARENT_OBJ = c.DESCEN_OBJ
    INSERT @RESULTS
    SELECT @Object,DESCEN_OBJ,DESCEN_OBJ_TYPE
    FROM CTE
    OPTION (MAXRECURSION 0)
    RETURN
    END
    Then you can invoke it as below
    SELECT * FROM dbo.GetHierarchy('JOB_A')
    Now you need to use this for every parent obj (start obj) in view 
    for that create view as below
    CREATE VIEW vw_Table
    AS
    SELECT f.*
    FROM (SELECT DISTINCT PARENT_OBJ FROM basetable r
    WHERE NOT EXISTS (SELECT 1
    FROM basetable WHERE DESCEN_OBJ = r.PARENT_OBJ)
    )b
    CROSS APPLY dbo.GetHierarchy(b.PARENT_OBJ) f
    GO
    This will make sure it will give full hieraracy for each start object
    Now just call view as below and see the output
    SELECT * FROM vw_table
    Output
    PARENT_OBJ DESCEN_OBJ DESCEN_OBJ_TYPE
    JOB_A WF_1 WORKFLOW
    JOB_A DF_1 DATAFLOW
    JOB_A ADF_1 ADF
    JOB_A DF_2 DATAFLOW
    JOB_B WF_2 WORKFLOW
    JOB_B WF_3 WORKFLOW
    JOB_B DF_4 DATAFLOW
    JOB_B ADF_2 ADF
    JOB_B DF_3 DATAFLOW
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Why would my customer reading my pdf file get this message: 'Licensing for this product has stopped'?

    why would my customer reading my pdf file get this message: 'Licensing for this product has stopped'?
    The message goes on to say, 'you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT administrator or Adobe customer support for help.'

    Hi sivey@pdx,
    Can you please let us know the following:
    - Operating System installed;
    - Name and version of the Adobe Product (Adobe Reader or Adobe Acrobat);
    - Screenshot of the error message.

  • How to get the records which has a specified x/y coordinates

    Hi,
    How to get the records which has a specified x/y coordinates. I have a table which has street data. And another table has a point data. Now I just want to get the records from street data which includes the points in the point data table. Can any one give your suggestions
    Thanks and Regards
    Aravindan

    Aravinda,
    If you want to find the line segments which intersect the given
    set of points, you can do that with SDO_RELATE.
    siva

  • Photos ap on mac will not email. shows "more" for extensions which has Outlook checked but does me no good

    Why will new Photos ap on mac not email? No "email" pulldown  -shows "more" for extensions which has Outlook checked but does me no good.

    I am struggling with the same problem. I have two HP 4100dtn printers on ethernet. Each has a manually assigned IP address. I can set up the printer(s) just fine in the Print & Fax Preference and Snow Leopard finds the printer just fine when I enter the IP address and chooses the correct HP Driver.
    When I try to print, my print job appears in the queue as expected, than an error appears that something about a "bad command". Sorry, I'm home right now and don't have direct access to the printer so I can't give you the precise language of the message, but the gist of the message is that the system tried to connect to the printer to send the print data but the printer does not know how to respond to the command that was sent.
    It's as if the firmware in the 4100 just doesn't have something in it's lexicon that Snow Leopard needs. The HP web site is no help. One page I found says the printer is supported (http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&obje ctID=c01664444&jumpid=regR1002USEN ) and another page I found says that it is not supported (http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&obje ctID=c01879014&jumpid=regR1002USEN). The HP on line chat won't let me log in and hold a chat with HP unless I know the Serial Number of the printer, which I don't have here at home.
    More to follow tomorrow.
    Anyone have any ideas?

  • Inspection for Parent Child Relation

    Hi
    We are producing Mat.A from Mat .B and you want to copy the results from Mat.B .
    Both materials are batch managed.
    The requirement is - At the inspection for Material A , want to use batch derivation to copy results of Mat B (Parent Child Process)
    Please Guide ..
    Please schare Doc if available ..
    Mayank MEHROTRA
    Or in other words..
    Whether its possible to transfer the characteristics values of the batch from parent materia (MOM Materials)l to Child Materials
    Edited by: Mayank MEHROTRA on Jul 30, 2010 2:19 PM

    Hi Mayank,
    We had the same issue in one project. What we did, we develped a z- transaction and program for that.
    We had child batches, for eg, 1234561,1234562,1234563,1234564. here the mother batch is 123456. so we recorded value for this mother batch in MSC1N. In developed z transaction, we had a field called "mother batch" and next two fields as "from child batch" and "to child batch". So make entry in these fields and execute. Data will be populated automatically.
    Sit with a good ABAPer, he will be able to develop the same.

  • Why in case of parent child relation iterator fetching one duplicate record

    Hi,
    JDev Ver : 11.1.1.2.0
    Technology : JPA/TopLik Service Facade Data Control (Without using BC4J)
    I have created JPA/TopLink service facade from DB Tables and on facades I have crated DataControl which I have draged and droped on my screen to create input text, table etc.
    In my application, I have many tables having one to many relationships. (Primarykey foreign key).
    When I add more then one child columns (foreign key columns) for any one parent column (primary key column), in db its getting inserted properly but in iterator after refreshing also it showing one duplicate entry instead of actual entry.
    e.g.
    For one Account Id 1234 (primary key) , I am adding 3 account holders name (abc, xyz, pqr) in this case in db its inserting proper 3 entries but in iterator its showing
    1234 abc
    1234 xyz
    1234 abc
    so instead of pqr its again showing abc.
    To select account holders name I have used selectManyShuttle components.
    I have also tried tried dciter.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED); to refresh iterator.
    This is generic problem on most of the screen in my application where parent child relation comes.
    regards,
    devang

    Hi,
    Thanks for your reply. I just emailed the screen shot to your email . Please verify and let me know your comment.
    Regards,
    Kiran Konjeti

  • FTREE_NODE: Find parent node which has no child nodes

    Hi guys
    Does anybody know how to find a parent node which has no child node(s)?
    I couldn't find any build-in at the online help. Is there a trick to got this?
    Thanks in advance
    Remo

    Hi Remo,
    I misspoke, in my earlier post. The FTREE built-in has defined constants for the possible values that FTREE.NODE_STATE can have -- FTREE.COLLAPSED, FTREE.EXPANDED and FTREE.LEAF_NODE.
    If you wish, rather than testing for a value of '0', you can instead test for a value of FTREE.LEAF_NODE. Both are functionally identical, but using the constants can improve the readability of your code, eliminating the need for additional comments.
    Eric

  • Bpel-config.xml and soa-infra-config.xml file location in SOA 11g Pre-built

    Hi frnds,
    I have downloaded and started Oracle SOA 11g Pre-built from http://www.oracle.com/technetwork/middleware/soasuite/learnmore/vmsoa-172279.html and trying to configure it according to my requirements to upgrade from SOA 10g to 11g. But I can't find bpel-config.xml and soa-infra-config.xml files in BPEL domain home (i.e. /oracle/fmwhome/user_projects/domains/domain1).
    Can you please help me?
    BR, Lisan

    None of those roles are intended to be granted to application users. Those are instead to limit various operational / support responsibilities. For instance, if you have "operators" for your production environment who are responsible for starting & stopping servers vs "Administrators" who are performing configuration changes, etc.
    The SOA* versions can be used to separate even further - an "Operator" ( with rights in the WL console ) can be distinct from a "SOAOperator" ( with rights in the SOA /em ), etc.
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10226/appx_roles_privs.htm#insertedID2
    also, here is a bit more on soa-infra roles:
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10226/appx_users.htm#insertedID4

  • How can we restrict the other user to change the record which has been entered by particular user in MDS

    I have created Product entity in MDS. It's having the following values:
    Name  Code  Owner
    Bike    1      ABC
    Car      2     XYZ
    Cycle   3     RRR
    owner XYZ can change the record of RRR. But if owner XYZ or any other owner in this entity tried to update the ABC's record, access should be denied. That means, no one should have the permission to change the records which are entered by ABC.
    For this i have executed this code
    CREATE TRIGGER mdm.party_trial_readonly ON mdm.tbl_1042_1278_EN AFTER UPDATE, DELETE AS
    IF EXISTS (SELECT * FROM deleted WHERE readonly = 1)
    BEGIN
       ROLLBACK TRANSACTION
       RAISERROR ('Attempt to change a read-only row', 16, 1)
       RETURN
    END;
    After executing this code i couldn't edit any of the records.
    Please help me out in this.

    I have created 2 entities called Party and Owner.  Party has following columns (name, Code, Owner (Domain Based Attribute)) Owner has following columns (name, Code) And I have Created one Derived Hierarchy.
    From user and Group Permision Section, Hierarchy Members tab I have given read only permision to me (administrator of the Model). When I gave the permision I have selected users and Inherited from group in permission tab. And I'm not the part of any group.
    Now I'm not able to see my model except the explorer area. And I'm not able to delete the permission from the user. As per the admin guide we need to delete permission from group.
    Though I'm not the part of any group, I'm not able to proceed further to delete the permission.
    Please help me out in this regard. Thanks!

  • Why can I no longer specify my preferred font for text which has a link attached to it?

    I use TBird to send old school, professional looking business letters with logo image header and footers. Recently, I am unable to apply my preferred font to the website link part of my footer. This seems to have become an issue after one of the more recent upgrades of TBird. Its frustrating as I feel good graphic design requires uniformity in font style/type and size. This seems no longer possible. Now when I attach a hyperlink to my website address it changes my preferred font to something that looks like Arial and locks both font and size. It looks crappy.

    ''Kits47 [[#answer-701080|said]]''
    <blockquote>
    The only way I know its 12 pt. is that I copy into Word and check the font size there.
    </blockquote>
    Huge error number one, and probably cause of your problem in the first place.
    <blockquote>
    I would really like to see TBird use point size for fonts.
    </blockquote>
    Thunderbird uses HTML, HTML is expressed in pixels.
    <blockquote>
    In terms of not having Papyrus on you Linux box, I suppose that's you're choice.
    </blockquote>
    Licensing actually, not choice. The font is licensed and distributed by Microsoft. See http://www.microsoft.com/typography/fonts/font.aspx?FMID=1113 for a list of products your recipient can install to get the font.
    <blockquote>
    In my outgoing email subject line I always specify that my reply is best viewed in HTML, full screen.
    </blockquote>
    HTML is the default for almost all mail so that does appear to be overkill. Full screen. Personally I would be just as likely to not read mail that required full screen. Mail gets about half a screen here.
    <blockquote>
    Most systems will automatically substitute fonts for ones not on that system, at least in Apple and PC systems. </blockquote>
    Papurus actually has a higher chance of being present on a Mac system than a windows one as Apple have distributed it with OSX since 2003.
    <blockquote>
    Anyway all of that is a little off topic. I wanted help with why TBird intermittently messes with font size and style when I cut and pasting email responses to people.
    </blockquote>
    As I said at the beginning. Do not use word. Word first converts to RTF then to HTML (All done internally) The resulting HTML is extremely complex and to put it bluntly pastes as a whole page from which Thunderbird must extract only the relevant parts. (inside the body tag) The end result is the program ends up confused about what goes where.
    <blockquote>
    And, if there is some reason why sometimes, again I stress sometimes, it will not let me use the font of my choice for text that has a hyperlink attached to it.
    </blockquote>
    If your pasting from Word the most obvious thing will be that the hyperlinked text will have it's own font tags another reason I suggest you use the program your in.
    * If you want it on paper use a word processor. It is what they are designed for
    * If you want it in email use the email program to actually write your mail.
    * If you want to guarantee the look on delivery send PDF attachments.

  • Filter  only records which has particular column initial

    Hi friends
      I am using filter for a table view, in my talbe for a particular column , it has initial values also for some records,
      my question is how the user can filter only the records that has the particular column value is initial.
       what has to write in the filter field

    i am not sure how you can handle it with FILTER = SERVER
    but if you set it to APPLICATION, then you can write your own logic . for filtering. in this case in the filter field you may request the user to enter "INITIAL" to search for initial values. This text  "INITIAL" you can capture in your oninputprocessing and filter the table.
    other option (not exactly FILTER) is to set sort = SERVER and user can do ascending sort to see the initial value records first.
    Regards
    Raja

  • Problem in creating Entity for view which has "INSTEAD OF " trigger

    Hi ,
    I have an entity based on a Non updatable Database view (DB_VIEW).this database view has an INSTEAD OF trigger which validates
    and save data into a table.
    And I have a BC4J view based on this entity.
    Problem :
    When I try to insert a record using bc4j view object,I get following error
    ORA-22816: unsupported feature with RETURNING clause
    Query sent by view Object is :
    BEGIN INSERT INTO DB_VIEW(COLUMN1,COLUMN2,COLUMN3) VALUES (:1,:2,:3) RETURNING ROWID INTO
    :4; END;
    I am not able to insert any record in that view.
    I tried removing rowID from my BC4J entity and View but problem is that in Databae view there is no
    column which can be set as a primary key other then ROWID.

    I had the same problem.
    Oracle 9.2 sadly does not support the RETURNING clause for database views with INSTEAD OF triggers.
    Here is Steves Solution:
    1. Create a custom entity def impl class for your entity on the Java panel
    2. override the isUseReturningClause() and return false
    That should work in 9.0.3.4, 9.0.4 build 1419, and 9.0.5.1 production.
    from How to disable generation of RETURNING clause?
    Hth, Markus

  • Goods Receipt for Material which has no Standard Price in Process Order

    Hello everyone, is there a way by which we can prevent GR for process order which contains material that does not have standard price? And if ever we received material using process order how can we correct the process order right after we correct the standard price.

    Hi,
    i just don't know why you raised new thread as already ur previous thread is not closed
    Now just let us know whether system is throwing any error
    or what exactly happing in cofirmation screen
    Go to OPK4, here
    under goods movement there is option all components  just tick it
    then in second tab Gen individual entry tick Goods movement & termination for incorrect goods movement
    Coming to GR
    what is storage location ur giving
    just check in MMSC, whether this storage location is activated for the header material ( GR )
    Added
    Plz Go through all possible options
    [Auto GR is not happening.;
    Regards
    kumar
    Edited by: kumar kumar on Nov 10, 2009 2:25 PM

  • How to get Tcode for table which has a table maintenance done

    Hi Friends,
    I have one issue.
    How to get the specific Tcode again for the table  to which i have used table maintenance .
    I have generated table maintenance for many tables inside my package.
    If i want specific Tcode for that particular table how do i find it...Is there any way to get that
    Thanks in advance.
    Regards
    kishore

    Hi Gautham,
    I am still having problem... If i give Z* it shows all the Tcodes created with Z.
    For that i will click Display object list and get my Tcodes inside my package..
    But that is not my issue...
    I am sorry if i didn get you properly
    But still i didn find any way for that.
    Will give one sample table which is Ztest. Ihave tcode ztest1.
    Now as u said if i give Z* i will get all Z* tcodes ..In TSTCP table if i execute iam getting only the Tcode fields
    lot of Z names(tcodes) are there. In that how will i find which is mine.I am not getting any parameter fied in output and all..
    please help me.
    Regards
    kishore

Maybe you are looking for

  • Ipod sync but...

    Excuse my english. So, my iPod normally syncs with itunes but songs and podcast don't appear in my iPod's library. I tried to update the software, it doesn't work, then i tried to restore, it doesn't too. Si un francais passe par là, je met mon messa

  • Problem in ALV grid download to excel

    Hello Gurus, I have a ALV report which has 40 columns but at a time it will only display 100 records(max). when I am trying to download it into excel (by using standard funcationality) only headings are getting downloaded. I checked out standard tabl

  • How to clear all selection screen parameters before calling transaction?

    Hi Experts    I have a ABAP report that displays data using ALV.   When I double click a cell it calls transaction MB51. Before calling the transaction I need to set some parameters of the selection screen  of the transaction.   My code is like below

  • SelectOneChoice skinning

    Hi, I want to change the border width and border color for the selectOneChoice. I am able to change color and bgcolor for content inside the selectOneChoice but i am not able to get the correct style class to change the dropdown border. Please help m

  • Erroneous errors in sccheck output?

    Hi All, I'm using Solaris 10 u6 & Sun Cluster 3.2 u2 to build out a cluster framework. I'm seeing 2 errors in the sccheck log output and I'm suspicious that they are false positives: 1. CHECK ID : 1212 SEVERITY : CRITICAL PROBLEM : Unsupported Real T