Creating Enhencement-Point  - Object can only be created in SAP package

Hi Guys,
I am creating an enhencement point in Z program in Z package. I am getting following message.
" Object can only be created in SAP package "
Please help.

Hi Mini
Enhancement points are like hooks where you can attach your own piece of code and coding in an enhancement point is no different than a normal coding , just that it is a point in the standard program into which you can give your own custom logic.
There are 2 types of enhancements given by SAP:
1. Explicit enhancement points: Go to program RIAUFMVK . You can see ENHANCEMENT-POINT at many places. These are all explicit enhancement points and you can easily implement these points . Simply press shift+F4 and then go to the point which you want to implement. Right click on  it and follow the path Enhancement implementation->create. Give the name of the implementation and the assign it to a package(shoud not be a Z package).
Once it is created you can start your coding as you normally do.
2. Implicit enhancement points are not very stable and should be the last resort after you have explored all the user exits , BAdIs and explicit points. In order to find out the implicit enhacement points , press shift+F4  then goto menu option Edit->Enhancement Operations->show implicit enhancement options. This will bring up all the points that you can enhance. This will appear as a line with arrows. To implement this you have to follow the same procedure as for explicit enhacement points.
So enhacement point works like the other codes . Just that you should know which  one to implement and where. As far as possible avoid implicit enhacements as they are not very stable at present and even if you are going for it keep a  back-up of your code always.
Hope this helps you. lemme know if you have any other issues.
Cheers
shivika
Message was edited by:
        Shivika Bhorchi

Similar Messages

  • Object can only be created in SAP package ?

    Hello guys i am looking for the relation of this while creating SAP Client proxy  ?
    Please suugest
    Krishna

    Can you check this SAP help
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/81/845f3c31727d59e10000000a114084/frameset.htm
    Try this thread also-
    Re: Abap proxy - Package?
    What is package structure for Client ABAP Proxy?
    Hope this helps,
    Regards,
    Moorthy
    Message was edited by: Krishna Moorthy P

  • Object can only be created in the package of namespace/ISDFPS/

    Hi,
    When iam creating a query iam getting the above message and when i try to save the query and provide $tmp , message is prompted as Foreign names will not be accepted.
    Please help me out?
    Reg.
    Vinod boga.

    hiii
    ABAP query is also created by customer namespace like starts with Y or Z...please check that you have created USERGROUP or not..
    regards
    twinkal

  • Error: Partition function can only be created in Enterprise edition of SQL Server

    By using the Generate Scripts option in SSMS, I've duplicated this DB seven times so far. I do this due to the 10 Gig limit on Sql Express 2012.  I was doing this again today. I generated the script, did a search/replace to provide a new DB name for
    DB number eight in the series, and then I ran the script to create the DB, causing the error message. I don't remember seeing this error in the past. It's possible I created the first edition of this DB at home, but back then I only had express edition as
    I seem to recall (although I did purchase Developer a few months ago).
    I don't even know what the Partition function does. I'll try to look that up tonight.
    SSMS did create the DB, I just hope the error message doesn't forebode any problems.
    USE [master]
    GO
    /****** Object: Database [Year2014_Aug_To_Dec] Script Date: 07/29/2014 03:55:19 PM ******/
    CREATE DATABASE [Year2014_Aug_To_Dec]
    CONTAINMENT = NONE
    ON PRIMARY
    ( NAME = N'Year2014_Aug_To_Dec', FILENAME = N'F:\FlatFilesDatabases\Year2014_Aug_To_Dec.mdf' , SIZE = 8832000KB , MAXSIZE = UNLIMITED, FILEGROWTH = 204800KB )
    LOG ON
    ( NAME = N'Year2014_Aug_To_Dec_Log', FILENAME = N'F:\FlatFilesDatabases\Year2014_Aug_To_Dec_Log.ldf' , SIZE = 230400KB , MAXSIZE = 2048GB , FILEGROWTH = 204800KB )
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET COMPATIBILITY_LEVEL = 110
    GO
    IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
    begin
    EXEC [Year2014_Aug_To_Dec].[dbo].[sp_fulltext_database] @action = 'enable'
    end
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET ANSI_NULL_DEFAULT OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET ANSI_NULLS OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET ANSI_PADDING OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET ANSI_WARNINGS OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET ARITHABORT OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET AUTO_CLOSE ON
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET AUTO_CREATE_STATISTICS ON
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET AUTO_SHRINK OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET AUTO_UPDATE_STATISTICS ON
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET CURSOR_CLOSE_ON_COMMIT OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET CURSOR_DEFAULT GLOBAL
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET CONCAT_NULL_YIELDS_NULL OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET NUMERIC_ROUNDABORT OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET QUOTED_IDENTIFIER OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET RECURSIVE_TRIGGERS OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET DISABLE_BROKER
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET DATE_CORRELATION_OPTIMIZATION OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET TRUSTWORTHY OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET ALLOW_SNAPSHOT_ISOLATION OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET PARAMETERIZATION SIMPLE
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET READ_COMMITTED_SNAPSHOT OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET HONOR_BROKER_PRIORITY OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET RECOVERY SIMPLE
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET MULTI_USER
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET PAGE_VERIFY CHECKSUM
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET DB_CHAINING OFF
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF )
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET TARGET_RECOVERY_TIME = 0 SECONDS
    GO
    USE [Year2014_Aug_To_Dec]
    GO
    /****** Object: User [NT SERVICE\MSSQL$SQLEXPRESS] Script Date: 07/29/2014 03:55:20 PM ******/
    CREATE USER [NT SERVICE\MSSQL$SQLEXPRESS] FOR LOGIN [NT Service\MSSQL$SQLEXPRESS] WITH DEFAULT_SCHEMA=[NT SERVICE\MSSQL$SQLEXPRESS]
    GO
    /****** Object: User [NT Authority\Authenticated Users] Script Date: 07/29/2014 03:55:20 PM ******/
    CREATE USER [NT Authority\Authenticated Users] FOR LOGIN [NT AUTHORITY\Authenticated Users] WITH DEFAULT_SCHEMA=[NT Authority\Authenticated Users]
    GO
    /****** Object: User [BUILTIN\USERS] Script Date: 07/29/2014 03:55:20 PM ******/
    CREATE USER [BUILTIN\USERS] FOR LOGIN [BUILTIN\Users]
    GO
    /****** Object: Schema [NT Authority\Authenticated Users] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE SCHEMA [NT Authority\Authenticated Users]
    GO
    /****** Object: Schema [NT SERVICE\MSSQL$SQLEXPRESS] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE SCHEMA [NT SERVICE\MSSQL$SQLEXPRESS]
    GO
    /****** Object: FullTextCatalog [Catalog1] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE FULLTEXT CATALOG [Catalog1]WITH ACCENT_SENSITIVITY = ON
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_06A2E7C5] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_06A2E7C5](varbinary(128)) AS RANGE LEFT FOR VALUES (0x00390039003200380035, 0x006E006E0033003000320034)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_11A1FB2A] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_11A1FB2A](varbinary(128)) AS RANGE LEFT FOR VALUES (0x006100730073006F006300690061007400650073, 0x006E006E003200320032003700350037003300310030003400300035)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_171D3F63] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_171D3F63](varbinary(128)) AS RANGE LEFT FOR VALUES (0x00610072006900650078006900650074, 0x006E006E003200390035003200330033003400310030)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_1FA6CD15] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_1FA6CD15](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0063006F00720070006F0072006100740069006F006E, 0x006E006E0033003500340031003800390031)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_25DC6753] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_25DC6753](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0061007000700072006F007600650064, 0x006E006E00320033003200380035)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_2B429CF3] Script Date: 07/29/2014 03:55:21 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_2B429CF3](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0069006E006500730068006F006D)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_2D3F28A7] Script Date: 07/29/2014 03:55:22 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_2D3F28A7](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0062006F0078, 0x006E006E003200390034003900320033003000350033)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_32ED1505] Script Date: 07/29/2014 03:55:22 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_32ED1505](varbinary(128)) AS RANGE LEFT FOR VALUES (0x006100690064, 0x006E006E00330036)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_3E6129B6] Script Date: 07/29/2014 03:55:22 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_3E6129B6](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0036003600340038, 0x006C00610074006F0074, 0x006E006E00360031003800380038)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_3FC721DF] Script Date: 07/29/2014 03:55:22 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_3FC721DF](varbinary(128)) AS RANGE LEFT FOR VALUES (0x006300680075006E006B, 0x006E006E0034003300330031006400360031)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_4695B1AD] Script Date: 07/29/2014 03:55:22 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_4695B1AD](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0061006D006F0075006E0074, 0x006E006E003200370064003200330032)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_475E2206] Script Date: 07/29/2014 03:55:23 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_475E2206](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0061007200610079006B)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_52082FB0] Script Date: 07/29/2014 03:55:23 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_52082FB0](varbinary(128)) AS RANGE LEFT FOR VALUES (0x00640065007400610069006C, 0x006E006E003300300038003400320032)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_53473803] Script Date: 07/29/2014 03:55:23 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_53473803](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0061006F00730069, 0x006E006E003200350032003900340031)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_6A54BA8D] Script Date: 07/29/2014 03:55:23 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_6A54BA8D](varbinary(128)) AS RANGE LEFT FOR VALUES (0x00620061006E006B, 0x006E006E003300310064003000370032)
    GO
    /****** Object: PartitionFunction [ifts_comp_fragment_partition_function_7D7C9D9A] Script Date: 07/29/2014 03:55:23 PM ******/
    CREATE PARTITION FUNCTION [ifts_comp_fragment_partition_function_7D7C9D9A](varbinary(128)) AS RANGE LEFT FOR VALUES (0x0063006100720072006900650072, 0x006E006E00330032003700330033)
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_06A2E7C5] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_06A2E7C5] AS PARTITION [ifts_comp_fragment_partition_function_06A2E7C5] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_11A1FB2A] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_11A1FB2A] AS PARTITION [ifts_comp_fragment_partition_function_11A1FB2A] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_171D3F63] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_171D3F63] AS PARTITION [ifts_comp_fragment_partition_function_171D3F63] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_1FA6CD15] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_1FA6CD15] AS PARTITION [ifts_comp_fragment_partition_function_1FA6CD15] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_25DC6753] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_25DC6753] AS PARTITION [ifts_comp_fragment_partition_function_25DC6753] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_2B429CF3] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_2B429CF3] AS PARTITION [ifts_comp_fragment_partition_function_2B429CF3] TO ([PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_2D3F28A7] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_2D3F28A7] AS PARTITION [ifts_comp_fragment_partition_function_2D3F28A7] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_32ED1505] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_32ED1505] AS PARTITION [ifts_comp_fragment_partition_function_32ED1505] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_3E6129B6] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_3E6129B6] AS PARTITION [ifts_comp_fragment_partition_function_3E6129B6] TO ([PRIMARY], [PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_3FC721DF] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_3FC721DF] AS PARTITION [ifts_comp_fragment_partition_function_3FC721DF] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_4695B1AD] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_4695B1AD] AS PARTITION [ifts_comp_fragment_partition_function_4695B1AD] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_475E2206] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_475E2206] AS PARTITION [ifts_comp_fragment_partition_function_475E2206] TO ([PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_52082FB0] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_52082FB0] AS PARTITION [ifts_comp_fragment_partition_function_52082FB0] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_53473803] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_53473803] AS PARTITION [ifts_comp_fragment_partition_function_53473803] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_6A54BA8D] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_6A54BA8D] AS PARTITION [ifts_comp_fragment_partition_function_6A54BA8D] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: PartitionScheme [ifts_comp_fragment_data_space_7D7C9D9A] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE PARTITION SCHEME [ifts_comp_fragment_data_space_7D7C9D9A] AS PARTITION [ifts_comp_fragment_partition_function_7D7C9D9A] TO ([PRIMARY], [PRIMARY], [PRIMARY])
    GO
    /****** Object: StoredProcedure [dbo].[Files_RecordCountLastThreeDays_ByFolder] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROC [dbo].[Files_RecordCountLastThreeDays_ByFolder]
    @ListOfFolders varchar(max)
    AS
    -- This query pulls only those folders DID have at least one success (a new file added)
    With FoldersWithHits AS(
    SELECT COUNT(*) AS NUMFILESADDED, Value as Folder
    FROM funcSplit('|', @ListOfFolders) As Folders
    inner join Files on CHARINDEX(Folders.Value, Files.AGGREGATEPATH) = 1
    WHERE DateAdded > DATEADD(DD, -4, GETDATE())
    Group By Value
    Select * from FoldersWithHits
    Union All
    -- To get a list of those folders that did NOT have any new files added,
    -- resuse the first query - use the above list of successes to do an exclusion
    select 0 as NumFilesAdded, Folders.VAlue as Folder
    From funcSplit('|', @ListOfFolders) As Folders
    Left Join FoldersWithHits on FoldersWithHits.Folder = Folders.Value
    Where FoldersWithHits.folder is null
    GO
    /****** Object: StoredProcedure [dbo].[FILES_SP_FINDTHISMOVEDFILE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE Proc [dbo].[FILES_SP_FINDTHISMOVEDFILE]
    @NameOfFile varchar(2000),
    @NameOfZipFile varchar(2000),
    @FileSize int
    As
    -- Here find the zipfile by passing in the name of the zipfile as @NameOfZipFile
    Select AggregatePath, 'Found ZipFile By Name' as TypeOfHit From dbo.Files where NameOfFile = @NameOfZipFile
    UNION
    Select AggregatePath, 'Found ZipFile By Name' as TypeOfHit From dbo.FilesNewLocations where NameOfFile = @NameOfZipFile
    UNION
    -- Here find the file itself (not just the zipfile) by finding two names: the filename and zipFilename.
    Select AggregatePath, 'Found Filename' as TypeOfHit From dbo.FilesNewLocations where Len(NameOfZipFile) > 0 AND NameOfFile = @NameOfFile And NameOfZipFile = @NameOfZipFile
    union
    Select AggregatePath, 'Found Filename' as TypeOfHit From dbo.FilesNewLocations where Len(NameOfZipFile) > 0 AND NameOfFile = @NameOfFile And NameOfZipFile = @NameOfZipFile
    union
    -- Here find the file by size
    Select AGGREGATEPATH, 'Found By Size' as TypeOfHit From dbo.Files where FileSize = @FileSize ANd NameOfFile = @NameOfFile
    UNION
    Select AGGREGATEPATH, 'Found By Size' as TypeOfHit From dbo.FilesNewLocations where FileSize = @FileSize ANd NameOfFile = @NameOfFile
    Grant Execute ON dbo.Files_SP_FindThisMovedFile To [BuiltIn\Users]
    CREATE NONCLUSTERED INDEX idx_FilesNewLocations_CreationDate ON Files (CreationDate)
    CREATE NONCLUSTERED INDEX idx_FilesNewLocations_FileSize ON Files (FileSize)
    CREATE NONCLUSTERED INDEX idx_FilesNewLocations_NameOfFile ON Files (NameOfFile)
    CREATE NONCLUSTERED INDEX idx_FilesNewLocations_NameOfZipFile ON Files (NameOfZipFile)
    CREATE NONCLUSTERED INDEX idx_FilesNewLocations_AggregatePath ON Files (AggregatePath)
    GO
    /****** Object: StoredProcedure [dbo].[FILES_SP_GETEPOCALIPSETEXT] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[FILES_SP_GETEPOCALIPSETEXT]
    @AGGREGATEPATH VARCHAR(700)
    AS
    SET NOCOUNT ON
    SELECT F.EPOCALIPSETEXT FROM FILES AS F
    WHERE F.AGGREGATEPATH = @AGGREGATEPATH
    GO
    /****** Object: StoredProcedure [dbo].[FILES_SP_INSERTFILE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[FILES_SP_INSERTFILE]
    @AGGREGATEPATH VARCHAR(4000),
    @CREATIONDATE DATETIME,
    @EPOCALIPSETEXT VARCHAR(MAX),
    @FILEID INT OUTPUT,
    @PC VARCHAR(2000),
    @FILESIZE INT,
    @NAMEOFFILE VARCHAR(2000),
    @ZIPPED BIT,
    @NAMEOFZIPFILE VARCHAR(2000)
    AS
    SET NOCOUNT ON
    DECLARE @DATEADDED SMALLDATETIME
    SELECT @DATEADDED = CONVERT(VARCHAR(12), GETDATE(), 101)
    INSERT INTO DBO.FILES (DATEADDED, AGGREGATEPATH, CREATIONDATE,EPOCALIPSETEXT, PC, FILESIZE, NAMEOFFILE, ZIPPED, NAMEOFZIPFILE)
    VALUES(@DATEADDED, @AGGREGATEPATH,@CREATIONDATE,@EPOCALIPSETEXT, @PC, @FILESIZE, @NAMEOFFILE, @ZIPPED, @NAMEOFZIPFILE)
    SELECT @FILEID=SCOPE_IDENTITY()
    GO
    /****** Object: StoredProcedure [dbo].[FILES_SP_ISDUPFILE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[FILES_SP_ISDUPFILE]
    @AGGREGATEPATH VARCHAR(2000)
    AS
    SET NOCOUNT ON
    SELECT FILEID FROM DBO.FILES WHERE AGGREGATEPATH= @AGGREGATEPATH
    GO
    /****** Object: StoredProcedure [dbo].[FILES_SP_RECORDCOUNTLASTSEVENDAYS] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROC [dbo].[FILES_SP_RECORDCOUNTLASTSEVENDAYS]
    AS
    SELECT PC, COUNT(*) AS NUMFILESADDED, CONVERT(VARCHAR(12),CONVERT(SMALLDATETIME, DATEADDED, 101), 101) AS DATEADDED FROM FILES
    WHERE DATEADDED > DATEADD(DD, -9, GETDATE())
    GROUP BY PC, CONVERT(SMALLDATETIME, DATEADDED, 101)
    ORDER BY PC, CONVERT(SMALLDATETIME, DATEADDED, 101) DESC
    GO
    /****** Object: StoredProcedure [dbo].[FILESNEWLOCATIONS_SP_INSERTFILE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[FILESNEWLOCATIONS_SP_INSERTFILE]
    @AGGREGATEPATH VARCHAR(4000),
    @CREATIONDATE DATETIME,
    @FILESIZE INT,
    @NAMEOFFILE VARCHAR(2000),
    @NAMEOFZIPFILE VARCHAR(2000)
    AS
    SET NOCOUNT ON
    INSERT INTO DBO.FILESNEWLOCATIONS (AGGREGATEPATH, CREATIONDATE,FILESIZE, NAMEOFFILE, NAMEOFZIPFILE)
    VALUES(@AGGREGATEPATH,@CREATIONDATE,@FILESIZE, @NAMEOFFILE, @NAMEOFZIPFILE)
    GRANT EXECUTE ON DBO.FILESNEWLOCATIONS_SP_INSERTFILE TO [BUILTIN\USERS]
    GO
    /****** Object: StoredProcedure [dbo].[FILESNEWLOCATIONS_SP_ISDUPNEWLOCATION] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[FILESNEWLOCATIONS_SP_ISDUPNEWLOCATION]
    @AGGREGATEPATH VARCHAR(2000)
    AS
    SET NOCOUNT ON
    SELECT COUNT(*) FROM DBO.FILESNEWLOCATIONS WHERE AGGREGATEPATH= @AGGREGATEPATH
    GO
    /****** Object: StoredProcedure [dbo].[FOLDERS_SP_DELETEALLFOLDERS] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[FOLDERS_SP_DELETEALLFOLDERS]
    AS
    SET NOCOUNT ON
    DELETE FROM FOLDERS
    GO
    /****** Object: StoredProcedure [dbo].[FOLDERS_SP_INSERTFOLDER] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROC [dbo].[FOLDERS_SP_INSERTFOLDER]
    @THEPATH VARCHAR(4000),
    @FRIENDLYNAME VARCHAR(4000)
    AS
    INSERT INTO FOLDERS ([PATH], FRIENDLYNAME) VALUES (@THEPATH, @FRIENDLYNAME)
    GO
    /****** Object: StoredProcedure [dbo].[MISC_SP_SETDBSTARTDATEANDENDDATE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[MISC_SP_SETDBSTARTDATEANDENDDATE]
    @STARTDATE DATETIME,
    @ENDDATE DATETIME
    AS
    BEGIN
    DECLARE @HASDATE TINYINT
    SELECT @HASDATE = COUNT(*) FROM MISC WHERE KIND LIKE 'STARTDATE'
    IF @HASDATE > 0
    BEGIN
    UPDATE DBO.MISC
    SET DATECOL =
    CASE KIND
    WHEN 'STARTDATE' THEN @STARTDATE
    WHEN 'ENDDATE' THEN @ENDDATE
    END
    END
    ELSE
    BEGIN
    INSERT INTO DBO.MISC(KIND, DATECOL) VALUES('STARTDATE', @STARTDATE)
    INSERT INTO DBO.MISC(KIND, DATECOL) VALUES('ENDDATE', @ENDDATE)
    END
    END
    GO
    /****** Object: StoredProcedure [dbo].[PAGES_SP_FINDWORDFORSELECTEDFOLDERS] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[PAGES_SP_FINDWORDFORSELECTEDFOLDERS]
    @KEYWORD VARCHAR(500),
    @STARTDATE DATETIME,
    @ENDDATE DATETIME
    AS
    SET NOCOUNT ON
    SELECT TOP 5000 * FROM
    SELECT P.PAGENO AS PGNO,FD.FRIENDLYNAME AS FOLDER, F.CREATIONDATE, 'PAGE' AS [TYPE], F.AGGREGATEPATH AS FULLPATH FROM
    CONTAINSTABLE(PAGES, OCRTEXT, @KEYWORD) AS FULLTEXTTABLE
    INNER JOIN PAGES AS P ON P.PAGEID = FULLTEXTTABLE.[KEY]
    INNER JOIN FILES AS F ON F.FILEID = P.FILEID
    INNER JOIN FOLDERS AS FD ON CHARINDEX(FD.PATH + '\', F.AGGREGATEPATH) = 1
    WHERE F.CREATIONDATE BETWEEN @STARTDATE AND @ENDDATE
    UNION ALL
    SELECT NULL AS PGNO, FD.FRIENDLYNAME AS FOLDER, F.CREATIONDATE, 'FILE' AS [TYPE], F.AGGREGATEPATH AS FULLPATH FROM
    CONTAINSTABLE(FILES, EPOCALIPSETEXT, @KEYWORD) AS FULLTEXTTABLE
    INNER JOIN FILES AS F ON F.FILEID = FULLTEXTTABLE.[KEY]
    INNER JOIN FOLDERS AS FD ON CHARINDEX(FD.PATH + '\', F.AGGREGATEPATH) = 1
    WHERE F.CREATIONDATE BETWEEN @STARTDATE AND @ENDDATE
    ) THERESULTS
    GO
    /****** Object: StoredProcedure [dbo].[PAGES_SP_FINDWORDFORSELECTEDFOLDERS_V2] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[PAGES_SP_FINDWORDFORSELECTEDFOLDERS_V2]
    @KEYWORD VARCHAR(500),
    @STARTDATE DATETIME,
    @ENDDATE DATETIME
    AS
    SET NOCOUNT ON
    SELECT TOP 5000 * FROM
    SELECT P.PAGENO AS PGNO,FD.FRIENDLYNAME AS FOLDER, F.CREATIONDATE, 'PAGE' AS [TYPE], F.AGGREGATEPATH AS FULLPATH, F.FILESIZE FROM
    CONTAINSTABLE(PAGES, OCRTEXT, @KEYWORD) AS FULLTEXTTABLE
    INNER JOIN PAGES AS P ON P.PAGEID = FULLTEXTTABLE.[KEY]
    INNER JOIN FILES AS F ON F.FILEID = P.FILEID
    INNER JOIN FOLDERS AS FD ON CHARINDEX(FD.PATH + '\', F.AGGREGATEPATH) = 1
    WHERE F.CREATIONDATE BETWEEN @STARTDATE AND @ENDDATE
    UNION ALL
    SELECT NULL AS PGNO, FD.FRIENDLYNAME AS FOLDER, F.CREATIONDATE, 'FILE' AS [TYPE], F.AGGREGATEPATH AS FULLPATH, F.FILESIZE
    FROM
    CONTAINSTABLE(FILES, EPOCALIPSETEXT, @KEYWORD) AS FULLTEXTTABLE
    INNER JOIN FILES AS F ON F.FILEID = FULLTEXTTABLE.[KEY]
    INNER JOIN FOLDERS AS FD ON CHARINDEX(FD.PATH + '\', F.AGGREGATEPATH) = 1
    WHERE F.CREATIONDATE BETWEEN @STARTDATE AND @ENDDATE
    ) THERESULTS
    GO
    /****** Object: StoredProcedure [dbo].[PAGES_SP_GETOCRTEXT] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[PAGES_SP_GETOCRTEXT]
    @PAGENO INT,
    @AGGREGATEPATH VARCHAR(700)
    AS
    SET NOCOUNT ON
    SELECT P.OCRTEXT FROM PAGES AS P
    INNER JOIN FILES AS F ON F.FILEID = P.FILEID
    WHERE F.AGGREGATEPATH = @AGGREGATEPATH AND P.PAGENO = @PAGENO
    GO
    /****** Object: StoredProcedure [dbo].[PAGES_SP_GETOCRTEXTFORALLPAGESOFTHISFILE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROC [dbo].[PAGES_SP_GETOCRTEXTFORALLPAGESOFTHISFILE]
    @AGGREGATEPATH VARCHAR(5000)
    AS
    SELECT PAGES.OCRTEXT FROM PAGES
    INNER JOIN FILES ON FILES.FILEID = PAGES.FILEID
    WHERE FILES.AGGREGATEPATH = @AGGREGATEPATH
    ORDER BY PAGENO
    GO
    /****** Object: StoredProcedure [dbo].[PAGES_SP_INSERTPAGE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[PAGES_SP_INSERTPAGE]
    @OCRTEXT VARCHAR(MAX),
    @FILEID INT,
    @PAGENO INT
    AS
    SET NOCOUNT ON
    INSERT INTO DBO.PAGES (OCRTEXT, FILEID, PAGENO) VALUES (@OCRTEXT, @FILEID, @PAGENO)
    GO
    /****** Object: StoredProcedure [dbo].[PAGES_SP_ISDUPPAGE] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[PAGES_SP_ISDUPPAGE]
    @FILEID INT,
    @PAGENO INT
    AS
    SET NOCOUNT ON
    SELECT PAGENO FROM DBO.PAGES WHERE FILEID = @FILEID AND PAGENO = @PAGENO
    GO
    /****** Object: StoredProcedure [dbo].[usp_RaiseError] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[usp_RaiseError]
    @CustomMessage nvarchar(4000) = ' '
    AS
    -- Exit out if there is no error information to retrieve.
    IF ERROR_NUMBER() IS NULL RETURN;
    DECLARE
    @strErrorMessage NVARCHAR(4000),
    @ErrorNumber INT,
    @Severity INT,
    @ErrorState INT,
    @Line INT,
    @ProcedureName NVARCHAR(200),
    @Msg nvarchar(max);
    -- Store all the error info in some temp variables (not sure why he does this)
    SELECT -- the SELECT keyword apparently means SET in this case.
    @ErrorNumber = ERROR_NUMBER(), -- SETs the value of the @-variable.
    @Severity = ERROR_SEVERITY(), -- SETs the value of the @-variable.
    @ErrorState = ERROR_STATE(), -- SETs the value of the @-variable.
    @Line = ERROR_LINE(), -- SETs the value of the @-variable.
    @ProcedureName = ISNULL(ERROR_PROCEDURE(), '-'),
    @Msg = Error_Message();
    -- Build the message string. The "N" means literal string, and each %d is
    -- a standin for a number, and we'll populate these standins later.
    SET @strErrorMessage = @CustomMessage + N'Error %d, Severity %d, State %d, Procedure %s, Line %d, '
    + 'Message: '+ @Msg;
    RAISERROR (-- This is the built-in RAISEERROR command. Requires 2 vals, then the standin-values
    @strErrorMessage, -- You must supply two values before you can populate the standins
    @Severity, -- first value, required.
    1, -- second value, required
    @ErrorNumber, -- populates a standin
    @Severity, -- populates a standin
    @ErrorState, -- populates a standin
    @ProcedureName, -- populates a standin
    @Line -- populates a standin
    GO
    /****** Object: StoredProcedure [dbo].[usp_RebuildIndexes] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE Procedure [dbo].[usp_RebuildIndexes]
    AS
    Declare @fetch_TableName NVARCHAR(256)
    DECLARE Cursor_Tables CURSOR FOR
    SELECT Name FROM sysobjects WHERE xtype ='U'
    OPEN Cursor_Tables
    While 1 = 1 -- Begin to Loop through all tables
    BEGIN
    FETCH NEXT FROM Cursor_Tables INTO @fetch_TableName -- fetches the next table
    if @@FETCH_STATUS <> 0 break
    print '---------' + @fetch_TableName
    Declare @fetch_indexName NVARCHAR(256) -- loops through al indexes of the current table
    DECLARE Cursor_Indexes CURSOR FOR -- Looking for indexes fragmented more than 15 percent.
    SELECT name as indexName
    FROM sys.dm_db_index_physical_stats (DB_ID(DB_Name()), OBJECT_ID(@fetch_TableName), NULL, NULL, NULL) AS a
    JOIN sys.indexes AS b ON a.object_id = b.object_id AND a.index_id = b.index_id
    Where Name is not null and avg_fragmentation_in_percent > 7
    OPEN Cursor_Indexes
    WHILE 1= 1 -- Begin to Loop through all Indexes
    BEGIN
    FETCH NEXT FROM [Cursor_Indexes] INTO @fetch_indexName
    if @@FETCH_STATUS <> 0 break
    Declare @SqL nvarchar(2000) = N'
    BEGIN TRY
    ALTER INDEX ' + @fetch_indexName + ' ON ' + DB_Name() + '.dbo.' + @fetch_TableName + ' Rebuild
    END TRY
    BEGIN CATCH
    Declare @err nvarchar(2000) = ERROR_MESSAGE();
    throw 51000, @err, 1
    END CATCH'
    Execute sp_executeSQL @sql
    End -- Ends looping through all indexes
    CLOSE [Cursor_Indexes]
    DEALLOCATE [Cursor_Indexes]
    End -- Ends looping through all tables
    CLOSE Cursor_Tables
    DEALLOCATE Cursor_Tables
    GO
    /****** Object: UserDefinedFunction [dbo].[funcSplit] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE function [dbo].[funcSplit](@splitChar varchar(1), @CSV nvarchar(max))
    Returns @Results Table (Value nvarchar(max))
    As
    Begin
    Declare @lastChar nvarchar(1) = substring(@CSV, len(@CSV), 1)
    -- Make sure the string ends in a comma. If not, append one.
    if @lastChar <> @splitChar set @CSV = @CSV + @splitChar
    Declare @posOfComma int = 0
    Declare @LastPosOfComma int = 0
    While 1 = 1
    Begin
    Set @posOfComma = CHARINDEX(@splitChar ,@CSV, @LastPosOfComma)
    if @posOfComma = 0 break
    Declare @Length int = @posOfComma - @LastPosOfComma
    if @Length > 0
    Begin
    Declare @Phrase nvarchar(max) = substring(@CSV, @LastPosOfComma, @Length)
    Insert Into @Results (Value) VALUES (@Phrase)
    end
    set @LastPosOfComma = @posOfComma +1
    if @LastPosOfComma > Len(@CSV) break
    END
    Return
    End
    GO
    /****** Object: Table [dbo].[FILES] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[FILES](
    [AGGREGATEPATH] [varchar](900) NOT NULL,
    [NAMEOFFILE] [varchar](300) NOT NULL,
    [NAMEOFZIPFILE] [varchar](300) NOT NULL,
    [FILEID] [int] IDENTITY(1,1) NOT NULL,
    [CREATIONDATE] [datetime] NOT NULL,
    [EPOCALIPSETEXT] [varchar](max) NOT NULL,
    [DATEADDED] [datetime] NOT NULL,
    [PC] [varchar](30) NOT NULL,
    [FILESIZE] [int] NOT NULL,
    [ZIPPED] [bit] NOT NULL,
    CONSTRAINT [PK_FILES] PRIMARY KEY CLUSTERED
    [FILEID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
    CONSTRAINT [UQ_Files_AggregatePath] UNIQUE NONCLUSTERED
    [AGGREGATEPATH] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
    CONSTRAINT [UQ_Files_FileID] UNIQUE NONCLUSTERED
    [FILEID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    /****** Object: Table [dbo].[FilesNewLocations] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[FilesNewLocations](
    [AggregatePath] [varchar](900) NOT NULL,
    [NameOfFile] [varchar](300) NOT NULL,
    [NameOfZipFile] [varchar](300) NOT NULL,
    [LocationID] [int] IDENTITY(1,1) NOT NULL,
    [CreationDate] [datetime] NOT NULL,
    [Filesize] [int] NOT NULL,
    CONSTRAINT [PK_FilesNewLocations] PRIMARY KEY CLUSTERED
    [LocationID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
    CONSTRAINT [UQ_FilesNew_AggregatePath] UNIQUE NONCLUSTERED
    [AggregatePath] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    /****** Object: Table [dbo].[FOLDERS] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[FOLDERS](
    [FOLDERID] [int] IDENTITY(1,1) NOT NULL,
    [PATH] [varchar](900) NOT NULL,
    [FRIENDLYNAME] [nvarchar](500) NULL,
    CONSTRAINT [PK_Folders_Path] PRIMARY KEY CLUSTERED
    [PATH] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
    CONSTRAINT [UQ_Folders_FolderID] UNIQUE NONCLUSTERED
    [FOLDERID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    /****** Object: Table [dbo].[MISC] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[MISC](
    [BOOLEANCOL] [bit] NULL,
    [KIND] [nvarchar](4000) NULL,
    [STRINGCOL] [nvarchar](4000) NULL,
    [DATECOL] [datetime] NULL,
    [INTEGERCOL] [int] NULL,
    [MISCELLANEOUSID] [int] IDENTITY(1,1) NOT NULL,
    CONSTRAINT [idx_Misc_MiscellaneousID] UNIQUE NONCLUSTERED
    [MISCELLANEOUSID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    /****** Object: Table [dbo].[PAGES] Script Date: 07/29/2014 03:55:24 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[PAGES](
    [OCRTEXT] [varchar](max) NULL,
    [FILEID] [int] NOT NULL,
    [PAGENO] [int] NOT NULL,
    [PAGEID] [int] IDENTITY(1,1) NOT NULL,
    CONSTRAINT [PK_PAGES] PRIMARY KEY CLUSTERED
    [PAGEID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
    CONSTRAINT [UQ_FILEID_PAGENO] UNIQUE NONCLUSTERED
    [FILEID] ASC,
    [PAGENO] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    SET ANSI_PADDING ON
    GO
    /****** Object: Index [idx_Files_AggregatePath] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_AggregatePath] ON [dbo].[FILES]
    [AGGREGATEPATH] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    /****** Object: Index [idx_Files_CreationDate] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_CreationDate] ON [dbo].[FILES]
    [CREATIONDATE] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    /****** Object: Index [idx_Files_DateAdded] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_DateAdded] ON [dbo].[FILES]
    [DATEADDED] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    /****** Object: Index [idx_Files_FileSize] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_FileSize] ON [dbo].[FILES]
    [FILESIZE] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    SET ANSI_PADDING ON
    GO
    /****** Object: Index [idx_Files_NameOfFile] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_NameOfFile] ON [dbo].[FILES]
    [NAMEOFFILE] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    SET ANSI_PADDING ON
    GO
    /****** Object: Index [idx_Files_NameOfZipFile] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_NameOfZipFile] ON [dbo].[FILES]
    [NAMEOFZIPFILE] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    SET ANSI_PADDING ON
    GO
    /****** Object: Index [idx_Files_PC] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_PC] ON [dbo].[FILES]
    [PC] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    /****** Object: Index [idx_Files_Zipped] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Files_Zipped] ON [dbo].[FILES]
    [ZIPPED] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    SET ANSI_PADDING ON
    GO
    /****** Object: Index [idx_FilesNewLocations_AggregatePath] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_FilesNewLocations_AggregatePath] ON [dbo].[FilesNewLocations]
    [AggregatePath] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    /****** Object: Index [idx_FilesNewLocations_CreationDate] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_FilesNewLocations_CreationDate] ON [dbo].[FilesNewLocations]
    [CreationDate] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    /****** Object: Index [idx_FilesNewLocations_FileSize] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_FilesNewLocations_FileSize] ON [dbo].[FilesNewLocations]
    [Filesize] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    SET ANSI_PADDING ON
    GO
    /****** Object: Index [idx_FilesNewLocations_NameOfFile] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_FilesNewLocations_NameOfFile] ON [dbo].[FilesNewLocations]
    [NameOfFile] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    SET ANSI_PADDING ON
    GO
    /****** Object: Index [idx_FilesNewLocations_NameOfZipFile] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_FilesNewLocations_NameOfZipFile] ON [dbo].[FilesNewLocations]
    [NameOfZipFile] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    /****** Object: Index [idx_Pages_FileID] Script Date: 07/29/2014 03:55:24 PM ******/
    CREATE NONCLUSTERED INDEX [idx_Pages_FileID] ON [dbo].[PAGES]
    [FILEID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    GO
    ALTER TABLE [dbo].[FILES] ADD DEFAULT ('') FOR [NAMEOFZIPFILE]
    GO
    ALTER TABLE [dbo].[FILES] ADD DEFAULT ('') FOR [EPOCALIPSETEXT]
    GO
    ALTER TABLE [dbo].[FILES] ADD DEFAULT ((0)) FOR [ZIPPED]
    GO
    USE [master]
    GO
    ALTER DATABASE [Year2014_Aug_To_Dec] SET READ_WRITE
    GO

    8A partition function is used when you partition a table. Partitioned tables is a feature that is available only in Enterprise and Developer Edition.
    I went through the script, and there are a number of partition functions and partition schemes, but they are not used anywhere, so you should be able to ignore the error.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Create a user that can only access to one schema - please help!!

    Hi all,
    I want to create one user in a Oracle DB that can only access to one schema. I did the following:
    CREATE USER "TEST" PROFILE "DEFAULT"
    IDENTIFIED BY "test" DEFAULT TABLESPACE "USERS"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;
    GRANT SELECT ON "TESTDTA"."F0007" TO "TEST"
    GRANT "CONNECT" TO "TEST";
    I have done a test and the user TEST can access all schemas, when I only gave explicit permissions to the schema TESTDTA.
    Any suggestion/clarification???
    Many thanks in advance.
    Víctor.

    Hello Andreas and Pavan,
    I have launched the query:
    select * from dba_tab_privs
    where grantee = 'PUBLIC'
    and owner = 'PRODDTA'
    and table_name= 'F0009';
    And the result:
    GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRA HIE
    PUBLIC PRODDTA F0009 PRODDTA ALTER NO NO
    PUBLIC PRODDTA F0009 PRODDTA DELETE NO NO
    PUBLIC PRODDTA F0009 PRODDTA INDEX NO NO
    PUBLIC PRODDTA F0009 PRODDTA INSERT NO NO
    PUBLIC PRODDTA F0009 PRODDTA SELECT NO NO
    PUBLIC PRODDTA F0009 PRODDTA UPDATE NO NO
    PUBLIC PRODDTA F0009 PRODDTA REFERENCES NO NO
    PUBLIC PRODDTA F0009 PRODDTA ON COMMIT REFRESH NO NO
    PUBLIC PRODDTA F0009 PRODDTA QUERY REWRITE NO NO
    PUBLIC PRODDTA F0009 PRODDTA DEBUG NO NO
    PUBLIC PRODDTA F0009 PRODDTA FLASHBACK NO NO
    11 rows selected.
    Then I supose that I have to change the value on column GARANTEE. How can I do that?
    Thanks a lot for your help!!
    Víctor.

  • How come My Sites can only be created when logged directly onto the Sharepoint Server?

    Hello Community
       In Synchronization I populate the container with OU's that contain
    Service accounts, user accounts created in the Sharepoint farm and a
    domain local group containing a OU with all of the trusted user accounts.
       AFter populating the container I perform a User Profile Synchronization.
       After the User Profile Synchronization finishes MIISClient shows "success"
    including the OU containing the trusted user accounts.
       Although I cannot Find all of the trusted users individually in Manage User Profile I
    can find them with the peoplepicker when I add them to the web application
    and the My Site Host application.
       The problem is if I logon directly onto the Sharepoint server with an account created
    in the Sharepoint farm I can create a My Site with that account. But if a trusted user
    logs onto their computer and tries to create a My Site they get an error stating
    the page can't be displayed.
        Even if I click "sign on as a different user" on the trusted user computer
    and with a user account that was created in the Sharepoint farm and try to create a
    My Site I get the error stating the page can't be displayed.
        The reason the page can't be displayed on the trusted users computer is because although
    it can access the My Site Host application it cannot access its default.aspx page.
        So the question is how come when creating a My Site the My Site Host default.aspx page
    cannot be accessed from the trusted user computer but when creating a My Site directly on
    the Sharepoint Server the default.aspx page can be accessed and the trusted user and/or the
    user account created in the farm can access the default.aspx page and create a My Site?
        Thank you
        Shabeaut

    What does that mean "trusted user computer"?
    How many servers you have in farm?
    Are you using a single domain or there are multiple domains involved ?
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • SCCM 2012: create user/group which can only import computers, reset pxe boots

    Hi,
    We would like to give helpdesk some basic rights so they can add computers (via mac/pc name) and reset pxe-boots.
    We might grant extra rights but would like to start with these basic ones.
    I know the setup is fully different (RBAC) so your feedback how you implemented this would be highy appreciated.
    J.
    Jan Hoedt

    You can use "Custom Role Based Administration for Importing Computers" (http://blogs.technet.com/b/inside_osd/archive/2012/04/30/custom-role-based-administration-for-importing-computers.aspx)
    as a starting point. Then use "RBA Viewer" (part of the toolkit) to create your own, custom roles.
    Torsten Meringer | http://www.mssccmfaq.de

  • Database Procedure Proxies can only be created on ABAP systems running on a NewDB

    Hi ,
    I am Getting the Below Error When trying to Create a Proxy of Procedure in SAP HANA  -
    Can any body Suggest what to do ?
    I AM also Using HDB on my ABAP AS .
    Attached is the Error Screenshot For your ref.
    Thanks,
    Shivam

    Hi Shivam,
    is your primary database the HANA or is HANA used as a secondary database?
    You have to have SAP_BASIS at least 7.40 SP2 or higher and HANA has to be the primary database in your system.
    Let me know if these prerequisits are fulfilled and still it does not work.
    You can get the SAP_BASIS level from a SAPGUI, go for "System > Status..." and click on the Mangifying glass in the SAP System Data section. You may additionally past the database release information.
    Thanks & Cheers,
      Jasmin

  • NW Client 3.4 - unattend.txt -- can only be created/edited on W98 for W98

    FYI:
    After spinning my wheels, trying to figure out why the ACU.EXE and
    SETUP.EXE /ACU options wouldn't install with an UNATTEND.TXT, I dis-
    covered the problem had to do with having created the file on a Win2K
    system.
    Unpacking the Novell Client 3.4 on my Windows 2000 professional
    I mistakenly thought I could run the NCIMAN.EXE, for version 3.4,
    create the UNATTEND.TXT file, and then use this with my install.
    Unfortunately, NCIMAN.EXE senses what system you're on and saves the
    UNATTEND.TXT file under whatever format is consistant with the O/S
    you're working on. [There doesn't seem to be any way to tell NCIMAN
    to save the configuration file for a different O/S.]
    If, like myself, you miss this . . . the UNATTEND.TXT file will be created
    (or saved after editing) under a Windows 2000 format--which won't run
    on a Client 3.4 install. [You can verify the version it was saved under
    by looking at the second line of the UNATTEND.TXT file . . . the one
    that reads: "Novell_Client=" ("95" for Win95/98) or "NT" (for 2000 or
    XP).]
    'Hope this saves some others from similar grief . . .
    Steve Conrad

    [email protected] wrote:
    > FYI:
    >
    > After spinning my wheels, trying to figure out why the ACU.EXE and
    > SETUP.EXE /ACU options wouldn't install with an UNATTEND.TXT, I dis-
    > covered the problem had to do with having created the file on a Win2K
    > system.
    >
    > Unpacking the Novell Client 3.4 on my Windows 2000 professional
    > I mistakenly thought I could run the NCIMAN.EXE, for version 3.4,
    > create the UNATTEND.TXT file, and then use this with my install.
    > Unfortunately, NCIMAN.EXE senses what system you're on and saves the
    > UNATTEND.TXT file under whatever format is consistant with the O/S
    > you're working on. [There doesn't seem to be any way to tell NCIMAN
    > to save the configuration file for a different O/S.]
    >
    > If, like myself, you miss this . . . the UNATTEND.TXT file will be created
    > (or saved after editing) under a Windows 2000 format--which won't run
    > on a Client 3.4 install. [You can verify the version it was saved under
    > by looking at the second line of the UNATTEND.TXT file . . . the one
    > that reads: "Novell_Client=" ("95" for Win95/98) or "NT" (for 2000 or
    > XP).]
    >
    > 'Hope this saves some others from similar grief . . .
    >
    > Steve Conrad
    >
    >
    >
    You can also run NCIMAN, Go to File -> New File, and choose the O/S of
    choice. :-)

  • How to create one procedure which can drop and create materialized view

    Hi,
    I want to create one pl/sql procedure which can first drop materialized view CATEGORY_PK and after that create same materialized view CATEGORY_PK.
    programme is as follows:
    DROP MATERIALIZED VIEW CATEGORY_PK;
    CREATE MATERIALIZED VIEW CATEGORY_PK REFRESH FORCE WITH PRIMARY KEY AS
    SELECT cav1.ownerid AS categoryid, p.uuid AS productid ,p.domainID AS productdomainid,pav.stringvalue AS NAME
         ,pav2.stringvalue AS ID, pav3.stringvalue AS SHORT
    FROM product p, product_av pav, catalogcategory_av cav1, catalogcategory_av cav2,product_av pav2,product_av pav3
    WHERE
    cav1.NAME = 'PRODUCT_BINDING_ATTRIBUTE' AND
    cav2.NAME = 'PRODUCT_BINDING_VALUE' AND
    cav1.ownerid = cav2.ownerid AND
    p.uuid = pav.ownerid AND
              p.uuid = pav2.ownerid AND
              p.uuid = pav3.ownerid AND
    pav.NAME = cav1.stringvalue AND
              pav2.NAME = cav1.stringvalue AND
              pav2.NAME = cav1.stringvalue AND
    pav.stringvalue = cav2.stringvalue AND
              pav2.stringvalue = cav2.stringvalue AND
              pav3.stringvalue = cav2.stringvalue
    UNION
    SELECT catalogcategoryid AS categoryid, productid, repdomainid AS productdomainid,pav1.stringvalue AS NAME
         ,pav2.stringvalue AS ID, pav3.stringvalue AS SHORT
    FROM productcategoryassignment ,product_av pav1,product_av pav2,product_av pav3
         WHERE pav1.ownerid=productid
         AND pav2.ownerid=productid
         AND pav3.ownerid=productid
         AND pav1.NAME='name'
         AND pav2.NAME='productID'
         AND pav3.NAME='shortDescription';

    user498566 wrote:
    I want to create one pl/sql procedure which can first drop materialized view CATEGORY_PK and after that create same materialized view CATEGORY_PK.That sounds like a waste of time and resources. What do you hope to achieve by this? A refresh? If so, a simple refresh of the old materialized view will do.
    If you truly want to continue this road, you'll have to use the EXECUTE IMMEDIATE command to execute DDL commands from within PL/SQL.
    Regards,
    Rob.

  • After a few hours of inactivity , my screen goes white with a flashing file folder in the centre with a question mark in the centre of said folder. at this point i can only unplug the computer for it to reboot properly, then it is fine till the next go..

    After a few hours of inactivity, I return to find a white screen with a file folder in the center of the screen with a ? mark in the centre of said folder and both are flashing...am i compromised?

    No 
    Solution may be found if you search in the "More Like This" section over in the right column. 

  • Is there any system object can save the cost time of package?

    Guys, i have one question.
    Usually I get the execute update time of package in JAVA to know the performance, but there is time lost in the network, right? So I suppose to get the cost time in DB and cost time in Weblogic, two parameters together.
    In package I think at the beginning of my code write belows
    p_date := current_timestamp at time zone 'GMT';
    -- SQL code
    --Then I can get current_timestamp at time zone 'GMT' - p_date and return as a output.
    But there are too many packages, and is there any system objects save the cost time?
    thank u.

    dbms_utility.get_time. Gets the database clock time in hundreths of seconds.
    Does NOT relate to the wall clock!
    Sybrand Bakker
    Senior Oracle DBA

  • ABAP Proxy Generation -- Objects can be created only in SAP Package

    Hi,
    I am trying to generate ABAP Proxies. When i create a proxy for an interface(EMP_DETAILS_MI--outbound in my case), and assign it to package(created by developer), a pop comes up saying "Object can only be created in SAP package".
    When i try to continue, it asks for an access key for that particular object.
    Enter Key for the Object--R3TR-TABL-CO_EMP_DETAILS_MI When i register this object in servicemarketplace( by basis team) and get the license for this. It asks access key for another object  R3TR-TABL-EMP_DETAILS_DT.
    When i register this object it asks accesskey for
    R3TR-TABL-EMP_DETAILS_DT_DETAILS
    I fear if there is amy fault in my procedure. kindly let me know. I work on XI3.0 SP5 server.
    Regards,
    Siva Maranani.

    Hi siva,
    Iam in the same problem we want to create proxy in SAP namespace. Is there any workaround to create proxy in SAP namespace.
    with Regards
    shankar

  • How to create a new user in OWB that can only view other user's mappings

    Hello Everyone,
    I am new to OWB and want to know if possible to create different users that can only view other user's mappings without making any changes. Do you know if possible each user can have his own password?
    Thank you for your help!
    Jennifer

    A good starting point would be this blog posting:
    https://blogs.oracle.com/warehousebuilder/entry/build_up_multi-role_development_environment_in_owb
    I seem to recall as well from the OWB Admin class that existing objects in the repository would need to have the security updated if the additional restricted roles are created after tables/mappings/etc. so that they reflect the new security model.
    Also, for individual logins to OWB, each developer would require a separate database login.

  • Create Enhancement Point / Section ?

    Hi,
    I want to create a new enhancement point / section in a standard SAP code, how to create it. I need to create it in the code "SAPLMIGO".
    regards,
    Navneeth K.

    Hello Navneeth,
    Please be aware that this Enhancement Framework is available from netweaver2004s as i understood,or if the SAP Basis version is greater than 700
    Create a composite enhancement spot
    1.Select the package in which you want to create the enhancement spot.
    2.Open the context menu and choose Create ® Enhancement ® Composite
    Enhancement Spot.A dialog appears.
    3.Specify a name and a short description.
    Optionally, you can assign the new spot to an already existing composite enhancement spot.
    4.Choose Activate to activate the new spot.
    Create a subordinate composite enhancement spot
    1. Open the desired package.
    2. Select the composite enhancement spot to which your new subordinate composite spot will belong.
    3.Open the context menu and choose Create ® Subordinate Composite Enhancement Point.
    A dialog appears.
    4.Specify a name and a short description.
    5.Choose Activate to activate the new subordinate spot.
    Result:
    ● The selected composite enhancement spot and its newly created subordinate one are displayed in the object list in a list form (not as a tree) on the same level.
    ● Choose the composite enhancement spot and select the Spot Composites tab to check whether the new subordinate composite is properly attached.
    ● The header of the new subordinate spot has to contain the name of the composite enhancement spot to which this subordinate is attached.
    ● Use a forward navigation to Navigate from parent to child and back.
    Create a simple enhancement spot
    1. Select the package in which you want to create the simple enhancement spot.
    2.Open the context menu and choose Create ® Enhancement ® Enhancement Spot.
    A dialog appears.
    3.Specify a name and a short description.
    Optionally, you can assign the new spot to an already existing composite enhancement spot.
    4.Select the desired technology from the Technology list.
    Currently it is only possible to create enhancement spots of type “BAdI“.
    Source code plug-ins can only be created inside the editor, because they contain points and sections.
    5.Choose Activate to activate the new simple enhancement spot.
    Edit an enhancement spot
    1.Select the package and expand it.
    2.Expand the Enhancements node.
    3.Expand the Enhancement Spot node.
    4.Select the desired enhancement spot.
    5.Choose Change from the context menu.
    Choose Display if you only want to display the enhancement spot.
    Delete an enhancement spot      1.Select the package and expand it.
    2.Expand the Enhancements node.
    3.Expand the Enhancement Spot node.
    4.Select the desired enhancement spot.
    5.Choose Delete from the context menu.
    Additional informations:
    Blog link on enhancement framework
    /people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners Part1
    /people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement Part2
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series Part3
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework Part4
    /people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework Part5
    Pls check out the document for another set of notes on enhancements
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bb54c452-0801-0010-0e84-a653307fc6fc
    Hope it was of some help
    Reward if useful
    Regards
    Byju

Maybe you are looking for