Error in creating record in custom Z BAPI

Hi
I have added some fields in the BAPI as append structure.
But when adding record to it, it is showing the following error in the very first custom field added.
[code]java.lang.ArrayIndexOutOfBoundsException: -1
     at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:9531)
     at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:731)
     at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsString(DynamicRFCModelClass.java:679)
     at com.mycompany.training.wd.rfm.model.Bapisbonew.setCusttype(Bapisbonew.java:230)
     at com.mycompany.training.wd.rfm.wdp.IPrivateSeatbookingview$IBooking_DataElement.setCusttype(IPrivateSeatbookingview.java:2336)
     at com.mycompany.training.wd.rfm.Seatbookingview.onActiongotobookseat(Seatbookingview.java:214)
     at com.mycompany.training.wd.rfm.wdp.InternalSeatbookingview.wdInvokeEventHandler(InternalSeatbookingview.java:270)
     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.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
     at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
     at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
     at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
     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:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     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:95)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)[/code]
Please help
Thanks
ananda

Hi ananda,
If any chages to be happend in R/3 side needs to be added once again into the webdynpro  means model.
Send me your code and details .
regards
BHI

Similar Messages

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Loyalty application error when creating records.

    I am new in Siebel world and we have just installed Siebel loyalty and the Siebel Customer eLoyalty Portal on a sandbox to learn the product features.
    The database has no data yet so I would like to create records.
    So I start Siebel Loyalty 8.2.1 client, connect to the server, go to Loyalty Program Administration and click new to create a new program. I put a entry for the Name field and I have nothing to select from the Program owner pick channel window because I did not create a partner yet. So I start the Siebel Partner manager ENU application 8.2.1, connect to the server. I go in the partner tab and try to create a new partner entering a partner name.
    Then I get this error when I press enter:
    An error has occurred writing to a record.
    Please continue or ask your systems administrator to check your application configuration if the problem persists. (SQL-DBC-00111) ORA-01400 cannot insert NULL into ("SIEBEL"."S_ACCNT_POSTN"."POSITION_ID")
    I have Siebel admiinistrator access.
    What I am missing here to be able to enter data. The only field mandatory is the Partner name...
    Thank you for your help

    You probably want to create an account, link a partner to the account and then create the program.
    - Hashim

  • Looking for bapi's to create records from custom software

    I'm looking for bapi to create
    1. InfoType 15 SubType 3001 (Additional Payments/Days Number)
    2. InfoType 15 SubType 3208 (Additional Payments/Overtime)
    I'm tried alot to find in standard bapi's but couldn't find related bapi to create these records.
    Kindly help me to use find out a standard bapi.

    hi
    if you want to create it using some extrernal software , you will have to define your own bapi or RFC which will call the HR infotype operation function module.
    Regards
    Sameer

  • Error while creating Records Center site

    Hi,
    I am trying to create a Records Center site on my Dev environment from Central Admin. However it throws below error:
    looking for this correlation ID in ULS logs, I found errors like:
    1. Failed to find <ListTemplate> tag corresponding to ID "101",
    2. Failed to find <ListTemplate> tag corresponding to ID "122",
    3. Unknown SPRequest error occurred. More information: 0x80070002 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    4. Failed to cache field with id "{d7f2ac0e-0b2b-4f27-b82f-bb3332abc474}", overwrite=0 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    5. Email Routing: Failed to activate email routing feature. Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High Feature receiver assembly 'Microsoft.Office.Policy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver', method 'FeatureActivated' for feature 'd44a1358-e800-47e8-8180-adf2d0f77543' threw an exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Feature Infrastructure 88jm High ...Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High Feature Activation: Threw an exception, attempting to roll back. Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543'). Exception: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.00* w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72by High ...Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'EMailRouting' (ID: 'd44a1358-e800-47e8-8180-adf2d0f77543') at URL http://dev-dmsapps/sites/testing.). Execution Time=3114.78742409999 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8l36 High Failed to activate site-scoped features for template 'OFFILE#1' in site 'http://dev-dmsapps/sites/testing'. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Fields bn3x High Failed to activate web features when provisioning site at url "http://dev-dmsapps/sites/testing" with site definition "OFFILE#1". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72h9 High Failed to apply template "OFFILE#1" to web at URL "http://dev-dmsapps/sites/testing". 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 72k2 High Failed to apply template "OFFILE#1" to web at URL "http://dev-dmsapps/sites/testing", error Error in the application. 0x0c59ba00 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected Exception attempting to ApplyWebTemplate to SPSite http://dev-dmsapps/sites/testing: Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ....SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPF... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDelet... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Topology c97b Unexpected ...eGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) Attempting to delete the site collection. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.10 w3wp.exe (0x165C) 0x0920 SharePoint Foundation General 8e11 High Deleting the site at http://dev-dmsapps/sites/testing and not deleting AD accounts. 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: Error in the application. at Microsoft.SharePoint.SPList.UpdateDirectoryManagementService(String oldAlias, String newAlias) at Microsoft.SharePoint.SPList.Update(Boolean bFromMigration) at Microsoft.Office.RecordsManagement.RecordsRepository.EmailRecordsHandler.EnsureSetupSubmittedRecordsList(SPWeb web) at Microsoft.Office.Server.Utilities.CultureUtility.RunWithCultureScope(CodeToRunWithCultureScope code) at Microsoft.Office.RecordsManagement.Internal.EmailRoutingFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection pr... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ...ops, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedCore(SPSite site, SPWeb web, String sFeatures, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass7.<EnsureFeaturesActivatedAtWeb>b__6() at Microsoft... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ....SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.EnsureFeaturesActivatedAtWeb(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, String sFeatures) at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId) ... 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17* w3wp.exe (0x165C) 0x0920 SharePoint Foundation Runtime tkau Unexpected ... at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate) at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPSiteAdministration siteAdministration, String strWebTemplate, String strRedirect, Boolean bCreateDefaultGroups, Page page, Boolean bDeleteOnError) at Microsoft.SharePoint.ApplicationPages.CreateSitePage.BtnCreateSite_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.17 w3wp.exe (0x165C) 0x0920 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://dev-dmsapps:5555/_admin/createsite.aspx)). Execution Time=18570.3916978275 96cbcafe-0659-4a2c-8cd0-cdd39c3055bf
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://dev-dmsapps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf))
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dev-dmsapps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf) 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    05/14/2014 08:39:28.26 w3wp.exe (0x165C) 0x1CF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dev-dmsapps:5555/_layouts/error.aspx?ErrorText=Error%20in%20the%20application%2E&ErrorCorrelationId=96cbcafe%2D0659%2D4a2c%2D8cd0%2Dcdd39c3055bf)). Execution Time=7.04174692593612 0209ba7c-e5c7-4a1b-94aa-b1465bbb7170
    What could be the reason?

    Hi,
    The Records Center requires the ability to set up email routing feature. The issue might occur App pool account didn't have proper permission to add a contact to active directory for the email enabled list.
    To narrow down the issue, please perform the steps below to delegate full control of Organization to admin account and test the issue again:
    a. Right click on the Organization and select "Delegate Control". Click Next and then Add.
    b. Enter the account that will be using on the Central Admin site and then select OK.
    c.  Select Next and then select the "Create a custom task to delegate" radio button. Select Next.
    d.  Make sure the "This folder, existing objects in this folder, and creation of new objects in this folder" radio  
    button is selected.  Select Next.
    e.  In the Permissions section select the "Create all Child Objects" and the "Delete all Child Objects" options boxes.  
    Click next and then finish
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Approval workflow error when creating a new custom entity in FIM 2010 R2

    Hello,
    i'm hoping somebody here can help, me i've been struggling with this for some time now. On a fresh FIM installation i create a custom entity named "Role" and add a few custom attributes.
    I then create an approval workflow and MPR for normal users to create entities of type Role, but another user must approve this request. The other user has a working mailbox - i've tried firing an action workflow that sends a mail notification when someone
    creates a new role and it is working fine. But, when i enable my approval workflow (the only field i changed from default is the approver) on the MPR, the workflow always failes with the message:
    Error processing your request: The operation was rejected because of access control policies.
    Reason: The server workflow rejected the operation.
    Attributes:
    Correlation Id: 750a558a-d3e4-4216-b16a-e76d79f011ec
    Request Id: feaabbc9-dea4-49a3-8b29-65b77de6f8fd
    Details: The Workflow Instance '04202cc0-14a3-410c-a3fc-2d6e5d25ebe6' encountered an internal error during processing. Contact your system administrator for more information.
     I enabled tracing and this is what i found:
    Microsoft.ResourceManagement Verbose: 0 : Creating WorkflowServiceHost for XOML Definition:\n<ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow"
    TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"
    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856
        ThreadId=8
        DateTime=2013-09-04T15:17:10.0496188Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid Element 'ReceiveActivity.WorkflowServiceAttributes' found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid data found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Verbose: 0 : A WorkflowRuntime is not available for this WorkflowDefinitionVersionKey '20'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Error: 3 : Workflow host activation failed for workflow definition id : 231457c6-d044-4cc7-839f-98e5cf88f514, version key: 20. Exception: Object reference not set to an instance of an object.   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition
    workflowDefinition, Boolean suspendWorkflowStartupAndTimerOperations)
       at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator()
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : The service has updated the list of active hosted workflow definitions to sequence number '1'.
    This happened on two separate FIM deployments, but both of them were set up in the same way. What am i missing here?
    Thank you,
    Martin

    (...) What am i missing here? (...) - Sharepoint 2013 and probable bug in FIM related to it. Check this thread for workaround
    and resolution:
    http://social.technet.microsoft.com/Forums/en-US/1b76672d-1276-4c71-b9fc-5bb1fcb36877/event-id-3-with-approval-activity?forum=ilm2
    Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

  • Error while creating the ASSET using LSMW BAPI method ( BUS1022 )

    Hello,
    Im creating assets using the below LSMW BAPI method
    Business Object      BUS1022     
    Method                     CREATEINCLVALUES
    Message Type         FIXEDASSET_CREATEINCLVALU
    Basic Type              FIXEDASSET_CREATEINCLVALU
    the following errors were triggered while populating the values to ACQ_VALUE and ORD_DEP value.
    Correction to ordinary dep. greater than acc. dep. in area 01
    Correction to ordinary dep. greater than acc. dep. in area 30
    Correction to ordinary dep. greater than acc. dep. in area 31
    Correction to ordinary dep. greater than acc. dep. in area 32
    if i pass only ACQ_VALUE, I am able to create the asset with out any issues.
    Can you guys plz guide me to fix this issue to create the asset with both ACQ_VALUE and ORD_DEP values??
    Cheers,
    Sriram.

    Hello,
    Review AO21.
    Regards
    Waza

  • Facing error while creating CR in customer master MDG.

    Can anyone plz help me out.I am not able to create a customer in customer master MDG after activation of 0MDG_ANLY_CR_PROCESS BI component in BSANLY_BI_ACTIVATION Tcode.Becoz my activation was completed by error.So plz see the attaachment and help me out.
    Thanks In advance.

    Drear Rath,
    it is the problem with either role or you have not assing the target UI ,Please check on that side.

  • WS_CRUD_InvalidConfigurationData  Error while creating Record using webserv

    Hi,
    I deploped sca files and I would like to create new Business Object. I got an error in response as WSCRUD_InvalidConfigurationDataElementKey_. Could any one can guide me what the error is? what values should I give for Configuration data, value and key.
    Regards,
    Rajeev.
    Edited by: rajeev raj on Jan 28, 2008 11:11 AM

    than delete the existing infotype
    by PU00 and ITXXX here xx stands for the number of the infotype
    and add the custom wage tpe u had created
    sikndar

  • Error while Creating user using Custome form

    Hi,
    I created a custom form same as create user form
    updated in xlDefaultAdmin.properties,xlWebAdmin_en_US.properties,struts-config.xml
    on this custom every thing is working fine but when on submit(Create User) it gives me below error
    in Admin Console : You do not have permissions to perform this operation.
    in App server log: maoRejections:You do not have permission to insert this object.

    My response is based on the following assumptions:
    Your custom form is similar to that of CreateUser form in all manners. The logic at the back-end has been written by you as well. As soon as you get all the values you call the createUser API of OIM to create the user. You have wriiten your custom action classes as well.
    The insert error may be due to the reason that the user which you are using to create the user doesn't have sufficient permissions. In other words, if this is done through Java code then while instaniating the API, the user used must be missing these permissions.
    If the error is due to this permission for users then we can give these additional permissions to individual users, if in case its not and you have some other scenario then just give me more details, probably I can help you for it.
    Thanks
    Sunny

  • ORA-01152 error while creating db from custom template

    I have a database based on the "general purpose/transaction processing" db, but with a custom tablespace/data added. I have attempted to clone this database by using dbca to create a custom template (including data) from this database. The template creation appears to be successful -- however, when I use dbca to try to create a new db from this custom template, I get the following error when dbca attempts to initialize the instance:
    ORA-01152: file 5 was not restored from a sufficiently old backup
    ORA-01110: data file 5: <path to my custom tablespace .dbf>
    If I select "ignore" at this point, I get further errors, the next error is
    ORA-06550: line 1, column 7: PLS-00201: Identifier 'DBMS_SERVICE.DELETE_SERVICE' must be declared
    I'm using 11gR2, and am relatively inexperienced on the dba side, any help appreciated.
    Thanks,
    Ben

    Update: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
    I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
    Ben

  • Error in creating schedule line aggrement through BAPI

    Hi All ,
    I want to create schedule line aggrement (VA31) by using BAPI / FM .
    I am using " SD_SALESDOCUMENT_CREATE" FM  .
    Here i am getting error in output when i enter shchedle line data in input .
    Error is given below .
    E V1                   434 No schedule line category could be determined during quantity adjustment
    Error only come when i want to create new schedule line ....in Changing any schedule line aggrement there is no error .
    I am able to create schedule line aggrement manually .
    please help .

    Use BAPI_SAG_CREATE

  • SQL syntax error when creating record insertion form

    Good day,
    I was hoping someone could help me.  I am trying to create a record insertion form on a website to insert data into a database table.  When attempting to create the form, I am getting the following error: 
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' Organization, Office, Department, Phone, EmailAddress, JobTitle, `OfficialMaili' at line 1
    Not sure what is going on.  I am running windows 8 and DW cs5 w/ MYSQL.  I am testing on a local server prior to pushing to the remote server.
    Thank you for your assistance and please advise any code you would like me to send.

    Here is all the code from this particular webpage.  I apologize, I am too stupid to realize which parts are SQL vice PHP vice HTML:
    <?php require_once('Connections/group4.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
       if (PHP_VERSION < 6) {
         $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
         case "text":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;   
         case "long":
         case "int":
           $theValue = ($theValue != "") ? intval($theValue) : "NULL";
           break;
         case "double":
           $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
           break;
         case "date":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "defined":
           $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
           break;
       return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
       $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
       $insertSQL = sprintf("INSERT INTO individual (Grade, LastName, FirstName, M.I., Organization, Office, Department, Phone, EmailAddress, JobTitle, `OfficialMailing Address`, Citizenship, Designation, IATrainingComplete, IADate) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                            GetSQLValueString($_POST['Grade'], "text"),
                            GetSQLValueString($_POST['LastName'], "text"),
                            GetSQLValueString($_POST['FirstName'], "text"),
                            GetSQLValueString($_POST['MI'], "text"),
                            GetSQLValueString($_POST['Organization'], "text"),
                            GetSQLValueString($_POST['Office'], "text"),
                            GetSQLValueString($_POST['Department'], "text"),
                            GetSQLValueString($_POST['Phone'], "double"),
                            GetSQLValueString($_POST['EmailAddress'], "text"),
                            GetSQLValueString($_POST['JobTitle'], "text"),
                            GetSQLValueString($_POST['OfficialMailing_Address'], "text"),
                            GetSQLValueString($_POST['Citizenship'], "text"),
                            GetSQLValueString($_POST['Designation'], "text"),
                            GetSQLValueString($_POST['IATrainingComplete'], "text"),
                            GetSQLValueString($_POST['IADate'], "text"));
      mysql_select_db($database_group4, $group4);
       $Result1 = mysql_query($insertSQL, $group4) or die(mysql_error());
      $insertGoTo = "index.php";
       if (isset($_SERVER['QUERY_STRING'])) {
         $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
         $insertGoTo .= $_SERVER['QUERY_STRING'];
       header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_group4, $group4);
    $query_rsIndividual = "SELECT * FROM individual ORDER BY IndividualNumber ASC";
    $rsIndividual = mysql_query($query_rsIndividual, $group4) or die(mysql_error());
    $row_rsIndividual = mysql_fetch_assoc($rsIndividual);
    $totalRows_rsIndividual = mysql_num_rows($rsIndividual);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Contact Us</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .header {
      font-size: 36px;
      text-decoration: underline;
    .quote {
      font-size: 18px;
      font-style: italic;
    .tablethisone {
      margin: 5px;
      padding: 25px;
      border: medium none #000;
      text-align: center;
    </style>
    </head>
    <body>
    <p><img src="Images/EGA.png" width="227" height="222" alt="EGA" /><span class="header">SAAR Tracking System
    </span></p>
    <ul id="MenuBar1" class="MenuBarHorizontal">
       <li><a href="index.php">Home</a>  </li>
       <li><a href="search.php">Search</a></li>
       <li><a href="contact.php">Contact Us</a>  </li>
    </ul>
    <p> </p>
    <p>PRIVACY ACT STATEMENT</p>
    <p>Executive Order 10450, 9397; and Public Law 99-474, the Computer Fraud and Abuse Act.
       To record names, signatures, and other identifiers for the purpose of validating the trustworthiness of individuals requesting
       access to Department of Defense (DoD) systems and information. NOTE: Records may be maintained in both electronic
       and/or paper form.</p>
    <p> </p>
    <p> </p>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
       <table align="center">
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Grade:</td>
           <td><input type="text" name="Grade" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">LastName:</td>
           <td><input type="text" name="LastName" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">FirstName:</td>
           <td><input type="text" name="FirstName" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">M.I.:</td>
           <td><input type="text" name="MI" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Organization:</td>
           <td><input type="text" name="Organization" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Office:</td>
           <td><input type="text" name="Office" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Department:</td>
           <td><input type="text" name="Department" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Phone:</td>
           <td><input type="text" name="Phone" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">EmailAddress:</td>
           <td><input type="text" name="EmailAddress" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">JobTitle:</td>
           <td><input type="text" name="JobTitle" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">OfficialMailing Address:</td>
           <td><input type="text" name="OfficialMailing_Address" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Citizenship:</td>
           <td><input type="text" name="Citizenship" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">Designation:</td>
           <td><input type="text" name="Designation" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">IATrainingComplete:</td>
           <td><input type="text" name="IATrainingComplete" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right">IADate:</td>
           <td><input type="text" name="IADate" value="" size="32" /></td>
         </tr>
         <tr valign="baseline">
           <td nowrap="nowrap" align="right"> </td>
           <td><input type="submit" value="Insert record" /></td>
         </tr>
       </table>
       <input type="hidden" name="MM_insert" value="form1" />
    </form>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p>Disclosure of this information is voluntary; however, failure to provide the requested information may impede, delay or
    prevent further processing of this request.</p>
    <p class="quote">&quot;Be polite, be professional, but have a plan to kill everybody you meet&quot; General James Mattis</p>
    <p> </p>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rsIndividual);
    ?>

  • Error when creating record from portal into MDM using MDM API's

    Hi All,
    When trying to create a new record from Portal we are getting the below error. It is working fine till yesterday.
    We are using MDM API's from webdynpro java for creating.
    What could be the reason for this. Not sure whether this error is ocuring for all the users or for single user.
    "Exception: CommandException com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Database command execution error. A SQL statement failed to execute. The actual error may have been written to a log file."
    Please help to resovle this.
    Thanks
    Satish

    Hello Satish
    Suppose your Portal was upgrated
    if it right -  search and deploy new mdm packages
    Regards
    Kanstantsin

  • Error : while creating record in infotypes for specific comany code

    I am using custom infotype 9025 and 9028 for bonus scheme info for some comany code. E.G. 0004,0010 etc.
    when I am takin an employee og comany code 0002 its not allowing to create data for that an giving error "No authorization to maintain &IT TEXT exists" .
    So can any body help me out what is problem for that.

    than delete the existing infotype
    by PU00 and ITXXX here xx stands for the number of the infotype
    and add the custom wage tpe u had created
    sikndar

Maybe you are looking for