Dynamic Update in Data Services

I have requirement of creating  CUSTOMER TENURE HISTORY table where we have add records based on customer contract
below is the example for 1 customer having 3 contracts:
First      Contract start date/end date: 28/11/2014 to 08/01/2015
Second Contract start date/end date: 08/01/2015 to 09/02/2015
Third     Contract start date/end date: 10/02/2015 to now
In Tenure History we don't need to add new record for each contract, we have to add record only if non-contiguous( i.e next contract start date >1 day after the previous contract end date, so if the difference is less than one then we should have only one tenure history record.
so using this logic above customer should have only one records in tenure history:
28/11/2014 to now
My problem is, all these three records are in the source table, and I have to use condition to check start date and end date of current and previous records, how to implement this as dynamic cache feature is available only in table comparison and there we not use any condition.
I have tried to use option Rows per commit by giving value 1, so that I can compare records with target table with each committed row. but it is not working and commit all rows at once.
Please suggest any approach to solve this problem.
Thanks in advance for help and support

You may need 2 data flows to achieve your results. I have based my scenario on a flat file input, but that doesn't really make a difference:
In the 1st data flow you read the input in ascending order (on Customer and ContractStartDate). The 1st Query transform also replacess null dates by a date far away in the future and adds a rownumber column (fill it with the gen_row_num built-in function).
In the 2nd query transform, add a status indicator NewContract that will contain a 'Y' for every first record in a group of related rows, 'N' otherwise. Do this with the decode and previous_row_value builtin functions:
     decode(Customer <> nvl(previous_row_value(Customer),''), 'Y',
          contractStartDate > previous_row_value(contractEndDate)+1, 'Y', 'N')
In the 2nd data flow you group related records together.
In the 1st Query transform calculate the ContractNum column with the following mapping:
     lookup_seq(SQL_Stage.DBO.SCN_CONTRACTS, ROWNUM, 0,
     ROWNUM, ROWNUM, NEWCONTRACT, 'Y')
(For another example and further explanation of the lookup_seq built-in function, check How to transform a flat file into a master-detail structure using lookup_seq?)
The 2nd Query transforms groups records on Customer and ContractNum and maps output dates to min(contractStartDate) and max(contractEndDate):

Similar Messages

  • Dynamic Tables and Data Service

    hi :)
    i have a dynamic table (with add/delete row) buttons,
    one of the fields in each row, needs to populate the rest of the fields with first/last/address information.
    i understand how the data service works for a single fields, is there a way to do this by adding/deleting rows?
    how can i bind them? and how do i ensure that the proper row is populating?
    Thanks!

    To get the instance of the subform that you are working on you can use this.parent.index. Now when addressing the field the occurance number is on the container subform and not on the field itself. So if you had a Page1 - Subform1 - Row - Object you would use Page1.Subform1.Row[instancenumber].object.rawValue
    The only issue is the the [] are illegal in javascript so you can use the syntax:
    xfa.resolveNode("Page1.Subform1.Row[" + this.parent.index + "]").object.rawValue
    Make sense?

  • Errror Update the data service Personal Information -- Personal Data

    We have a problem in ESS at the time of updating the data, somebody knows as it can be the cause
    In the portal --->Personal Information -->Personal Data
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.per.fc.persinfo.FcPersInfo.save(FcPersInfo.java:411)
         at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.save(InternalFcPersInfo.java:768)
         at com.sap.xss.per.fc.persinfo.FcPersInfoInterface.save(FcPersInfoInterface.java:186)
         at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface.save(InternalFcPersInfoInterface.java:275)
         at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface$External.save(InternalFcPersInfoInterface.java:423)
         at com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNavi.onEvent(VcPersInfoReviewNavi.java:213)
         at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNavi.onEvent(InternalVcPersInfoReviewNavi.java:171)
         at com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNaviInterface.onEvent(VcPersInfoReviewNaviInterface.java:115)
         at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNaviInterface.onEvent(InternalVcPersInfoReviewNaviInterface.java:124)
         at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNaviInterface$External.onEvent(InternalVcPersInfoReviewNaviInterface.java:200)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:533)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMComponent.java:78)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEvent(FPMComponent.java:951)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseSaveEvent(FPMComponent.java:1114)
         at com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNavi.next(VcPersInfoReviewNavi.java:227)
         at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNavi.next(InternalVcPersInfoReviewNavi.java:175)
         at com.sap.xss.per.vc.reviewnavi.ReviewNaviView.onActionNext(ReviewNaviView.java:153)
         at com.sap.xss.per.vc.reviewnavi.wdp.InternalReviewNaviView.wdInvokeEventHandler(InternalReviewNaviView.java:173)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1257)
         at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:826)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Screen output without connection to user., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.per.model.mac.HRXSS_PER_MAC.hrxss_Per_Save(HRXSS_PER_MAC.java:476)
         at com.sap.xss.per.model.mac.Hrxss_Per_Save_Input.doExecute(Hrxss_Per_Save_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 64 more

    > We have a problem in ESS at the time of updating the
    > data, somebody knows as it can be the cause
    >
    > In the portal --->Personal Information -->Personal
    > Data
    >
    >
    > com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFC
    > ExecuteException: Screen output without connection to
    > user., error key: RFC_ERROR_SYSTEM_FAILURE
    > at
    > t
    > com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCMo
    > delClassExecutable.execute(DynamicRFCModelClassExecuta
    > ble.java:101)
    > at
    > t
    > com.sap.xss.per.fc.persinfo.FcPersInfo.save(FcPersInfo
    > .java:411)
    > at
    > t
    > com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.sav
    > e(InternalFcPersInfo.java:768)
    > at
    > t
    > com.sap.xss.per.fc.persinfo.FcPersInfoInterface.save(F
    > cPersInfoInterface.java:186)
    > at
    > t
    > com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInte
    > rface.save(InternalFcPersInfoInterface.java:275)
    > at
    > t
    > com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInte
    > rface$External.save(InternalFcPersInfoInterface.java:4
    > 23)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNavi.onE
    > vent(VcPersInfoReviewNavi.java:213)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoRe
    > viewNavi.onEvent(InternalVcPersInfoReviewNavi.java:171
    > )
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNaviInte
    > rface.onEvent(VcPersInfoReviewNaviInterface.java:115)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoRe
    > viewNaviInterface.onEvent(InternalVcPersInfoReviewNavi
    > Interface.java:124)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoRe
    > viewNaviInterface$External.onEvent(InternalVcPersInfoR
    > eviewNaviInterface.java:200)
    > at
    > t
    > com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(F
    > PMComponent.java:533)
    > at
    > t
    > com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMC
    > omponent.java:437)
    > at
    > t
    > com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMCo
    > mponent.java:78)
    > at
    > t
    > com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEve
    > nt(FPMComponent.java:951)
    > at
    > t
    > com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseSa
    > veEvent(FPMComponent.java:1114)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNavi.nex
    > t(VcPersInfoReviewNavi.java:227)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoRe
    > viewNavi.next(InternalVcPersInfoReviewNavi.java:175)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.ReviewNaviView.onActionN
    > ext(ReviewNaviView.java:153)
    > at
    > t
    > com.sap.xss.per.vc.reviewnavi.wdp.InternalReviewNaviVi
    > ew.wdInvokeEventHandler(InternalReviewNaviView.java:17
    > 3)
    > at
    > t
    > com.sap.tc.webdynpro.progmodel.generation.DelegatingVi
    > ew.invokeEventHandler(DelegatingView.java:87)
    > at
    > t
    > com.sap.tc.webdynpro.progmodel.controller.Action.fire(
    > Action.java:67)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.window.WindowPhaseMo
    > del.doHandleActionEvent(WindowPhaseModel.java:420)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.window.WindowPhaseMo
    > del.processRequest(WindowPhaseModel.java:132)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.window.WebDynproWind
    > ow.processRequest(WebDynproWindow.java:335)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.cal.AbstractClient.e
    > xecuteTasks(AbstractClient.java:143)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ApplicationS
    > ession.doProcessing(ApplicationSession.java:313)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ClientSessio
    > n.doApplicationProcessingPortal(ClientSession.java:733
    > )
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ClientSessio
    > n.doApplicationProcessing(ClientSession.java:668)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ClientSessio
    > n.doProcessing(ClientSession.java:250)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.RequestManag
    > er.doProcessing(RequestManager.java:149)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.core.Applica
    > tionHandle.doProcessing(ApplicationHandle.java:73)
    > at
    > t
    > com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicatio
    > nProxy.sendDataAndProcessActionInternal(AbstractApplic
    > ationProxy.java:860)
    > at
    > t
    > com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalAppli
    > cationProxy.sendDataAndProcessAction(LocalApplicationP
    > roxy.java:77)
    > at
    > t
    > com.sap.portal.pb.PageBuilder.updateApplications(PageB
    > uilder.java:1257)
    > at
    > t
    > com.sap.portal.pb.PageBuilder.SendDataAndProcessAction
    > (PageBuilder.java:325)
    > at
    > t
    > com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.ja
    > va:826)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.window.WindowPhaseMo
    > del.processPhaseListener(WindowPhaseModel.java:755)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.window.WindowPhaseMo
    > del.doPortalDispatch(WindowPhaseModel.java:717)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.window.WindowPhaseMo
    > del.processRequest(WindowPhaseModel.java:136)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.window.WebDynproWind
    > ow.processRequest(WebDynproWindow.java:335)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.cal.AbstractClient.e
    > xecuteTasks(AbstractClient.java:143)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ApplicationS
    > ession.doProcessing(ApplicationSession.java:313)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ClientSessio
    > n.doApplicationProcessingStandalone(ClientSession.java
    > :713)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ClientSessio
    > n.doApplicationProcessing(ClientSession.java:666)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.ClientSessio
    > n.doProcessing(ClientSession.java:250)
    > at
    > t
    > com.sap.tc.webdynpro.clientserver.session.RequestManag
    > er.doProcessing(RequestManager.java:149)
    > at
    > t
    > com.sap.tc.webdynpro.serverimpl.defaultimpl.Dispatcher
    > Servlet.doContent(DispatcherServlet.java:62)
    > at
    > t
    > com.sap.tc.webdynpro.serverimpl.defaultimpl.Dispatcher
    > Servlet.doPost(DispatcherServlet.java:53)
    > at
    > t
    > javax.servlet.http.HttpServlet.service(HttpServlet.jav
    > a:760)
    > at
    > t
    > javax.servlet.http.HttpServlet.service(HttpServlet.jav
    > a:853)
    > at
    > t
    > com.sap.engine.services.servlets_jsp.server.HttpHandle
    > rImpl.runServlet(HttpHandlerImpl.java:401)
    > at
    > t
    > com.sap.engine.services.servlets_jsp.server.HttpHandle
    > rImpl.handleRequest(HttpHandlerImpl.java:266)
    > at
    > t
    > com.sap.engine.services.httpserver.server.RequestAnali
    > zer.startServlet(RequestAnalizer.java:387)
    > at
    > t
    > com.sap.engine.services.httpserver.server.RequestAnali
    > zer.startServlet(RequestAnalizer.java:365)
    > at
    > t
    > com.sap.engine.services.httpserver.server.RequestAnali
    > zer.invokeWebContainer(RequestAnalizer.java:944)
    > at
    > t
    > com.sap.engine.services.httpserver.server.RequestAnali
    > zer.handle(RequestAnalizer.java:266)
    > at
    > t
    > com.sap.engine.services.httpserver.server.Client.handl
    > e(Client.java:95)
    > at
    > t
    > com.sap.engine.services.httpserver.server.Processor.re
    > quest(Processor.java:175)
    > at
    > t
    > com.sap.engine.core.service630.context.cluster.session
    > .ApplicationSessionMessageListener.process(Application
    > SessionMessageListener.java:33)
    > at
    > t
    > com.sap.engine.core.cluster.impl6.session.MessageRunne
    > r.run(MessageRunner.java:41)
    > at
    > t
    > com.sap.engine.core.thread.impl3.ActionObject.run(Acti
    > onObject.java:37)
    > at
    > t java.security.AccessController.doPrivileged(Native
    > Method)
    > at
    > t
    > com.sap.engine.core.thread.impl3.SingleThread.execute(
    > SingleThread.java:100)
    > at
    > t
    > com.sap.engine.core.thread.impl3.SingleThread.run(Sing
    > leThread.java:170)
    > Caused by:
    > com.sap.aii.proxy.framework.core.BaseProxyException:
    > Screen output without connection to user., error key:
    > RFC_ERROR_SYSTEM_FAILURE
    > at
    > t
    > com.sap.aii.proxy.framework.core.AbstractProxy.send$(A
    > bstractProxy.java:150)
    > at
    > t
    > com.sap.xss.per.model.mac.HRXSS_PER_MAC.hrxss_Per_Save
    > (HRXSS_PER_MAC.java:476)
    > at
    > t
    > com.sap.xss.per.model.mac.Hrxss_Per_Save_Input.doExecu
    > te(Hrxss_Per_Save_Input.java:137)
    > at
    > t
    > com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCMo
    > delClassExecutable.execute(DynamicRFCModelClassExecuta
    > ble.java:92)
    >      ... 64 more
    version 32 Mexico.

  • Data Services job rolling back Inserts but not Deletes or Updates

    I have a fairly simple CDC job that I'm trying to put together. My source table has a record type code of "I" for Inserts, "D" for deletes, "UB" for Update Before and "UP" for Update After. I use a Map_CDC_Operation transform to update the destination table based on those codes.
    I am not using the Transaction Control feature (because it just throws an error when I use it)
    My issue is as follows.
    Let's say I have a set of 10,000 Insert records in my source table. Record number 4000 happens to be a duplicate of record number 1. The job will process the records in order starting with record 1 and begin happily inserting records into the destination table. Once it gets to record 4000 however it runs into a duplicate key issue and then my try/catch block catches the error and the dataflow will exit. All records that were inserted prior to the error will be rolled back in the destination.
    But the same is not true for updates or deletes. If I have 10000 deletes and 1 insert in the middle that happens to be an insert of a duplicate key, any deletes processed before the insert will not be rolled back. This is also the case for updates.
    And again, I am not using Transaction Control, so I'm not sure why the Inserts are being rolled back, but more curiously Updates and Deletes are not being rolled back. I'm not sure why there isn't a consistent result regardless of type of operation. Does anyone know what's going on here or  what I'm doing wrong/what my misconception may be?
    Environment information: both source and destination are SQL Server 2008 databases and the Data Services version we use is 14.1.1.460.
    If you require more information, please let me know.

    Hi Michael,
    Thanks for your reply. Here are all the options on my source table:
    My Rows per commit on the table is 10,000.
    Delete data table before loading is not checked.
    Column comparison - Compare by name
    Number of loaders - 1
    Use overflow file - No
    Use input keys - Yes
    Update key columns - No
    Auto correct load - No
    Include in transaction - No
    The rest were set to Not Applicable.
    How can I see the size of the commits for each opcode? If they are in fact different from my Rows per commit (10,000) that may solve my issue.
    I'm new to Data Services so I'm not sure how I would implement my own transaction control logic using a control column and script. Is there a guide somewhere I can follow?
    I can also try using the Auto correct load feature.  I'm guessing "upsert" was a typo for insert? Where is that option?
    Thank you very much!
    Riley

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • How to update Data Services (ALDSP 2.5) from WebLogic Server 9.2 correctly?

    Hi,
    I need to update some physical data service in ALDSP 2.5 on WLS 8.1 SP6 (8.1.6) via Static Mediator API from WebLogic Server 9.2 MP2 (9.2.2) application. I have reviewed the article about interoperability of ALDSP 2.5 and WLS 9 here:
    http://edocs.bea.com/aldsp/docs25/appdev/ejbclt.html#wp1090900
    Firstly, I had a problems with the interconnection between 9.2 client and ALDSP 2.5 due to some missed methods/classes. Finally, I've added the following libs to my WLS 9.2.2 pre-classpath in such an order:
    MyDSPProject-ld-client.jar (built with Ant script using XmlBeans 2.0)
    wlsdo.jar (from ALDSP 2.5)
    xbean.jar
    xqrl.jar
    wlxbean.jar
    ld-client.jar (from ALDSP 2.5)
    I do the update in the way shown in attached java file.
    After submit method call, I've got two copies of a new item added in the DB and also an exception that is shown in attached log-file.
    What is the possible cause of this issue?
    I use MySQL DBMS version 5.0.45.
    I've also tried MS SQL 2005 but it simply had the same results.
    DSP audit log is also attached.
    Thank you in advance!
    Best Regards,
    Vitalii Tiutiunnyk

    The problem is that your client is WLS server, and WLS server has network class loading disable (for security), and the result from the call requires a class that is not on the client. The call succeeds, but the the network class load for the result fails, and the WLS 9.2 framework (incorrectly) retries the call (and you get either a duplicate key exception or a second row inserted). Putting the server jar in the client classpath solves the problem.
    If you wanted more information or help, you can contact BEA Customer Support and tell them it is regarding the CR I mentioned.

  • I did an update to my wife's iPhone and now it won't connect through the 3G. It says you are not connected to a cellular data service

    I Updated my wife's iPhone the other to the new operating system. It asked me first to use iCloud backup so I did. After the update was complete my wife can use wifi but when we try the 3G it says you are not connected to a cellular data service.
    IT shows Bell as the provider but we seem to have lost something during this update.
    can someone help me please.

    Check Settings>General>Cellular and make sure Cellular Data is set to On.  If it is, try putting it in Airplane mode for 15 seconds, then turn Airplane mode off again.  If it persists, give you carrier a call to confirm that it's properly activated with them and that your data plan is properly provisioned.

  • HT4623 Hi. After I updated ios6, I couldn't use my cellular network. It said "could not activate cellular data network - You are not subscribed to a cellular data service". I don't know why. My iphone is 4s

    Hi. After I updated ios6, I couldn't use my cellular network. It said "could not activate cellular data network - You are not subscribed to a cellular data service". I don't know why. My iphone is 4s

    Contact your carrier to ensure data access via their network is provisioned properly for your account and iPhone with the new iOS 6 update installed.

  • Data services stop working after updating to new OS version for Q10

    I am from Qatar, after i updated my device ( Q10 SNQ100-3 ) to new OS ( 10.2.1.537 ), the mobile data services stopped working, but it works everytime I connect to wifi. This is the same with Z10. Please need help.

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (step 1 should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive
    2) Reboot
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. IF this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Update custom IT0105 subtype via ESS change own data service

    I created a custom communication subtype in infotype 0105.  I would like to add this subtype to the Change Own Data service in ESS, service object name ChangeOwnDataApplication.  This service does not appear to allow for the addition of custom subtyhpes from IT0105.  Function module HRXSS_COD_SAVE_PERSONAL_DATA seems to limit the subtypes allowed from IT0105 to 0005, CELL, 0010, PAGR and 0020

    I Agree to suresh. This service is the most simplest in terms of functionality but has been ruinedbecause of hardcoding done in the function modules used.
    This service uses following RFCs
    HRXSS_COD_DEQUEUE_PERNR
    HRXSS_COD_ENQUEUE_PERNR
    HRXSS_COD_ERROR_HANDLING
    HRXSS_COD_GET_DETAILS
    HRXSS_COD_MODIFY
    HRXSS_COD_READ
    HRXSS_COD_SAVE
    HRXSS_COD_SAVE_PDATA
    HRXSS_COD_SAVE_PERSONAL_DATA
    HRXSS_COD_SAVE_PHOTO        
    In function HRXSS_COD_GET_DETAILS there is following hardcoding..
    LOOP AT wiw_detail_table INTO wa.
        IF wa-fieldname = 'GEBNR' OR wa-fieldname = 'ZIMNR'
           OR wa-fieldname = 'KFZKZ'.
          CONCATENATE p0032_prefix wa-fieldname INTO wa-fieldname.
          APPEND wa TO detail_table.
        ELSEIF wa-fieldname = 'TEL_EXT' OR wa-fieldname = 'TEL_NR'
           OR wa-fieldname = 'EMAIL'.
          CONCATENATE p0105_prefix wa-fieldname INTO wa-fieldname.
          APPEND wa TO detail_table.
        ELSEIF wa-fieldname = 'P0032-GEBNR' OR wa-fieldname = 'P0032-ZIMNR'
               OR wa-fieldname = 'P0032-KFZKZ'
               OR wa-fieldname = 'SYHR_A_P0105_AF_TEL_EXT'
               OR wa-fieldname = 'SYHR_A_P0105_AF_TEL_NR'
               OR wa-fieldname = 'SYHR_A_P0105_AF_EMAIL'
               OR wa-fieldname = 'SYHR_A_P0105_AF_CELL'
               OR wa-fieldname = 'SYHR_A_P0105_AF_FAX'
               OR wa-fieldname = 'SYHR_A_P0105_AF_PAGR'.
          APPEND wa TO detail_table.
        ENDIF.
      ENDLOOP.
    The above doesn't allow the function to read any custom value so if you require to add custom subtypes then you  need to deal with them differently.
    We have taken following approach.
    we made copy of HRXSS_COD_GET_DETAILS  and read the custom subtypes.
    We made sure that these fields are read and displyed on the standard webdynpro service by modifying it usign NWDI.
    For saving the data the standard application calls
    HRXSS_COD_MODIFY 
    HRXSS_COD_SAVE
    If you want to save the custom fields then you need to take following route
    create copy of above function modules and use instances xss_adapter for respective infotypes if you want to update only 105 or 0032 related fields.
    If you have custom fields from infotype 32 and 105 then you may not need to even copy the above function modules.
    All cod based RFC has DETAIL_TABLE as import or export parameter. Insert the respective vaules of custom fields(subtypes) that you get from copy of HRXSS_COD_GET_DETAILS.
    The above will resolve the issue of adding custom fields (0032) and custom subtypes (0105) to change own data service.
    The effort for adding fields is not too high but then unless you understand the details its not simple.
    THERE IS NO WAY THAT THIS FIELDS CAN BE ADDED ON SCREEN BY CONFIG WE COULD IDENTIFY. IF SOMEONE DOES THEN PLEASE SHARE.
    Edited by: Barin Desai on Nov 11, 2009 8:26 PM

  • Data Services 4.0 error when running job - not updating repository table

    Hi All,
    I am hoping someone might have come across this error before.
    When running a data services job, from within Data Services Designer, when trying to re-run the same job, I get the following error messages:
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     |Data flow DF_XXXX_Data_DW1Date
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     SQL submitted to Oracle Server <BO3> resulted in error <ORA-00001: unique constraint (DS3_ADMIN.SYS_C005632) violated
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     >. The SQL submitted is <INSERT INTO AL_BW_REQUEST (REQUESTID,TYPE,VALUE,DF_NAME,CREATION_TIME) VALUES (
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     'REQU_4NIVIZ1G9S5B7LUY0HHP65ZJU', 3 , '29', 'DF_XXXX_Data_DW1Date',  to_date('2011.10.17 10:38:39', 'yyyy.mm.dd
    9332     2572     DBS-070300     17/10/2011 10:38:39 AM     hh24:mi:ss') )>.
    9332     2572     REP-100109     17/10/2011 10:38:39 AM     |Data flow DF_XXXX_Data_DW1Date
    9332     2572     REP-100109     17/10/2011 10:38:39 AM     Cannot save <RequestID info> into the repository. Additional database information: <SQL submitted to Oracle Server <BO3>
    9332     2572     REP-100109     17/10/2011 10:38:39 AM     resulted in error <ORA-00001: unique constraint (DS3_ADMIN.SYS_C005632) violated
    When I go and look into the Data Services repository AL_BW_REQUEST  table, the first time the job is run, all five fields in this table populate with data successfully. When re-running the job, on 3 out of the five fields within this table are populated but the VALUE and DF_NAME field are not populated, hence causing the primary key violation.
    Here is the data below from the AL_BW_REQUEST  table:
    REQUESTID                                      TYPE  VALUE     DF_NAME                               CREATION_TIME
    REQU_4NIVIZ1G9S5B7LUY0HHP65ZJU     3                      10/17/2011 10:38:38 AM
    REQU_4NJ503RVIFD3VLBJJEKBJ3OE2     3                       10/17/2011 10:33:37 AM
    REQU_4NJ4ZHSP9F93L3OAUDV6RHCMY     3                       10/17/2011 10:32:31 AM
    REQU_4NIV1NKP9645E394E7H12Q796     3                      10/17/2011 9:53:53 AM
    REQU_4NEYFNI2U68MBJOEWFJWVWWU2     3  24     DF_XXXX_Data_DW1Date      10/17/2011 9:47:58 AM
    If I truncate this table and re-run the DS job, it will not populate the VALUE and DF_NAME fields. 
    Does anyone know what could be causing this? The target source is BW.
    Seems like a bug to me.
    Thanks,
    Ainsley

    Hi Ramesh,
    Am a HANA apps consultant in India, would like to get in touch with you. but don't know how
    regards,
    Tilak

  • Dynamically updating data in ADF

    Hi,
    I am currently developing an adf application where I need to show some dynamic value to the user based on the user login in application.
    Now I am getting this user specific value by using API calls and feeding the view table of ADF, which in turns creates the row dynamically and display the result to the user.
    The issue is that since I am feeding the data in View table of ADF dynamically, if a different user log in to the application then at that time the API calls will fetch that user specific details and will delete the existing data from the table and will insert the new values.
    So the value which was displayed to the 1st user will not be available for use.
    Please help me in solving this issue.
    I am using Jdeveloper 11.1.1.5

    Hi TImo,
    Thanks for the reply and suggestion. I will try the suggestion given by you and will let you know if face any issue.
    Also please let me know if is there any way to dynamically displaying the data in ADF instead of inserting it first in table.
    Thanks much !!!

  • SSRS Dataset Column MetaData dynamic Update

    Hi All,
    I  have report which is dynamically pivoting columns    in the query ,i need to update those dynamic  columns on the ssrs    column metadata fields on the data set,cross tabbing using tablix doesn't work for my logic  ,is
    there any way ,the  column names  can be updated when  new columns get added .
    As an example 
    If my dataset query is dynamically pivoting sales data against months    when month changes, i need the new month to be update in the data set fields 
    Region1   Product1    Sept Oct
    Region1 Product2 Sep Oct Nov
    Many Thanks
    Chandra 

    Hi DataPro2010,
    According to your description that you have columns(Month) which need to update in the DB sometime, so this fields need to update in the report too, you try to use pivot function in the query to make them update dynamically on the report but failed, right?
    I have tested on my local environment and we can make it dynamic increase by using the matrix, you have mentioned matrix not support the logic, I think you problem can be caused by the wrong way you design the matrix, you can use the unpivot function to
    turn the column name of month to a single row and create an matrix to put the month name in the column group ,Details information for your reference:
    1.  Put the query below to the dataset:
    SELECT Region, Product, Col , Amount
    FROM
    select Region, Product,Col1,Col2,Col3,Col4,Col5,Col6,Col7,Col8,Col9,….Coln from case1111
    )a
    UNPIVOT(Amount FOR Col IN (Col1,Col2,Col3,Col4,Col5,Col6,Col7,Col8,Col9,..Coln) ) p   
    Note: Col1,Col2,Col3,Col4,Col5,Col6,Col7,Col8,Col9,….Coln :this part need to update every time you have added an column of month in the DB.
    2.  Create an matrix and design the report as below
    If you have some other fields which will not dynamic increase, you can insert these fields the same way as [Product] (Product is added as the inside group of Region,[Col] will display the month name)
    3.  Every time you have added an column in the DB, remember to update the query by adding this column  in the step1 too, and then the matrix will be update automatically.
    There is also another method to design the column (Not using the Matrix)by using the parameter to control the dynamical increase for your reference:
    http://www.codeproject.com/Articles/11254/SQL-Reporting-Services-with-Dynamic-Column-Reports
    Any problem, please feel free to ask
    Regards
    Vicky Liu

  • How do you expose PL/SQL Webpages via REST Data Services?

    I am in a bit of a pickle.  I have a 3rd party vendor which wants to send data back us.  They do it via a standard http form post to a webservice (actually with normal html form inputs) that we have to implement.  I have this done in the form of a PL/SQL package.  Now the hard part.....before we decommissioned our Oracle HTTP server and went to using REST Data Services, we could just reference the schema and procedure name via the DAD.  We no longer have a web tier environment at our disposal, just Weblogic Servers and REST Data Services plus the database running APEX.  Is there any way that I can build/publish an end point that can receive normal post transactions (they do not and will not communicate with us using SOAP, REST, or XML).  What I am basically needing is to get my PL/SQL out there where it can work as an old fashion form processor taking the POST/GET parameters and then processing them.  Is there any way to do this with REST Data Services or APEX? 

    Try changing:
    UPDATE exav.problems
    SET active_with = null
    WHERE active_with='''|| user_id ||''';
    to:
    UPDATE exav.problems
    SET active_with = null
    WHERE active_with = user_id;
    You only need to add the quotes if you are building a string to be executed dynamically, like:
    EXECUTE IMMEDIATE
    'UPDATE exav.problems
    SET active_with = null
    WHERE active_with='''|| user_id ||'''';

  • How to refresh a  region using Active Data Service

    Hi,
    I need to refresh the region using ADS.
    I am creating jsff which contains dynamic tables rendering. This jsff is bound to a task flow (having input parameter and refresh property set to "ifNeeded). The bounded task flow is dropped on a jspx as a region.
    Now in order to refresh the region, I need to pass the updated param value, which would cause the region refresh.
    I am able to do so on a button click from jspx page. But I have to make it auto refresh using ADS as per app requirement.
    The issue is "AdfFacesContext.getCurrentInstance return null..if I am using it in startActive Data or changeData Update (where I am using ActiveDataUpdateEvent)".
    Please guide me how can I achieve this.
    I am using Jdev 11.1.1.4.
    Thanks.
    Edited by: 977455 on Jan 3, 2013 7:35 PM

    Hi,
    try a variation of this blog entry: http://matthiaswessendorf.wordpress.com/2010/01/22/flexible-active-data-service/
    Instead of showing a popup, you do the following
    1. set clientComponent=true for the hidden field
    2. configured the PartialTrigger property of the region to point to the hidden component
    If this doesn't work then try this
    1. use <af:clientListener type="propertyChange" method="activeDataCallback" /> as used in the sample
    2. define an af:serverListener that points to a managed bean that has access to the region (RichRegion) instance
    3. The af:serverListener needs to be defined as a child of the outputText
    4. change "activeDataCallback" to queue the server listener event (CustomEvent)
    5. Use the managed bean to refresh the region
    Frank

Maybe you are looking for