Reg updating cluster data

Hi All,
We have a requirement to read the import file from the selection screen through function module.
Select the payroll results created in cluster for the last period (i.e. the latest period where in-period equal to for-period) populate the content of the text file in cluster GRT.
The business requiremnet goes like this:
The Gross payroll is to be processed in SAP system for UK base employees and deputies. The gross payroll output is to be provided to Vendor and the net payroll is processed in vendor system. The vendor provides the file with the net results which needs to be imported in SAP system. To update the payroll cluster with the net results, this program needs to be developed.
Could anyone provide some sample code or pointers on how this can be achieved?
Thanks,
Sujana

most of the plant level MRP data for a Material is found in MARC
Regards, Murugesh AS

Similar Messages

  • How RG1 reg update?

    HI..Gurus,
    How RG1 reg Update? Wt is the T.Code for that. ?What are the pre-requisites that are needed.?
    regards,
    jyothi.

    Hi Jyothi
    The sequence is like this:
    1. In SE16, enter Table name: J_2IRG1BAL, and click on Create. Enter the material Number and 'P' in Material form (Loose/Pack indicator) and click 'Save'. This step is to be done only for the first time.
    2. Do your Initial Stock entry in MB1C, movement type 561
    2. Go to J1I5, select Posting Date, Document Year and 'ROP in Classification (Receipt from outside under any other provision). Click on Create icon (Register entry)
    4. Go to J2I5 and extract the RG1 Register. You must get a green checkmark.
    5. After doing the PFI, go to J1I5, select Posting Date, Document Year and Classification 'IDH' (For domestic sales) or 'IDE' if the first removal is for Export Sale. Based on the accounting document generated during PGI (MB03) the RG1 Register gets updated with the removal for Outbound Delivery.
    6. Reextract the RG1 register in J2I5. You must get a green checkmark.For the RG1 Register printout, go to J2I6, select the option, 'Script Form' and hit 'Execute.
    All this was in OSS Note: 373001.
    Ramana ND
    PS: You must have maintained the Number range Object J_1IRG1 (RG1 Register)

  • 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.

  • Can we update the data of ztable by using the BAPI FM

    Hi Experts,
    Can we update the data of ztable by using BAPI FM  'BAPI_CUSTOMERCONTRACT_CHANGE'.
    Can anyone help this issue.
    regs
    rams

    Hi Ramesh,
    After the BAPI 'BAPI_CUSTOMERCONTRACT_CHANGE' is called, check the return message and use UPDATE <DBTABLE_NAME> command to update the ZTABLE.
    Use COMMIT WORK after the call. If the BAPI is standard BAPI and not a customized BAPI, then it wont update Z Table direclty. You need to build the logic in program to update Z Table.
    Best regards,
    Prashant
    PS : Please reward all helpful answers

  • How to update the data  in database in webdynpro

    I have to update the data in databse table using adaptive rfc in WebDynPro

    Hi,
    You can refer to these links:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
    Update data into SAP Table
    http://help.sap.com/saphelp_nw70/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/d5/1558bfa6aa80499113983e738b1b21/frameset.htm
    Regards
    Inder

  • How to Update the data in R/3 From BW

    Hi All ,
         I Need some suggestion . i want to update the data of MARC table in R/3 from BW . Here data goes from BW to R/3 . so How to do this ? . There are no standard BAPI's in BW for this .
    Thanks
    Prithvi.

    Hi,
    The scenario you are explaining is little opposite to what happens generally. Are you sure, you want to update R/3 from BW?
    If you have to update MARC table that means you have to extend the material for different plants. Try using BAPI_MATERIAL_SAVE_DATA.
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • Unable to run bapis for project status update and date update together

    Hi Experts,
    I have a requirement to update the dates and status of a project WBS at level 4. I am trying to do update the CJ02 Transaction using standard BAPI available. I need to do both Date update and status update in the same LOOP PASS   i am using the below mention bapi. when i am doing so i am getting an error Project 'A._____' has been currently processed by ID i.e. my id.
    I have tried putting  a wait for 2 seconds in the code but its still not working. please find the order below in which i am calling the bapi.
    Loop at itab.
    if  date_changed = 'X'.
          CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
          READ TABLE it_error WITH KEY message_type = c_e.
          IF sy-subrc <> 0.
    Commit
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
       endif.
    endif.
    if Status_change = 'X'.
          CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
          CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
          READ TABLE t_result WITH KEY message_type = c_e.
          IF sy-subrc NE 0.
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
                 TABLES
                      et_return = t_ret.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
         ENDIF.
    endif.
        WAIT UP TO 4 SECONDS.
    endloop.

    Try to use
    SET UPDATE TASK LOCAL.
    before each BAPI call.
    Did you try to debug through your code, leaving sufficient time between BAPI calls? If it does work like that, then the above statement might help.

  • Updating array data in sql database

    HI,
    Im facing problems in updating array data in SQL database.
    As of now, i am able to write an "insert" query and insert array data in an image datatype field. Im using image datatype because the array size is very big(around 80,000 x and y values).
    Althoug inserting data is easy im unable to write a query to update this data.
    Referring to the help of SQL server and Labview database connectivity toolkit, i came across a method of accessing image datatype....using textpointers, which are 16 bit binary values and using the WRITETEXT function instead of the UPDATE function.
    but the problem im facing is that ive to pass the array as a 2d string array in the query as a result the updated array is retrieved in the form of a string a
    nd not as an array. how do I get over this problem?

    Hi Pavitra,
    I'm not very clear on how you have inserted the data into your application, but I do know that when you call the UPDATETEXT or WRITETEXT function you use the TEXTPOINTERS to point to the first location of a 1d array. So, depending on how you've stored the data, you may have problems updating your data if you're looking at it as a 1d array instead of how you originally formatted it. If you are able to successfully access the data as a 1d array, you can use the database variant to data type vi and pass in a string array constant for the data type. This will convert the variant datatype into whatever you specify. You may have to index the row and column of the variant (you receive a 2d array of variant) first before you convert. If possible, can yo
    u provide some more detail and maybe some example code of how you perform the insert and plan to do the update? I can probably give you a better solution if I know how you are formatting the data. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • How can I activate the transfer rules for the ODS updating a data target.

    We are on BW 3.5 and I'm loading data into the 0FIGL_O10 ODS  and then uploading the data into the cube 0FIGL_C10. The data loads just fine to the ODS but when I try to <u><b>'update the data target'</b></u> I get a date & time stamp' error on the info-package transfer rules.
    I then Replicate the datasource 80FIGL_O01.
    I must then <u><b>'activate' the transfer rules</b></u>.
    However I cannot get the transfer rules for 80FIGL_O10 in CHANGE MODE to activate them.
    How can I activate the transfer rules for the ODS updating a data target.
    The error text is as follows:
    DataSource 80FIGL_O10 has to be replicated (time stamp, see long text)
    Message no. R3016
    Diagnosis
    DataSource 80FIGL_O10 does not have the same status as the source system in the Business Information Warehouse.
    The time stamp in the source system is 02/15/2007 10:42:33.
    The time stamp in the BW system is 11/07/2006 13:11:54.
    System response
    The load process has been terminated.
    <b>Procedure
    Copy the DataSource again and then activate the transfer rules that belong to it. You have to activate the transfer rules in every case, even if they are still active after the DataSource has been copied.</b>
    Thanks for your assistance.
    Denny

    Hi Dennis,
           Try, using Business Content to activate your data source
           hope this will help you
    How activate business content?
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm

  • How to update the data in sqlserver table using procedure in biztalkserver

    Hi,
    Please can any one answer this below question
    how to update the data in sqlserver table using procedure in biztalkserver
    while am using executescalar,typedprocedure getting some warning
    Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
    Please send me asap....
    Thanks...

    Hi Messip,
    A detailed error would have helped us to answer you more appropriately but
    You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
    http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
    Maheshkumar
    S Tiwari|User
    Page|Blog|BizTalk
    2013: Inserting RawXML (Whole Incoming XML Message) in SQL database

  • Can't update the data of my credit card

    My credit card information was changed. Now I can't update this data on my account since days. Any idea, why?  the error message is 'Card is invalid, please check card details'. thanks

    Hi up1975.
    Please contact our chat support: http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html#Contact_us as they can provide you personalised experience in getting your issue fixed.
    Regards,
    Romit Sinha

  • Automatic remote key updation in data manager after a data import.

    Hi experts,
    I'm using SAP MDM 7.1 SP10 and after I do a data load via import manager my remote keys of lookup tables are updated. For example, lets just say I do a vendor mass load for some operating company for which I didn't maintain remote key for lookup table "Country" (figure Before load) and after the load its autometically updated in data mager (figure After load).
    Before load.
    After load.
    I want to understand if its noramal SAP behaviour or not. If yes, how can i avoid this.
    Thanks and regards
    Shamit Prakash

    Hello Ravi, I just want to leverage Shamit question :
    I noticed the same behavior after the key mapping enable and the problem is : every time I import a file via Import manager now, when I check my mapping, sometimes a supplier that does not exist in my file is mapped with a different one from MDM. Previously the key mapping property was enabled, if this situation occurs  in my import, as the supplier is a key in my map, this field would not be mapped and I had to correct my file or include this supplier in the database. Now, this became dangerous, as my import can map wrong information. Do i have another option to syndicate only changed records, without enable the key mapping ??? Example : use the selection Criteria in syndicator.

  • Update XML data stored in CLOB Column

    Hi All,
    i am new to Oracle and new to SQL
    i am trying to update XML data stored in CLOB cloumn,data is stored with the follwoing format
    <attrs><attr name="name"><string>Schade</string></attr></attrs>
    i am using the following query for updating the value
    UPDATE PRODUCT p SET ATTRIBUTES_nl_nl=UPDATEXML(XMLTYPE.createXML(ATTRIBUTES_nl_nl),'/attrs/attr[@name="name"]/string/text()','Schade').getClobVal() WHERE p.sku='000000000000040576_200911-5010057'
    this query is working fine but it changing the data to the following format
    <attrs><attr name="name">Schade</attr></attrs>
    some how it is ommiting the <string> tag from it, i am unable to figure it out whats the reason.
    any help in this regard will b e much appriciated
    Thanks in Advance
    -Umesh

    Hi,
    You should have created your own thread for this, and included database version.
    This works for me on 11.2.0.2 and 10.2.0.5 :
    SQL> create table t_org ( xml_clob clob );
    Table created
    SQL>
    SQL> insert into t_org
      2  values(
      3  '<Message>
      4  <Entity>
      5  <ASSIGNMENT>
      6  <OAVendorLocation> </OAVendorLocation>
      7  <Vendorid>1</Vendorid>
      8  </ASSIGNMENT>
      9  </Entity>
    10  </Message>'
    11  );
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> select '*' ||
      2         extractvalue(xmltype(xml_clob),'/Message/Entity/ASSIGNMENT/OAVendorLocation')
      3         || '*' as result
      4  from t_org;
    RESULT
    SQL> update t_org set xml_clob =
      2  updatexml(xmltype(xml_clob),
      3  '/Message/Entity/ASSIGNMENT/OAVendorLocation/text()','LONDON').getClobVal()
      4  ;
    1 row updated
    SQL> select '*' ||
      2         extractvalue(xmltype(xml_clob),'/Message/Entity/ASSIGNMENT/OAVendorLocation')
      3         || '*' as result
      4  from t_org;
    RESULT
    *LONDON*
    Does the OAVendorLocation really have a whitespace value?
    If not then it's expected behaviour, you're trying to update a text() node that doesn't exist. In this case, the solution is to use appendChildXML to create the text() node, or update the whole element.
    Is it your real document? Do you actually have some namespaces?

  • Delta Update in data Target Must be Deactivated Before deleting the request

    Hi Experts,
    I got an error while deleting a request from an ODS target.  In breaf Let me explain..
    Today one data load got failed. The data source 0CRM_SALES_CONT_I ( CRM  Sales Contract : Item ) is updating data to 4 ( Four ) ODS targets.
    So I forcefully made the request red to delete the request from the targets. But  I unfortunately deleted another request without making it RED, I reconstructed it. Everything is looking fine.
       But the thing is , when I tried to  Delete the ERROR request from  the other two related Data Targets ( 0CRM_CN2P  and   0CRM_CNT1) , I fount these warnings..
                    --> Request 140522 already retrieved by Data Target BWPCLNT600
                    --> Delta update in Data Target BWPCLNT600 must be DEACT. before deleting the request.
                    --> Do you want to DEACTIVATE the Delta Update in the Data Target BWPCLNT600   ?
       I clicked on YES.
    I am having doubt, will it make any problem in future ? Or How Can I Resolve this problem   ?
    Thanks,
    Utpal.

    Hi shanthi bhaskar ,
    Thank you. But the client no which I have mentioned is not our. That is different, I have given for the example. Bur the DS and ODS name are as it is.
       and  Shanthi, Won't be any problem as  I got the warning as mentioned above.. ?
    Thanks,
    Utpal

  • Using USB NI-6008 on LV7.1 the results data has to be in Excel. It looks as cluster data format that i can not insert into excel VI

    I am Using USB 6008 with LV 7.1. The application is voltage logger and i would like to use excel and upload the data . The Columns will be the channels and the rows will be the data.
    The data comes from the DAQmx vi not like a simple string or an number it is kind of cluster data
    which contains strings and numbers and more for each measurement.
    I tryed to work with spraedshit and it goes ok but it is not conveniant to convert later to excel.
    Do you have a solution for that please?
    (How to extract the data from the cluster type format that is used with USB6008).
    TX arik
    Attachments:
    USB-6008-r3.vi ‏80 KB

    Arik:
    I hope all is well. If you are trying to write data to a text file along with the header information, you could do the following:
    1. Open a reference to a file and write the header information right away.
    2. Do your continuous acquisition (in a loop) using the 6008 and write the data to a file everytime.
    3. With the proper formatting, your colums will represent channels and your rows data.
    Please take a look at the attached example and let me know if you have any other questions.
    Regards,
    Rudi N.
    Attachments:
    WriteFilewHeaders.vi ‏64 KB

Maybe you are looking for

  • Adding a refernce number to a form

    Hi Folks, I have a form on my website which acts as a questionanire. As the data is purely qualitative I've not set it up to insert the data into a databse, only to forward it via a formail page to my email address. I would however like to add sequen

  • Using to_date causes CBO to use wrong index

    I'm working on switching an application from using the Rule-based optimizer to use the Cost-based Optimizer on Oracle 9iR2. I'm having problems with the following query: select report_rsn, reports.facility_code,        exams.facility_code   from exam

  • FrameMaker for the Mac End-of-Life (No more development)

    From Dov Isaacs, and Adobe employee and all-round guru, to the Framers list (http://www.frameusers.com): ~ Adobe FrameMaker End-of-Life for Macintosh Platform ~ On April 21, 2004 Adobe will discontinue Adobe(r) FrameMaker(r) software for the Apple Ma

  • Working with Subcircuits in Multisim 10 Student Edition

    Hello Everyone, I built this circuit mainly using subcircuits.  It's supposed to display a 4-digit hexadecimal number using a single BCD to 7- segment decoder to operate 4 displays. I am using 16 switches organized as four groups of 4 switches. Each

  • MPEG-4 Converter?

    Can anybody suggest an MPEG-4 converter that is capable of converting the film by chapter instead of the whole dvd? Many thanks. Erick