TeaLeaf for ISA B2C shop version 4.0

Hello,
i have installed the TeaLeaf software with the MS SQL Server Portal feature and i have connected my b2c sites with the tealeaf server. I can see from the tealeaf server, the tealeaf socket status and the activity when i navigate in my ISA b2c sites which are hosted in a number of servers.
For the Tealeaf web administration i choose <<All Active Sessions>> http://myserver:19000/STCSessionList
but although a lot of people (with different IP addresses) access my b2c site at the same time, in the <<All Active Sessions>>  web administration i see only 1 session and only the hits are increasing!
If i check the SessionInfo link from Tealeaf web administration http://myserver:19000/STCSessionList i see that all the TLTSID and TLTUID=00000000000000000000000000
My conclusion is that tealeaf only records the hits and not the Sessions and the Users. Why??????
Check the following SessionInfo  xml :
Best Regards,
Thanassis

---

Similar Messages

  • Relogin Error connecting to ISA B2B Shop iView for SAP CRM 4.0

    Hi
    I am trying to access ISA B2B Shop iView (for SAP CRM 4.0) from EP 6.0 SP14. I am getting the below mentioned error
    ERROR : "The session is invalid." "Please re-login."
    Please find the portal version details:
    Area                   Version
    J2EE Engine            6.40 PatchLevel 98256.313
    Portal                 6.0.14.0.0
    Please help me in solving this issue
    Regards
    Sudhir

    Hi,
    I have the same error, could you help me ?
    Thanks and regards.
    Manuel .-

  • Use of WebTrends to Track ISA B2C Cart Behavior

    ISA uses a fixed, common header for the entire shopping cart. This does not allow us to tag each page with a different meta tag.
    I called WebTrends about this, and asked them about putting the meta tags inside the <body> section of the page (this is invalid HTML). They said that yes, people have done that, but there is no guarantee that the browser being used will recognize or accept a meta tag in that position. It is the visitor's browser that has to interpret the HTML, and if it refuses to recognize a <meta> tag outside the head, then the tagging cannot work. They mentioned that the latest versions of Fire Fox are prone to ignore tags outside the <head>.
    As anyone come across a workaround for using Webtrends to track ISA cart behavior?

    Hi All
    I am trying to have specific Delivery Type in Checkout Module.
    If it is a configuration issue in CRM then
    I have modified/added shipping conditions in SPRO (Path IMG ->CRM->
    MASTER DATA ->
    BUSINESS PARTNER ->
    DEFINE ATTRIBUTES ->
    SHIPPING CONDITIONS).
    I am not able to see the modified/added shipping conditions in b2c ISA Web application.
    Pls help How to Proceed .
    Message was edited by: Ravi Sah

  • Change language settings via URL in CRM ISA B2C

    Hi experts,
    I have external product catalog, and I use the following format of URL to access ISA B2C in English:
    http://<server>:<port>/b2c/display/(xcm=B2C_B2CCRMSTANDARD&cpgsize=5&layout=5.1-6_1_56_58_5_8_2&uiarea=2&carea=4B6F49098864241BE10000000ABF0F17&cpgnum=1)/.do?rf=y
    Now I need to access the Spanish version of the site. I know I can do it via this URL, http://<server>:<port>/b2c/b2c/init.do?language=es. However, instead of going to init.do, is there a way to use the format of the first URL and in Spanish flavor? It does not work if I simply append &language=es after the first URL.
    Appreciated if giving out step by step guide. Thanks.

    Hi Andreas,
    try to run the report "rscpinst" in tx se38. Just "ADD" the entry "DE - German" to this table.
    The first entry in this table should be the default value for the Logon Screen.
    Hope it works!
    Regards,
    Christian

  • Adressing a B2B/B2C shop and template question

    Hi all!
    I've created a Internet Sales B2B/B2C shop but I can't get the URL to work properly. My scenario is called TESTSHOP
    http://myhost:50100/b2b_b2c/b2b_b2c/init.do, but it doesn't work!
    What is the correct URL/adress to use?
    Where do I find the template?
    I'm looking in the folder
    M:\usr\sap\PC1\DVEBMGS01\j2ee\cluster\server0\apps\sap.com
    but I can't find the specific templates for this scenario
    rollo

    more info
    Found this in the dev_jrfc.trc file
    Error file opened at 20061012 190124 Central European Summer Time Rel 6.45.9 (2006-06-21) [700.75]
    Error> occured  >Thu Oct 12 19:01:24,507<   
    RfcException:
        message: 'tphost' missing
        Return code: RFC_INVALID_PARAMETER(19)
        error group: 101
        key: RFC_ERROR_PROGRAM
    tphost, could that be the tphost in web.xml?!
    This is the added parameters in the web.xml file
         <context-param>
              <param-name>useDynConnParam.ims.catalog.isa.sapmarkets.com</param-name>
              <param-value>false</param-value>
              <description>according to Best Practices C71 page 32</description>
         </context-param>
         <context-param>
              <param-name>gwhost.ims.catalog.isa.sapmarkets.com</param-name>
              <param-value>10.10.251.1</param-value>
              <description>according to Best Practices C71 page 32</description>
         </context-param>
         <context-param>
              <param-name>gwserv.ims.catalog.isa.sapmarkets.com</param-name>
              <param-value>10.10.254.1</param-value>
              <description>according to Best Practices C71 page 32</description>
         </context-param>
         <context-param>
              <param-name>tphost.ims.catalog.isa.sapmarkets.com</param-name>
              <param-value>10.10.251.1</param-value>
              <description>according to Best Practices C71 page 32</description>
         </context-param>
         <context-param>
              <param-name>tpname.ims.catalog.isa.sapmarkets.com</param-name>
              <param-value>TEXRfcServer.exe -r</param-value>
              <description>according to Best Practices C71 page 32</description>
         </context-param>
    Is the error here in the web.xml file?
    rollo

  • What Photo Shop version may work with Windows Vista Home Premium (x64) Service Pack 2?

    What Photo Shop version may work with Windows Vista Home Premium (x64) Service Pack 2?

    For the IQ700 series
    If you're running Windows Vista SP2, there is a patch for USB patch for NVIDIA chipsets
    http://support.microsoft.com/kb/975163/ 
    If you're running Windows 7, install this patch
    http://h30434.www3.hp.com/t5/Lockups-Freezes-Hangs/Driver-update-for-Win7-USB-issue-on-nVidia-chipse...
    And only use the driver from the system manufacturer's website or Windows Update. Do not use the latest drivers from NVIDIA's website for the IQ700 series

  • Item Conditions in ISA b2c catalog

    Hi,
    I need to get the item conditions for the porducts in the web catalog and show them in the catalog page in ISA b2c 5.0.
    Any pointers how to achieve that !
    Regards,
    Kunal

    Hi James,
    I have seen a similar problem in CRM ISA 4.0 on an early SP. It was however rectified in further patch releases. Please check in SAP OSS for updates.
    Regards,
    Ashok.

  • Discounts types in B2C shop

    Hello Experts
    I am working on CRM 7.0
    I have maintained discounts for materials in the backend system (ECC).
    They have been downloaded to CRM.  When creating Order in B2C shop, I am not able to see the Discount condition type
    in the B2C shop.  The discounts are getting calculated and added to the total, but not visible.
    Is this the standard behaviour in the B2C shop.  Or I am missing something here.  If I need to display the discounts in the webshop what needs to be done.
    Awaiting for your valuable suggestions.
    Thanks
    Sastri

    Standard behavior.
    Displaying any additional condition type is a custom effort.

  • EDI with separate ISA and GS versions

    Hi All,
    We are trying to integrate our customer with one of its trading partner using EDI. The sample file available from earlier web methods implementation is little perplexing.
    Sample file:
    ISA~00~          ~00~          ~ZZ~PARTNER           ~ZZ~HOST          ~140302~1106~U~00204~000002621~0~P~<
    GS~PC~PARTNER~HOST~95908~20140325~1106~2~X~006020
    ST~860~000000238
    Please note that version code for ISA segment and GS segment are different.
    My question - Is such scenario is possible in oracle B2B ?
    If yes, how do we setup the spec ? ( I tried with 6020 860 and 2040 envelope, it does not work )
    Thanks in advance

    It is "ecs" file itself which is used for validation and translation in Oracle B2B. As part of Document Definition, you should upload only transaction set ecs and interchange and group ecs are pre-seeded in the product however if you want to customize them, then you may override them as well.
    From the back-end you should pass only transaction set (ST to SE) and Oracle B2B will add the envelope information (Group and Interchange) by itself.
    Regards,
    Anuj

  • Wanted R/3 ISA B2C with example.

    Hello All,
    I am new in this field and would like to have document about creating Step by step an ISA project with NWDS for B2C scenario and B2B scenario NOT on CRM but on R/3 edition.
    Please send it to me on my email address [email protected]
    I really appreciate any one help in this matter and also pl. tell me if there are other helpful site on which I can read about how to start programming in r/3 ISA B2C with example.
    Thanks in Advance.
    Rajesh

    Hi Rajesh
    I'm working with Rapidigm-Fujitsu Consulting Co. in pune..
    Now I've successfully deployed and configured the ISA..
    I've also created the users in the CRM and assign
    respective roles to them ..
    Below is the procedure to deploying and configuring
    the CRM ISA B2B Application :
    Before starting I assume that you have following
    compoonents with you.
    1.) SAP J2EE Engine 6.2
    2.) ISA WAC SP03
    3.) MSSQL SERVER 2000 (Optional, If u need to use
    JavaBasket in ur application)
    Procedure :
    1.) Extract ISAWACSP03.sar file using command sapcar.exe
    2.) You will get following archive files :
        a.) Novell_LDAP.sda
        b.) SAPPortalsUMRefrence.sda
        c.) useradmin.ear
        d.) webcatadmin.ear
        e.) shopadmin.ear
        f.) b2b.ear
        g.) b2c.ear
        h.) and many other files..
    3.) Also download the latest JBasis Library from service.sap.com..
    4.)Open the SDM tool integrated with SAP J2EE ..
    5.)Deploy the JBasis_<LatestVersion>.sda using SDM.
    6.)Deploy Novell_LDAP.sda using SDM
    7.)Deploy SAPPortalsUMReference.sda using SDM
    8.)Deploy Useradmin.ear using SDM .
       Note before deploying the useradmin you have to specify the path of the xcm, always take it in the another directory eg. : C:\usr\sap\rp0945\java\xcm\useradmin
    also give the other parameters before deploying the application
    9.) Follow the above procedure for shopadmin.ear and webcatadmin.ear and deploy the application.
    the xcm path
    ->for shopadmin: C:\usr\sap\rp0945\java\xcm\shopadmin
    ->for webcatadmin: C:\usr\sap\rp0945\java\xcm\webcatadmin
    10.) To deploy the b2b.ear I'll suggest you to first build
    the application using BuildTool(For more info on
    Buildtool see the sapnotes on service.sap.com)
    11.) After building deploy the application (b2b_<NameGiven>.ear eg. b2b_client.ear ) in the
    "project_ear" folder of your buildtool directory.
    Note:  Before deploying b2b application you have to
    provide certain paramters (like xcm path etc.) in the
    lower left frame of the SDM window.
    If the parameter option are denoted with red icon then there are certain parameters left for deployment..
    The parameter icon should be green to successfully deploying the application ...
    12.) Now test the application by opening the url
    http://localhost:50000/b2b_client/b2b/init.do
    13.) You will get the b2b index page on your Web Browser.
    14.) Till now we have completed the deployment procedure of B2B, Now some configuration part is left to
    successfully running the application ...
    CONFIGURING THE ISA ..
    There are 2 types of configuration involved in the ISA :
    1.) At the CRM Server level
    2.) At the Application level
    1.) CRM Server level Configuration :
    This configuration includes the creation of Users
    and assigning the roles to the Users..
    We have to create 2 type of users :
      a.) Service User (RFC Enabled users)
      b.) Dialouge User
    a.) Service User :
       1.) Open the transaction SU01 and give the username="WEBCONNECT"
       2.)  Assign the type of user = "Service"
           Maintain a valid email address
       3.) In the roles tab, add a user role = "SAP_CRM_ISA_ITS"
          Give the alias name of the user : "WEBCONNECT"
       4.) Click on "SAVE"
       5.) Create another user namely "WEBCONNECT1" and assign
          the same role to it.
          Maintain a valid email address and give the alias
          name : "WEBCONNECT1"
       6.) Click on "SAVE"
    b.) Dialog User
       1.) Open transaction SU01
       2.) Create another user namely "WEBADMIN"
       3.) Maintain the email address for this user
       4.) Assign the following roles to it :
           -> SAP_CRM_INTERNET_CUSTOMER
           -> SAP_CRM_ISA_UA_SUPERUSER
           -> SAP_CRM_ISA_WEBSHOP_MANAGER
       5.) Click on "Save"
       6.) Close the CRM Gui client and login with this user
           (WEBADMIN) and then change the password.
    2.) Application Level configuration using XCM
       a.) open url :
           http://localhost:50000/useradmin/admin/xcm/init.do
           Login with Username : Administrator
                      Password : <blank>
       b.) Now in the Menu Components->Customers->jco
          create ur own jco configuration for eg: I've created
          with configuration name  "jco_myconfig"
       c.) Provide the Following Parameters
           Base Configuration : SERVER_CONNECT
           ashost : crmserver.company.com
           client : 100
           lang   : en
           maxcon : 100
           passwd : <your WEBCONNECT password>
           sysnr  : 00
           user   : WEBCONNECT
        d.) save the configuration and click on "run test"
        e.) If you get the green screen then
            "connection succeeded" else you will get a Red
            Screen if the connection failed.
        f.) Now in the Menu
           Start->ApplicationConfiguration->Customer
           Create your own configuration and assign ur jco
           configuration to it ("jco_myconfig" in my case)
        g.) Follow the same procedure for shopadmin,
            webcatadmin .
        h.) You can follow the above procedure for b2b but
            with diffrent username and password (In my case
            "WEBCONNECT1" )
           RESTART THE J2EE ENGINE...
        i.) open the url :
           http://localhost:50000/useradmin/useradmin/init.do
           provide the login Username : WEBADMIN
           Password : <whatever u have provided>
        j.) Create a user using this web application and
            assign the roles according to it .(Remember now
            you are creating a B2B User,so assign the roles
            as needed).
        k.) Save that user and open url :
            http://localhost:50000/b2b_client/b2b/init.do
        l.) Thats all ...
            You can now run your b2b scenario application
            online and can create online Sales Order and much more
    I hope you will find this tutorial helpfull...
    For any further queries mail me at
    [email protected]
    Cheers !!
    Thanks & Regards
    Sandeep

  • Does dreamweaver have drag & drop templates for creating online shopping websites?

    Does dreamweaver have drag & drop templates for creating online shopping websites?

    How many products are you planning to sell?
    Do you need a lot of varying versions like colors, sizes etc. ?
    Paypal offers a very simple payment gateway, without your needing to get involved with learning server side Scripting and and databases. Their tech support is superb.
    https://www.paypal.com/us/webapps/mpp/accept-payments-online

  • SAP ISA B2C installation document

    Hello,
    Does anybody have SAP ISA B2C installation document? I need the configuration
    information for it. I am having trouble registering as a new customer.
    The country field is not populated & even if I enter all the information I get the error as "Make an entry in all fields where required".
    Thanks,
    Harsha

    Hello Harsha,
    perhaps you get some help in the Best Practice Guide http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/html/BBlibrary.htm -> C14: CRM E-Commerce.
    Regards
    Gregor

  • Can't install Print Shop Version 2

    I'm having problems installing Print Shop Version 2 for Mac. I am getting the errer message,
    "There is not enough free space on Macintosh HD disk. The PS2 application requires about 1150 MB to be installed. Free some disk space and try again."
    According to my HD, I have used 181 GB and still have 319 GB free. Can anyone assist? Thanks.

    I found a solution courtesy of Mackiev, who did reply:
    The fact is, the very first PowerPC-based discs of The Print Shop 2 cannot work on OS X Mavericks because the "Rosetta" mode that is required for their installer to run is no longer supported there. However, I'm happy to tell you that we have released a special updater for old PowerPC discs, which can be used together with those discs you have to install The Print Shop 2 on Macs with Mavericks. Please follow this direct link to download the updater:
    http://softwaremackiev.com/downloads/printshop2/ThePrintShop_v.2.0.11_UB_Updater .dmg
    It's about 610 MB, so you'll need a good Internet connection.
    Once the installer has fully downloaded, insert The Print Shop 2 Install CD in your Mac's CD drive and double-click the downloaded file if it doesn't open automatically. Then double-click The Print Shop 2 Updater icon and follow the onscreen instructions.
    I followed these instructions and it installed just fine. The disc doesn't do anything, but is apparently necessary for the installation even though it's not recognised by Mavericks.

  • B2C shop administration

    Hi,
    I want to activate loyalty management in B2C shop administration.
    Where can I find B2C shop administration, is it in spro ? or anywhere else ?
    Regards
    Barry

    CRM Loyalty requires software component CRMLOY in the CRM server (ABAP stack)
    B2C application has to be deployed with rest of the CRM Java applications in NW J2EE server (Java stack)
    Ask your Basis team, for all of the above.
    You have to turn the feature on in B2C web application, XCM administration.
    In the Web shop, (B2C)
    1. Consumers can opt to sign-up in the Loyalty program during consumer registration
    2. With in the web shop, the registered consumers can see the available campaigns and also transactions (orders0 they have made with those campaign ids. Loyalty program --> My Transactions and * Loyalty Program --> My campaigns*
    3. The consumers can Redeem Points
    4. They can also Buy points
    The same has been posted@ Re: Loyalty Management in Web Channel

  • Selective XML Index feature is not supported for the current database version , SQL Server Extended Events , Optimizing Reading from XML column datatype

    Team , Thanks for looking into this  ..
    As a last resort on  optimizing my stored procedure ( Below ) i wanted to create a Selective XML index  ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
    Index feature is not supported for the current database version.. How ever
    EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
    Is there ANY alternative way i can optimize below stored proc ?
    Thanks in advance for your response(s) !
    /****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- EXEC [dbo].[MN_Process_DDLSchema_Changes]
    ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
    AS
    BEGIN
    SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    select getdate() as getdate_0
    DECLARE @XML XML , @Prev_Insertion_time DATETIME
    -- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
    SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
    -- PRINT '1'
    CREATE TABLE #Temp
    EventName VARCHAR(100),
    Time_Stamp_EE DATETIME,
    ObjectName VARCHAR(100),
    ObjectType VARCHAR(100),
    DbName VARCHAR(100),
    ddl_Phase VARCHAR(50),
    ClientAppName VARCHAR(2000),
    ClientHostName VARCHAR(100),
    server_instance_name VARCHAR(100),
    ServerPrincipalName VARCHAR(100),
    nt_username varchar(100),
    SqlText NVARCHAR(MAX)
    CREATE TABLE #XML_Hold
    ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
    BufferXml XML
    select getdate() as getdate_01
    INSERT INTO #XML_Hold (BufferXml)
    SELECT
    CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
    FROM sys.dm_xe_session_targets xet
    INNER JOIN sys.dm_xe_sessions xes
    ON xes.address = xet.event_session_address
    WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
    --RETURN
    --SELECT * FROM #XML_Hold
    select getdate() as getdate_1
    -- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
    CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
    FOR
    PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
    --RETURN
    --CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
    --SELECT GETDATE() AS GETDATE_2
    -- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
    --CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
    --USING XML INDEX [IX_XML_Hold]
    ---- FOR VALUE
    -- --FOR PROPERTY
    -- FOR PATH
    --SELECT GETDATE() AS GETDATE_3
    --PRINT '2'
    -- RETURN
    SELECT GETDATE() GETDATE_3
    INSERT INTO #Temp
    EventName ,
    Time_Stamp_EE ,
    ObjectName ,
    ObjectType,
    DbName ,
    ddl_Phase ,
    ClientAppName ,
    ClientHostName,
    server_instance_name,
    nt_username,
    ServerPrincipalName ,
    SqlText
    SELECT
    p.q.value('@name[1]','varchar(100)') AS eventname,
    p.q.value('@timestamp[1]','datetime') AS timestampvalue,
    p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
    p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
    p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
    p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
    p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
    p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
    p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
    p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
    p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
    p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
    FROM #XML_Hold
    CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
    WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
    p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
    AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
    AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
    SELECT GETDATE() GETDATE_4
    -- SELECT * FROM #TEMP
    -- SELECT COUNT(*) FROM #TEMP
    -- SELECT GETDATE()
    -- RETURN
    -- PRINT '3'
    --RETURN
    INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
    [UserName]
    ,[DbName]
    ,[ObjectName]
    ,[client_app_name]
    ,[ClientHostName]
    ,[ServerName]
    ,[SQL_TEXT]
    ,[EE_Time_Stamp]
    ,[Event_Name]
    SELECT
    CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
    ELSE T.nt_username
    END
    ,T.DbName
    ,T.objectname
    ,T.clientappname
    ,t.ClientHostName
    ,T.server_instance_name
    ,T.sqltext
    ,T.Time_Stamp_EE
    ,T.eventname
    FROM
    #TEMP T
    /** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
    -- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
    WHERE ddl_Phase ='Commit'
    AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
    AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
    WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
    AND MN.[DbName] = T.DbName
    AND MN.[Event_Name] = T.EventName
    AND MN.[ObjectName]= T.ObjectName
    AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
    AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
    -- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
    --SELECT GETDATE()
    --PRINT '4'
    --RETURN
    SELECT
    top 100
    [EE_Time_Stamp]
    ,[ServerName]
    ,[DbName]
    ,[Event_Name]
    ,[ObjectName]
    ,[UserName]
    ,[SQL_TEXT]
    ,[client_app_name]
    ,[Created_Date]
    ,[ClientHostName]
    FROM
    [dbo].[MN_DDLSchema_Changes_log]
    ORDER BY [EE_Time_Stamp] desc
    -- select getdate()
    -- ** DELETE EVENTS after logging into Physical table
    -- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
    -- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
    -- SELECT @XML
    SELECT GETDATE() GETDATE_5
    END
    GO
    Rajkumar Yelugu

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

Maybe you are looking for