Runtime error "DATA_INCONS_IN_EXIT_MANAGEM" while executing a BADI

Hi Experts,
I am trying to use a BADI in my report Program.
But it is throwing a runtime error "DATA_INCONS_IN_EXIT_MANAGEM".
I debugged the program and found that the call to the GET_INSTANCE method of Class CL_EXITHANDLER is raising this error.
It is because the instance parameter is Initial.
Can you please let me know, what is the mistake i am doing.
My report code is as follows:
*& Report  Z_GKR_BADI_01
REPORT  z_gkr_badi_01.
CLASS cl_exithandler DEFINITION LOAD.
DATA: l_badi_instance TYPE REF TO zif_ex_gkr_matnrdata,                 "BADI Interface
      mara LIKE mara.
PARAMETERS: p_matnr LIKE mara-matnr OBLIGATORY.
START-OF-SELECTION.
  CALL METHOD cl_exithandler=>get_instance
    EXPORTING
      exit_name              = 'ZGKR_MATNRDATA'                                                                   "BADI Definition Name
      null_instance_accepted = 'X'
    CHANGING
      instance               = l_badi_instance.
  CALL METHOD l_badi_instance->get_materials
    EXPORTING
      matnr = p_matnr
    IMPORTING
      mara  = mara.
  WRITE: /5 mara-matnr,
            mara-matkl,
            mara-meins.
Cheers
Gaurav Raghav

Hi lakshmi,
I am new to BADI and i am doing a tutorial.
The Complete Code is given with at the thread starting.
In the Interface method i am retreiving Material details from the table MARA based on MATNR.
The code is as follows:
*& Report  Z_GKR_BADI_01
REPORT  z_gkr_badi_01.
CLASS cl_exithandler DEFINITION LOAD.
DATA: l_badi_instance TYPE REF TO zif_ex_gkr_matnrdata,
      mara LIKE mara.
PARAMETERS: p_matnr LIKE mara-matnr OBLIGATORY.
START-OF-SELECTION.
  CALL METHOD cl_exithandler=>get_instance
    EXPORTING
      exit_name              = 'ZGKR_MATNRDATA'
      null_instance_accepted = 'X'
    CHANGING
      instance               = l_badi_instance.
  CALL METHOD l_badi_instance->get_materials
    EXPORTING
      matnr = p_matnr
    IMPORTING
      mara  = mara.
  WRITE: /5 mara-matnr,
            mara-matkl,
            mara-meins.
Interface Method Implementaion in BADI
METHOD zif_ex_gkr_matnrdata~get_materials.
  IF NOT matnr IS INITIAL.
    SELECT SINGLE *
      FROM mara
      INTO mara
      WHERE matnr = matnr.
  ENDIF.
ENDMETHOD.
I checked and i didn't find the entry in the table mentioned by you.
But isnt the entry supposed to come automatically once i define the BADI.
The BADI Definition name is ZGKR_MATNRDATA.
Please help me regarding the same.

Similar Messages

  • Runtime Errors: CONVT_OVERFLOW while executing transaction sm66

    Hello Everyone,
    There are two Application serevrs out of which I am getting the following error while executing transaction SM66 only in one i.eCI server but if i remote login to other system and try SM66 its working fine.
    Please suggest
    Runtime Errors         CONVT_OVERFLOW
    Exception              CX_SY_CONVERSION_OVERFLOW
    Date and Time          02.04.2011 00:41:01
    Short text
         Overflow when converting from "2.90113e+09"
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not
          caught in
         procedure "TH_WP_DETAIL_INFO" "(FUNCTION)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         When attempting to convert the value "2.90113e+09",
         an overflow occurred.
         There is probably an error in the program
         "SAPLTHFB".
    How to correct the error
         Probably the only way to eliminate the error is to correct the program.
         You may able to find an interim solution to the problem
         in the SAP note system. If you have access to the note system yourself,
         please use the following search criteria:
         "SAPLTHFB" "CONVT_OVERFLOW"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
        To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
        To obtain this, call the system log with Transaction SM21
        and select the "Print" function to print out the relevant
        part.
    3. If the programs are your own programs or modified SAP programs,
        supply the source code.
        To do this, you can either use the "PRINT" command in the editor or
        print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
        or which actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "TH_WP_DETAIL_INFO" "(FUNCTION)", or its possible occurrence must be declared
      in the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    tem environment
    SAP-Release 700
    Application server... "POSDMCI"
    Network address...... ""
    Operating system..... "SunOS"
    Release.............. "5.10"
    Hardware type........ "sun4u"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 1
    Shortdump setting.... "full"
    Database server... "POSDMDB"
    Database type..... "ORACLE"
    Database name..... "BP2"
    Database user ID.. "SAPSR3"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 2 2006 21:14:52"
    create on........ "SunOS 5.9 Generic_117171-13
    Database version. "OCI_101 "
    Patch level. 52
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE
    SAP database version. 700
    Operating system..... "SunOS 5.9, SunOS 5.10"
    Memory consumption
    Roll.... 16192
    EM...... 8379696
    Heap.... 0
    Page.... 40960
    MM Used. 720912
    MM Free. 3466336
    Information on where terminated
        Termination occurred in the ABAP program "SAPLTHFB" - in "TH_WP_DETAIL_INFO".
        The main program was "SAPMSM66 ".
        In the source code you have the termination point in line 82
        of the (Include) program "LTHFBU26".
        The termination is caused because exception "CX_SY_CONVERSION_OVERFLOW"
         occurred in
        procedure "TH_WP_DETAIL_INFO" "(FUNCTION)", but it was neither handled locally
         nor declared
        in the RAISING clause of its signature.
        The procedure is in program "SAPLTHFB "; its source code begins in line
        1 of the (Include program "LTHFBU26 ".

    Hello Everyone,
    There are two Application serevrs out of which I am getting the following error while executing transaction SM66 only in one i.eCI server but if i remote login to other system and try SM66 its working fine.
    Please suggest
    Runtime Errors         CONVT_OVERFLOW
    Exception              CX_SY_CONVERSION_OVERFLOW
    Date and Time          02.04.2011 00:41:01
    Short text
         Overflow when converting from "2.90113e+09"
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not
          caught in
         procedure "TH_WP_DETAIL_INFO" "(FUNCTION)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         When attempting to convert the value "2.90113e+09",
         an overflow occurred.
         There is probably an error in the program
         "SAPLTHFB".
    How to correct the error
         Probably the only way to eliminate the error is to correct the program.
         You may able to find an interim solution to the problem
         in the SAP note system. If you have access to the note system yourself,
         please use the following search criteria:
         "SAPLTHFB" "CONVT_OVERFLOW"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
        To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
        To obtain this, call the system log with Transaction SM21
        and select the "Print" function to print out the relevant
        part.
    3. If the programs are your own programs or modified SAP programs,
        supply the source code.
        To do this, you can either use the "PRINT" command in the editor or
        print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
        or which actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "TH_WP_DETAIL_INFO" "(FUNCTION)", or its possible occurrence must be declared
      in the
    RAISING clause of the procedure.
    To prevent the exception, note the following:
    tem environment
    SAP-Release 700
    Application server... "POSDMCI"
    Network address...... ""
    Operating system..... "SunOS"
    Release.............. "5.10"
    Hardware type........ "sun4u"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 1
    Shortdump setting.... "full"
    Database server... "POSDMDB"
    Database type..... "ORACLE"
    Database name..... "BP2"
    Database user ID.. "SAPSR3"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Apr 2 2006 21:14:52"
    create on........ "SunOS 5.9 Generic_117171-13
    Database version. "OCI_101 "
    Patch level. 52
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE
    SAP database version. 700
    Operating system..... "SunOS 5.9, SunOS 5.10"
    Memory consumption
    Roll.... 16192
    EM...... 8379696
    Heap.... 0
    Page.... 40960
    MM Used. 720912
    MM Free. 3466336
    Information on where terminated
        Termination occurred in the ABAP program "SAPLTHFB" - in "TH_WP_DETAIL_INFO".
        The main program was "SAPMSM66 ".
        In the source code you have the termination point in line 82
        of the (Include) program "LTHFBU26".
        The termination is caused because exception "CX_SY_CONVERSION_OVERFLOW"
         occurred in
        procedure "TH_WP_DETAIL_INFO" "(FUNCTION)", but it was neither handled locally
         nor declared
        in the RAISING clause of its signature.
        The procedure is in program "SAPLTHFB "; its source code begins in line
        1 of the (Include program "LTHFBU26 ".

  • Runtime Error Getting While Executing Transaction ME47.

    Hi Exports,
    i am facing a problem in transaction ME47 For Maintaing Quotation.
    if i enter RFQ Number and exceute, i am getting Runtime Error. This is happening in only in Test Server. Development and production it is working fine.
    Error Details are given below.
    ShrtText
        Screen does not exist
    What happened?
        Error in ABAP application program.
        The current ABAP program "SAPLXM06" had to be terminated because one of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
        The program had to be terminated.
    Error analysis
        Program "SAPLXM06" tried to use screen 0301.
        The screen does not exist.
    Trigger Location of Runtime Error
        Program                                 SAPLXM06
        Include                                 MM06EO0C_CUSTSCR1_HEAD_SET_DAT
        Row                                     10
        Module type                             (FUNCTION)
        Module Name                             EXIT_SAPLEINM_013
    Source Code Extract
    Line  SourceCde
        1 ----
        2 *       MODULE CUSTSCR1_HEAD_SET_DATA OUTPUT                          *
        3 ----
        4 *       ........                                                      *
        5 ----
        6 MODULE CUSTSCR1_HEAD_SET_DATA OUTPUT.
        7
        8   PERFORM CUSTSCR1_HEAD_SET_DATA_PBO using fc_call.
        9
    >>>>> ENDMODULE.
    Thanks,
    Satheesh.

    This apepars to be customer code (exit).  Have you verified that the programs, objects involved are identical in Test, Dev and Prod?  Checked the transport logs to Test?

  • Receiving the error message while executing the Real Time DTP

    Hi,
    I am receiving the error message while executing the Real time DTP for Billing data.
    Error Message - Record filtered in advance as error records with the same key exist     RSM2     722
    When I check the logs below is the message I am able to see. Can someone suggest as how to proceed further.
    Diagnosis
    The existing DTP requires a serialized update because fields are updated
    non-commutatively during the processing run (for example, MOVE).
    Therefore all new data records that have the same semantic key as
    incorrect records that have not yet been corrected in earlier requests
    or earlier data packages of the same request, are filtered out after the
    extraction in a special step. In this way the system ensures that
    incorrect data records are not repeated for your changes, which may not
    contain errors themselves.
    System Response
    The data record is not updated but is written to an error stack.
    Procedure
    Procedure
    Correct all incorrect data records and update them using an error DTP.
    Procedure for System Administration
    I checked the error stack and corrected the entries and let me know as how to proceed further. I am unable to execute the Error DTP as its not allowing me to edit and has only display options.
    Regards,
    Ram

    Hi Arvindh,
    Its  write optimized DSO.. there is no option to generate SIDs.
    Hi Kiran,
    I checked the link u sent me. Here the main issue is..The function module is standard  and its not allowing me  to do enhancement  point..
    Any idea in using Badi's??
    Thanks all...

  • Error encountered while executing the transform

    My message failed at orchestration with the following error. Kindly help in finding the issue.
    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'Ibox.UNEDIFACT.CODECO.Orchestration.CodecoDownload(df91e55f-c6aa-914d-f042-acdb45bdcaf4)'.
    The service instance will remain suspended until administratively resumed or terminated.
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: cc8fac84-47dc-4d31-be15-80c9f86ffaac
    Shape name: CodecoMapping
    ShapeId: 32b0a92d-82f7-4b3a-8e22-a94b53bf2804
    Exception thrown from: segment 1, progress 22
    Inner exception: Error encountered while executing the transform Ibox.UNEDIFACT.CODECO.Orchestration.CodecoMap. Error:Transformation failed..
    Exception type: XTransformationFailureException
    Source: Microsoft.XLANGs.Engine
    Target Site: Void ApplyInMemoryTransform(System.Type, Microsoft.XLANGs.RuntimeTypes.TransformMetaData, System.Object[], System.IO.Stream[])
    The following is a stack trace that identifies the location where the exception occured
       at Microsoft.XLANGs.Core.Service.ApplyInMemoryTransform(Type mapRef, TransformMetaData trfMetaData, Object[] outParams, Stream[] inStreams)
       at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
       at Ibox.UNEDIFACT.CODECO.Orchestration.CodecoDownload.segment1(StopConditions stopOn)
       at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
    Additional error information:
            Exception has been thrown by the target of an invocation.
    Exception type: TargetInvocationException
    Source: mscorlib
    Target Site: System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
    The following is a stack trace that identifies the location where the exception occured
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.XLANGs.BaseTypes.CompiledXsltWrapperTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver resolver)
       at Microsoft.XLANGs.BaseTypes.CompiledXsltWrapperTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, Stream output, XmlResolver resolver)
       at Microsoft.XLANGs.Core.Service.ApplyInMemoryTransform(Type mapRef, TransformMetaData trfMetaData, Object[] outParams, Stream[] inStreams)
    Additional error information:
            Attribute and namespace nodes cannot be added to the parent element after a text, comment, pi, or sub-element node has already been added.
    Exception type: XslTransformException
    Source: System.Data.SqlXml
    Target Site: Void ThrowInvalidStateError(System.Xml.XPath.XPathNodeType)
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.Xsl.Runtime.XmlQueryOutput.ThrowInvalidStateError(XPathNodeType constructorType)
       at System.Xml.Xsl.Runtime.XmlQueryOutput.ConstructInEnumAttrs(XPathNodeType rootType)
       at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttribute(String prefix, String localName, String ns)
       at <xsl:template name="compiler:generated"> (36)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {http://schemas.microsoft.com/BizTalk/2003/var}var:v237,
    Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v239, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v240, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v242, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v244,
    Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v246, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v248, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v250, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v252,
    Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v255, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v256, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v258, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v259,
    Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v261, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v262, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v264, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v265,
    Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v267, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v268, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v271, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v272,
    Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v281, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v283, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v284, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v286,
    Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v287, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v289, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v290, Boolean {http://schemas.microsoft.com/BizTalk/2003/var}var:v292,
    String {http://schemas.microsoft.com/BizTalk/2003/var}var:v295)
       at <xsl:template name="compiler:generated"> (12)(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current)
       at <xsl:template match="/s2:Root">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current)
       at <xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current)
       at Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
       at Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
       at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
       at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
       at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)

    Hi,
    It is clearly an issue in your map. You can test your map out of Orchestration to make sure it is working.
    "Exception has been thrown by the target of an invocation" is a very generic exception. you
    need the inner exception to see the actual error. You can also try to test the map in the MapTester tool. It also shows also the inner exception. It's designed for BizTalk 2010 but with the .exe file you maybe also can test BizTalk 2006 maps,.
    http://code.msdn.microsoft.com/Execute-a-BizTalk-map-from-26166441
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Error during Portal Setup: An error occurred while executing a custom action:_GrantLocalPermissionsToWCSAccount

    Error:
    Configure Portal Setup
    An error occurred while executing a custom action:_GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6
    This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this role.
    Errors in the Log:
    MSI (s) (38:14) [21:30:36:094]: NOTE: custom action _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
    CustomAction _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (38:94) [21:30:36:115]: User policy value 'DisableRollback' is 0
    MSI (s) (38:14) [21:30:36:094]: NOTE: custom action _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 unexpectedly closed the hInstall handle (type MSIHANDLE) provided to it. The custom action should be fixed to not close that handle.
    CustomAction _GrantLocalPermissionsToWCSAccount.11EE91AB_EABF_48A6_9973_4DCD73190AC6 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    MSI (s) (38:94) [21:30:36:115]: User policy value 'DisableRollback' is 0
    I cannot get past this error. I am running Sharepoint Foundation 2010 with Sp1. This is on a Windows Server 2008 R2 Server +Sp1.
    Any ideas?
    David Baur

    I finally figured this out, The issue was that I had put in the Self Service Portal Computer Name and Service account into the Service Manager SQL as SysAdmin, once I removed it flew through just fine.
    David Baur

  • An unknown error occurred while executing the PowerShell script:

    Hello all,
    Not the most descriptive title, granted. I'm hoping this may prompt the next version toprovide additional valuable content.
    Kindly requesting any help on this problem. I'm running VMM 2012 R2 version 3.2.7668
    When I try to look at properties of an existing Private Cloud, I get this error, only if I "look" at certain attributes. If I stay away from the specific attributes, everything is hunky dory. For reasons unknown, after I get this error, I have
    to exit and go back into VMM in order to get anything else to run.
    The text in the error dialogue box is not entirely applicable because I was connected to the VMM server and will connect again, when I exit/relaunch.
    An unknown error occurred while executing the PowerShell script:
    The connection to the VMM management server scvmm2.mmmmmm.com was lost.
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Try the operation again. If the issue persists, contact Microsoft Help and Support.
    ID: 27235
    This is what I get in Events
    Warning 4/9/2015 3:27:04 PM PowerShell (Microsoft-Windows-PowerShell) 4100 Executing Pipeline
    Log Name:      Microsoft-Windows-PowerShell/Operational
    Source:        Microsoft-Windows-PowerShell
    Date:          4/9/2015 3:27:04 PM
    Event ID:      4100
    Task Category: Executing Pipeline
    Level:         Warning
    Keywords:      None
    User:          mmmmmm\paufra
    Computer:      tools-francis.mmmmmm.com
    Description:
    Error Message = The connection to the VMM management server scvmm2.mmmmmm.com was lost. (Error ID: 1610)
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Fully Qualified Error ID = 1610,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCReplicationGroupCmdlet
    Recommended Action = Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager
    service is started on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Context:
            Severity = Warning
            Host Name = Default Host
            Host Version = 4.0
            Host ID = 94963cd4-5979-4786-9da2-c8814de8c7c3
            Host Application = C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmAdminUI.exe
            Engine Version = 4.0
            Runspace ID = 359d7a46-3752-4929-8c09-0de4152d10e4
            Pipeline ID = 16
            Command Name = Get-SCReplicationGroup
            Command Type = Cmdlet
            Script Name =
            Command Path =
            Sequence Number = 91
            User = mmmmmm\paufra
            Shell ID = Microsoft.PowerShell
    User Data:
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-PowerShell" Guid="{A0C1853B-5C40-4B15-8766-3CF1C58F985A}" />
        <EventID>4100</EventID>
        <Version>1</Version>
        <Level>3</Level>
        <Task>106</Task>
        <Opcode>19</Opcode>
        <Keywords>0x0</Keywords>
        <TimeCreated SystemTime="2015-04-09T22:27:04.993655700Z" />
        <EventRecordID>285</EventRecordID>
        <Correlation ActivityID="{48059811-1A63-41E1-9057-7498D0E4FC20}" />
        <Execution ProcessID="2344" ThreadID="4076" />
        <Channel>Microsoft-Windows-PowerShell/Operational</Channel>
        <Computer>tools-francis.mmmmmm.com</Computer>
        <Security UserID="S-1-5-21-4008432563-1984933819-4238309236-2721" />
      </System>
      <EventData>
        <Data Name="ContextInfo">        Severity = Warning
            Host Name = Default Host
            Host Version = 4.0
            Host ID = 94963cd4-5979-4786-9da2-c8814de8c7c3
            Host Application = C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmAdminUI.exe
            Engine Version = 4.0
            Runspace ID = 359d7a46-3752-4929-8c09-0de4152d10e4
            Pipeline ID = 16
            Command Name = Get-SCReplicationGroup
            Command Type = Cmdlet
            Script Name =
            Command Path =
            Sequence Number = 91
            User = mmmmmm\paufra
            Shell ID = Microsoft.PowerShell
    </Data>
        <Data Name="UserData">
        </Data>
        <Data Name="Payload">Error Message = The connection to the VMM management server scvmm2.mmmmmm.com was lost. (Error ID: 1610)
    Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started
    on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    Fully Qualified Error ID = 1610,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCReplicationGroupCmdlet
    Recommended Action = Ensure that scvmm2.mmmmmm.com is online and that you can access the server remotely from your computer. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager
    service is started on scvmm2.mmmmmm.com. Then connect to scvmm2.mmmmmm.com and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    </Data>
      </EventData>
    </Event>

    Hi Sir,
    First , please try to run the VMM configuration analyzer on that computer :
    http://www.microsoft.com/en-us/download/details.aspx?id=41555
    In addition , please try to use "VMMTrace" mentioned in following article to collect trace log and find some useful information :
    http://blogs.technet.com/b/jonjor/archive/2011/01/07/vmmtrace-simplified-scvmm-tracing.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • [0098]SQL*Plus encountered oracle error 100 while executing SQL Statement

    Hi,
    i'm trying to delete duplicate records from a table and running following script. this script is triggered from a unix script. it successfully deletes the records but in the last throws following error message,
    :[0098]SQL*Plus encountered oracle error 100 while executing SQL Statement:2:Investigation required:
    can anybody please help? below is the script.
    DECLARE
    --CURSOR FOR DUPLICATE ROWS
    CURSOR CUR_DUPLICATE_ROWS IS
    Select RMS_NOTE_ID, RMS_SUMMARY_NOTE_ID, count(*) cnt from PARTY_NOTE
    group by RMS_NOTE_ID,RMS_SUMMARY_NOTE_ID having count(*) > 1;
    var_date PARTY_NOTE.PARTY_NOTE_CREATED_DATE%TYPE;
    BEGIN
    FOR DUPLICATE_ROWS_REC IN CUR_DUPLICATE_ROWS
    LOOP
    delete from party_note
    where RMS_NOTE_ID= DUPLICATE_ROWS_REC.RMS_NOTE_ID
    and RMS_SUMMARY_NOTE_ID= DUPLICATE_ROWS_REC.RMS_SUMMARY_NOTE_ID
    and rowid not in (select max(rowid) from party_note
    where RMS_NOTE_ID= DUPLICATE_ROWS_REC.RMS_NOTE_ID and RMS_SUMMARY_NOTE_ID= DUPLICATE_ROWS_REC.RMS_SUMMARY_NOTE_ID);
    commit;
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    ROLLBACK;
    END;

    Try this:
    delete party_note
    where  rowid not in (select max(rowid)
                         from   party_note
                         group  by rms_note_id, rms_summary_note_id
    commit;No need for cursors and loops.
    And when that's completed, consider ALTERing the table to add a unique index (or even a primary key) so you'll never need to do this again.

  • SCSM2012 Beta installation problem: An error occurred while executing a custom action:_PopulateUserRoles

    I'm installing the SCSM2012 Management Server
    component on a SQL dev box.  During the installation, the very last step (Import Management Packs) fails with this error:
    An error occurred while executing a custom action:_PopulateUserRoles
    This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this role.
    I've already verified that the account I'm logged in with has SA access to the SQL database.  Windows 2008 R2 firewall is turned off.....
    Has anybody else run into this problem?

    I don't see anything indicative in the setup log.  The setup seems to get all the way to the part where it installs the management packs.  Then right after that is when the installation fails and it rolls back.
    From the setup log, towards the end:
    Property(S): ACTIONSUSER = NETWORK SERVICE
    Property(S): ACTIONSDOMAIN = NT AUTHORITY
    Property(S): ACTIONSUSER_FOR_DB = NETWORK SERVICE
    Property(S): ACTIONSDOMAIN_FOR_DB = NT AUTHORITY
    Property(S): SOURCEDIR = C:\SCSM\SCSM2012_Beta\Setup\Server\
    Property(S): SourcedirProduct = {295201AE-EAB6-416C-8252-7C065243EF55}
    Property(S): ProductToBeRegistered = 1
    MSI (s) (9C:54) [17:33:22:951]: Note: 1: 1708
    MSI (s) (9C:54) [17:33:22:951]: Product: Microsoft System Center Service Manager 2012 -- Installation failed.
    MSI (s) (9C:54) [17:33:22:959]: Windows Installer installed the product. Product Name: Microsoft System Center Service Manager 2012. Product Version: 7.5.1354.0. Product Language: 0. Manufacturer: Microsoft Corporation. Installation success or error status:
    1603.
    MSI (s) (9C:54) [17:33:23:010]: Deferring clean up of packages/files, if any exist
    MSI (s) (9C:54) [17:33:23:013]: MainEngineThread is returning 1603
    MSI (s) (9C:20) [17:33:23:061]: RESTART MANAGER: Session closed.
    MSI (s) (9C:20) [17:33:23:061]: No System Restore sequence number for this installation.
    === Logging stopped: 11/7/2011  17:33:22 ===
    MSI (s) (9C:20) [17:33:23:065]: User policy value 'DisableRollback' is 0
    MSI (s) (9C:20) [17:33:23:065]: Machine policy value 'DisableRollback' is 0
    MSI (s) (9C:20) [17:33:23:065]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (9C:20) [17:33:23:065]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (9C:20) [17:33:23:066]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (9C:20) [17:33:23:067]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (9C:20) [17:33:23:067]: Restoring environment variables
    MSI (s) (9C:20) [17:33:23:089]: Destroying RemoteAPI object.
    MSI (s) (9C:28) [17:33:23:089]: Custom Action Manager thread ending.
    MSI (c) (C8:B4) [17:33:23:144]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (C8:B4) [17:33:23:175]: MainEngineThread is returning 1603
    === Verbose logging stopped: 11/7/2011  17:33:23 ===

  • XL reporter error occurred while executing report! Rows: 25203 Columns: 30

    An error occurred while executing report! Rows: 25203 Columns: 30 Unspecified error
    One user gets this error when trying to run a custom XL report. It works for other users(on different PCs). The user can run other XL reports successfully.

    Hello  pls
    follow below procedure
    start->my computer>cdrive>program files >sap>sap business one> remove these two files 1).AddOnsInstall.sbo and 2).AddOnsLocalRegistration.sbo and clear all ur %temp%Files,prefetch,recent files and restart and open sap then u will get connected to xl reporter add on. and u will not get any errors
    regards
    Jenny

  • An error occurred while executing a custom action:_PopulateUserRoles

    I am trying to install Service Manager 2012 RTM onto a brand new server 2008r2. The purpose is to replace the other Data Management server that is giving me problems upgrading to service pack1. I go through the setup and connect to the SQL server and
    the database that has my existing DM. I am using the same credentials and everything is the same. It goes all the way to the end and I get an error :
    An error occurred while executing a custom action:_PopulateUserRoles
    This upgrade attempt has failed before permanent modifications were made. Upgrade has successfully rolled back to the original state of the system. Once the correction are made, you can retry upgrade for this roll

    After this error, I reran setup and used the domain admin account instead of the Service Manager Admins group I created in AD. The  error did not happen again, but I did get the "Setup cannot complete - RollbackCleanup"
    error. This was fixed by following this link: "http://www.cireson.com/scsm/scsm-an-error-occurred/" and this MS article: "http://support.microsoft.com/kb/922918/en-us".
    These are the steps (I had to create the DWORD 32 bit):
    Click Start, click Run, type regedit, and then click
    OK.
    Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    In the right pane, locate the ServicesPipeTimeout entry.
    Note  If the ServicesPipeTimeout entry does not exist, you must create it. To do this, follow these steps:
    On the Edit menu, point to
    New, and then click DWORD Value.
    Type ServicesPipeTimeout, and then press ENTER.
    Right-click ServicesPipeTimeout, and then click Modify.
    Click Decimal, type 60000, and then click
    OK.
    This value represents the time in milliseconds before a service times out.
    Restart the computer.
    Hope this helps!
    BR,
    Robert
    Robert

  • Error occured while executing Matlab script

    Hello!
    I want to run a Matlab script under LabVIEW, but there is always
    a error message which says "Error occured while executing script".
    Should I install Matlab on the same computer at first? if yes, do
    I need to configure Matlab under LabVIEW?
    Thanks!
    Le

    Yes No
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • ODBC error occurred while executing SQLExtendedFetch to retrieve the result

    Good morning everyone,
    I had the following error message while trying to run a simple query in Answers with 3 dimensional columns, 1 fact, and 4 calculated facts...
    "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1001 code: 0 message: [Oracle][ODBC]Memory allocation error.. [nQSError: 16011] ODBC error occurred while executing SQLExtendedFetch to retrieve the results of a SQL statement. (HY000)
    It's taking around 2,5 minutes to run, then it give that error message.
    Has anyone got any ideas on where I should get started?
    Update: after 2nd time - it's running fine....I've added a filter...could this be the issue? Too many rows initially?

    Damon,
    you were correct - it was indeed an ODBC issue. Switching to OCI has fixed the issue. This link was also very helpful:
    regarding performance
    In my case, the problem with OCI happened because I was using System DSN name instead of how it's called in tnsnames.

  • Error encountered while executing the transform project name.map name. Error:Unable to create the transform. Microsoft.XLANGs.Engine

    Hi All,
    I developed a Biztalk Application aims to upload a flat file data to our system MS SQL Server database. It works fine until one day, an exception is generated as below.
    "Error encountered while executing the transform project name.map name. Error:Unable to create the transform. Microsoft.XLANGs.Engine"
    It continues to generate an exception until I restart the Biztalk instance. And it happens occasionally, no pattern, cannot be traced and debugged.
    Anybody has an idea about this error? Please help, thank you very much.
    The Biztalk Server is running on Hyper-V Virtual machine, Biztalk Server 2009 on Windows Server 2008.
    The Biztalk Application consists of Mapping Functoid, Orchestration, Flatfile Schema, Flatfile Disassembler Pipeline, SQL Send Port, File Receive Port and Send Port
    Eric

    HI Eric,
    I think it might happen because of large message (Out of Memory exception). As you said you have flat file as inbound, you are doing mapping and then sending it to MSSQL
    SO you can check below mentioned things
    1) Any custom pipeline component is used in receive pipeline. (if so optimize the code)
    2) This issue haapen only with large message (BizTalk convert flat file to XMl to if you have 1MB file corresponding XML will be of higher size)
    again all thing mentioned above is assumption.
    YOu can use debugdiag tool to see if memory leak is happening
    http://www.microsoft.com/en-in/download/details.aspx?id=26798

  • Runtime error ASSIGN_TYPE_ILLEGAL_CAST while using ASSIGN key word

    Hi All,
    I'm getting a runtime error ASSIGN_TYPE_ILLEGAL_CAST while using ASSIGN keyword in the below statement,
    ASSIGN L_XVALUE(L_LENGTH) TO <TEXTLINE> TYPE 'C'. "see 581444
    Here L_XVALUE is of type X with value 'ENVIRONMENTALLY HAZARDOUS SUBSTANCE, LIQUID, N.O.S' , L_LENGTH is of type I with value 51 and <TEXTLINE> is of type C wih one character length .
    Should I have to declare <TEXTLINE> as same as that of L_XVALUE ( type X ).
    Thanks in Advance,
    Sabu.

    Decalre <TEXTLINE> as type any.

Maybe you are looking for

  • Request.getParameter in jsp

    Hi! in my jsp code , i am reading a value from select box and submitting the form to a jsp page. My jsp reads the selected value of the select box and displays some values. This seems working for me as i am using request.getParamater("my_selectbox_na

  • Adobe Flash 10.0.42.34 not fully compatible with OS X 10.6.2

    Every time I try to run Flash content on my computer, I am told that I need to install Rosetta (32-bit backward compatibility).   When is Adobe going to provide a 64-bit version of Flash?  I mean, Snow Leopard has been out for some time, I would thin

  • Problem with Custom idoc sending

    Hi Experts, We have created partner profile and port for receiver system, our idoc is Z (custom) idoc. but the problem is here, when we are sending that idoc from R/3 system, it is in Yellow position with message number 30. How we can solve this prob

  • Sender SFTP adapter configuration

    Dear Experts, we have one requairement to convert CSV file to xml messages, we are using the sender SFTP adapter. kindly let me kow, how to convert csv to xml messages. Regards kiran

  • [solved] damn fast cursor (and sometimes small fonts) in gdm and GNOME

    Hey there! Since yesterday's pacman -Syu (unfortunately I can't remember the packages beeing updated ), my cursor moves damn fast, i.e. the cursor is very (very! ) sensitive to mouse movements! I have a Logitech MX Laser, but it's the same with an ol