DB Update from BAPI

Hi All,
I am trying to create a RFC FM ( BAPI) which will be called from external system. The role of this FM is insert to 3 different  Z tables.  Table structure's  is like Header, Details & Sub details.
Requirement is if the insert/update fails on Header than all other insert/update should fail  Also i need to report back any errors to calling system.
I have designed the BAPI in such way that after some initial data check, i call another FM in update task.
Inside this FM i am doing insert/update. After coming out i am doing Commit Work. Also setting  SET UPDATE TASK LOCAL
My doubt is
(1) how would this handle a situation where update in header fails so all other update are rejected.
(2)  I would like to let the other system know, if the insert is good or fail. Since Update task does not allow export, how to handle this.
Please advice the best solution for this.

Hello,
I agree with the last post, it's useless to use update task for a simple update process.
But if you want to create a BAPI, then COMMIT WORK is forbidden, the commit is the responsibility of the calling application (by calling BAPI_TRANSACTION_COMMIT by RFC).
Now, if you want to know if the INSERT are okay, just test SY-SUBRC, and return an exporting parameter which gives the status if it's okay or not (if it's a BAPI, that should be parameter RETURN of type table of BAPIRET2). The calling program will then be able to commit or rollback (using BAPI_TRANSACTION_ROLLBACK)
BR
Sandra

Similar Messages

  • Limitation on Adding custom fields into VBAP (Updating from BAPI )

    I have added some custom fields into BAPI structure BAPE_VBAP and corresponding structure to update the custom fields added into VBAP.
    in my code i am passing the value bapiparex-valuepart1 = bape_vbap0(240). bapiparex-valuepart1 = bape_vbap240(240),
    bapiparex-valuepart1 = bape_vbap480(240) and bapiparex-valuepart1 = bape_vbap720(240)
    But, while activation its informing me that more than 441 character length not allowed for the structure. Where the total length should be allowed upto 960.
    is there any OSS notes which i can apply to extend the limit for adding more custom fields into VBAP .
    Please help

    Dear All,
    Good Morining.
    The User creation and Assigining roles is done by the same preson and As i have mentioned above i am disabling the Manage_User action,And if i give the responsiblity of assigining  roles to an other person then he can also create user (standard functionality) where i cannot add my required features.Thereby leading for inconsistency.Therefore we thought that we will also add this funtionality in Webdynpro application and for the same, we have to provide the search criteria where currently we are able to search the role based on data entry(eg:t* or Ume etc) .But we need to search also based on the DataSource(ie Portal Role ,All DataSource and UME).Please Can you guide me in this.
    Also please let me know if we are going in a right approach and also suggest any better approach to achieve the same.
    Thanks and Regards,
    Nishita Salver

  • Is it possible to call custom designed RFC function module, apart from BAPI

    Hi Friends,
    1.     Is it possible to call custom designed RFC function module, apart from BAPI.
    2.     Why we call it Adaptive RFC layer, Since every time the JCO layer updated with SAP, Why can’t be dynamic.
    Thanx for Ur time.
    Cheers,
    Sam

    Also check <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm">here</a> for more information on aRFC. Here you can find why it is called adaptive.
    Regards,
    Christophe

  • How to populate Tree structure from BAPI while tree grows or shrinks

    Hi All
    Currently I am populating the tree structure from BAPI based on the HLevel (Hierarchy  Level) parameter, but when ever insertion and deletion happens in the tree at any level in the UI and at the same time i am updating these tree node values with HLevel value(example : 1 is first level , 2 is second level, 3 is third level etc)  updating successfully& correctly  into the BAPI, no issues.
    Once it is updated into the BAPI, next time when i refreshed the UI then i am not populating the tree structure correctly from BAPI with updated new nodes based on the HLevel. when tree struture grows or shrinks in the BAPI after updating into BAPI from UI then i am not populating the tree sturcture correctly based on the HLevel value from the BAPI.
    Please let me know any sample code how to populate tree structure correctly when tree structure grows or shrinks based on the HLevel value ( Hierarchy Level , for example : 1 is level , 2 is 2nd level , 3 is third level nodes etc)
    anybody helps in this regard with sample code on the populating tree tructure then it would be great help to me.
    Thanks in advance
    Regards
    Kalki Reddy
    Edited by: KalkiReddy on Nov 29, 2009 3:48 PM

    Bapi output node:
    Value     | Text     | HLevel
    01     | A     | 1               
    0101     | AA       | 2
    010101     | AAA     | 3
    01010B     | AAB     | 3
    0102     | AB     | 2
    02     | B     | 1
    0201     | BA        | 2
    This code is used to build the tree in wdDoInit method
         IE_T_CatalogueNode catalogueNode = wdContext.nodeE_T_Catalogue();
         int size = catalogueNode.size();
         ICatalogoElement level1elem = null;
         for (int i = 0; i < size; i ++)
              IE_T_CatalogueElement catalogueElem = catalogueNode.getE_T_CatalogueElementAt(i);
              if (catalogueElem.getLevel().equals("1"))
                   // 1 Livello
                   level1elem = wdContext.createCatalogoElement();
                   level1elem.setKATALOGART_CODE(catalogueElem.getKatalogart());
                   level1elem.setCODEGRUPPE_CODE(catalogueElem.getCodegruppe());
                   level1elem.setCODE(catalogueElem.getCode());
                   level1elem.setCODE_DESCR(catalogueElem.getKatalogart_Descr());
                   level1elem.setDESCR(catalogueElem.getKatalogart_Descr());
                   wdContext.nodeCatalogo().addElement(level1elem);
                   for (int j = i + 1; j < size; j ++)
                        IE_T_CatalogueElement catalogueElem2level =
                                                 catalogueNode.getE_T_CatalogueElementAt( j );
                        String level2 = catalogueElem2level.getLevel();
                        if (level2.equals("2"))
                             ICatalogoElement level2elem = level1elem.nodeChild().createCatalogoElement();
                             level2elem.setKATALOGART_CODE(catalogueElem2level.getKatalogart());
                             level2elem.setCODEGRUPPE_CODE(catalogueElem2level.getCodegruppe());
                             level2elem.setCODE(catalogueElem2level.getCode());
                             level2elem.setCODE_DESCR(catalogueElem2level.getCodegruppe_Descr());
                             level2elem.setDESCR(catalogueElem2level.getCodegruppe_Descr());
                             level1elem.nodeChild().addElement(level2elem);
                             for (int k = j + 1; k < size; k ++)
                                  IE_T_CatalogueElement catalogueElem3level =
                                                           catalogueNode.getE_T_CatalogueElementAt( k );
                                  String level3 = catalogueElem3level.getLevel();
                                  if (level3.equals("3"))
                                       ICatalogoElement level3elem = level2elem.nodeChild().createCatalogoElement();
                                       level3elem.setKATALOGART_CODE(catalogueElem3level.getKatalogart());
                                       level3elem.setCODEGRUPPE_CODE(catalogueElem3level.getCodegruppe());
                                       level3elem.setCODE(catalogueElem3level.getCode());
                                       level3elem.setCODE_DESCR(catalogueElem3level.getCode_Descr());
                                       level3elem.setDESCR(catalogueElem3level.getCode_Descr());
                                       level2elem.nodeChild().addElement(level3elem);
    Damiano

  • Photoshop cc 2014 slow after update from mac os 10.9 to 10.10.2

    hello
    i have update from 10.9 to 10.10.2 i am using a mac pro 2012  2.4 ghz 6 cores 48GB ram and a NVIDIA Quadro K5000 3583 MB
    since i update photoshop is extremely slow
    any function takes much longer to render , and i am now trying to reverte to the back up runing 10.9.5 again but before that would liek to know if someone can please help me
    towards any advice how to try to speed up photoshop been cc or cc2014
    thanks
    luis
    Reply

    Kitcateleven please see Error U44M1I210 | Install updates for information on how to resolve the U44M1I210 error.

  • Error in trying to update FROM Ovi Suite 2.1.1.1 t...

    I am trying to update FROM Ovi Suite 2.1.1.1 to the newer version.
    The download process NEVER ends.
    2 screen shot are attached.
    In the 2nd you clearly see some counter overrun (65518MB / 17MB).
    I have already: uninstalled; download new version; installed.
    Same scenario.
    Any clue here?
    Regards, Shay
    Attachments:
    1.jpg ‏12 KB
    2.jpg ‏9 KB

    FYI: system information:
    Nokia Ovi Suite 2.1.1.1
    Nokia PC Suite 7.1.40.1
    PC Connectivity Solution 10.6.2.0
    Connectivity Cable Driver 7.1.27.0
    Nokia Ovi Suite Software Updater 2010.6.0.60359
    Maps Service API 3.0.38.0
    Nokia mPlatform 2.6.86
    Ovi Desktop Sync Engine 1.1.0.82
    Operating system:
    Microsoft Windows XP 32-bit Edition, Service Pack 3
    Language: English
    Detected internet browsers:
    - Microsoft Internet Explorer 8.0.6001.18702 (Default browser)
    - Mozilla Firefox 3.6.3
    Detected Bluetooth stacks:
    - Microsoft (Version: 5.1.2600, Build: 5512)

  • Error in running baseline update from ATG

    Hi,
    I am trying to import the content in my ATG app schemas as indexed records into Endeca.
    After making the configuration changes listed in the ATG-endeca integration guide , When I try to do baseline index from http://localhost:7003/dyn/admin/nucleus/atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin/ , following is what I get :
    PreIndexing (Duration: 0:00:00)
         /atg/endeca/index/commerce/CategoryTreeService                COMPLETE (Succeeded)
    RepositoryExport (Duration: 0:00:19)
         /atg/endeca/index/commerce/SchemaExporter      58      0      COMPLETE (Succeeded)
         /atg/endeca/index/commerce/CategoryToDimensionOutputConfig      9      0      COMPLETE (Succeeded)
         /atg/endeca/index/commerce/RepositoryTypeDimensionExporter      15      0      COMPLETE (Succeeded)
         /atg/commerce/search/ProductCatalogOutputConfig      31      0      COMPLETE (Succeeded)
    EndecaIndexing (Duration: 0:02:18)
         /atg/endeca/index/commerce/EndecaScriptService                COMPLETE (Failed)
    following is what I get in logs :
    **** info Wed Dec 19 15:09:19 IST 2012 1355909959144 /atg/endeca/index/commerce/EndecaScriptService Starting script BaselineUpdate in application ATGen
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin --- atg.repository.search.indexing.IndexingException: Starting scrip
    t BaselineUpdate of application ATGen failed
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.startScript(ScriptRunner.ja
    va:276)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:307)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin Caused by :java.net.ConnectException: Connection refused: connect
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
    ava:154)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
    nStrategy.java:32)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2767)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2443)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2366)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:1812)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at com.endeca.eac.client.ScriptControlPortSOAPBindingStub.startS
    cript(ScriptControlPortSOAPBindingStub.java:263)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.startScript(ScriptRunner.ja
    va:272)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:307)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin Caused by (#2):java.net.ConnectException: Connection refused: connect
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.socketConnect(Native Method)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
    a:213)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.net.Socket.connect(Socket.java:529)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at java.lang.reflect.Method.invoke(Method.java:597)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.components.net.DefaultSocketFactory.create(De
    faultSocketFactory.java:153)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.components.net.DefaultSocketFactory.create(De
    faultSocketFactory.java:120)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSende
    r.java:191)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPS
    ender.java:404)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
    ava:138)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
    nStrategy.java:32)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2767)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2443)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:2366)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at org.apache.axis.client.Call.invoke(Call.java:1812)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at com.endeca.eac.client.ScriptControlPortSOAPBindingStub.startS
    cript(ScriptControlPortSOAPBindingStub.java:263)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.startScript(ScriptRunner.ja
    va:272)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:307)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Wed Dec 19 15:09:20 IST 2012 1355909960330 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin
    P.S. - ALL the endeca services are running.
    To add to surprise after this , I am unable to perform the baseline update from Endeca also. I get following error while running baseline update on endeca side :
    [12.19.12 15:49:23] INFO: [ITLHost] Starting shell utility 'emgr_update_set_post_forge_dims'.
    [12.19.12 15:49:32] SEVERE: Utility 'emgr_update_set_post_forge_dims' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    Occurred while executing line 34 of valid BeanShell script:
    31| // Upload the generated dimension values to Workbench
    32| WorkbenchManager.cleanDirs();
    33| Forge.getPostForgeDimensions();
    34| WorkbenchManager.updateWsDimensions();
    35|
    36| // Upload the generated config to Workbench
    37| WorkbenchManager.updateWsConfig();
    [12.19.12 15:49:32] SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
    Caused by java.lang.reflect.InvocationTargetException
    sun.reflect.NativeMethodAccessorImpl invoke0 - null
    Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
    com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
    Caused by com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
    com.endeca.soleng.eac.toolkit.utility.Utility run - Utility 'emgr_update_set_post_forge_dims' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [12.19.12 15:49:32] INFO: Released lock 'update_lock'.
    The above error persists even if I remove the application using --remove-app command and re-deploy new app with same name as previous one
    Any help/pointer would really be appreciated.
    Thanks,
    Mayank Batra

    Thanks Pankaj and Patrick.
    My endeca installation works absolutely fine.
    When i install endeca with platform services,mdex and tools and framework , I can create the application,initialize, load baseline and baseline update my application beautifully, until I do the baseline index from ATG side.
    Once I do that , I am unable to perform indexing from Endeca also.
    What I need to do is reinstall the endeca(platform services for least) to resolve this - I have been doing this for quite some time now :(
    My Endeca Workbench instance is up, running and reachable on port 8006.
    The PlatformServices\workspace\logs\shell\ATGen.emgr_update_set_post_forge_dims.log has following one liner :
    ERROR: Could not open acquire_lock.status.
    I tried running the baseline index from ATG again and following is what I get in logs this time around :
    **** info Mon Dec 24 12:57:32 IST 2012 1356334052168 /atg/endeca/index/commerce/EndecaScriptService Starting script BaselineUpdate in application ATGen
    **** info Mon Dec 24 13:05:03 IST 2012 1356334503729 /atg/endeca/index/commerce/EndecaScriptService Script BaselineUpdate for application ATGen finished with status Failed
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin --- atg.repository.search.indexing.IndexingException: Script Baselin
    eUpdate for application ATGen failed
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.waitForScript(ScriptRunner.
    java:381)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:319)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin Caused by :atg.repository.search.indexing.IndexingException: Script Base
    lineUpdate of application ATGen failed
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptRunner.waitForScript(ScriptRunner.
    java:378)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.runUpdateScript(ScriptIn
    dexable.java:319)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.eacclient.ScriptIndexable.performBaselineUpdate(Sc
    riptIndexable.java:246)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:
    401)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.
    java:359)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(I
    ndexingPhase.java:469)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherTh
    read.java:178)
    **** Error Mon Dec 24 13:05:03 IST 2012 1356334503843 /atg/endeca/index/commerce/ProductCatalogSimpleIndexingAdmin
    Regards,
    Mayank Batra
    Edited by: Waste Ideas on Dec 23, 2012 11:37 PM
    Edited by: Waste Ideas on Dec 23, 2012 11:38 PM

  • Delta records not updating from DSO to CUBE in BI 7

    Hi Experts,
    Delta records not updating from DSO to CUBE
    in DSO keyfigure value showing '0' but in CUBE same record showing '-I '
    I cheked in Change log table in DSO its have 5 records
    ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M -  -1
    ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M -   0
    ODSR_4LIF02ZV32F1M85DXHUCSH0DL -   0
    ODSR_4LIF02ZV32F1M85DXHUCSH0DL -   1
    ODSR_4LH8CXKUJPW2JDS0LC775N4MH -   0
    but active data table have one record - 0
    how to corrcct the delta load??
    Regards,
    Jai

    Hi,
    I think initially the value was 0 (ODSR_4LH8CXKUJPW2JDS0LC775N4MH - 0, new image in changelog) and this got loaded to the cube.
    Then the value got changed to 1 (ODSR_4LIF02ZV32F1M85DXHUCSH0DL - 0, before image & ODSR_4LIF02ZV32F1M85DXHUCSH0DL - 1, after image). Now this record updates the cube with value 1. The cube has 2 records, one with 0 value and the other with 1.
    The value got changed again to 0 (ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M - (-1), before image &
    ODSR_4LKIX7QHZX0VQB9IDR9MVQ65M - 0, after image). Now these records get aggregated and update the cube with (-1).
    The cube has 3 records, with 0, 1 and -1 values....the effective total is 0 which is correct.
    Is this not what you see in the cube? were the earlier req deleted from the cube?

  • Clients cannot download updates from DP

    Dear Friends,
    I need your help,
    After I configured everything and I am ready to patch my first cycle I have problem with my clients.
    I download all the updates and create my deployment package. I sent it to the DP. 
    The clients cannot download the updates from their DP. I checked the boundary and everything is ok.
    I noticed that all pcs have the following error in the FSPstatemessage.log.
    Failed in WinHttpSendRequest API, ErrorCode = 0x2ee7 FSPStateMessage 4/5/2015 1:53:36 AM 4844 (0x12EC)
    [CCMHTTP] ERROR: URL=HTTP://SCCM01.XXX.YYYYY/SMS_FSP/.sms_fsp, Port=80, Options=224, Code=12007, Text=ERROR_WINHTTP_NAME_NOT_RESOLVED FSPStateMessage 4/5/2015 1:53:36 AM 4844 (0x12EC)
    Successfully sent location services HTTP failure message.
    Does the error above have to do with the client when tries to download the updates from the dp ?
    How to solve the problem above ?
    I forgot to mention that I have only one Site.
    Please help
    Nikkoscy

    The client falls in a boundary that is assigned to a boundary group which gives access to the DP with the content and the deployment package is distributed on the server.
    Please see below the ContentTransferManager.log, CAS.log, LocationServices.log .
    any idea what is wrong ?
     I can resolve the FQDN of the DP from the client. The DP is the server of the branch where the client locates.
    Nikkoscy

  • Cannot get all updates from iTunes software

    Hello. There is a strange problem.
    Sometimes, when I open iTunes from my computer, a small number will be displayed after "Apps".
    When I click the "Apps", I can also see that there are some updates available from the bottom link text.
    But after I click that bottom link, I cannot get all programs which need to be update listed. When I update all listed, iTunes still says there are some apps to be updated, but when I click that bottom link, only a text "No updates are currently available. To check for updates for another Apple ID, sign in with that Apple ID."
    At that time, I can get all updates from my iPhone - Apple Store. So all have to do, is update all apps from my iPhone and sync it back. But if some apps are not installed on this iPhone, I have no way to update it.
    BTW, I've tried to click Store - Check for available downloads from iTunes on my computer. It's useless in this case.
    Any solution? Thanks.

    It think its a bug. I got the same results under MX 7.0.2.
    The topic of maxrows recently came up on another thread. I
    did some searching and according to TechNote 18339 there was a
    change with maxrow
    "<cfquery maxrows=N> bug. ColdFusion MX (until ColdFusion
    MX 7.0.1 CHF2) didn't pass maxrows to the underlying driver
    (statement.setMaxRows())"
    Given the results you're getting, it sounds like CF is
    applying the maxrow to all of the resultsets, not just the one
    where maxrows was declared. I suspect cfstoredproc's usage of
    statement.setMaxRows() is incorrect. Thats just a guess though.
    Bottom line, I think you'll need handle it manually.
    Personally, I would recommend placing the row count logic in the
    stored procedure (if possible). The overall results will be more
    consistent and you won't have to worry about this kind of issue
    again.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18339
    http://livedocs.adobe.com/coldfusion/7/htmldocs/00000314.htm
    http://www.remotesynthesis.com/blog/index.cfm/2006/3/23/Maxrows-Issue-in-CFQuery

  • My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve .....

    My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve  this issue. I have tried resetting it but nothing... Either I'm doing something wrong or....

    I believe the issue is with the Apple ID that was used to purchase the App. If you download an App that was purchased under a different Appple ID then all updates will also be linked to the original purchaser's Apple ID. Your Apple ID is the the same ID as your iTunes, iCloud, etc. Some folks use different ID for the different Apple sites. No need for that One ID for all Apple Sites, and if someone else buys an App using their ID and they(you) download that App onto your device and that App requires an update it will ask for the purchasers Apple ID. This happens a lot when folks sell their iPad or give it to someone else and leave some purchased(free) Apps on the iOS device. You cannot change the original ID the App was purchased under. A suggestion would be if someone else has an App that you like but do not want to pay for use their ID or in the future have them gift the App to you.

  • I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • HT1349 My computer popped up with an update from iTunes several days ago. I downloaded the update and when I went to open iTunes, it won't open. I've tried to download again from the website, but it still gives me this error message.  Missing MSVCR80.dll

    My computer popped up with an update from iTunes several days ago. I downloaded the update. When I went to open iTunes on my computer, it gives me the following error messages...
    Missing MSVCR80.dll file.
    Error 7 (Windows error 126)
    I tried to download iTunes again from the website and repair the problem, to no avail.  I've tried several times, but cannot get it to open. I have a Windows 7 machine.  My iPhone 5 and iPad work fine and have not asked me to update. I've never had a problem with iTunes before.  I hate to delete it entirely from my computer and start over.  I'm afraid I'll lose all the music I have downloaded there. What do I do?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • FAGLFLEXT table is not updating from FAGLFLEXA

    Hello Experts,
    In thru which program the summarisatin table of FAGLFLEXT getting updated from table FAGLFLEXA .
    We've updated some filed values like prctr , cost center to FAGLFLEXA but the same cumulative amount is not showing in the table period wise and there is a difference in balace sheet.
    Pls advise, how to generate the table FAGLFLEXT to get my overall balances or how to run this table to go and do their own std calculations and updation.
    Pls advise.
    thanks & regards
    sankar.

    Thanks

  • Update showing up in "Compliance 5 - Specific Computer" Report even after removing the update from the Software Update before creating Group and Package

    So I've created a Software Update Group and I did NOT want anything in there dealing with Internet Explorer 11 since the organization is currently stuck at using 10 as the highest. So I made sure that Internet Explorer was NOT in the list and then I deployed
    the package. 
    After running my Overall Compliance report it shows that the systems are compliant, but when I view the "Compliance 5 - Specific Computer" I see that "Internet Explorer 11 for Windows 7 for x64-based Systems" is listed in the report. 
    This is just a testing phase right now and I have not created a WSUS like Domain level GPO. I understand that the SCCM client creates a local policy on the clients for the location of the Software Update Point (Specify
    Intranet Microsoft update service location), but the "Configure Automatic Updates" policy is set to Not Configured, which it looks like when this
    is set, the "Install updates automatically (recommended)" at 3AM is the default. 
    Is the reason why the "Internet Explorer 11 for Windows 7 for x64-based Systems" update is showing up in the list due to the fact that the "Configure
    Automatic Updates" policy is set to Not Configured
    and therefore it is still reaching out to check Windows Update online? 
    So, if I do create a Domain level GPO to Disable the "Configure
    Automatic Updates" policy, then the "Internet Explorer 11 for Windows 7 for x64-based Systems" update would not show up in the "Compliance 5 - Specific Computer" report?
    By the way, I have a Software Update Maintenance Window configured for the hours of 1AM-4AM so the 3AM default time falls within this time frame, therefore, I am assuming the SCCM 2012 client will not allow the Windows Update Agent to install the "Internet
    Explorer 11 for Windows 7 for x64-based Systems" update, even though it has detected it is "Required". 
    Thanks

    But, don't you need a Deployment Package in order to deploy the Software Update Group? The Software Update Group uses the downloaded updates contained in the Deployment Package located in, wherever the Package Source is, right?
    One more quick question that you will know right off hand, because, well, you just will I'm sure.
    No. The software update group really has nothing to do with any update packages. The update group assigns updates to clients and in turn clients use update packages to download assign and applicable updates from. There is no connection between the two though
    as the client can download an update from any available update package. Thus, it's more than possible to updates in an update package that are not in any update groups and it is also possible for an update to be in an update group without being in any update
    package.
    If the "Configure Automatic Updates" policy is set to "Not Configured" and since this keeps the 3AM Automatic Updates default, if I was to remove the Software Update Maintenance Window from being between 1AM-4AM, will the WUA agent install updates
    at 3AM, or no because the SCCM 2012 client still manages and oversees it and basically blocks that from occurring?
    No, ConfigMgr does not in any way block the WUA; however, the WUA can only autonomously install updates it downloads directly from WSUS. Thus, since there are no updates approved or downloaded in your WSUS instance, there's nothing for it to download and
    install. If you happen to actually be going into WSUS and approving updates (which you should not be doing as its unsupported), then yes, it actually would install updates -- this is outside of ConfigMgr's control though. Generally, disabling the WUA via a
    GPO is the recommended to prevent any accidental installations or reboots (as the WUA wil also check for initiate pending reboots outside of ConfigMgr).
    Lots more info in these two blog posts:
    - http://blog.configmgrftw.com/software-update-management-and-group-policy-for-configmgr-what-else/
    - http://blog.configmgrftw.com/software-updates-management-and-group-policy-for-configmgr-cont/
    Jason | http://blog.configmgrftw.com

Maybe you are looking for

  • CHARM and Digital signatures

    Hi SAP Solman Gurus, I have configured CHARM in solman 4 system its working perfectly fine, Now I wanted know if there is anyway by which you can integrate digital signatures with CHARM I want system to prompt for digital signature verification while

  • User Right

    Hi friends, i want to apply authorization in my application. here i want to difine all pages in a table and difine User right to the pages like if i have two option, one is ACCOUNT and Second is Oppourtunity, here i user A Can't create or Insert New

  • Photoshop not visible through Creative Cloud?

    I have a previous version of Photoshop C6  and bought a creative Cloud account to access current C6 content/updates. I do not see any other C6 installed on my Mac Mavericks 10.9.4 through Creative Cloud other then the previous installed C6! Am I simp

  • Nokia E61i - Mail4Exchange: "System error.Try agai...

    Hi, I got myself a Nokia E61i recently. I have installed the Mail4Exchange software and I introduced the right settings and email configurations, which I got from the company IT service. The phone connects to the exchange server, followed by a pop-up

  • Help Reqd for OIM Installation

    Hi, I need to explore OIM for a PoC. Please let me know the installables required for the installation of OIM. I have gone thru Oracle website about the prerequisites but still not clear on which versions to use. Please provide the specific details o