devsap_new.sql

USE [DEVSAP_NEW]
GO
/****** Object:  Table [dbo].[ZT001]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZT001](
 [BUKRS] [nvarchar](4) NOT NULL,
 [BUTXT] [nvarchar](25) NOT NULL,
 [ORT01] [nvarchar](25) NOT NULL,
 [KTOPL] [nvarchar](4) NOT NULL,
 CONSTRAINT [PK_ZT001] PRIMARY KEY CLUSTERED
(
 [BUKRS] 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].[ZSKA1T]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZSKA1T](
 [KTOPL] [nvarchar](4) NULL,
 [SAKNR] [nvarchar](10) NULL,
 [KTOKS] [nvarchar](4) NULL,
 [SPRAS] [nvarchar](2) NULL,
 [TXT20] [nvarchar](20) NULL,
 [TXT50] [nvarchar](50) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[ZSKA1]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZSKA1](
 [KTOPL] [nvarchar](4) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [KTOKS] [nvarchar](4) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [TXT20] [nvarchar](20) NOT NULL,
 [TXT50] [nvarchar](50) NOT NULL,
 CONSTRAINT [PK_ZSKA1] PRIMARY KEY CLUSTERED
(
 [SAKNR] 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].[ZPROJECT_GL]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZPROJECT_GL](
 [GJAHR] [nvarchar](4) NOT NULL,
 [PERIO] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [OWAER] [nvarchar](5) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [PSPNR] [nvarchar](50) NOT NULL,
 [POST1] [nvarchar](40) NOT NULL,
 [PSPHI] [nvarchar](24) NOT NULL,
 [POSID] [nvarchar](24) NOT NULL,
 [VERNR] [nvarchar](8) NOT NULL,
 [VERNA] [nvarchar](25) NOT NULL,
 [SWOGBTR] [numeric](38, 2) NOT NULL,
 CONSTRAINT [PK_ZPROJECT_GL] PRIMARY KEY CLUSTERED
(
 [GJAHR] ASC,
 [PERIO] ASC,
 [BUKRS] ASC,
 [OWAER] ASC,
 [KOKRS] ASC,
 [KSTAR] ASC,
 [PSPNR] ASC,
 [POST1] ASC,
 [PSPHI] ASC,
 [POSID] 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].[ZPROJ]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZPROJ](
 [PSPNR] [nvarchar](24) NOT NULL,
 [POST1] [nvarchar](40) NOT NULL,
 CONSTRAINT [PK_ZPROJ] PRIMARY KEY CLUSTERED
(
 [PSPNR] 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].[ZMonthBSID]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZMonthBSID](
 [MONAT] [nvarchar](2) NOT NULL,
 [MONTH] [nvarchar](4) NOT NULL,
 CONSTRAINT [PK_ZMonthBSID] PRIMARY KEY CLUSTERED
(
 [MONAT] 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].[ZLFA1]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZLFA1](
 [LIFNR] [nvarchar](10) NOT NULL,
 [NAME1] [nvarchar](35) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 CONSTRAINT [PK_ZLFA1] PRIMARY KEY CLUSTERED
(
 [LIFNR] 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].[ZKNA1]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZKNA1](
 [KUNNR] [nvarchar](10) NOT NULL,
 [NAME1] [nvarchar](35) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 CONSTRAINT [PK_ZKNA1] PRIMARY KEY CLUSTERED
(
 [KUNNR] 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].[ZFicalYear]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZFicalYear](
 [GJAHR] [nvarchar](4) NOT NULL,
 [YEAR] [nvarchar](6) NOT NULL,
 CONSTRAINT [PK_ZFicalYear] PRIMARY KEY CLUSTERED
(
 [GJAHR] 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].[ZCURRENCY]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZCURRENCY](
 [OWAER] [nvarchar](5) NOT NULL,
 [CURRENCY] [nvarchar](6) NULL,
 CONSTRAINT [PK_ZCURRENCY] PRIMARY KEY CLUSTERED
(
 [OWAER] 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].[ZCSKS]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZCSKS](
 [KOSTL] [nvarchar](10) NOT NULL,
 [VERAK] [nvarchar](20) NULL,
 [ABTEI] [nvarchar](12) NULL,
 CONSTRAINT [PK_ZCSKS] PRIMARY KEY CLUSTERED
(
 [KOSTL] 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].[ZCOEP]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZCOEP](
 [GJAHR] [nvarchar](4) NOT NULL,
 [PERIO] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [OWAER] [nvarchar](5) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [ABTEI] [nvarchar](12) NULL,
 [SWOGBTR] [numeric](38, 2) NOT NULL,
 CONSTRAINT [PK_ZCOEP] PRIMARY KEY CLUSTERED
(
 [GJAHR] ASC,
 [PERIO] ASC,
 [BUKRS] ASC,
 [OWAER] ASC,
 [KOKRS] ASC,
 [KSTAR] ASC,
 [KOSTL] 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].[TGSBT]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TGSBT](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [GTEXT] [nvarchar](30) NOT NULL,
 CONSTRAINT [TGSBT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [GSBER] 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].[TGSB]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TGSB](
 [MANDT] [nvarchar](3) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [GSBER_KONS] [nvarchar](4) NOT NULL,
 [GSBER_GLOB] [nvarchar](4) NOT NULL,
 CONSTRAINT [TGSB~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [GSBER] 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].[TCURW]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TCURW](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [CURVW] [nvarchar](40) NOT NULL,
 CONSTRAINT [TCURW~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [KURST] 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].[TCURV]    Script Date: 05/09/2014 15:08:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TCURV](
 [MANDT] [nvarchar](3) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [XINVR] [nvarchar](1) NOT NULL,
 [BWAER] [nvarchar](5) NOT NULL,
 [XBWRL] [nvarchar](1) NOT NULL,
 [GKUZU] [nvarchar](4) NOT NULL,
 [BKUZU] [nvarchar](4) NOT NULL,
 [XFIXD] [nvarchar](1) NOT NULL,
 [XEURO] [nvarchar](1) NOT NULL,
 CONSTRAINT [TCURV~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KURST] 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].[TCURT]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TCURT](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [LTEXT] [nvarchar](40) NOT NULL,
 [KTEXT] [nvarchar](15) NOT NULL,
 CONSTRAINT [TCURT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [WAERS] 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].[TCURR]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TCURR](
 [MANDT] [nvarchar](3) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [FCURR] [nvarchar](5) NOT NULL,
 [TCURR] [nvarchar](5) NOT NULL,
 [GDATU] [nvarchar](10) NOT NULL,
 [UKURS] [decimal](9, 5) NOT NULL,
 [FFACT] [decimal](9, 0) NOT NULL,
 [TFACT] [decimal](9, 0) NOT NULL,
 CONSTRAINT [TCURR~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KURST] ASC,
 [FCURR] ASC,
 [TCURR] ASC,
 [GDATU] 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].[TCURF]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TCURF](
 [MANDT] [nvarchar](3) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [FCURR] [nvarchar](5) NOT NULL,
 [TCURR] [nvarchar](5) NOT NULL,
 [GDATU] [nvarchar](8) NOT NULL,
 [FFACT] [decimal](9, 0) NOT NULL,
 [TFACT] [decimal](9, 0) NOT NULL,
 [ABWCT] [nvarchar](4) NOT NULL,
 [ABWGA] [nvarchar](8) NOT NULL,
 CONSTRAINT [TCURF~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KURST] ASC,
 [FCURR] ASC,
 [TCURR] ASC,
 [GDATU] 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].[TCURC]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TCURC](
 [MANDT] [nvarchar](3) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [ISOCD] [nvarchar](3) NOT NULL,
 [ALTWR] [nvarchar](3) NOT NULL,
 [GDATU] [nvarchar](8) NOT NULL,
 [XPRIMARY] [nvarchar](1) NOT NULL,
 CONSTRAINT [TCURC~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [WAERS] 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].[T528T]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T528T](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRSL] [nvarchar](1) NOT NULL,
 [OTYPE] [nvarchar](2) NOT NULL,
 [PLANS] [nvarchar](8) NOT NULL,
 [ENDDA] [nvarchar](8) NOT NULL,
 [BEGDA] [nvarchar](8) NOT NULL,
 [PLSTX] [nvarchar](25) NOT NULL,
 [MAINT] [nvarchar](1) NOT NULL,
 CONSTRAINT [T528T~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRSL] ASC,
 [OTYPE] ASC,
 [PLANS] ASC,
 [ENDDA] 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].[T012T]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T012T](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [TEXT1] [nvarchar](50) NOT NULL,
 CONSTRAINT [T012T~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [BUKRS] ASC,
 [HBKID] ASC,
 [HKTID] 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].[T012]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T012](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [BANKS] [nvarchar](3) NOT NULL,
 [BANKL] [nvarchar](15) NOT NULL,
 [TELF1] [nvarchar](16) NOT NULL,
 [STCD1] [nvarchar](16) NOT NULL,
 [NAME1] [nvarchar](30) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [BUPLA] [nvarchar](4) NOT NULL,
 [VPAST] [nvarchar](1) NOT NULL,
 CONSTRAINT [T012~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [HBKID] 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].[T005T]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T005T](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [LANDX] [nvarchar](15) NOT NULL,
 [NATIO] [nvarchar](15) NOT NULL,
 [LANDX50] [nvarchar](50) NOT NULL,
 [NATIO50] [nvarchar](50) NOT NULL,
 [PRQ_SPREGT] [nvarchar](30) NOT NULL,
 CONSTRAINT [T005T~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [LAND1] 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].[T005]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T005](
 [MANDT] [nvarchar](3) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [LANDK] [nvarchar](3) NOT NULL,
 [LNPLZ] [nvarchar](2) NOT NULL,
 [PRPLZ] [nvarchar](1) NOT NULL,
 [ADDRS] [nvarchar](3) NOT NULL,
 [XPLZS] [nvarchar](1) NOT NULL,
 [XPLPF] [nvarchar](1) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [XLAND] [nvarchar](1) NOT NULL,
 [XADDR] [nvarchar](1) NOT NULL,
 [NMFMT] [nvarchar](2) NOT NULL,
 [XREGS] [nvarchar](1) NOT NULL,
 [XPLST] [nvarchar](1) NOT NULL,
 [INTCA] [nvarchar](2) NOT NULL,
 [INTCA3] [nvarchar](3) NOT NULL,
 [INTCN3] [nvarchar](3) NOT NULL,
 [XEGLD] [nvarchar](1) NOT NULL,
 [XSKFN] [nvarchar](1) NOT NULL,
 [XMWSN] [nvarchar](1) NOT NULL,
 [LNBKN] [nvarchar](2) NOT NULL,
 [PRBKN] [nvarchar](1) NOT NULL,
 [LNBLZ] [nvarchar](2) NOT NULL,
 [PRBLZ] [nvarchar](1) NOT NULL,
 [LNPSK] [nvarchar](2) NOT NULL,
 [PRPSK] [nvarchar](1) NOT NULL,
 [XPRBK] [nvarchar](1) NOT NULL,
 [BNKEY] [nvarchar](1) NOT NULL,
 [LNBKS] [nvarchar](2) NOT NULL,
 [PRBKS] [nvarchar](1) NOT NULL,
 [XPRSO] [nvarchar](1) NOT NULL,
 [PRUIN] [nvarchar](1) NOT NULL,
 [UINLN] [nvarchar](2) NOT NULL,
 [LNST1] [nvarchar](2) NOT NULL,
 [PRST1] [nvarchar](1) NOT NULL,
 [LNST2] [nvarchar](2) NOT NULL,
 [PRST2] [nvarchar](1) NOT NULL,
 [LANDD] [nvarchar](3) NOT NULL,
 [KALSM] [nvarchar](6) NOT NULL,
 [LANDA] [nvarchar](3) NOT NULL,
 [WECHF] [nvarchar](3) NOT NULL,
 [LKVRZ] [nvarchar](7) NOT NULL,
 [INTCN] [nvarchar](3) NOT NULL,
 [XDEZP] [nvarchar](1) NOT NULL,
 [DATFM] [nvarchar](1) NOT NULL,
 [CURIN] [nvarchar](5) NOT NULL,
 [CURHA] [nvarchar](5) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [AFAPL] [nvarchar](4) NOT NULL,
 [GWGWRT] [decimal](13, 2) NOT NULL,
 [UMRWRT] [decimal](13, 2) NOT NULL,
 [KZRBWB] [nvarchar](1) NOT NULL,
 [XANZUM] [nvarchar](1) NOT NULL,
 [CTNCONCEPT] [nvarchar](4) NOT NULL,
 [KZSRV] [nvarchar](1) NOT NULL,
 [XXINVE] [nvarchar](1) NOT NULL,
 [SUREG] [nvarchar](8) NOT NULL,
 [LANDGRP_VP] [nvarchar](2) NOT NULL,
 CONSTRAINT [T005~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LAND1] 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].[T001P]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T001P](
 [MANDT] [nvarchar](3) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [BTRTL] [nvarchar](4) NOT NULL,
 [BTEXT] [nvarchar](15) NOT NULL,
 [MOLGA] [nvarchar](2) NOT NULL,
 [MOURA] [nvarchar](2) NOT NULL,
 [TRFGB] [nvarchar](2) NOT NULL,
 [TRFAR] [nvarchar](2) NOT NULL,
 [MOABW] [nvarchar](2) NOT NULL,
 [MOABT] [nvarchar](2) NOT NULL,
 [MOTAT] [nvarchar](2) NOT NULL,
 [MOVER] [nvarchar](2) NOT NULL,
 [URLKL] [nvarchar](2) NOT NULL,
 [JUPER] [nvarchar](4) NOT NULL,
 [MOBDE] [nvarchar](2) NOT NULL,
 [MOZKO] [nvarchar](2) NOT NULL,
 [MOPTB] [nvarchar](2) NOT NULL,
 [WKTYP] [nvarchar](1) NOT NULL,
 [MOSTA] [nvarchar](2) NOT NULL,
 [MOBUR] [nvarchar](2) NOT NULL,
 [MOFID] [nvarchar](2) NOT NULL,
 [MOSID] [nvarchar](2) NOT NULL,
 [MODSZ] [nvarchar](2) NOT NULL,
 CONSTRAINT [T001P~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [WERKS] ASC,
 [BTRTL] 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].[T001B]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T001B](
 [MANDT] [nvarchar](3) NOT NULL,
 [RRCTY] [nvarchar](1) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [MKOAR] [nvarchar](1) NOT NULL,
 [BKONT] [nvarchar](10) NOT NULL,
 [VKONT] [nvarchar](10) NOT NULL,
 [FRYE1] [nvarchar](4) NOT NULL,
 [FRPE1] [nvarchar](3) NOT NULL,
 [TOYE1] [nvarchar](4) NOT NULL,
 [TOPE1] [nvarchar](3) NOT NULL,
 [FRYE2] [nvarchar](4) NOT NULL,
 [FRPE2] [nvarchar](3) NOT NULL,
 [TOYE2] [nvarchar](4) NOT NULL,
 [TOPE2] [nvarchar](3) NOT NULL,
 [BRGRU] [nvarchar](4) NOT NULL,
 CONSTRAINT [T001B~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [RRCTY] ASC,
 [BUKRS] ASC,
 [MKOAR] ASC,
 [BKONT] 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].[T001]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[T001](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [BUTXT] [nvarchar](25) NOT NULL,
 [ORT01] [nvarchar](25) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [SPRAS] [nvarchar](3) NOT NULL,
 [KTOPL] [nvarchar](4) NOT NULL,
 [WAABW] [nvarchar](2) NOT NULL,
 [PERIV] [nvarchar](2) NOT NULL,
 [KOKFI] [nvarchar](1) NOT NULL,
 [RCOMP] [nvarchar](6) NOT NULL,
 [ADRNR] [nvarchar](10) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 [FIKRS] [nvarchar](4) NOT NULL,
 [XFMCO] [nvarchar](1) NOT NULL,
 [XFMCB] [nvarchar](1) NOT NULL,
 [XFMCA] [nvarchar](1) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [FMHRDATE] [nvarchar](50) NOT NULL,
 [BUVAR] [nvarchar](1) NOT NULL,
 [FDBUK] [nvarchar](4) NOT NULL,
 [XFDIS] [nvarchar](1) NOT NULL,
 [XVALV] [nvarchar](1) NOT NULL,
 [XSKFN] [nvarchar](1) NOT NULL,
 [KKBER] [nvarchar](4) NOT NULL,
 [XMWSN] [nvarchar](1) NOT NULL,
 [MREGL] [nvarchar](4) NOT NULL,
 [XGSBE] [nvarchar](1) NOT NULL,
 [XGJRV] [nvarchar](1) NOT NULL,
 [XKDFT] [nvarchar](1) NOT NULL,
 [XPROD] [nvarchar](1) NOT NULL,
 [XEINK] [nvarchar](1) NOT NULL,
 [XJVAA] [nvarchar](1) NOT NULL,
 [XVVWA] [nvarchar](1) NOT NULL,
 [XSLTA] [nvarchar](1) NOT NULL,
 [XFDMM] [nvarchar](1) NOT NULL,
 [XFDSD] [nvarchar](1) NOT NULL,
 [XEXTB] [nvarchar](1) NOT NULL,
 [EBUKR] [nvarchar](4) NOT NULL,
 [KTOP2] [nvarchar](4) NOT NULL,
 [UMKRS] [nvarchar](4) NOT NULL,
 [BUKRS_GLOB] [nvarchar](6) NOT NULL,
 [FSTVA] [nvarchar](4) NOT NULL,
 [OPVAR] [nvarchar](4) NOT NULL,
 [XCOVR] [nvarchar](1) NOT NULL,
 [TXKRS] [nvarchar](1) NOT NULL,
 [WFVAR] [nvarchar](4) NOT NULL,
 [XBBBF] [nvarchar](1) NOT NULL,
 [XBBBE] [nvarchar](1) NOT NULL,
 [XBBBA] [nvarchar](1) NOT NULL,
 [XBBKO] [nvarchar](1) NOT NULL,
 [XSTDT] [nvarchar](1) NOT NULL,
 [MWSKV] [nvarchar](2) NOT NULL,
 [MWSKA] [nvarchar](2) NOT NULL,
 [IMPDA] [nvarchar](1) NOT NULL,
 [XNEGP] [nvarchar](1) NOT NULL,
 [XKKBI] [nvarchar](1) NOT NULL,
 [WT_NEWWT] [nvarchar](1) NOT NULL,
 [PP_PDATE] [nvarchar](1) NOT NULL,
 [INFMT] [nvarchar](4) NOT NULL,
 [FSTVARE] [nvarchar](4) NOT NULL,
 [KOPIM] [nvarchar](1) NOT NULL,
 [DKWEG] [nvarchar](1) NOT NULL,
 [OFFSACCT] [nvarchar](1) NOT NULL,
 [BAPOVAR] [nvarchar](2) NOT NULL,
 [XCOS] [nvarchar](1) NOT NULL,
 [XCESSION] [nvarchar](1) NOT NULL,
 [XSPLT] [nvarchar](1) NOT NULL,
 [SURCCM] [nvarchar](1) NOT NULL,
 [DTPROV] [nvarchar](2) NOT NULL,
 [DTAMTC] [nvarchar](2) NOT NULL,
 [DTTAXC] [nvarchar](2) NOT NULL,
 [DTTDSP] [nvarchar](2) NOT NULL,
 [DTAXR] [nvarchar](4) NOT NULL,
 [XVATDATE] [nvarchar](1) NOT NULL,
 [FM_DERIVE_ACC] [nvarchar](1) NOT NULL,
 CONSTRAINT [T001~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] 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].[SSIS_Configurations]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SSIS_Configurations](
 [ConfigurationFilter] [nvarchar](255) NOT NULL,
 [ConfiguredValue] [nvarchar](255) NULL,
 [PackagePath] [nvarchar](255) NOT NULL,
 [ConfiguredValueType] [nvarchar](20) NOT NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[SKB1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SKB1](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [BEGRU] [nvarchar](4) NOT NULL,
 [BUSAB] [nvarchar](2) NOT NULL,
 [DATLZ] [nvarchar](8) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [FDGRV] [nvarchar](10) NOT NULL,
 [FDLEV] [nvarchar](2) NOT NULL,
 [FIPLS] [nvarchar](3) NOT NULL,
 [FSTAG] [nvarchar](4) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [KDFSL] [nvarchar](4) NOT NULL,
 [MITKZ] [nvarchar](1) NOT NULL,
 [MWSKZ] [nvarchar](2) NOT NULL,
 [STEXT] [nvarchar](50) NOT NULL,
 [VZSKZ] [nvarchar](2) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [WMETH] [nvarchar](2) NOT NULL,
 [XGKON] [nvarchar](1) NOT NULL,
 [XINTB] [nvarchar](1) NOT NULL,
 [XKRES] [nvarchar](1) NOT NULL,
 [XLOEB] [nvarchar](1) NOT NULL,
 [XNKON] [nvarchar](1) NOT NULL,
 [XOPVW] [nvarchar](1) NOT NULL,
 [XSPEB] [nvarchar](1) NOT NULL,
 [ZINDT] [nvarchar](8) NOT NULL,
 [ZINRT] [nvarchar](2) NOT NULL,
 [ZUAWA] [nvarchar](3) NOT NULL,
 [ALTKT] [nvarchar](10) NOT NULL,
 [XMITK] [nvarchar](1) NOT NULL,
 [RECID] [nvarchar](2) NOT NULL,
 [FIPOS] [nvarchar](24) NOT NULL,
 [XMWNO] [nvarchar](1) NOT NULL,
 [XSALH] [nvarchar](1) NOT NULL,
 [BEWGP] [nvarchar](10) NOT NULL,
 [INFKY] [nvarchar](8) NOT NULL,
 [TOGRU] [nvarchar](4) NOT NULL,
 CONSTRAINT [SKB1~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [SAKNR] 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].[SKAT]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SKAT](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [KTOPL] [nvarchar](4) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [TXT20] [nvarchar](20) NOT NULL,
 [TXT50] [nvarchar](50) NOT NULL,
 [MCOD1] [nvarchar](25) NOT NULL,
 CONSTRAINT [SKAT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [KTOPL] ASC,
 [SAKNR] 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].[SKA1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[SKA1](
 [MANDT] [nvarchar](3) NOT NULL,
 [KTOPL] [nvarchar](4) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [XBILK] [nvarchar](1) NOT NULL,
 [SAKAN] [nvarchar](10) NOT NULL,
 [BILKT] [nvarchar](10) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [GVTYP] [nvarchar](2) NOT NULL,
 [KTOKS] [nvarchar](4) NOT NULL,
 [MUSTR] [nvarchar](10) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [XLOEV] [nvarchar](1) NOT NULL,
 [XSPEA] [nvarchar](1) NOT NULL,
 [XSPEB] [nvarchar](1) NOT NULL,
 [XSPEP] [nvarchar](1) NOT NULL,
 [MCOD1] [nvarchar](25) NOT NULL,
 [FUNC_AREA] [nvarchar](16) NOT NULL,
 CONSTRAINT [SKA1~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KTOPL] ASC,
 [SAKNR] 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].[REGUV]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[REGUV](
 [MANDT] [nvarchar](3) NOT NULL,
 [LAUFD] [nvarchar](8) NOT NULL,
 [LAUFI] [nvarchar](6) NOT NULL,
 [XVORE] [nvarchar](1) NOT NULL,
 [XVORB] [nvarchar](1) NOT NULL,
 [XECHT] [nvarchar](1) NOT NULL,
 [XBELG] [nvarchar](1) NOT NULL,
 [XDELE] [nvarchar](1) NOT NULL,
 [ANZER] [decimal](7, 0) NOT NULL,
 [ANZGB] [decimal](7, 0) NOT NULL,
 [FDEBI] [nvarchar](8) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [FILZU] [nvarchar](4) NOT NULL,
 [BUPLA] [nvarchar](4) NOT NULL,
 CONSTRAINT [REGUV~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LAUFD] ASC,
 [LAUFI] 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].[REGUS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[REGUS](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOART] [nvarchar](1) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [KONKO] [nvarchar](10) NOT NULL,
 [LAUFD] [nvarchar](8) NOT NULL,
 [LAUFI] [nvarchar](6) NOT NULL,
 [UMSKL] [nvarchar](10) NOT NULL,
 CONSTRAINT [REGUS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOART] ASC,
 [BUKRS] ASC,
 [KONKO] ASC,
 [LAUFD] ASC,
 [LAUFI] 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].[REGUH]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[REGUH](
 [MANDT] [nvarchar](3) NOT NULL,
 [LAUFD] [nvarchar](8) NOT NULL,
 [LAUFI] [nvarchar](6) NOT NULL,
 [XVORL] [nvarchar](1) NOT NULL,
 [ZBUKR] [nvarchar](4) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [EMPFG] [nvarchar](16) NOT NULL,
 [VBLNR] [nvarchar](10) NOT NULL,
 [AVISG] [nvarchar](1) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [SRTGB] [nvarchar](4) NOT NULL,
 [ANRED] [nvarchar](15) NOT NULL,
 [NAME1] [nvarchar](35) NOT NULL,
 [NAME2] [nvarchar](35) NOT NULL,
 [NAME3] [nvarchar](35) NOT NULL,
 [NAME4] [nvarchar](35) NOT NULL,
 [PSTLZ] [nvarchar](10) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 [STRAS] [nvarchar](35) NOT NULL,
 [PFACH] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [STCD1] [nvarchar](16) NOT NULL,
 [WEVWV] [nvarchar](1) NOT NULL,
 [ZANRE] [nvarchar](15) NOT NULL,
 [ZNME1] [nvarchar](35) NOT NULL,
 [ZNME2] [nvarchar](35) NOT NULL,
 [ZNME3] [nvarchar](35) NOT NULL,
 [ZNME4] [nvarchar](35) NOT NULL,
 [ZPSTL] [nvarchar](10) NOT NULL,
 [ZORT1] [nvarchar](35) NOT NULL,
 [ZSTRA] [nvarchar](35) NOT NULL,
 [ZPFAC] [nvarchar](10) NOT NULL,
 [ZLAND] [nvarchar](3) NOT NULL,
 [ZREGI] [nvarchar](3) NOT NULL,
 [ZBNKS] [nvarchar](3) NOT NULL,
 [ZBNKN] [nvarchar](18) NOT NULL,
 [ZBNKL] [nvarchar](15) NOT NULL,
 [ZBKON] [nvarchar](2) NOT NULL,
 [ZBVTY] [nvarchar](4) NOT NULL,
 [ZSWIF] [nvarchar](11) NOT NULL,
 [XEZER] [nvarchar](1) NOT NULL,
 [ZSPRA] [nvarchar](1) NOT NULL,
 [ZALDT] [nvarchar](8) NOT NULL,
 [RZAWE] [nvarchar](1) NOT NULL,
 [RUMSK] [nvarchar](1) NOT NULL,
 [RZUMS] [nvarchar](1) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [HKTIW] [nvarchar](5) NOT NULL,
 [HBKIW] [nvarchar](5) NOT NULL,
 [BVTYP] [nvarchar](4) NOT NULL,
 [UBKON] [nvarchar](2) NOT NULL,
 [UBKNT] [nvarchar](18) NOT NULL,
 [UBNKS] [nvarchar](3) NOT NULL,
 [UBNKL] [nvarchar](15) NOT NULL,
 [UBHKT] [nvarchar](10) NOT NULL,
 [VALUT] [nvarchar](8) NOT NULL,
 [CRVAL] [nvarchar](8) NOT NULL,
 [ANFAE] [nvarchar](8) NOT NULL,
 [WEFAE] [nvarchar](8) NOT NULL,
 [RBETR] [decimal](13, 2) NOT NULL,
 [RSKON] [decimal](13, 2) NOT NULL,
 [RWBTR] [decimal](13, 2) NOT NULL,
 [RWSKT] [decimal](13, 2) NOT NULL,
 [RSPE1] [decimal](11, 2) NOT NULL,
 [RSPE2] [decimal](11, 2) NOT NULL,
 [RPOST] [decimal](5, 0) NOT NULL,
 [RTEXT] [decimal](5, 0) NOT NULL,
 [RSPM1] [decimal](11, 2) NOT NULL,
 [RSPM2] [decimal](11, 2) NOT NULL,
 [WEHMX] [decimal](13, 2) NOT NULL,
 [WEFMX] [decimal](13, 2) NOT NULL,
 [WEHRS] [decimal](13, 2) NOT NULL,
 [WEFRS] [decimal](13, 2) NOT NULL,
 [WEAMX] [decimal](3, 0) NOT NULL,
 [BUSAB] [nvarchar](2) NOT NULL,
 [EIKTO] [nvarchar](12) NOT NULL,
 [XINVE] [nvarchar](1) NOT NULL,
 [WDATE] [nvarchar](8) NOT NULL,
 [XAEND] [nvarchar](1) NOT NULL,
 [ZLSPR] [nvarchar](1) NOT NULL,
 [DTAWS] [nvarchar](2) NOT NULL,
 [DTAMS] [nvarchar](1) NOT NULL,
 [KURSF] [decimal](9, 5) NOT NULL,
 [ABWAE] [nvarchar](5) NOT NULL,
 [SKVHW] [decimal](13, 2) NOT NULL,
 [SKVFW] [decimal](13, 2) NOT NULL,
 [DSKVH] [decimal](13, 2) NOT NULL,
 [ZPST2] [nvarchar](10) NOT NULL,
 [PAYGR] [nvarchar](20) NOT NULL,
 [ZBNKY] [nvarchar](15) NOT NULL,
 [UBNKY] [nvarchar](15) NOT NULL,
 [PSTL2] [nvarchar](10) NOT NULL,
 [ABSBU] [nvarchar](4) NOT NULL,
 [RBET2] [decimal](13, 2) NOT NULL,
 [RBET3] [decimal](13, 2) NOT NULL,
 [RSKO2] [decimal](13, 2) NOT NULL,
 [RSKO3] [decimal](13, 2) NOT NULL,
 [KURS2] [decimal](9, 5) NOT NULL,
 [KURS3] [decimal](9, 5) NOT NULL,
 [BKREF] [nvarchar](20) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [ZORT2] [nvarchar](35) NOT NULL,
 [ZTLFX] [nvarchar](31) NOT NULL,
 [XSIWE] [nvarchar](1) NOT NULL,
 [ZPFOR] [nvarchar](35) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [SEQNR] [nvarchar](5) NOT NULL,
 [BTZNR] [varbinary](1) NULL,
 [AUSFD] [nvarchar](8) NOT NULL,
 [EDIAV] [nvarchar](1) NOT NULL,
 [IDOC_NUM_AVIS] [nvarchar](16) NOT NULL,
 [EDIBN] [nvarchar](1) NOT NULL,
 [IDOC_NUM] [nvarchar](16) NOT NULL,
 [ZTELF] [nvarchar](20) NOT NULL,
 [ZTELX] [nvarchar](30) NOT NULL,
 [KOINH] [nvarchar](60) NOT NULL,
 [DTWS1] [nvarchar](2) NOT NULL,
 [DTWS2] [nvarchar](2) NOT NULL,
 [DTWS3] [nvarchar](2) NOT NULL,
 [DTWS4] [nvarchar](2) NOT NULL,
 [ZSTC1] [nvarchar](16) NOT NULL,
 [KIDNO] [nvarchar](30) NOT NULL,
 [PYORD] [nvarchar](10) NOT NULL,
 [REGIO] [nvarchar](3) NOT NULL,
 [TEXT] [nvarchar](29) NOT NULL,
 [BTYP1] [nvarchar](1) NOT NULL,
 [BNKS1] [nvarchar](3) NOT NULL,
 [BNKL1] [nvarchar](15) NOT NULL,
 [BNKN1] [nvarchar](18) NOT NULL,
 [BKON1] [nvarchar](2) NOT NULL,
 [BKRF1] [nvarchar](20) NOT NULL,
 [BTYP2] [nvarchar](1) NOT NULL,
 [BNKS2] [nvarchar](3) NOT NULL,
 [BNKL2] [nvarchar](15) NOT NULL,
 [BNKN2] [nvarchar](18) NOT NULL,
 [BKON2] [nvarchar](2) NOT NULL,
 [BKRF2] [nvarchar](20) NOT NULL,
 [BTYP3] [nvarchar](1) NOT NULL,
 [BNKS3] [nvarchar](3) NOT NULL,
 [BNKL3] [nvarchar](15) NOT NULL,
 [BNKN3] [nvarchar](18) NOT NULL,
 [BKON3] [nvarchar](2) NOT NULL,
 [BKRF3] [nvarchar](20) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [HKONT] [nvarchar](10) NOT NULL,
 [ALEBN] [nvarchar](1) NOT NULL,
 [XKDFB] [nvarchar](1) NOT NULL,
 [SRTBP] [nvarchar](4) NOT NULL,
 [FPM_KEY] [nvarchar](15) NOT NULL,
 [GRPNO] [int] NOT NULL,
 [SRTF1] [nvarchar](38) NOT NULL,
 [SRTF2] [nvarchar](56) NOT NULL,
 [XCORR] [nvarchar](1) NOT NULL,
 [XAVIS] [nvarchar](1) NOT NULL,
 [XCOPM] [nvarchar](1) NOT NULL,
 [DORIGIN] [nvarchar](8) NOT NULL,
 [RFTTRN] [nvarchar](20) NOT NULL,
 [ZADNR] [nvarchar](10) NOT NULL,
 [ADRNR] [nvarchar](10) NOT NULL,
 [ZIBAN] [nvarchar](34) NOT NULL,
 [FM_STATUS] [nvarchar](1) NOT NULL,
 [FILE_NBR] [nvarchar](6) NOT NULL,
 CONSTRAINT [REGUH~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LAUFD] ASC,
 [LAUFI] ASC,
 [XVORL] ASC,
 [ZBUKR] ASC,
 [LIFNR] ASC,
 [KUNNR] ASC,
 [EMPFG] ASC,
 [VBLNR] 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].[REGUA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[REGUA](
 [MANDT] [nvarchar](3) NOT NULL,
 [LAUFD] [nvarchar](8) NOT NULL,
 [LAUFI] [nvarchar](6) NOT NULL,
 [ZBUKR] [nvarchar](4) NOT NULL,
 [VERSN] [nvarchar](4) NOT NULL,
 [UNAME] [nvarchar](12) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [UZEIT] [nvarchar](6) NOT NULL,
 CONSTRAINT [REGUA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LAUFD] ASC,
 [LAUFI] ASC,
 [ZBUKR] ASC,
 [VERSN] 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].[PRPS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[PRPS](
 [MANDT] [nvarchar](3) NOT NULL,
 [PSPNR] [nvarchar](24) NOT NULL,
 [POSID] [nvarchar](24) NOT NULL,
 [POST1] [nvarchar](40) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [PSPHI] [nvarchar](24) NOT NULL,
 [POSKI] [nvarchar](16) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [AENAM] [nvarchar](12) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [VERNR] [nvarchar](8) NOT NULL,
 [VERNA] [nvarchar](25) NOT NULL,
 [ASTNR] [nvarchar](8) NOT NULL,
 [ASTNA] [nvarchar](25) NOT NULL,
 [PBUKR] [nvarchar](4) NOT NULL,
 [PGSBR] [nvarchar](4) NOT NULL,
 [PKOKR] [nvarchar](4) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [PRART] [nvarchar](2) NOT NULL,
 [STUFE] [tinyint] NOT NULL,
 [PLAKZ] [nvarchar](1) NOT NULL,
 [BELKZ] [nvarchar](1) NOT NULL,
 [FAKKZ] [nvarchar](1) NOT NULL,
 [NPFAZ] [nvarchar](1) NOT NULL,
 [ZUORD] [nvarchar](1) NOT NULL,
 [TRMEQ] [nvarchar](1) NOT NULL,
 [KVEWE] [nvarchar](1) NOT NULL,
 [KAPPL] [nvarchar](2) NOT NULL,
 [KALSM] [nvarchar](6) NOT NULL,
 [ZSCHL] [nvarchar](6) NOT NULL,
 [ABGSL] [nvarchar](6) NOT NULL,
 [AKOKR] [nvarchar](4) NOT NULL,
 [AKSTL] [nvarchar](10) NOT NULL,
 [FKOKR] [nvarchar](4) NOT NULL,
 [FKSTL] [nvarchar](10) NOT NULL,
 [FABKL] [nvarchar](2) NOT NULL,
 [PSPRI] [nvarchar](1) NOT NULL,
 [EQUNR] [nvarchar](18) NOT NULL,
 [TPLNR] [nvarchar](40) NOT NULL,
 [PWPOS] [nvarchar](5) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [TXTSP] [nvarchar](2) NOT NULL,
 [SLWID] [nvarchar](7) NOT NULL,
 [USR00] [nvarchar](20) NOT NULL,
 [USR01] [nvarchar](20) NOT NULL,
 [USR02] [nvarchar](10) NOT NULL,
 [USR03] [nvarchar](10) NOT NULL,
 [USR04] [decimal](13, 3) NOT NULL,
 [USE04] [nvarchar](3) NOT NULL,
 [USR05] [decimal](13, 3) NOT NULL,
 [USE05] [nvarchar](3) NOT NULL,
 [USR06] [decimal](13, 3) NOT NULL,
 [USE06] [nvarchar](5) NOT NULL,
 [USR07] [decimal](13, 3) NOT NULL,
 [USE07] [nvarchar](5) NOT NULL,
 [USR08] [nvarchar](8) NOT NULL,
 [USR09] [nvarchar](8) NOT NULL,
 [USR10] [nvarchar](1) NOT NULL,
 [USR11] [nvarchar](1) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [KTRG] [nvarchar](12) NOT NULL,
 [BERST] [nvarchar](16) NOT NULL,
 [BERTR] [nvarchar](16) NOT NULL,
 [BERKO] [nvarchar](16) NOT NULL,
 [BERBU] [nvarchar](16) NOT NULL,
 [CLASF] [nvarchar](1) NOT NULL,
 [SPSNR] [nvarchar](24) NOT NULL,
 [SCOPE] [nvarchar](5) NOT NULL,
 [XSTAT] [nvarchar](1) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [ZSCHM] [nvarchar](7) NOT NULL,
 [IMPRF] [nvarchar](6) NOT NULL,
 [EVGEW] [decimal](8, 0) NOT NULL,
 [AENNR] [nvarchar](12) NOT NULL,
 [SUBPR] [nvarchar](12) NOT NULL,
 [POSTU] [nvarchar](40) NOT NULL,
 [PLINT] [nvarchar](1) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [KZBWS] [nvarchar](1) NOT NULL,
 [FPLNR] [nvarchar](10) NOT NULL,
 [TADAT] [nvarchar](8) NOT NULL,
 [IZWEK] [nvarchar](2) NOT NULL,
 [ISIZE] [nvarchar](2) NOT NULL,
 [IUMKZ] [nvarchar](5) NOT NULL,
 [ABUKR] [nvarchar](4) NOT NULL,
 [GRPKZ] [nvarchar](1) NOT NULL,
 [PGPRF] [nvarchar](6) NOT NULL,
 [LOGSYSTEM] [nvarchar](10) NOT NULL,
 [PSPNR_LOGS] [nvarchar](8) NOT NULL,
 [STORT] [nvarchar](10) NOT NULL,
 [FUNC_AREA] [nvarchar](16) NOT NULL,
 [KLVAR] [nvarchar](4) NOT NULL,
 [KALNR] [nvarchar](12) NOT NULL,
 [POSID_EDIT] [nvarchar](24) NOT NULL,
 [PSPKZ] [nvarchar](1) NOT NULL,
 [MATNR] [nvarchar](18) NOT NULL,
 [VLPSP] [nvarchar](24) NOT NULL,
 [VLPKZ] [nvarchar](1) NOT NULL,
 [SORT1] [nvarchar](10) NOT NULL,
 [SORT2] [nvarchar](10) NOT NULL,
 [SORT3] [nvarchar](10) NOT NULL,
 [VNAME] [nvarchar](6) NOT NULL,
 [RECID] [nvarchar](2) NOT NULL,
 [ETYPE] [nvarchar](3) NOT NULL,
 [OTYPE] [nvarchar](4) NOT NULL,
 [JIBCL] [nvarchar](3) NOT NULL,
 [JIBSA] [nvarchar](5) NOT NULL,
 [CGPL_GUID16] [varbinary](32) NULL,
 [CGPL_LOGSYS] [nvarchar](10) NOT NULL,
 [CGPL_OBJTYPE] [nvarchar](3) NOT NULL,
 [ADPSP] [nvarchar](40) NOT NULL,
 [RFIPPNT] [nvarchar](20) NOT NULL,
 [FERC_IND] [nvarchar](4) NOT NULL,
 CONSTRAINT [PRPS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PSPNR] 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].[PROJ]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PROJ](
 [MANDT] [nvarchar](3) NOT NULL,
 [PSPNR] [nvarchar](24) NOT NULL,
 [PSPID] [nvarchar](24) NOT NULL,
 [POST1] [nvarchar](40) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [AENAM] [nvarchar](12) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [KIMSK] [nvarchar](24) NOT NULL,
 [AUTOD] [nvarchar](1) NOT NULL,
 [STSPD] [nvarchar](8) NOT NULL,
 [STSPR] [nvarchar](8) NOT NULL,
 [VERNR] [nvarchar](8) NOT NULL,
 [VERNA] [nvarchar](25) NOT NULL,
 [ASTNR] [nvarchar](8) NOT NULL,
 [ASTNA] [nvarchar](25) NOT NULL,
 [VBUKR] [nvarchar](4) NOT NULL,
 [VGSBR] [nvarchar](4) NOT NULL,
 [VKOKR] [nvarchar](4) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [PWHIE] [nvarchar](5) NOT NULL,
 [ZUORD] [nvarchar](1) NOT NULL,
 [TRMEQ] [nvarchar](1) NOT NULL,
 [PLFAZ] [nvarchar](8) NOT NULL,
 [PLSEZ] [nvarchar](8) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [KALID] [nvarchar](2) NOT NULL,
 [VGPLF] [nvarchar](1) NOT NULL,
 [EWPLF] [nvarchar](1) NOT NULL,
 [ZTEHT] [nvarchar](3) NOT NULL,
 [NZANZ] [nvarchar](1) NOT NULL,
 [PLNAW] [nvarchar](1) NOT NULL,
 [VPROF] [nvarchar](7) NOT NULL,
 [PROFL] [nvarchar](7) NOT NULL,
 [BPROF] [nvarchar](6) NOT NULL,
 [TXTSP] [nvarchar](2) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [KTRG] [nvarchar](12) NOT NULL,
 [AEDTE] [nvarchar](8) NOT NULL,
 [AEDTP] [nvarchar](8) NOT NULL,
 [BERST] [nvarchar](16) NOT NULL,
 [BERTR] [nvarchar](16) NOT NULL,
 [BERKO] [nvarchar](16) NOT NULL,
 [BERBU] [nvarchar](16) NOT NULL,
 [SPSNR] [nvarchar](24) NOT NULL,
 [BESTA] [nvarchar](1) NOT NULL,
 [SCOPE] [nvarchar](5) NOT NULL,
 [XSTAT] [nvarchar](1) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [ZSCHM] [nvarchar](7) NOT NULL,
 [SCPRF] [nvarchar](12) NOT NULL,
 [IMPRF] [nvarchar](6) NOT NULL,
 [FMPRF] [nvarchar](6) NOT NULL,
 [ABGSL] [nvarchar](6) NOT NULL,
 [POSTU] [nvarchar](40) NOT NULL,
 [PPROF] [nvarchar](6) NOT NULL,
 [PLINT] [nvarchar](1) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [INACT] [nvarchar](1) NOT NULL,
 [KZBWS] [nvarchar](1) NOT NULL,
 [SMPRF] [nvarchar](7) NOT NULL,
 [FLGVRG] [nvarchar](1) NOT NULL,
 [GRTOP] [nvarchar](1) NOT NULL,
 [PGPRF] [nvarchar](6) NOT NULL,
 [STORT] [nvarchar](10) NOT NULL,
 [LOGSYSTEM] [nvarchar](10) NOT NULL,
 [KZERB] [nvarchar](1) NOT NULL,
 [PARGR] [nvarchar](4) NOT NULL,
 [FUNC_AREA] [nvarchar](16) NOT NULL,
 [VKORG] [nvarchar](4) NOT NULL,
 [VTWEG] [nvarchar](2) NOT NULL,
 [SPART] [nvarchar](2) NOT NULL,
 [DPPPROF] [nvarchar](8) NOT NULL,
 [VPKSTU] [nvarchar](2) NOT NULL,
 [PSPID_EDIT] [nvarchar](24) NOT NULL,
 [VNAME] [nvarchar](6) NOT NULL,
 [RECID] [nvarchar](2) NOT NULL,
 [ETYPE] [nvarchar](3) NOT NULL,
 [OTYPE] [nvarchar](4) NOT NULL,
 [JIBCL] [nvarchar](3) NOT NULL,
 [JIBSA] [nvarchar](5) NOT NULL,
 [SCHTYP] [nvarchar](1) NOT NULL,
 [SPROG] [nvarchar](8) NOT NULL,
 [EPROG] [nvarchar](8) NOT NULL,
 [FERC_IND] [nvarchar](4) NOT NULL,
 CONSTRAINT [PROJ~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PSPNR] 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].[PCEC]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PCEC](
 [MANDT] [nvarchar](3) NOT NULL,
 [ZBUKR] [nvarchar](4) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [STAPL] [nvarchar](4) NOT NULL,
 [CHECF] [nvarchar](13) NOT NULL,
 [CHECT] [nvarchar](13) NOT NULL,
 [FSTAP] [nvarchar](4) NOT NULL,
 [CHECL] [nvarchar](13) NOT NULL,
 [STAPI] [nvarchar](30) NOT NULL,
 [XARCP] [nvarchar](1) NOT NULL,
 [XARCT] [nvarchar](1) NOT NULL,
 [XCHCH] [nvarchar](1) NOT NULL,
 [PURDT] [nvarchar](8) NOT NULL,
 [ZWELS] [nvarchar](10) NOT NULL,
 CONSTRAINT [PCEC~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [ZBUKR] ASC,
 [HBKID] ASC,
 [HKTID] ASC,
 [STAPL] 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].[PAYR]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[PAYR](
 [MANDT] [nvarchar](3) NOT NULL,
 [ZBUKR] [nvarchar](4) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [RZAWE] [nvarchar](1) NOT NULL,
 [CHECT] [nvarchar](13) NOT NULL,
 [CHECF] [nvarchar](13) NOT NULL,
 [LAUFD] [nvarchar](8) NOT NULL,
 [LAUFI] [nvarchar](6) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [EMPFG] [nvarchar](16) NOT NULL,
 [UBHKT] [nvarchar](10) NOT NULL,
 [VBLNR] [nvarchar](10) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [ZALDT] [nvarchar](8) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [RWBTR] [decimal](13, 2) NOT NULL,
 [STRGB] [nvarchar](4) NOT NULL,
 [PRIDT] [nvarchar](8) NOT NULL,
 [PRITI] [nvarchar](6) NOT NULL,
 [PRIUS] [nvarchar](12) NOT NULL,
 [XMANU] [nvarchar](1) NOT NULL,
 [XBANC] [nvarchar](1) NOT NULL,
 [BANCD] [nvarchar](8) NOT NULL,
 [EXTRD] [nvarchar](8) NOT NULL,
 [EXTRT] [nvarchar](6) NOT NULL,
 [XBUKR] [nvarchar](1) NOT NULL,
 [ZANRE] [nvarchar](15) NOT NULL,
 [ZNME1] [nvarchar](35) NOT NULL,
 [ZNME2] [nvarchar](35) NOT NULL,
 [ZNME3] [nvarchar](35) NOT NULL,
 [ZNME4] [nvarchar](35) NOT NULL,
 [ZPSTL] [nvarchar](10) NOT NULL,
 [ZORT1] [nvarchar](35) NOT NULL,
 [ZSTRA] [nvarchar](35) NOT NULL,
 [ZPFAC] [nvarchar](10) NOT NULL,
 [ZLAND] [nvarchar](3) NOT NULL,
 [ZREGI] [nvarchar](3) NOT NULL,
 [ZBNKS] [nvarchar](3) NOT NULL,
 [ZBNKN] [nvarchar](18) NOT NULL,
 [ZBNKL] [nvarchar](15) NOT NULL,
 [ZBKON] [nvarchar](2) NOT NULL,
 [ZSWIF] [nvarchar](11) NOT NULL,
 [ZIBAN] [nvarchar](34) NOT NULL,
 [VOIDR] [nvarchar](2) NOT NULL,
 [VOIDD] [nvarchar](8) NOT NULL,
 [VOIDU] [nvarchar](12) NOT NULL,
 [CHECV] [nvarchar](13) NOT NULL,
 [HBKIV] [nvarchar](5) NOT NULL,
 [HKTIV] [nvarchar](5) NOT NULL,
 [ZPST2] [nvarchar](10) NOT NULL,
 [XRAGL] [nvarchar](1) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [SEQNR] [nvarchar](5) NOT NULL,
 [BTZNR] [varbinary](1) NULL,
 [REC_BELNR] [nvarchar](10) NOT NULL,
 [REC_GJAHR] [nvarchar](4) NOT NULL,
 [ZPFOR] [nvarchar](35) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [ICHEC] [nvarchar](1) NOT NULL,
 [IREFE] [nvarchar](1) NOT NULL,
 [RWSKT] [decimal](13, 2) NOT NULL,
 CONSTRAINT [PAYR~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [ZBUKR] ASC,
 [HBKID] ASC,
 [HKTID] ASC,
 [RZAWE] ASC,
 [CHECT] 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].[PA0315]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PA0315](
 [MANDT] [nvarchar](3) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [SUBTY] [nvarchar](4) NOT NULL,
 [OBJPS] [nvarchar](2) NOT NULL,
 [SPRPS] [nvarchar](1) NOT NULL,
 [ENDDA] [nvarchar](8) NOT NULL,
 [BEGDA] [nvarchar](8) NOT NULL,
 [SEQNR] [nvarchar](3) NOT NULL,
 [AEDTM] [nvarchar](8) NOT NULL,
 [UNAME] [nvarchar](12) NOT NULL,
 [HISTO] [nvarchar](1) NOT NULL,
 [ITXEX] [nvarchar](1) NOT NULL,
 [REFEX] [nvarchar](1) NOT NULL,
 [ORDEX] [nvarchar](1) NOT NULL,
 [ITBLD] [nvarchar](2) NOT NULL,
 [PREAS] [nvarchar](2) NOT NULL,
 [FLAG1] [nvarchar](1) NOT NULL,
 [FLAG2] [nvarchar](1) NOT NULL,
 [FLAG3] [nvarchar](1) NOT NULL,
 [FLAG4] [nvarchar](1) NOT NULL,
 [RESE1] [nvarchar](2) NOT NULL,
 [RESE2] [nvarchar](2) NOT NULL,
 [GRPVL] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [PLSTA] [nvarchar](6) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [EBELN] [nvarchar](10) NOT NULL,
 [EBELP] [nvarchar](5) NOT NULL,
 [LSTNR] [nvarchar](18) NOT NULL,
 [SPRZNR] [nvarchar](12) NOT NULL,
 [ACCNT] [nvarchar](1) NOT NULL,
 CONSTRAINT [PA0315~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PERNR] ASC,
 [SUBTY] ASC,
 [OBJPS] ASC,
 [SPRPS] ASC,
 [ENDDA] ASC,
 [BEGDA] ASC,
 [SEQNR] 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].[PA0002]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PA0002](
 [MANDT] [nvarchar](3) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [SUBTY] [nvarchar](4) NOT NULL,
 [OBJPS] [nvarchar](2) NOT NULL,
 [SPRPS] [nvarchar](1) NOT NULL,
 [ENDDA] [nvarchar](8) NOT NULL,
 [BEGDA] [nvarchar](8) NOT NULL,
 [SEQNR] [nvarchar](3) NOT NULL,
 [AEDTM] [nvarchar](8) NOT NULL,
 [UNAME] [nvarchar](12) NOT NULL,
 [HISTO] [nvarchar](1) NOT NULL,
 [ITXEX] [nvarchar](1) NOT NULL,
 [REFEX] [nvarchar](1) NOT NULL,
 [ORDEX] [nvarchar](1) NOT NULL,
 [ITBLD] [nvarchar](2) NOT NULL,
 [PREAS] [nvarchar](2) NOT NULL,
 [FLAG1] [nvarchar](1) NOT NULL,
 [FLAG2] [nvarchar](1) NOT NULL,
 [FLAG3] [nvarchar](1) NOT NULL,
 [FLAG4] [nvarchar](1) NOT NULL,
 [RESE1] [nvarchar](2) NOT NULL,
 [RESE2] [nvarchar](2) NOT NULL,
 [GRPVL] [nvarchar](4) NOT NULL,
 [INITS] [nvarchar](10) NOT NULL,
 [NACHN] [nvarchar](40) NOT NULL,
 [NAME2] [nvarchar](40) NOT NULL,
 [NACH2] [nvarchar](40) NOT NULL,
 [VORNA] [nvarchar](40) NOT NULL,
 [CNAME] [nvarchar](80) NOT NULL,
 [TITEL] [nvarchar](15) NOT NULL,
 [TITL2] [nvarchar](15) NOT NULL,
 [NAMZU] [nvarchar](15) NOT NULL,
 [VORSW] [nvarchar](15) NOT NULL,
 [VORS2] [nvarchar](15) NOT NULL,
 [RUFNM] [nvarchar](40) NOT NULL,
 [MIDNM] [nvarchar](40) NOT NULL,
 [KNZNM] [nvarchar](2) NOT NULL,
 [ANRED] [nvarchar](1) NOT NULL,
 [GESCH] [nvarchar](1) NOT NULL,
 [GBDAT] [nvarchar](8) NOT NULL,
 [GBLND] [nvarchar](3) NOT NULL,
 [GBDEP] [nvarchar](3) NOT NULL,
 [GBORT] [nvarchar](40) NOT NULL,
 [NATIO] [nvarchar](3) NOT NULL,
 [NATI2] [nvarchar](3) NOT NULL,
 [NATI3] [nvarchar](3) NOT NULL,
 [SPRSL] [nvarchar](1) NOT NULL,
 [KONFE] [nvarchar](2) NOT NULL,
 [FAMST] [nvarchar](1) NOT NULL,
 [FAMDT] [nvarchar](8) NOT NULL,
 [ANZKD] [decimal](3, 0) NOT NULL,
 [NACON] [nvarchar](1) NOT NULL,
 [PERMO] [nvarchar](2) NOT NULL,
 [PERID] [nvarchar](20) NOT NULL,
 [GBPAS] [nvarchar](8) NOT NULL,
 [FNAMK] [nvarchar](40) NOT NULL,
 [LNAMK] [nvarchar](40) NOT NULL,
 [FNAMR] [nvarchar](40) NOT NULL,
 [LNAMR] [nvarchar](40) NOT NULL,
 [NABIK] [nvarchar](40) NOT NULL,
 [NABIR] [nvarchar](40) NOT NULL,
 [NICKK] [nvarchar](40) NOT NULL,
 [NICKR] [nvarchar](40) NOT NULL,
 [GBJHR] [nvarchar](4) NOT NULL,
 [GBMON] [nvarchar](2) NOT NULL,
 [GBTAG] [nvarchar](2) NOT NULL,
 [NCHMC] [nvarchar](25) NOT NULL,
 [VNAMC] [nvarchar](25) NOT NULL,
 [NAMZ2] [nvarchar](15) NOT NULL,
 CONSTRAINT [PA0002~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PERNR] ASC,
 [SUBTY] ASC,
 [OBJPS] ASC,
 [SPRPS] ASC,
 [ENDDA] ASC,
 [BEGDA] ASC,
 [SEQNR] 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].[PA0001]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PA0001](
 [MANDT] [nvarchar](3) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [SUBTY] [nvarchar](4) NOT NULL,
 [OBJPS] [nvarchar](2) NOT NULL,
 [SPRPS] [nvarchar](1) NOT NULL,
 [ENDDA] [nvarchar](8) NOT NULL,
 [BEGDA] [nvarchar](8) NOT NULL,
 [SEQNR] [nvarchar](3) NOT NULL,
 [AEDTM] [nvarchar](8) NOT NULL,
 [UNAME] [nvarchar](12) NOT NULL,
 [HISTO] [nvarchar](1) NOT NULL,
 [ITXEX] [nvarchar](1) NOT NULL,
 [REFEX] [nvarchar](1) NOT NULL,
 [ORDEX] [nvarchar](1) NOT NULL,
 [ITBLD] [nvarchar](2) NOT NULL,
 [PREAS] [nvarchar](2) NOT NULL,
 [FLAG1] [nvarchar](1) NOT NULL,
 [FLAG2] [nvarchar](1) NOT NULL,
 [FLAG3] [nvarchar](1) NOT NULL,
 [FLAG4] [nvarchar](1) NOT NULL,
 [RESE1] [nvarchar](2) NOT NULL,
 [RESE2] [nvarchar](2) NOT NULL,
 [GRPVL] [nvarchar](4) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [PERSG] [nvarchar](1) NOT NULL,
 [PERSK] [nvarchar](2) NOT NULL,
 [VDSK1] [nvarchar](14) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [BTRTL] [nvarchar](4) NOT NULL,
 [JUPER] [nvarchar](4) NOT NULL,
 [ABKRS] [nvarchar](2) NOT NULL,
 [ANSVH] [nvarchar](2) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [ORGEH] [nvarchar](8) NOT NULL,
 [PLANS] [nvarchar](8) NOT NULL,
 [STELL] [nvarchar](8) NOT NULL,
 [MSTBR] [nvarchar](8) NOT NULL,
 [SACHA] [nvarchar](3) NOT NULL,
 [SACHP] [nvarchar](3) NOT NULL,
 [SACHZ] [nvarchar](3) NOT NULL,
 [SNAME] [nvarchar](30) NOT NULL,
 [ENAME] [nvarchar](40) NOT NULL,
 [OTYPE] [nvarchar](2) NOT NULL,
 [SBMOD] [nvarchar](4) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [SGMNT] [nvarchar](10) NOT NULL,
 CONSTRAINT [PA0001~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PERNR] ASC,
 [SUBTY] ASC,
 [OBJPS] ASC,
 [SPRPS] ASC,
 [ENDDA] ASC,
 [BEGDA] ASC,
 [SEQNR] 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].[PA0000]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PA0000](
 [MANDT] [nvarchar](3) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [SUBTY] [nvarchar](4) NOT NULL,
 [OBJPS] [nvarchar](2) NOT NULL,
 [SPRPS] [nvarchar](1) NOT NULL,
 [ENDDA] [nvarchar](8) NOT NULL,
 [BEGDA] [nvarchar](8) NOT NULL,
 [SEQNR] [nvarchar](3) NOT NULL,
 [AEDTM] [nvarchar](8) NOT NULL,
 [UNAME] [nvarchar](12) NOT NULL,
 [HISTO] [nvarchar](1) NOT NULL,
 [ITXEX] [nvarchar](1) NOT NULL,
 [REFEX] [nvarchar](1) NOT NULL,
 [ORDEX] [nvarchar](1) NOT NULL,
 [ITBLD] [nvarchar](2) NOT NULL,
 [PREAS] [nvarchar](2) NOT NULL,
 [FLAG1] [nvarchar](1) NOT NULL,
 [FLAG2] [nvarchar](1) NOT NULL,
 [FLAG3] [nvarchar](1) NOT NULL,
 [FLAG4] [nvarchar](1) NOT NULL,
 [RESE1] [nvarchar](2) NOT NULL,
 [RESE2] [nvarchar](2) NOT NULL,
 [GRPVL] [nvarchar](4) NOT NULL,
 [MASSN] [nvarchar](2) NOT NULL,
 [MASSG] [nvarchar](2) NOT NULL,
 [STAT1] [nvarchar](1) NOT NULL,
 [STAT2] [nvarchar](1) NOT NULL,
 [STAT3] [nvarchar](1) NOT NULL,
 CONSTRAINT [PA0000~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PERNR] ASC,
 [SUBTY] ASC,
 [OBJPS] ASC,
 [SPRPS] ASC,
 [ENDDA] ASC,
 [BEGDA] ASC,
 [SEQNR] 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].[NKUK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[NKUK](
 [MANDT] [nvarchar](3) NOT NULL,
 [NUMKR] [nvarchar](2) NOT NULL,
 [VONNR] [nvarchar](8) NOT NULL,
 [BISNR] [nvarchar](8) NOT NULL,
 [STAND] [decimal](8, 0) NOT NULL,
 CONSTRAINT [NKUK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [NUMKR] 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].[NBNK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[NBNK](
 [MANDT] [nvarchar](3) NOT NULL,
 [ANWND] [nvarchar](10) NOT NULL,
 [STAND] [nvarchar](10) NOT NULL,
 CONSTRAINT [NBNK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [ANWND] 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].[LFC3]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LFC3](
 [MANDT] [nvarchar](3) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [SHBKZ] [nvarchar](1) NOT NULL,
 [SALDV] [decimal](15, 2) NOT NULL,
 [SOLLL] [decimal](15, 2) NOT NULL,
 [HABNL] [decimal](15, 2) NOT NULL,
 CONSTRAINT [LFC3~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LIFNR] ASC,
 [BUKRS] ASC,
 [GJAHR] ASC,
 [SHBKZ] 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].[LFC1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LFC1](
 [MANDT] [nvarchar](3) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [UMSAV] [decimal](15, 2) NOT NULL,
 [UM01S] [decimal](15, 2) NOT NULL,
 [UM01H] [decimal](15, 2) NOT NULL,
 [UM01U] [decimal](15, 2) NOT NULL,
 [UM02S] [decimal](15, 2) NOT NULL,
 [UM02H] [decimal](15, 2) NOT NULL,
 [UM02U] [decimal](15, 2) NOT NULL,
 [UM03S] [decimal](15, 2) NOT NULL,
 [UM03H] [decimal](15, 2) NOT NULL,
 [UM03U] [decimal](15, 2) NOT NULL,
 [UM04S] [decimal](15, 2) NOT NULL,
 [UM04H] [decimal](15, 2) NOT NULL,
 [UM04U] [decimal](15, 2) NOT NULL,
 [UM05S] [decimal](15, 2) NOT NULL,
 [UM05H] [decimal](15, 2) NOT NULL,
 [UM05U] [decimal](15, 2) NOT NULL,
 [UM06S] [decimal](15, 2) NOT NULL,
 [UM06H] [decimal](15, 2) NOT NULL,
 [UM06U] [decimal](15, 2) NOT NULL,
 [UM07S] [decimal](15, 2) NOT NULL,
 [UM07H] [decimal](15, 2) NOT NULL,
 [UM07U] [decimal](15, 2) NOT NULL,
 [UM08S] [decimal](15, 2) NOT NULL,
 [UM08H] [decimal](15, 2) NOT NULL,
 [UM08U] [decimal](15, 2) NOT NULL,
 [UM09S] [decimal](15, 2) NOT NULL,
 [UM09H] [decimal](15, 2) NOT NULL,
 [UM09U] [decimal](15, 2) NOT NULL,
 [UM10S] [decimal](15, 2) NOT NULL,
 [UM10H] [decimal](15, 2) NOT NULL,
 [UM10U] [decimal](15, 2) NOT NULL,
 [UM11S] [decimal](15, 2) NOT NULL,
 [UM11H] [decimal](15, 2) NOT NULL,
 [UM11U] [decimal](15, 2) NOT NULL,
 [UM12S] [decimal](15, 2) NOT NULL,
 [UM12H] [decimal](15, 2) NOT NULL,
 [UM12U] [decimal](15, 2) NOT NULL,
 [UM13S] [decimal](15, 2) NOT NULL,
 [UM13H] [decimal](15, 2) NOT NULL,
 [UM13U] [decimal](15, 2) NOT NULL,
 [UM14S] [decimal](15, 2) NOT NULL,
 [UM14H] [decimal](15, 2) NOT NULL,
 [UM14U] [decimal](15, 2) NOT NULL,
 [UM15S] [decimal](15, 2) NOT NULL,
 [UM15H] [decimal](15, 2) NOT NULL,
 [UM15U] [decimal](15, 2) NOT NULL,
 [UM16S] [decimal](15, 2) NOT NULL,
 [UM16H] [decimal](15, 2) NOT NULL,
 [UM16U] [decimal](15, 2) NOT NULL,
 CONSTRAINT [LFC1~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LIFNR] ASC,
 [BUKRS] ASC,
 [GJAHR] 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].[LFBK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LFBK](
 [MANDT] [nvarchar](3) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [BANKS] [nvarchar](3) NOT NULL,
 [BANKL] [nvarchar](15) NOT NULL,
 [BANKN] [nvarchar](18) NOT NULL,
 [BKONT] [nvarchar](2) NOT NULL,
 [BVTYP] [nvarchar](4) NOT NULL,
 [XEZER] [nvarchar](1) NOT NULL,
 [BKREF] [nvarchar](20) NOT NULL,
 [KOINH] [nvarchar](60) NOT NULL,
 [EBPP_ACCNAME] [nvarchar](40) NOT NULL,
 [EBPP_BVSTATUS] [nvarchar](1) NOT NULL,
 [KOVON] [nvarchar](8) NOT NULL,
 [KOBIS] [nvarchar](8) NOT NULL,
 CONSTRAINT [LFBK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LIFNR] ASC,
 [BANKS] ASC,
 [BANKL] ASC,
 [BANKN] 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].[LFB5]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LFB5](
 [MANDT] [nvarchar](3) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [MABER] [nvarchar](2) NOT NULL,
 [MAHNA] [nvarchar](4) NOT NULL,
 [MANSP] [nvarchar](1) NOT NULL,
 [MADAT] [nvarchar](8) NOT NULL,
 [MAHNS] [nvarchar](1) NOT NULL,
 [LFRMA] [nvarchar](10) NOT NULL,
 [GMVDT] [nvarchar](8) NOT NULL,
 [BUSAB] [nvarchar](2) NOT NULL,
 CONSTRAINT [LFB5~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LIFNR] ASC,
 [BUKRS] ASC,
 [MABER] 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].[LFB1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LFB1](
 [MANDT] [nvarchar](3) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [SPERR] [nvarchar](1) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [ZUAWA] [nvarchar](3) NOT NULL,
 [AKONT] [nvarchar](10) NOT NULL,
 [BEGRU] [nvarchar](4) NOT NULL,
 [VZSKZ] [nvarchar](2) NOT NULL,
 [ZWELS] [nvarchar](10) NOT NULL,
 [XVERR] [nvarchar](1) NOT NULL,
 [ZAHLS] [nvarchar](1) NOT NULL,
 [ZTERM] [nvarchar](4) NOT NULL,
 [EIKTO] [nvarchar](12) NOT NULL,
 [ZSABE] [nvarchar](15) NOT NULL,
 [KVERM] [nvarchar](30) NOT NULL,
 [FDGRV] [nvarchar](10) NOT NULL,
 [BUSAB] [nvarchar](2) NOT NULL,
 [LNRZE] [nvarchar](10) NOT NULL,
 [LNRZB] [nvarchar](10) NOT NULL,
 [ZINDT] [nvarchar](8) NOT NULL,
 [ZINRT] [nvarchar](2) NOT NULL,
 [DATLZ] [nvarchar](8) NOT NULL,
 [XDEZV] [nvarchar](1) NOT NULL,
 [WEBTR] [decimal](13, 2) NOT NULL,
 [KULTG] [decimal](3, 0) NOT NULL,
 [REPRF] [nvarchar](1) NOT NULL,
 [TOGRU] [nvarchar](4) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [XPORE] [nvarchar](1) NOT NULL,
 [QSZNR] [nvarchar](10) NOT NULL,
 [QSZDT] [nvarchar](8) NOT NULL,
 [QSSKZ] [nvarchar](2) NOT NULL,
 [BLNKZ] [nvarchar](2) NOT NULL,
 [MINDK] [nvarchar](3) NOT NULL,
 [ALTKN] [nvarchar](10) NOT NULL,
 [ZGRUP] [nvarchar](2) NOT NULL,
 [MGRUP] [nvarchar](2) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [QSREC] [nvarchar](2) NOT NULL,
 [QSBGR] [nvarchar](1) NOT NULL,
 [QLAND] [nvarchar](3) NOT NULL,
 [XEDIP] [nvarchar](1) NOT NULL,
 [FRGRP] [nvarchar](4) NOT NULL,
 [TOGRR] [nvarchar](4) NOT NULL,
 [TLFXS] [nvarchar](31) NOT NULL,
 [INTAD] [nvarchar](130) NOT NULL,
 [XLFZB] [nvarchar](1) NOT NULL,
 [GUZTE] [nvarchar](4) NOT NULL,
 [GRICD] [nvarchar](2) NOT NULL,
 [GRIDT] [nvarchar](2) NOT NULL,
 [XAUSZ] [nvarchar](1) NOT NULL,
 [CERDT] [nvarchar](8) NOT NULL,
 [CONFS] [nvarchar](1) NOT NULL,
 [UPDAT] [nvarchar](8) NOT NULL,
 [UPTIM] [nvarchar](6) NOT NULL,
 [NODEL] [nvarchar](1) NOT NULL,
 [TLFNS] [nvarchar](30) NOT NULL,
 [J_SC_SUBCONTYPE] [nvarchar](1) NOT NULL,
 [J_SC_COMPDATE] [nvarchar](3) NOT NULL,
 [J_SC_OFFSM] [nvarchar](1) NOT NULL,
 [J_SC_OFFSR] [nvarchar](3) NOT NULL,
 [BASIS_PNT] [decimal](6, 3) NOT NULL,
 [GMVKZK] [nvarchar](1) NOT NULL,
 [PREPAY_RELEVANT] [nvarchar](1) NOT NULL,
 [ASSIGN_TEST] [nvarchar](4) NOT NULL,
 CONSTRAINT [LFB1~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LIFNR] ASC,
 [BUKRS] 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].[LFAS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LFAS](
 [MANDT] [nvarchar](3) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 CONSTRAINT [LFAS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LIFNR] ASC,
 [LAND1] 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].[LFA1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[LFA1](
 [MANDT] [nvarchar](3) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [NAME1] [nvarchar](35) NOT NULL,
 [NAME2] [nvarchar](35) NOT NULL,
 [NAME3] [nvarchar](35) NOT NULL,
 [NAME4] [nvarchar](35) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 [ORT02] [nvarchar](35) NOT NULL,
 [PFACH] [nvarchar](10) NOT NULL,
 [PSTL2] [nvarchar](10) NOT NULL,
 [PSTLZ] [nvarchar](10) NOT NULL,
 [REGIO] [nvarchar](3) NOT NULL,
 [SORTL] [nvarchar](10) NOT NULL,
 [STRAS] [nvarchar](35) NOT NULL,
 [ADRNR] [nvarchar](10) NOT NULL,
 [MCOD1] [nvarchar](25) NOT NULL,
 [MCOD2] [nvarchar](25) NOT NULL,
 [MCOD3] [nvarchar](25) NOT NULL,
 [ANRED] [nvarchar](15) NOT NULL,
 [BAHNS] [nvarchar](25) NOT NULL,
 [BBBNR] [nvarchar](7) NOT NULL,
 [BBSNR] [nvarchar](5) NOT NULL,
 [BEGRU] [nvarchar](4) NOT NULL,
 [BRSCH] [nvarchar](4) NOT NULL,
 [BUBKZ] [nvarchar](1) NOT NULL,
 [DATLT] [nvarchar](14) NOT NULL,
 [DTAMS] [nvarchar](1) NOT NULL,
 [DTAWS] [nvarchar](2) NOT NULL,
 [ERDAT] [datetime] NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [ESRNR] [nvarchar](11) NOT NULL,
 [KONZS] [nvarchar](10) NOT NULL,
 [KTOKK] [nvarchar](4) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [LNRZA] [nvarchar](10) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [SPERR] [nvarchar](1) NOT NULL,
 [SPERM] [nvarchar](1) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [STCD1] [nvarchar](16) NOT NULL,
 [STCD2] [nvarchar](11) NOT NULL,
 [STKZA] [nvarchar](1) NOT NULL,
 [STKZU] [nvarchar](1) NOT NULL,
 [TELBX] [nvarchar](15) NOT NULL,
 [TELF1] [nvarchar](16) NOT NULL,
 [TELF2] [nvarchar](16) NOT NULL,
 [TELFX] [nvarchar](31) NOT NULL,
 [TELTX] [nvarchar](30) NOT NULL,
 [TELX1] [nvarchar](30) NOT NULL,
 [XCPDK] [nvarchar](1) NOT NULL,
 [XZEMP] [nvarchar](1) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [FISKN] [nvarchar](10) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 [STKZN] [nvarchar](1) NOT NULL,
 [SPERQ] [nvarchar](2) NOT NULL,
 [GBORT] [nvarchar](25) NOT NULL,
 [GBDAT] [datetime] NOT NULL,
 [SEXKZ] [nvarchar](1) NOT NULL,
 [KRAUS] [nvarchar](11) NOT NULL,
 [REVDB] [datetime] NOT NULL,
 [QSSYS] [nvarchar](4) NOT NULL,
 [KTOCK] [nvarchar](4) NOT NULL,
 [PFORT] [nvarchar](35) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [LTSNA] [nvarchar](1) NOT NULL,
 [WERKR] [nvarchar](1) NOT NULL,
 [PLKAL] [nvarchar](2) NOT NULL,
 [DUEFL] [nvarchar](1) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [SPERZ] [nvarchar](1) NOT NULL,
 [SCACD] [nvarchar](4) NOT NULL,
 [SFRGR] [nvarchar](4) NOT NULL,
 [LZONE] [nvarchar](10) NOT NULL,
 [XLFZA] [nvarchar](1) NOT NULL,
 [DLGRP] [nvarchar](4) NOT NULL,
 [FITYP] [nvarchar](2) NOT NULL,
 [STCDT] [nvarchar](2) NOT NULL,
 [REGSS] [nvarchar](1) NOT NULL,
 [ACTSS] [nvarchar](3) NOT NULL,
 [STCD3] [nvarchar](18) NOT NULL,
 [STCD4] [nvarchar](18) NOT NULL,
 [IPISP] [nvarchar](1) NOT NULL,
 [TAXBS] [nvarchar](1) NOT NULL,
 [PROFS] [nvarchar](30) NOT NULL,
 [STGDL] [nvarchar](2) NOT NULL,
 [EMNFR] [nvarchar](10) NOT NULL,
 [LFURL] [nvarchar](132) NOT NULL,
 [J_1KFREPRE] [nvarchar](10) NOT NULL,
 [J_1KFTBUS] [nvarchar](30) NOT NULL,
 [J_1KFTIND] [nvarchar](30) NOT NULL,
 [CONFS] [nvarchar](1) NOT NULL,
 [UPDAT] [datetime] NOT NULL,
 [UPTIM] [bigint] NOT NULL,
 [NODEL] [nvarchar](1) NOT NULL,
 [QSSYSDAT] [datetime] NOT NULL,
 [PODKZB] [nvarchar](1) NOT NULL,
 [FISKU] [nvarchar](10) NOT NULL,
 [STENR] [nvarchar](18) NOT NULL,
 [CARRIER_CONF] [nvarchar](1) NOT NULL,
 [J_SC_CAPITAL] [decimal](15, 2) NOT NULL,
 [J_SC_CURRENCY] [nvarchar](5) NOT NULL,
 [ALC] [nvarchar](8) NOT NULL,
 [PMT_OFFICE] [nvarchar](5) NOT NULL,
 [PSOFG] [nvarchar](10) NOT NULL,
 [PSOIS] [nvarchar](20) NOT NULL,
 [PSON1] [nvarchar](35) NOT NULL,
 [PSON2] [nvarchar](35) NOT NULL,
 [PSON3] [nvarchar](35) NOT NULL,
 [PSOVN] [nvarchar](35) NOT NULL,
 [PSOTL] [nvarchar](20) NOT NULL,
 [PSOHS] [nvarchar](6) NOT NULL,
 [PSOST] [nvarchar](28) NOT NULL,
 [TRANSPORT_CHAIN] [nvarchar](10) NOT NULL,
 [STAGING_TIME] [decimal](3, 0) NOT NULL,
 [SCHEDULING_TYPE] [nvarchar](1) NOT NULL,
 [SUBMI_RELEVANT] [nvarchar](1) NOT NULL,
 CONSTRAINT [PK_LFA1] PRIMARY KEY CLUSTERED
(
 [LIFNR] 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].[KNVV]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNVV](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [VKORG] [nvarchar](4) NOT NULL,
 [VTWEG] [nvarchar](2) NOT NULL,
 [SPART] [nvarchar](2) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [BEGRU] [nvarchar](4) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [VERSG] [nvarchar](1) NOT NULL,
 [AUFSD] [nvarchar](2) NOT NULL,
 [KALKS] [nvarchar](1) NOT NULL,
 [KDGRP] [nvarchar](2) NOT NULL,
 [BZIRK] [nvarchar](6) NOT NULL,
 [KONDA] [nvarchar](2) NOT NULL,
 [PLTYP] [nvarchar](2) NOT NULL,
 [AWAHR] [nvarchar](3) NOT NULL,
 [INCO1] [nvarchar](3) NOT NULL,
 [INCO2] [nvarchar](28) NOT NULL,
 [LIFSD] [nvarchar](2) NOT NULL,
 [AUTLF] [nvarchar](1) NOT NULL,
 [ANTLF] [decimal](1, 0) NOT NULL,
 [KZTLF] [nvarchar](1) NOT NULL,
 [KZAZU] [nvarchar](1) NOT NULL,
 [CHSPL] [nvarchar](1) NOT NULL,
 [LPRIO] [nvarchar](2) NOT NULL,
 [EIKTO] [nvarchar](12) NOT NULL,
 [VSBED] [nvarchar](2) NOT NULL,
 [FAKSD] [nvarchar](2) NOT NULL,
 [MRNKZ] [nvarchar](1) NOT NULL,
 [PERFK] [nvarchar](2) NOT NULL,
 [PERRL] [nvarchar](2) NOT NULL,
 [KVAKZ] [nvarchar](1) NOT NULL,
 [KVAWT] [decimal](13, 2) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [KLABC] [nvarchar](2) NOT NULL,
 [KTGRD] [nvarchar](2) NOT NULL,
 [ZTERM] [nvarchar](4) NOT NULL,
 [VWERK] [nvarchar](4) NOT NULL,
 [VKGRP] [nvarchar](3) NOT NULL,
 [VKBUR] [nvarchar](4) NOT NULL,
 [VSORT] [nvarchar](10) NOT NULL,
 [KVGR1] [nvarchar](3) NOT NULL,
 [KVGR2] [nvarchar](3) NOT NULL,
 [KVGR3] [nvarchar](3) NOT NULL,
 [KVGR4] [nvarchar](3) NOT NULL,
 [KVGR5] [nvarchar](3) NOT NULL,
 [BOKRE] [nvarchar](1) NOT NULL,
 [BOIDT] [nvarchar](8) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [PRFRE] [nvarchar](1) NOT NULL,
 [PRAT1] [nvarchar](1) NOT NULL,
 [PRAT2] [nvarchar](1) NOT NULL,
 [PRAT3] [nvarchar](1) NOT NULL,
 [PRAT4] [nvarchar](1) NOT NULL,
 [PRAT5] [nvarchar](1) NOT NULL,
 [PRAT6] [nvarchar](1) NOT NULL,
 [PRAT7] [nvarchar](1) NOT NULL,
 [PRAT8] [nvarchar](1) NOT NULL,
 [PRAT9] [nvarchar](1) NOT NULL,
 [PRATA] [nvarchar](1) NOT NULL,
 [KABSS] [nvarchar](4) NOT NULL,
 [KKBER] [nvarchar](4) NOT NULL,
 [CASSD] [nvarchar](2) NOT NULL,
 [RDOFF] [nvarchar](1) NOT NULL,
 [AGREL] [nvarchar](1) NOT NULL,
 [MEGRU] [nvarchar](4) NOT NULL,
 [UEBTO] [decimal](3, 1) NOT NULL,
 [UNTTO] [decimal](3, 1) NOT NULL,
 [UEBTK] [nvarchar](1) NOT NULL,
 [PVKSM] [nvarchar](2) NOT NULL,
 [PODKZ] [nvarchar](1) NOT NULL,
 [PODTG] [decimal](11, 0) NOT NULL,
 [BLIND] [nvarchar](1) NOT NULL,
 [CARRIER_NOTIF] [nvarchar](1) NOT NULL,
 [/BEV1/EMLGPFAND] [nvarchar](1) NOT NULL,
 [/BEV1/EMLGFORTS] [nvarchar](1) NOT NULL,
 CONSTRAINT [KNVV~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [VKORG] ASC,
 [VTWEG] ASC,
 [SPART] 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].[KNVP]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNVP](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [VKORG] [nvarchar](4) NOT NULL,
 [VTWEG] [nvarchar](2) NOT NULL,
 [SPART] [nvarchar](2) NOT NULL,
 [PARVW] [nvarchar](2) NOT NULL,
 [PARZA] [nvarchar](3) NOT NULL,
 [KUNN2] [nvarchar](10) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [PARNR] [nvarchar](10) NOT NULL,
 [KNREF] [nvarchar](30) NOT NULL,
 [DEFPA] [nvarchar](1) NOT NULL,
 CONSTRAINT [KNVP~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [VKORG] ASC,
 [VTWEG] ASC,
 [SPART] ASC,
 [PARVW] ASC,
 [PARZA] 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].[KNKK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNKK](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [KKBER] [nvarchar](4) NOT NULL,
 [KLIMK] [decimal](15, 2) NOT NULL,
 [KNKLI] [nvarchar](10) NOT NULL,
 [SAUFT] [decimal](15, 2) NOT NULL,
 [SKFOR] [decimal](15, 2) NOT NULL,
 [SSOBL] [decimal](15, 2) NOT NULL,
 [UEDAT] [nvarchar](8) NOT NULL,
 [XCHNG] [nvarchar](1) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [CTLPC] [nvarchar](3) NOT NULL,
 [DTREV] [nvarchar](8) NOT NULL,
 [CRBLB] [nvarchar](1) NOT NULL,
 [SBGRP] [nvarchar](3) NOT NULL,
 [NXTRV] [nvarchar](8) NOT NULL,
 [KRAUS] [nvarchar](11) NOT NULL,
 [PAYDB] [nvarchar](2) NOT NULL,
 [DBRAT] [nvarchar](3) NOT NULL,
 [REVDB] [nvarchar](8) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [AETXT] [nvarchar](8) NOT NULL,
 [GRUPP] [nvarchar](4) NOT NULL,
 [AENAM] [nvarchar](12) NOT NULL,
 [SBDAT] [nvarchar](8) NOT NULL,
 [KDGRP] [nvarchar](8) NOT NULL,
 [CASHD] [nvarchar](8) NOT NULL,
 [CASHA] [decimal](13, 2) NOT NULL,
 [CASHC] [nvarchar](5) NOT NULL,
 [DBPAY] [nvarchar](3) NOT NULL,
 [DBRTG] [nvarchar](5) NOT NULL,
 [DBEKR] [decimal](15, 2) NOT NULL,
 [DBWAE] [nvarchar](5) NOT NULL,
 [DBMON] [nvarchar](8) NOT NULL,
 [ABSBT] [decimal](15, 2) NOT NULL,
 CONSTRAINT [KNKK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [KKBER] 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].[KNKA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNKA](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [KLIMG] [decimal](15, 2) NOT NULL,
 [KLIME] [decimal](15, 2) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [DLAUS] [nvarchar](8) NOT NULL,
 CONSTRAINT [KNKA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] 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].[KNC3]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNC3](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [SHBKZ] [nvarchar](1) NOT NULL,
 [SALDV] [decimal](15, 2) NOT NULL,
 [SOLLL] [decimal](15, 2) NOT NULL,
 [HABNL] [decimal](15, 2) NOT NULL,
 CONSTRAINT [KNC3~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [BUKRS] ASC,
 [GJAHR] ASC,
 [SHBKZ] 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].[KNC1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNC1](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [UMSAV] [decimal](15, 2) NOT NULL,
 [UM01S] [decimal](15, 2) NOT NULL,
 [UM01H] [decimal](15, 2) NOT NULL,
 [UM01U] [decimal](15, 2) NOT NULL,
 [UM02S] [decimal](15, 2) NOT NULL,
 [UM02H] [decimal](15, 2) NOT NULL,
 [UM02U] [decimal](15, 2) NOT NULL,
 [UM03S] [decimal](15, 2) NOT NULL,
 [UM03H] [decimal](15, 2) NOT NULL,
 [UM03U] [decimal](15, 2) NOT NULL,
 [UM04S] [decimal](15, 2) NOT NULL,
 [UM04H] [decimal](15, 2) NOT NULL,
 [UM04U] [decimal](15, 2) NOT NULL,
 [UM05S] [decimal](15, 2) NOT NULL,
 [UM05H] [decimal](15, 2) NOT NULL,
 [UM05U] [decimal](15, 2) NOT NULL,
 [UM06S] [decimal](15, 2) NOT NULL,
 [UM06H] [decimal](15, 2) NOT NULL,
 [UM06U] [decimal](15, 2) NOT NULL,
 [UM07S] [decimal](15, 2) NOT NULL,
 [UM07H] [decimal](15, 2) NOT NULL,
 [UM07U] [decimal](15, 2) NOT NULL,
 [UM08S] [decimal](15, 2) NOT NULL,
 [UM08H] [decimal](15, 2) NOT NULL,
 [UM08U] [decimal](15, 2) NOT NULL,
 [UM09S] [decimal](15, 2) NOT NULL,
 [UM09H] [decimal](15, 2) NOT NULL,
 [UM09U] [decimal](15, 2) NOT NULL,
 [UM10S] [decimal](15, 2) NOT NULL,
 [UM10H] [decimal](15, 2) NOT NULL,
 [UM10U] [decimal](15, 2) NOT NULL,
 [UM11S] [decimal](15, 2) NOT NULL,
 [UM11H] [decimal](15, 2) NOT NULL,
 [UM11U] [decimal](15, 2) NOT NULL,
 [UM12S] [decimal](15, 2) NOT NULL,
 [UM12H] [decimal](15, 2) NOT NULL,
 [UM12U] [decimal](15, 2) NOT NULL,
 [UM13S] [decimal](15, 2) NOT NULL,
 [UM13H] [decimal](15, 2) NOT NULL,
 [UM13U] [decimal](15, 2) NOT NULL,
 [UM14S] [decimal](15, 2) NOT NULL,
 [UM14H] [decimal](15, 2) NOT NULL,
 [UM14U] [decimal](15, 2) NOT NULL,
 [UM15S] [decimal](15, 2) NOT NULL,
 [UM15H] [decimal](15, 2) NOT NULL,
 [UM15U] [decimal](15, 2) NOT NULL,
 [UM16S] [decimal](15, 2) NOT NULL,
 [UM16H] [decimal](15, 2) NOT NULL,
 [UM16U] [decimal](15, 2) NOT NULL,
 [BABZG] [decimal](15, 2) NOT NULL,
 [UABZG] [decimal](15, 2) NOT NULL,
 [KZINS] [decimal](15, 2) NOT NULL,
 [KUMAG] [decimal](15, 2) NOT NULL,
 CONSTRAINT [KNC1~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [BUKRS] ASC,
 [GJAHR] 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].[KNBK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNBK](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [BANKS] [nvarchar](3) NOT NULL,
 [BANKL] [nvarchar](15) NOT NULL,
 [BANKN] [nvarchar](18) NOT NULL,
 [BKONT] [nvarchar](2) NOT NULL,
 [BVTYP] [nvarchar](4) NOT NULL,
 [XEZER] [nvarchar](1) NOT NULL,
 [BKREF] [nvarchar](20) NOT NULL,
 [KOINH] [nvarchar](60) NOT NULL,
 [EBPP_ACCNAME] [nvarchar](40) NOT NULL,
 [EBPP_BVSTATUS] [nvarchar](1) NOT NULL,
 [KOVON] [nvarchar](8) NOT NULL,
 [KOBIS] [nvarchar](8) NOT NULL,
 CONSTRAINT [KNBK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [BANKS] ASC,
 [BANKL] ASC,
 [BANKN] 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].[KNB5]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNB5](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [MABER] [nvarchar](2) NOT NULL,
 [MAHNA] [nvarchar](4) NOT NULL,
 [MANSP] [nvarchar](1) NOT NULL,
 [MADAT] [nvarchar](8) NOT NULL,
 [MAHNS] [nvarchar](1) NOT NULL,
 [KNRMA] [nvarchar](10) NOT NULL,
 [GMVDT] [nvarchar](8) NOT NULL,
 [BUSAB] [nvarchar](2) NOT NULL,
 CONSTRAINT [KNB5~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [BUKRS] ASC,
 [MABER] 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].[KNB4]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNB4](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [AUFZD] [nvarchar](8) NOT NULL,
 [JAH01] [nvarchar](4) NOT NULL,
 [MON01] [nvarchar](2) NOT NULL,
 [AGS01] [decimal](15, 2) NOT NULL,
 [VZS01] [decimal](3, 0) NOT NULL,
 [AGN01] [decimal](15, 2) NOT NULL,
 [VZN01] [decimal](3, 0) NOT NULL,
 [ANZ01] [decimal](3, 0) NOT NULL,
 [JAH02] [nvarchar](4) NOT NULL,
 [MON02] [nvarchar](2) NOT NULL,
 [AGS02] [decimal](15, 2) NOT NULL,
 [VZS02] [decimal](3, 0) NOT NULL,
 [AGN02] [decimal](15, 2) NOT NULL,
 [VZN02] [decimal](3, 0) NOT NULL,
 [ANZ02] [decimal](3, 0) NOT NULL,
 [JAH03] [nvarchar](4) NOT NULL,
 [MON03] [nvarchar](2) NOT NULL,
 [AGS03] [decimal](15, 2) NOT NULL,
 [VZS03] [decimal](3, 0) NOT NULL,
 [AGN03] [decimal](15, 2) NOT NULL,
 [VZN03] [decimal](3, 0) NOT NULL,
 [ANZ03] [decimal](3, 0) NOT NULL,
 [JAH04] [nvarchar](4) NOT NULL,
 [MON04] [nvarchar](2) NOT NULL,
 [AGS04] [decimal](15, 2) NOT NULL,
 [VZS04] [decimal](3, 0) NOT NULL,
 [AGN04] [decimal](15, 2) NOT NULL,
 [VZN04] [decimal](3, 0) NOT NULL,
 [ANZ04] [decimal](3, 0) NOT NULL,
 [JAH05] [nvarchar](4) NOT NULL,
 [MON05] [nvarchar](2) NOT NULL,
 [AGS05] [decimal](15, 2) NOT NULL,
 [VZS05] [decimal](3, 0) NOT NULL,
 [AGN05] [decimal](15, 2) NOT NULL,
 [VZN05] [decimal](3, 0) NOT NULL,
 [ANZ05] [decimal](3, 0) NOT NULL,
 [JAH06] [nvarchar](4) NOT NULL,
 [MON06] [nvarchar](2) NOT NULL,
 [AGS06] [decimal](15, 2) NOT NULL,
 [VZS06] [decimal](3, 0) NOT NULL,
 [AGN06] [decimal](15, 2) NOT NULL,
 [VZN06] [decimal](3, 0) NOT NULL,
 [ANZ06] [decimal](3, 0) NOT NULL,
 [JAH07] [nvarchar](4) NOT NULL,
 [MON07] [nvarchar](2) NOT NULL,
 [AGS07] [decimal](15, 2) NOT NULL,
 [VZS07] [decimal](3, 0) NOT NULL,
 [AGN07] [decimal](15, 2) NOT NULL,
 [VZN07] [decimal](3, 0) NOT NULL,
 [ANZ07] [decimal](3, 0) NOT NULL,
 [JAH08] [nvarchar](4) NOT NULL,
 [MON08] [nvarchar](2) NOT NULL,
 [AGS08] [decimal](15, 2) NOT NULL,
 [VZS08] [decimal](3, 0) NOT NULL,
 [AGN08] [decimal](15, 2) NOT NULL,
 [VZN08] [decimal](3, 0) NOT NULL,
 [ANZ08] [decimal](3, 0) NOT NULL,
 [JAH09] [nvarchar](4) NOT NULL,
 [MON09] [nvarchar](2) NOT NULL,
 [AGS09] [decimal](15, 2) NOT NULL,
 [VZS09] [decimal](3, 0) NOT NULL,
 [AGN09] [decimal](15, 2) NOT NULL,
 [VZN09] [decimal](3, 0) NOT NULL,
 [ANZ09] [decimal](3, 0) NOT NULL,
 [JAH10] [nvarchar](4) NOT NULL,
 [MON10] [nvarchar](2) NOT NULL,
 [AGS10] [decimal](15, 2) NOT NULL,
 [VZS10] [decimal](3, 0) NOT NULL,
 [AGN10] [decimal](15, 2) NOT NULL,
 [VZN10] [decimal](3, 0) NOT NULL,
 [ANZ10] [decimal](3, 0) NOT NULL,
 [JAH11] [nvarchar](4) NOT NULL,
 [MON11] [nvarchar](2) NOT NULL,
 [AGS11] [decimal](15, 2) NOT NULL,
 [VZS11] [decimal](3, 0) NOT NULL,
 [AGN11] [decimal](15, 2) NOT NULL,
 [VZN11] [decimal](3, 0) NOT NULL,
 [ANZ11] [decimal](3, 0) NOT NULL,
 [JAH12] [nvarchar](4) NOT NULL,
 [MON12] [nvarchar](2) NOT NULL,
 [AGS12] [decimal](15, 2) NOT NULL,
 [VZS12] [decimal](3, 0) NOT NULL,
 [AGN12] [decimal](15, 2) NOT NULL,
 [VZN12] [decimal](3, 0) NOT NULL,
 [ANZ12] [decimal](3, 0) NOT NULL,
 [JAH13] [nvarchar](4) NOT NULL,
 [MON13] [nvarchar](2) NOT NULL,
 [AGS13] [decimal](15, 2) NOT NULL,
 [VZS13] [decimal](3, 0) NOT NULL,
 [AGN13] [decimal](15, 2) NOT NULL,
 [VZN13] [decimal](3, 0) NOT NULL,
 [ANZ13] [decimal](3, 0) NOT NULL,
 [JAH14] [nvarchar](4) NOT NULL,
 [MON14] [nvarchar](2) NOT NULL,
 [AGS14] [decimal](15, 2) NOT NULL,
 [VZS14] [decimal](3, 0) NOT NULL,
 [AGN14] [decimal](15, 2) NOT NULL,
 [VZN14] [decimal](3, 0) NOT NULL,
 [ANZ14] [decimal](3, 0) NOT NULL,
 [JAH15] [nvarchar](4) NOT NULL,
 [MON15] [nvarchar](2) NOT NULL,
 [AGS15] [decimal](15, 2) NOT NULL,
 [VZS15] [decimal](3, 0) NOT NULL,
 [AGN15] [decimal](15, 2) NOT NULL,
 [VZN15] [decimal](3, 0) NOT NULL,
 [ANZ15] [decimal](3, 0) NOT NULL,
 [JAH16] [nvarchar](4) NOT NULL,
 [MON16] [nvarchar](2) NOT NULL,
 [AGS16] [decimal](15, 2) NOT NULL,
 [VZS16] [decimal](3, 0) NOT NULL,
 [AGN16] [decimal](15, 2) NOT NULL,
 [VZN16] [decimal](3, 0) NOT NULL,
 [ANZ16] [decimal](3, 0) NOT NULL,
 CONSTRAINT [KNB4~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [BUKRS] 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].[KNB1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNB1](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [SPERR] [nvarchar](1) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [ZUAWA] [nvarchar](3) NOT NULL,
 [BUSAB] [nvarchar](2) NOT NULL,
 [AKONT] [nvarchar](10) NOT NULL,
 [BEGRU] [nvarchar](4) NOT NULL,
 [KNRZE] [nvarchar](10) NOT NULL,
 [KNRZB] [nvarchar](10) NOT NULL,
 [ZAMIM] [nvarchar](1) NOT NULL,
 [ZAMIV] [nvarchar](1) NOT NULL,
 [ZAMIR] [nvarchar](1) NOT NULL,
 [ZAMIB] [nvarchar](1) NOT NULL,
 [ZAMIO] [nvarchar](1) NOT NULL,
 [ZWELS] [nvarchar](10) NOT NULL,
 [XVERR] [nvarchar](1) NOT NULL,
 [ZAHLS] [nvarchar](1) NOT NULL,
 [ZTERM] [nvarchar](4) NOT NULL,
 [WAKON] [nvarchar](4) NOT NULL,
 [VZSKZ] [nvarchar](2) NOT NULL,
 [ZINDT] [nvarchar](8) NOT NULL,
 [ZINRT] [nvarchar](2) NOT NULL,
 [EIKTO] [nvarchar](12) NOT NULL,
 [ZSABE] [nvarchar](15) NOT NULL,
 [KVERM] [nvarchar](30) NOT NULL,
 [FDGRV] [nvarchar](10) NOT NULL,
 [VRBKZ] [nvarchar](2) NOT NULL,
 [VLIBB] [decimal](13, 2) NOT NULL,
 [VRSZL] [decimal](3, 0) NOT NULL,
 [VRSPR] [decimal](3, 0) NOT NULL,
 [VRSNR] [nvarchar](10) NOT NULL,
 [VERDT] [nvarchar](8) NOT NULL,
 [PERKZ] [nvarchar](1) NOT NULL,
 [XDEZV] [nvarchar](1) NOT NULL,
 [XAUSZ] [nvarchar](1) NOT NULL,
 [WEBTR] [decimal](13, 2) NOT NULL,
 [REMIT] [nvarchar](10) NOT NULL,
 [DATLZ] [nvarchar](8) NOT NULL,
 [XZVER] [nvarchar](1) NOT NULL,
 [TOGRU] [nvarchar](4) NOT NULL,
 [KULTG] [decimal](3, 0) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [XPORE] [nvarchar](1) NOT NULL,
 [BLNKZ] [nvarchar](2) NOT NULL,
 [ALTKN] [nvarchar](10) NOT NULL,
 [ZGRUP] [nvarchar](2) NOT NULL,
 [URLID] [nvarchar](4) NOT NULL,
 [MGRUP] [nvarchar](2) NOT NULL,
 [LOCKB] [nvarchar](7) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [EKVBD] [nvarchar](10) NOT NULL,
 [SREGL] [nvarchar](3) NOT NULL,
 [XEDIP] [nvarchar](1) NOT NULL,
 [FRGRP] [nvarchar](4) NOT NULL,
 [VRSDG] [nvarchar](3) NOT NULL,
 [TLFXS] [nvarchar](31) NOT NULL,
 [INTAD] [nvarchar](130) NOT NULL,
 [XKNZB] [nvarchar](1) NOT NULL,
 [GUZTE] [nvarchar](4) NOT NULL,
 [GRICD] [nvarchar](2) NOT NULL,
 [GRIDT] [nvarchar](2) NOT NULL,
 [WBRSL] [nvarchar](2) NOT NULL,
 [CONFS] [nvarchar](1) NOT NULL,
 [UPDAT] [nvarchar](8) NOT NULL,
 [UPTIM] [nvarchar](6) NOT NULL,
 [NODEL] [nvarchar](1) NOT NULL,
 [TLFNS] [nvarchar](30) NOT NULL,
 [CESSION_KZ] [nvarchar](2) NOT NULL,
 [GMVKZD] [nvarchar](1) NOT NULL,
 CONSTRAINT [KNB1~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [BUKRS] 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].[KNAS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNAS](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 CONSTRAINT [KNAS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KUNNR] ASC,
 [LAND1] 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].[KNA12]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNA12](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NULL,
 [NAME1] [nvarchar](35) NULL,
 [NAME2] [nvarchar](35) NULL,
 [ORT01] [nvarchar](35) NULL,
 [PSTLZ] [nvarchar](10) NULL,
 [REGIO] [nvarchar](3) NULL,
 [SORTL] [nvarchar](10) NULL,
 [STRAS] [nvarchar](35) NULL,
 [TELF1] [nvarchar](16) NULL,
 [TELFX] [nvarchar](31) NULL,
 [XCPDK] [nvarchar](1) NULL,
 [ADRNR] [nvarchar](10) NULL,
 [MCOD1] [nvarchar](25) NULL,
 [MCOD2] [nvarchar](25) NULL,
 [MCOD3] [nvarchar](25) NULL,
 [ANRED] [nvarchar](15) NULL,
 [AUFSD] [nvarchar](2) NULL,
 [BAHNE] [nvarchar](25) NULL,
 [BAHNS] [nvarchar](25) NULL,
 [BBBNR] [nvarchar](7) NULL,
 [BBSNR] [nvarchar](5) NULL,
 [BEGRU] [nvarchar](4) NULL,
 [BRSCH] [nvarchar](4) NULL,
 [BUBKZ] [nvarchar](1) NULL,
 [DATLT] [nvarchar](14) NULL,
 [ERDAT] [datetime] NULL,
 [ERNAM] [nvarchar](12) NULL,
 [EXABL] [nvarchar](1) NULL,
 [FAKSD] [nvarchar](2) NULL,
 [FISKN] [nvarchar](10) NULL,
 [KNAZK] [nvarchar](2) NULL,
 [KNRZA] [nvarchar](10) NULL,
 [KONZS] [nvarchar](10) NULL,
 [KTOKD] [nvarchar](4) NULL,
 [KUKLA] [nvarchar](2) NULL,
 [LIFNR] [nvarchar](10) NULL,
 [LIFSD] [nvarchar](2) NULL,
 [LOCCO] [nvarchar](10) NULL,
 [LOEVM] [nvarchar](1) NULL,
 [NAME3] [nvarchar](35) NULL,
 [NAME4] [nvarchar](35) NULL,
 [NIELS] [nvarchar](2) NULL,
 [ORT02] [nvarchar](35) NULL,
 [PFACH] [nvarchar](10) NULL,
 [PSTL2] [nvarchar](10) NULL,
 [COUNC] [nvarchar](3) NULL,
 [CITYC] [nvarchar](4) NULL,
 [RPMKR] [nvarchar](5) NULL,
 [SPERR] [nvarchar](1) NULL,
 [SPRAS] [nvarchar](2) NULL,
 [STCD1] [nvarchar](16) NULL,
 [STCD2] [nvarchar](11) NULL,
 [STKZA] [nvarchar](1) NULL,
 [STKZU] [nvarchar](1) NULL,
 [TELBX] [nvarchar](15) NULL,
 [TELF2] [nvarchar](16) NULL,
 [TELTX] [nvarchar](30) NULL,
 [TELX1] [nvarchar](30) NULL,
 [LZONE] [nvarchar](10) NULL,
 [XZEMP] [nvarchar](1) NULL,
 [VBUND] [nvarchar](6) NULL,
 [STCEG] [nvarchar](20) NULL,
 [DEAR1] [nvarchar](1) NULL,
 [DEAR2] [nvarchar](1) NULL,
 [DEAR3] [nvarchar](1) NULL,
 [DEAR4] [nvarchar](1) NULL,
 [DEAR5] [nvarchar](1) NULL,
 [GFORM] [nvarchar](2) NULL,
 [BRAN1] [nvarchar](10) NULL,
 [BRAN2] [nvarchar](10) NULL,
 [BRAN3] [nvarchar](10) NULL,
 [BRAN4] [nvarchar](10) NULL,
 [BRAN5] [nvarchar](10) NULL,
 [EKONT] [nvarchar](10) NULL,
 [UMSAT] [numeric](8, 2) NULL,
 [UMJAH] [nvarchar](4) NULL,
 [UWAER] [nvarchar](5) NULL,
 [JMZAH] [nvarchar](6) NULL,
 [JMJAH] [nvarchar](4) NULL,
 [KATR1] [nvarchar](2) NULL,
 [KATR2] [nvarchar](2) NULL,
 [KATR3] [nvarchar](2) NULL,
 [KATR4] [nvarchar](2) NULL,
 [KATR5] [nvarchar](2) NULL,
 [KATR6] [nvarchar](3) NULL,
 [KATR7] [nvarchar](3) NULL,
 [KATR8] [nvarchar](3) NULL,
 [KATR9] [nvarchar](3) NULL,
 [KATR10] [nvarchar](3) NULL,
 [STKZN] [nvarchar](1) NULL,
 [UMSA1] [numeric](15, 2) NULL,
 [TXJCD] [nvarchar](15) NULL,
 [PERIV] [nvarchar](2) NULL,
 [ABRVW] [nvarchar](3) NULL,
 [INSPBYDEBI] [nvarchar](1) NULL,
 [INSPATDEBI] [nvarchar](1) NULL,
 [KTOCD] [nvarchar](4) NULL,
 [PFORT] [nvarchar](35) NULL,
 [WERKS] [nvarchar](4) NULL,
 [DTAMS] [nvarchar](1) NULL,
 [DTAWS] [nvarchar](2) NULL,
 [DUEFL] [nvarchar](1) NULL,
 [HZUOR] [nvarchar](2) NULL,
 [SPERZ] [nvarchar](1) NULL,
 [ETIKG] [nvarchar](10) NULL,
 [CIVVE] [nvarchar](1) NULL,
 [MILVE] [nvarchar](1) NULL,
 [KDKG1] [nvarchar](2) NULL,
 [KDKG2] [nvarchar](2) NULL,
 [KDKG3] [nvarchar](2) NULL,
 [KDKG4] [nvarchar](2) NULL,
 [KDKG5] [nvarchar](2) NULL,
 [XKNZA] [nvarchar](1) NULL,
 [FITYP] [nvarchar](2) NULL,
 [STCDT] [nvarchar](2) NULL,
 [STCD3] [nvarchar](18) NULL,
 [STCD4] [nvarchar](18) NULL,
 [XICMS] [nvarchar](1) NULL,
 [XXIPI] [nvarchar](1) NULL,
 [XSUBT] [nvarchar](3) NULL,
 [CFOPC] [nvarchar](2) NULL,
 [TXLW1] [nvarchar](3) NULL,
 [TXLW2] [nvarchar](3) NULL,
 [CCC01] [nvarchar](1) NULL,
 [CCC02] [nvarchar](1) NULL,
 [CCC03] [nvarchar](1) NULL,
 [CCC04] [nvarchar](1) NULL,
 [CASSD] [nvarchar](2) NULL,
 [KNURL] [nvarchar](132) NULL,
 [J_1KFREPRE] [nvarchar](10) NULL,
 [J_1KFTBUS] [nvarchar](30) NULL,
 [J_1KFTIND] [nvarchar](30) NULL,
 [CONFS] [nvarchar](1) NULL,
 [UPDAT] [datetime] NULL,
 [UPTIM] [bigint] NULL,
 [NODEL] [nvarchar](1) NULL,
 [DEAR6] [nvarchar](1) NULL,
 [/VSO/R_PALHGT] [numeric](13, 3) NULL,
 [/VSO/R_PAL_UL] [nvarchar](3) NULL,
 [/VSO/R_PK_MAT] [nvarchar](1) NULL,
 [/VSO/R_MATPAL] [nvarchar](18) NULL,
 [/VSO/R_I_NO_LYR] [nvarchar](2) NULL,
 [/VSO/R_ONE_MAT] [nvarchar](1) NULL,
 [/VSO/R_ONE_SORT] [nvarchar](1) NULL,
 [/VSO/R_ULD_SIDE] [nvarchar](1) NULL,
 [/VSO/R_LOAD_PREF] [nvarchar](1) NULL,
 [/VSO/R_DPOINT] [nvarchar](10) NULL,
 [ALC] [nvarchar](8) NULL,
 [PMT_OFFICE] [nvarchar](5) NULL,
 [PSOFG] [nvarchar](10) NULL,
 [PSOIS] [nvarchar](20) NULL,
 [PSON1] [nvarchar](35) NULL,
 [PSON2] [nvarchar](35) NULL,
 [PSON3] [nvarchar](35) NULL,
 [PSOVN] [nvarchar](35) NULL,
 [PSOTL] [nvarchar](20) NULL,
 [PSOHS] [nvarchar](6) NULL,
 [PSOST] [nvarchar](28) NULL,
 [PSOO1] [nvarchar](50) NULL,
 [PSOO2] [nvarchar](50) NULL,
 [PSOO3] [nvarchar](50) NULL,
 [PSOO4] [nvarchar](50) NULL,
 [PSOO5] [nvarchar](50) NULL,
 [MANDT 的副本] [nvarchar](3) NULL,
 [KUNNR 的副本] [nvarchar](10) NULL,
 [LAND1 的副本] [nvarchar](3) NULL,
 [NAME1 的副本] [nvarchar](35) NULL,
 [NAME2 的副本] [nvarchar](35) NULL,
 [ORT01 的副本] [nvarchar](35) NULL,
 [PSTLZ 的副本] [nvarchar](10) NULL,
 [REGIO 的副本] [nvarchar](3) NULL,
 [SORTL 的副本] [nvarchar](10) NULL,
 [STRAS 的副本] [nvarchar](35) NULL,
 [TELF1 的副本] [nvarchar](16) NULL,
 [TELFX 的副本] [nvarchar](31) NULL,
 [XCPDK 的副本] [nvarchar](1) NULL,
 [ADRNR 的副本] [nvarchar](10) NULL,
 [MCOD1 的副本] [nvarchar](25) NULL,
 [MCOD2 的副本] [nvarchar](25) NULL,
 [MCOD3 的副本] [nvarchar](25) NULL,
 [ANRED 的副本] [nvarchar](15) NULL,
 [AUFSD 的副本] [nvarchar](2) NULL,
 [BAHNE 的副本] [nvarchar](25) NULL,
 [BAHNS 的副本] [nvarchar](25) NULL,
 [BBBNR 的副本] [nvarchar](7) NULL,
 [BBSNR 的副本] [nvarchar](5) NULL,
 [BEGRU 的副本] [nvarchar](4) NULL,
 [BRSCH 的副本] [nvarchar](4) NULL,
 [BUBKZ 的副本] [nvarchar](1) NULL,
 [DATLT 的副本] [nvarchar](14) NULL,
 [ERDAT 的副本] [datetime] NULL,
 [ERNAM 的副本] [nvarchar](12) NULL,
 [EXABL 的副本] [nvarchar](1) NULL,
 [FAKSD 的副本] [nvarchar](2) NULL,
 [FISKN 的副本] [nvarchar](10) NULL,
 [KNAZK 的副本] [nvarchar](2) NULL,
 [KNRZA 的副本] [nvarchar](10) NULL,
 [KUKLA 的副本] [nvarchar](2) NULL,
 [KONZS 的副本] [nvarchar](10) NULL,
 [KTOKD 的副本] [nvarchar](4) NULL,
 [LIFNR 的副本] [nvarchar](10) NULL,
 [LIFSD 的副本] [nvarchar](2) NULL,
 [LOCCO 的副本] [nvarchar](10) NULL,
 [LOEVM 的副本] [nvarchar](1) NULL,
 [NAME4 的副本] [nvarchar](35) NULL,
 [NAME3 的副本] [nvarchar](35) NULL,
 [NIELS 的副本] [nvarchar](2) NULL,
 [ORT02 的副本] [nvarchar](35) NULL,
 [PFACH 的副本] [nvarchar](10) NULL,
 [PSTL2 的副本] [nvarchar](10) NULL,
 [COUNC 的副本] [nvarchar](3) NULL,
 [CITYC 的副本] [nvarchar](4) NULL,
 [RPMKR 的副本] [nvarchar](5) NULL,
 [SPERR 的副本] [nvarchar](1) NULL,
 [SPRAS 的副本] [nvarchar](2) NULL,
 [STCD1 的副本] [nvarchar](16) NULL,
 [STCD2 的副本] [nvarchar](11) NULL,
 [STKZA 的副本] [nvarchar](1) NULL,
 [STKZU 的副本] [nvarchar](1) NULL,
 [TELBX 的副本] [nvarchar](15) NULL,
 [TELF2 的副本] [nvarchar](16) NULL,
 [TELTX 的副本] [nvarchar](30) NULL,
 [TELX1 的副本] [nvarchar](30) NULL,
 [LZONE 的副本] [nvarchar](10) NULL,
 [XZEMP 的副本] [nvarchar](1) NULL,
 [VBUND 的副本] [nvarchar](6) NULL,
 [STCEG 的副本] [nvarchar](20) NULL,
 [DEAR1 的副本] [nvarchar](1) NULL,
 [DEAR2 的副本] [nvarchar](1) NULL,
 [DEAR3 的副本] [nvarchar](1) NULL,
 [DEAR4 的副本] [nvarchar](1) NULL,
 [DEAR5 的副本] [nvarchar](1) NULL,
 [GFORM 的副本] [nvarchar](2) NULL,
 [BRAN1 的副本] [nvarchar](10) NULL,
 [BRAN2 的副本] [nvarchar](10) NULL,
 [BRAN3 的副本] [nvarchar](10) NULL,
 [BRAN4 的副本] [nvarchar](10) NULL,
 [BRAN5 的副本] [nvarchar](10) NULL,
 [EKONT 的副本] [nvarchar](10) NULL,
 [UMSAT 的副本] [numeric](8, 2) NULL,
 [UMJAH 的副本] [nvarchar](4) NULL,
 [UWAER 的副本] [nvarchar](5) NULL,
 [JMZAH 的副本] [nvarchar](6) NULL,
 [JMJAH 的副本] [nvarchar](4) NULL,
 [KATR1 的副本] [nvarchar](2) NULL,
 [KATR2 的副本] [nvarchar](2) NULL,
 [KATR3 的副本] [nvarchar](2) NULL,
 [KATR4 的副本] [nvarchar](2) NULL,
 [KATR5 的副本] [nvarchar](2) NULL,
 [KATR6 的副本] [nvarchar](3) NULL,
 [KATR7 的副本] [nvarchar](3) NULL,
 [KATR8 的副本] [nvarchar](3) NULL,
 [KATR9 的副本] [nvarchar](3) NULL,
 [KATR10 的副本] [nvarchar](3) NULL,
 [STKZN 的副本] [nvarchar](1) NULL,
 [UMSA1 的副本] [numeric](15, 2) NULL,
 [TXJCD 的副本] [nvarchar](15) NULL,
 [PERIV 的副本] [nvarchar](2) NULL,
 [ABRVW 的副本] [nvarchar](3) NULL,
 [INSPBYDEBI 的副本] [nvarchar](1) NULL,
 [INSPATDEBI 的副本] [nvarchar](1) NULL,
 [KTOCD 的副本] [nvarchar](4) NULL,
 [PFORT 的副本] [nvarchar](35) NULL,
 [WERKS 的副本] [nvarchar](4) NULL,
 [DTAMS 的副本] [nvarchar](1) NULL,
 [DTAWS 的副本] [nvarchar](2) NULL,
 [DUEFL 的副本] [nvarchar](1) NULL,
 [HZUOR 的副本] [nvarchar](2) NULL,
 [SPERZ 的副本] [nvarchar](1) NULL,
 [ETIKG 的副本] [nvarchar](10) NULL,
 [CIVVE 的副本] [nvarchar](1) NULL,
 [MILVE 的副本] [nvarchar](1) NULL,
 [KDKG1 的副本] [nvarchar](2) NULL,
 [KDKG2 的副本] [nvarchar](2) NULL,
 [KDKG3 的副本] [nvarchar](2) NULL,
 [KDKG4 的副本] [nvarchar](2) NULL,
 [KDKG5 的副本] [nvarchar](2) NULL,
 [XKNZA 的副本] [nvarchar](1) NULL,
 [FITYP 的副本] [nvarchar](2) NULL,
 [STCDT 的副本] [nvarchar](2) NULL,
 [STCD3 的副本] [nvarchar](18) NULL,
 [STCD4 的副本] [nvarchar](18) NULL,
 [XICMS 的副本] [nvarchar](1) NULL,
 [XXIPI 的副本] [nvarchar](1) NULL,
 [XSUBT 的副本] [nvarchar](3) NULL,
 [CFOPC 的副本] [nvarchar](2) NULL,
 [TXLW1 的副本] [nvarchar](3) NULL,
 [TXLW2 的副本] [nvarchar](3) NULL,
 [CCC01 的副本] [nvarchar](1) NULL,
 [CCC02 的副本] [nvarchar](1) NULL,
 [CCC03 的副本] [nvarchar](1) NULL,
 [CCC04 的副本] [nvarchar](1) NULL,
 [CASSD 的副本] [nvarchar](2) NULL,
 [KNURL 的副本] [nvarchar](132) NULL,
 [J_1KFREPRE 的副本] [nvarchar](10) NULL,
 [J_1KFTBUS 的副本] [nvarchar](30) NULL,
 [J_1KFTIND 的副本] [nvarchar](30) NULL,
 [CONFS 的副本] [nvarchar](1) NULL,
 [UPDAT 的副本] [datetime] NULL,
 [UPTIM 的副本] [bigint] NULL,
 [NODEL 的副本] [nvarchar](1) NULL,
 [DEAR6 的副本] [nvarchar](1) NULL,
 [/VSO/R_PALHGT 的副本] [numeric](13, 3) NULL,
 [/VSO/R_PAL_UL 的副本] [nvarchar](3) NULL,
 [/VSO/R_PK_MAT 的副本] [nvarchar](1) NULL,
 [/VSO/R_MATPAL 的副本] [nvarchar](18) NULL,
 [/VSO/R_I_NO_LYR 的副本] [nvarchar](2) NULL,
 [/VSO/R_ONE_MAT 的副本] [nvarchar](1) NULL,
 [/VSO/R_ONE_SORT 的副本] [nvarchar](1) NULL,
 [/VSO/R_ULD_SIDE 的副本] [nvarchar](1) NULL,
 [/VSO/R_LOAD_PREF 的副本] [nvarchar](1) NULL,
 [/VSO/R_DPOINT 的副本] [nvarchar](10) NULL,
 [ALC 的副本] [nvarchar](8) NULL,
 [PMT_OFFICE 的副本] [nvarchar](5) NULL,
 [PSOFG 的副本] [nvarchar](10) NULL,
 [PSOIS 的副本] [nvarchar](20) NULL,
 [PSON1 的副本] [nvarchar](35) NULL,
 [PSON2 的副本] [nvarchar](35) NULL,
 [PSON3 的副本] [nvarchar](35) NULL,
 [PSOVN 的副本] [nvarchar](35) NULL,
 [PSOTL 的副本] [nvarchar](20) NULL,
 [PSOHS 的副本] [nvarchar](6) NULL,
 [PSOST 的副本] [nvarchar](28) NULL,
 [PSOO1 的副本] [nvarchar](50) NULL,
 [PSOO2 的副本] [nvarchar](50) NULL,
 [PSOO3 的副本] [nvarchar](50) NULL,
 [PSOO4 的副本] [nvarchar](50) NULL,
 [PSOO5 的副本] [nvarchar](50) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[KNA1]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[KNA1](
 [MANDT] [nvarchar](3) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [NAME1] [nvarchar](35) NOT NULL,
 [NAME2] [nvarchar](35) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 [PSTLZ] [nvarchar](10) NOT NULL,
 [REGIO] [nvarchar](3) NOT NULL,
 [SORTL] [nvarchar](10) NOT NULL,
 [STRAS] [nvarchar](35) NOT NULL,
 [TELF1] [nvarchar](16) NOT NULL,
 [TELFX] [nvarchar](31) NOT NULL,
 [XCPDK] [nvarchar](1) NOT NULL,
 [ADRNR] [nvarchar](10) NOT NULL,
 [MCOD1] [nvarchar](25) NOT NULL,
 [MCOD2] [nvarchar](25) NOT NULL,
 [MCOD3] [nvarchar](25) NOT NULL,
 [ANRED] [nvarchar](15) NOT NULL,
 [AUFSD] [nvarchar](2) NOT NULL,
 [BAHNE] [nvarchar](25) NOT NULL,
 [BAHNS] [nvarchar](25) NOT NULL,
 [BBBNR] [nvarchar](7) NOT NULL,
 [BBSNR] [nvarchar](5) NOT NULL,
 [BEGRU] [nvarchar](4) NOT NULL,
 [BRSCH] [nvarchar](4) NOT NULL,
 [BUBKZ] [nvarchar](1) NOT NULL,
 [DATLT] [nvarchar](14) NOT NULL,
 [ERDAT] [datetime] NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [EXABL] [nvarchar](1) NOT NULL,
 [FAKSD] [nvarchar](2) NOT NULL,
 [FISKN] [nvarchar](10) NOT NULL,
 [KNAZK] [nvarchar](2) NOT NULL,
 [KNRZA] [nvarchar](10) NOT NULL,
 [KONZS] [nvarchar](10) NOT NULL,
 [KTOKD] [nvarchar](4) NOT NULL,
 [KUKLA] [nvarchar](2) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [LIFSD] [nvarchar](2) NOT NULL,
 [LOCCO] [nvarchar](10) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [NAME3] [nvarchar](35) NOT NULL,
 [NAME4] [nvarchar](35) NOT NULL,
 [NIELS] [nvarchar](2) NOT NULL,
 [ORT02] [nvarchar](35) NOT NULL,
 [PFACH] [nvarchar](10) NOT NULL,
 [PSTL2] [nvarchar](10) NOT NULL,
 [COUNC] [nvarchar](3) NOT NULL,
 [CITYC] [nvarchar](4) NOT NULL,
 [RPMKR] [nvarchar](5) NOT NULL,
 [SPERR] [nvarchar](1) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [STCD1] [nvarchar](16) NOT NULL,
 [STCD2] [nvarchar](11) NOT NULL,
 [STKZA] [nvarchar](1) NOT NULL,
 [STKZU] [nvarchar](1) NOT NULL,
 [TELBX] [nvarchar](15) NOT NULL,
 [TELF2] [nvarchar](16) NOT NULL,
 [TELTX] [nvarchar](30) NOT NULL,
 [TELX1] [nvarchar](30) NOT NULL,
 [LZONE] [nvarchar](10) NOT NULL,
 [XZEMP] [nvarchar](1) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 [DEAR1] [nvarchar](1) NOT NULL,
 [DEAR2] [nvarchar](1) NOT NULL,
 [DEAR3] [nvarchar](1) NOT NULL,
 [DEAR4] [nvarchar](1) NOT NULL,
 [DEAR5] [nvarchar](1) NOT NULL,
 [GFORM] [nvarchar](2) NOT NULL,
 [BRAN1] [nvarchar](10) NOT NULL,
 [BRAN2] [nvarchar](10) NOT NULL,
 [BRAN3] [nvarchar](10) NOT NULL,
 [BRAN4] [nvarchar](10) NOT NULL,
 [BRAN5] [nvarchar](10) NOT NULL,
 [EKONT] [nvarchar](10) NOT NULL,
 [UMSAT] [decimal](8, 2) NOT NULL,
 [UMJAH] [nvarchar](4) NOT NULL,
 [UWAER] [nvarchar](5) NOT NULL,
 [JMZAH] [nvarchar](6) NOT NULL,
 [JMJAH] [nvarchar](4) NOT NULL,
 [KATR1] [nvarchar](2) NOT NULL,
 [KATR2] [nvarchar](2) NOT NULL,
 [KATR3] [nvarchar](2) NOT NULL,
 [KATR4] [nvarchar](2) NOT NULL,
 [KATR5] [nvarchar](2) NOT NULL,
 [KATR6] [nvarchar](3) NOT NULL,
 [KATR7] [nvarchar](3) NOT NULL,
 [KATR8] [nvarchar](3) NOT NULL,
 [KATR9] [nvarchar](3) NOT NULL,
 [KATR10] [nvarchar](3) NOT NULL,
 [STKZN] [nvarchar](1) NOT NULL,
 [UMSA1] [decimal](15, 2) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [PERIV] [nvarchar](2) NOT NULL,
 [ABRVW] [nvarchar](3) NOT NULL,
 [INSPBYDEBI] [nvarchar](1) NOT NULL,
 [INSPATDEBI] [nvarchar](1) NOT NULL,
 [KTOCD] [nvarchar](4) NOT NULL,
 [PFORT] [nvarchar](35) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [DTAMS] [nvarchar](1) NOT NULL,
 [DTAWS] [nvarchar](2) NOT NULL,
 [DUEFL] [nvarchar](1) NOT NULL,
 [HZUOR] [nvarchar](2) NOT NULL,
 [SPERZ] [nvarchar](1) NOT NULL,
 [ETIKG] [nvarchar](10) NOT NULL,
 [CIVVE] [nvarchar](1) NOT NULL,
 [MILVE] [nvarchar](1) NOT NULL,
 [KDKG1] [nvarchar](2) NOT NULL,
 [KDKG2] [nvarchar](2) NOT NULL,
 [KDKG3] [nvarchar](2) NOT NULL,
 [KDKG4] [nvarchar](2) NOT NULL,
 [KDKG5] [nvarchar](2) NOT NULL,
 [XKNZA] [nvarchar](1) NOT NULL,
 [FITYP] [nvarchar](2) NOT NULL,
 [STCDT] [nvarchar](2) NOT NULL,
 [STCD3] [nvarchar](18) NOT NULL,
 [STCD4] [nvarchar](18) NOT NULL,
 [XICMS] [nvarchar](1) NOT NULL,
 [XXIPI] [nvarchar](1) NOT NULL,
 [XSUBT] [nvarchar](3) NOT NULL,
 [CFOPC] [nvarchar](2) NOT NULL,
 [TXLW1] [nvarchar](3) NOT NULL,
 [TXLW2] [nvarchar](3) NOT NULL,
 [CCC01] [nvarchar](1) NOT NULL,
 [CCC02] [nvarchar](1) NOT NULL,
 [CCC03] [nvarchar](1) NOT NULL,
 [CCC04] [nvarchar](1) NOT NULL,
 [CASSD] [nvarchar](2) NOT NULL,
 [KNURL] [nvarchar](132) NOT NULL,
 [J_1KFREPRE] [nvarchar](10) NOT NULL,
 [J_1KFTBUS] [nvarchar](30) NOT NULL,
 [J_1KFTIND] [nvarchar](30) NOT NULL,
 [CONFS] [nvarchar](1) NOT NULL,
 [UPDAT] [datetime] NOT NULL,
 [UPTIM] [datetime] NOT NULL,
 [NODEL] [nvarchar](1) NOT NULL,
 [DEAR6] [nvarchar](1) NOT NULL,
 [/VSO/R_PALHGT] [decimal](13, 3) NOT NULL,
 [/VSO/R_PAL_UL] [nvarchar](3) NOT NULL,
 [/VSO/R_PK_MAT] [nvarchar](1) NOT NULL,
 [/VSO/R_MATPAL] [nvarchar](18) NOT NULL,
 [/VSO/R_I_NO_LYR] [nvarchar](2) NOT NULL,
 [/VSO/R_ONE_MAT] [nvarchar](1) NOT NULL,
 [/VSO/R_ONE_SORT] [nvarchar](1) NOT NULL,
 [/VSO/R_ULD_SIDE] [nvarchar](1) NOT NULL,
 [/VSO/R_LOAD_PREF] [nvarchar](1) NOT NULL,
 [/VSO/R_DPOINT] [nvarchar](10) NOT NULL,
 [ALC] [nvarchar](8) NOT NULL,
 [PMT_OFFICE] [nvarchar](5) NOT NULL,
 [PSOFG] [nvarchar](10) NOT NULL,
 [PSOIS] [nvarchar](20) NOT NULL,
 [PSON1] [nvarchar](35) NOT NULL,
 [PSON2] [nvarchar](35) NOT NULL,
 [PSON3] [nvarchar](35) NOT NULL,
 [PSOVN] [nvarchar](35) NOT NULL,
 [PSOTL] [nvarchar](20) NOT NULL,
 [PSOHS] [nvarchar](6) NOT NULL,
 [PSOST] [nvarchar](28) NOT NULL,
 [PSOO1] [nvarchar](50) NOT NULL,
 [PSOO2] [nvarchar](50) NOT NULL,
 [PSOO3] [nvarchar](50) NOT NULL,
 [PSOO4] [nvarchar](50) NOT NULL,
 [PSOO5] [nvarchar](50) NOT NULL,
 CONSTRAINT [PK_KNA1] PRIMARY KEY CLUSTERED
(
 [KUNNR] 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].[IHPA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[IHPA](
 [MANDT] [nvarchar](3) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [PARVW] [nvarchar](2) NOT NULL,
 [COUNTER] [nvarchar](6) NOT NULL,
 [OBTYP] [nvarchar](3) NOT NULL,
 [PARNR] [nvarchar](12) NOT NULL,
 [INHER] [nvarchar](1) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [ERZEIT] [nvarchar](6) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [AEZEIT] [nvarchar](6) NOT NULL,
 [AENAM] [nvarchar](12) NOT NULL,
 [KZLOESCH] [nvarchar](1) NOT NULL,
 [ADRNR] [nvarchar](10) NOT NULL,
 [TZONSP] [nvarchar](6) NOT NULL,
 CONSTRAINT [IHPA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [OBJNR] ASC,
 [PARVW] ASC,
 [COUNTER] 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].[HRP1001]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[HRP1001](
 [MANDT] [nvarchar](3) NOT NULL,
 [OTYPE] [nvarchar](2) NOT NULL,
 [OBJID] [nvarchar](8) NOT NULL,
 [PLVAR] [nvarchar](2) NOT NULL,
 [RSIGN] [nvarchar](1) NOT NULL,
 [RELAT] [nvarchar](3) NOT NULL,
 [ISTAT] [nvarchar](1) NOT NULL,
 [PRIOX] [nvarchar](2) NOT NULL,
 [BEGDA] [nvarchar](8) NOT NULL,
 [ENDDA] [nvarchar](8) NOT NULL,
 [VARYF] [nvarchar](10) NOT NULL,
 [SEQNR] [nvarchar](3) NOT NULL,
 [INFTY] [nvarchar](4) NOT NULL,
 [OTJID] [nvarchar](10) NOT NULL,
 [SUBTY] [nvarchar](4) NOT NULL,
 [AEDTM] [nvarchar](8) NOT NULL,
 [UNAME] [nvarchar](12) NOT NULL,
 [REASN] [nvarchar](2) NOT NULL,
 [HISTO] [nvarchar](1) NOT NULL,
 [ITXNR] [nvarchar](8) NOT NULL,
 [SCLAS] [nvarchar](2) NOT NULL,
 [SOBID] [nvarchar](45) NOT NULL,
 [PROZT] [decimal](5, 2) NOT NULL,
 [ADATANR] [nvarchar](32) NOT NULL,
 CONSTRAINT [HRP1001~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [OTYPE] ASC,
 [OBJID] ASC,
 [PLVAR] ASC,
 [RSIGN] ASC,
 [RELAT] ASC,
 [ISTAT] ASC,
 [PRIOX] ASC,
 [BEGDA] ASC,
 [ENDDA] ASC,
 [VARYF] ASC,
 [SEQNR] 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].[HRP1000]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[HRP1000](
 [MANDT] [nvarchar](3) NOT NULL,
 [PLVAR] [nvarchar](2) NOT NULL,
 [OTYPE] [nvarchar](2) NOT NULL,
 [OBJID] [nvarchar](8) NOT NULL,
 [ISTAT] [nvarchar](1) NOT NULL,
 [BEGDA] [nvarchar](8) NOT NULL,
 [ENDDA] [nvarchar](8) NOT NULL,
 [LANGU] [nvarchar](1) NOT NULL,
 [SEQNR] [nvarchar](3) NOT NULL,
 [OTJID] [nvarchar](10) NOT NULL,
 [INFTY] [nvarchar](4) NOT NULL,
 [AEDTM] [nvarchar](8) NOT NULL,
 [UNAME] [nvarchar](12) NOT NULL,
 [REASN] [nvarchar](2) NOT NULL,
 [HISTO] [nvarchar](1) NOT NULL,
 [ITXNR] [nvarchar](8) NOT NULL,
 [SHORT] [nvarchar](12) NOT NULL,
 [STEXT] [nvarchar](40) NOT NULL,
 [GDATE] [nvarchar](8) NOT NULL,
 [MC_SHORT] [nvarchar](12) NOT NULL,
 [MC_STEXT] [nvarchar](40) NOT NULL,
 [MC_SEARK] [nvarchar](52) NOT NULL,
 CONSTRAINT [HRP1000~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PLVAR] ASC,
 [OTYPE] ASC,
 [OBJID] ASC,
 [ISTAT] ASC,
 [BEGDA] ASC,
 [ENDDA] ASC,
 [LANGU] ASC,
 [SEQNR] 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].[GLT0]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[GLT0](
 [RCLNT] [nvarchar](3) NOT NULL,
 [RLDNR] [nvarchar](2) NOT NULL,
 [RRCTY] [nvarchar](1) NOT NULL,
 [RVERS] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [RYEAR] [nvarchar](4) NOT NULL,
 [RACCT] [nvarchar](10) NOT NULL,
 [RBUSA] [nvarchar](4) NOT NULL,
 [RTCUR] [nvarchar](5) NOT NULL,
 [DRCRK] [nvarchar](1) NOT NULL,
 [RPMAX] [nvarchar](3) NOT NULL,
 [TSLVT] [decimal](15, 2) NOT NULL,
 [TSL01] [decimal](15, 2) NOT NULL,
 [TSL02] [decimal](15, 2) NOT NULL,
 [TSL03] [decimal](15, 2) NOT NULL,
 [TSL04] [decimal](15, 2) NOT NULL,
 [TSL05] [decimal](15, 2) NOT NULL,
 [TSL06] [decimal](15, 2) NOT NULL,
 [TSL07] [decimal](15, 2) NOT NULL,
 [TSL08] [decimal](15, 2) NOT NULL,
 [TSL09] [decimal](15, 2) NOT NULL,
 [TSL10] [decimal](15, 2) NOT NULL,
 [TSL11] [decimal](15, 2) NOT NULL,
 [TSL12] [decimal](15, 2) NOT NULL,
 [TSL13] [decimal](15, 2) NOT NULL,
 [TSL14] [decimal](15, 2) NOT NULL,
 [TSL15] [decimal](15, 2) NOT NULL,
 [TSL16] [decimal](15, 2) NOT NULL,
 [HSLVT] [decimal](15, 2) NOT NULL,
 [HSL01] [decimal](15, 2) NOT NULL,
 [HSL02] [decimal](15, 2) NOT NULL,
 [HSL03] [decimal](15, 2) NOT NULL,
 [HSL04] [decimal](15, 2) NOT NULL,
 [HSL05] [decimal](15, 2) NOT NULL,
 [HSL06] [decimal](15, 2) NOT NULL,
 [HSL07] [decimal](15, 2) NOT NULL,
 [HSL08] [decimal](15, 2) NOT NULL,
 [HSL09] [decimal](15, 2) NOT NULL,
 [HSL10] [decimal](15, 2) NOT NULL,
 [HSL11] [decimal](15, 2) NOT NULL,
 [HSL12] [decimal](15, 2) NOT NULL,
 [HSL13] [decimal](15, 2) NOT NULL,
 [HSL14] [decimal](15, 2) NOT NULL,
 [HSL15] [decimal](15, 2) NOT NULL,
 [HSL16] [decimal](15, 2) NOT NULL,
 [CSPRED] [nvarchar](4) NOT NULL,
 [KSLVT] [decimal](15, 2) NOT NULL,
 [KSL01] [decimal](15, 2) NOT NULL,
 [KSL02] [decimal](15, 2) NOT NULL,
 [KSL03] [decimal](15, 2) NOT NULL,
 [KSL04] [decimal](15, 2) NOT NULL,
 [KSL05] [decimal](15, 2) NOT NULL,
 [KSL06] [decimal](15, 2) NOT NULL,
 [KSL07] [decimal](15, 2) NOT NULL,
 [KSL08] [decimal](15, 2) NOT NULL,
 [KSL09] [decimal](15, 2) NOT NULL,
 [KSL10] [decimal](15, 2) NOT NULL,
 [KSL11] [decimal](15, 2) NOT NULL,
 [KSL12] [decimal](15, 2) NOT NULL,
 [KSL13] [decimal](15, 2) NOT NULL,
 [KSL14] [decimal](15, 2) NOT NULL,
 [KSL15] [decimal](15, 2) NOT NULL,
 [KSL16] [decimal](15, 2) NOT NULL,
 CONSTRAINT [GLT0~0] PRIMARY KEY CLUSTERED
(
 [RCLNT] ASC,
 [RLDNR] ASC,
 [RRCTY] ASC,
 [RVERS] ASC,
 [BUKRS] ASC,
 [RYEAR] ASC,
 [RACCT] ASC,
 [RBUSA] ASC,
 [RTCUR] ASC,
 [DRCRK] ASC,
 [RPMAX] 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].[FicalPeriod]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FicalPeriod](
 [PERIO] [nvarchar](3) NOT NULL,
 [MONTH] [nvarchar](6) NOT NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[DimDate]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DimDate](
 [DateKey] [datetime] NOT NULL,
 [FullDateAlternateKey] [date] NULL,
 [DayNumberOfWeek] [tinyint] NULL,
 [EnglishDayNameOfWeek] [nvarchar](10) NULL,
 [SpanishDayNameOfWeek] [nvarchar](10) NULL,
 [FrenchDayNameOfWeek] [nvarchar](10) NULL,
 [DayNumberOfMonth] [tinyint] NULL,
 [DayNumberOfYear] [smallint] NULL,
 [WeekNumberOfYear] [tinyint] NULL,
 [EnglishMonthName] [nvarchar](10) NULL,
 [SpanishMonthName] [nvarchar](10) NULL,
 [FrenchMonthName] [nvarchar](10) NULL,
 [MonthNumberOfYear] [tinyint] NULL,
 [CalendarQuarter] [tinyint] NULL,
 [CalendarYear] [smallint] NULL,
 [CalendarSemester] [tinyint] NULL,
 [FiscalQuarter] [tinyint] NULL,
 [FiscalYear] [smallint] NULL,
 [FiscalSemester] [tinyint] NULL
) ON [PRIMARY]
GO
/****** Object:  Table [dbo].[CSSL]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSSL](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [CCKEY] [nvarchar](23) NOT NULL,
 [LATYP] [nvarchar](1) NOT NULL,
 [LEINH] [nvarchar](3) NOT NULL,
 [AUSFK] [decimal](5, 2) NOT NULL,
 [AUSEH] [nvarchar](3) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [LATYPI] [nvarchar](1) NOT NULL,
 CONSTRAINT [CSSL~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [KOSTL] ASC,
 [LSTAR] ASC,
 [GJAHR] 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].[CSSK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSSK](
 [MANDT] [nvarchar](3) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [MGEFL] [nvarchar](1) NOT NULL,
 [VEINH] [nvarchar](3) NOT NULL,
 [EIGEN] [nvarchar](8) NOT NULL,
 [PLEIG] [nvarchar](4) NOT NULL,
 [VSPKF] [nvarchar](4) NOT NULL,
 [WSPKF] [nvarchar](1) NOT NULL,
 [NRPKF] [nvarchar](8) NOT NULL,
 [VSPVF] [nvarchar](4) NOT NULL,
 [WSPVF] [nvarchar](1) NOT NULL,
 [NRPVF] [nvarchar](8) NOT NULL,
 CONSTRAINT [CSSK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [VERSN] ASC,
 [KOKRS] ASC,
 [GJAHR] ASC,
 [KOSTL] ASC,
 [KSTAR] 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].[CSLT]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSLT](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [DATBI] [nvarchar](8) NOT NULL,
 [KTEXT] [nvarchar](20) NOT NULL,
 [LTEXT] [nvarchar](40) NOT NULL,
 [MCTXT] [nvarchar](20) NOT NULL,
 CONSTRAINT [CSLT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [KOKRS] ASC,
 [LSTAR] ASC,
 [DATBI] 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].[CSLA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSLA](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [DATBI] [nvarchar](8) NOT NULL,
 [DATAB] [nvarchar](8) NOT NULL,
 [LEINH] [nvarchar](3) NOT NULL,
 [LATYP] [nvarchar](1) NOT NULL,
 [LATYPI] [nvarchar](1) NOT NULL,
 [ERSDA] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [KSTTY] [nvarchar](8) NOT NULL,
 [AUSEH] [nvarchar](3) NOT NULL,
 [AUSFK] [decimal](5, 2) NOT NULL,
 [VKSTA] [nvarchar](10) NOT NULL,
 [LARK1] [nvarchar](1) NOT NULL,
 [LARK2] [nvarchar](1) NOT NULL,
 [SPRKZ] [nvarchar](1) NOT NULL,
 [HRKFT] [nvarchar](4) NOT NULL,
 [FIXVO] [nvarchar](1) NOT NULL,
 [TARKZ] [nvarchar](3) NOT NULL,
 [YRATE] [nvarchar](1) NOT NULL,
 [TARKZ_I] [nvarchar](3) NOT NULL,
 [MANIST] [nvarchar](1) NOT NULL,
 [MANPLAN] [nvarchar](1) NOT NULL,
 CONSTRAINT [CSLA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [LSTAR] ASC,
 [DATBI] 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].[CSKU]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSKU](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [KTOPL] [nvarchar](4) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [KTEXT] [nvarchar](20) NOT NULL,
 [LTEXT] [nvarchar](40) NOT NULL,
 [MCTXT] [nvarchar](20) NOT NULL,
 CONSTRAINT [CSKU~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [KTOPL] ASC,
 [KSTAR] 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].[CSKT]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSKT](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](1) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [DATBI] [nvarchar](8) NOT NULL,
 [KTEXT] [nvarchar](20) NOT NULL,
 [LTEXT] [nvarchar](40) NOT NULL,
 [MCTXT] [nvarchar](20) NOT NULL,
 CONSTRAINT [CSKT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [KOKRS] ASC,
 [KOSTL] ASC,
 [DATBI] 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].[CSKS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSKS](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [DATBI] [datetime] NOT NULL,
 [DATAB] [datetime] NOT NULL,
 [BKZKP] [nvarchar](1) NOT NULL,
 [PKZKP] [nvarchar](1) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [KOSAR] [nvarchar](1) NOT NULL,
 [VERAK] [nvarchar](20) NOT NULL,
 [VERAK_USER] [nvarchar](12) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [KALSM] [nvarchar](6) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [LOGSYSTEM] [nvarchar](10) NOT NULL,
 [ERSDA] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [BKZKS] [nvarchar](1) NOT NULL,
 [BKZER] [nvarchar](1) NOT NULL,
 [BKZOB] [nvarchar](1) NOT NULL,
 [PKZKS] [nvarchar](1) NOT NULL,
 [PKZER] [nvarchar](1) NOT NULL,
 [VMETH] [nvarchar](2) NOT NULL,
 [MGEFL] [nvarchar](1) NOT NULL,
 [ABTEI] [nvarchar](12) NOT NULL,
 [NKOST] [nvarchar](10) NOT NULL,
 [KVEWE] [nvarchar](1) NOT NULL,
 [KAPPL] [nvarchar](2) NOT NULL,
 [KOSZSCHL] [nvarchar](6) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [ANRED] [nvarchar](15) NOT NULL,
 [NAME1] [nvarchar](35) NOT NULL,
 [NAME2] [nvarchar](35) NOT NULL,
 [NAME3] [nvarchar](35) NOT NULL,
 [NAME4] [nvarchar](35) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 [ORT02] [nvarchar](35) NOT NULL,
 [STRAS] [nvarchar](35) NOT NULL,
 [PFACH] [nvarchar](10) NOT NULL,
 [PSTLZ] [nvarchar](10) NOT NULL,
 [PSTL2] [nvarchar](10) NOT NULL,
 [REGIO] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [TELBX] [nvarchar](15) NOT NULL,
 [TELF1] [nvarchar](16) NOT NULL,
 [TELF2] [nvarchar](16) NOT NULL,
 [TELFX] [nvarchar](31) NOT NULL,
 [TELTX] [nvarchar](30) NOT NULL,
 [TELX1] [nvarchar](30) NOT NULL,
 [DATLT] [nvarchar](14) NOT NULL,
 [DRNAM] [nvarchar](4) NOT NULL,
 [KHINR] [nvarchar](12) NOT NULL,
 [CCKEY] [nvarchar](23) NOT NULL,
 [KOMPL] [nvarchar](1) NOT NULL,
 [STAKZ] [nvarchar](1) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [FUNKT] [nvarchar](3) NOT NULL,
 [AFUNK] [nvarchar](3) NOT NULL,
 [CPI_TEMPL] [nvarchar](10) NOT NULL,
 [CPD_TEMPL] [nvarchar](10) NOT NULL,
 [FUNC_AREA] [nvarchar](16) NOT NULL,
 [SCI_TEMPL] [nvarchar](10) NOT NULL,
 [SCD_TEMPL] [nvarchar](10) NOT NULL,
 [VNAME] [nvarchar](6) NOT NULL,
 [RECID] [nvarchar](2) NOT NULL,
 [ETYPE] [nvarchar](3) NOT NULL,
 [JV_OTYPE] [nvarchar](4) NOT NULL,
 [JV_JIBCL] [nvarchar](3) NOT NULL,
 [JV_JIBSA] [nvarchar](5) NOT NULL,
 [FERC_IND] [nvarchar](4) NOT NULL,
 CONSTRAINT [CSKS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [KOSTL] ASC,
 [DATBI] 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].[CSKB]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSKB](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [DATBI] [nvarchar](8) NOT NULL,
 [DATAB] [nvarchar](8) NOT NULL,
 [KATYP] [nvarchar](2) NOT NULL,
 [ERSDA] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [EIGEN] [nvarchar](8) NOT NULL,
 [PLAZU] [nvarchar](1) NOT NULL,
 [PLAOR] [nvarchar](1) NOT NULL,
 [PLAUS] [nvarchar](2) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [AUFNR] [nvarchar](12) NOT NULL,
 [MGEFL] [nvarchar](1) NOT NULL,
 [MSEHI] [nvarchar](3) NOT NULL,
 [DEAKT] [nvarchar](1) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [RECID] [nvarchar](2) NOT NULL,
 CONSTRAINT [CSKB~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [KSTAR] ASC,
 [DATBI] 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].[CSKA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CSKA](
 [MANDT] [nvarchar](3) NOT NULL,
 [KTOPL] [nvarchar](4) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [ERSDA] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [STEKZ] [nvarchar](1) NOT NULL,
 [ZAHKZ] [nvarchar](1) NOT NULL,
 [KSTSN] [nvarchar](10) NOT NULL,
 [FUNC_AREA] [nvarchar](16) NOT NULL,
 CONSTRAINT [CSKA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KTOPL] ASC,
 [KSTAR] 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].[COST]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COST](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [TARKZ] [nvarchar](3) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [TKG001] [decimal](11, 2) NOT NULL,
 [TKG002] [decimal](11, 2) NOT NULL,
 [TKG003] [decimal](11, 2) NOT NULL,
 [TKG004] [decimal](11, 2) NOT NULL,
 [TKG005] [decimal](11, 2) NOT NULL,
 [TKG006] [decimal](11, 2) NOT NULL,
 [TKG007] [decimal](11, 2) NOT NULL,
 [TKG008] [decimal](11, 2) NOT NULL,
 [TKG009] [decimal](11, 2) NOT NULL,
 [TKG010] [decimal](11, 2) NOT NULL,
 [TKG011] [decimal](11, 2) NOT NULL,
 [TKG012] [decimal](11, 2) NOT NULL,
 [TKG013] [decimal](11, 2) NOT NULL,
 [TKG014] [decimal](11, 2) NOT NULL,
 [TKG015] [decimal](11, 2) NOT NULL,
 [TKG016] [decimal](11, 2) NOT NULL,
 [TKF001] [decimal](11, 2) NOT NULL,
 [TKF002] [decimal](11, 2) NOT NULL,
 [TKF003] [decimal](11, 2) NOT NULL,
 [TKF004] [decimal](11, 2) NOT NULL,
 [TKF005] [decimal](11, 2) NOT NULL,
 [TKF006] [decimal](11, 2) NOT NULL,
 [TKF007] [decimal](11, 2) NOT NULL,
 [TKF008] [decimal](11, 2) NOT NULL,
 [TKF009] [decimal](11, 2) NOT NULL,
 [TKF010] [decimal](11, 2) NOT NULL,
 [TKF011] [decimal](11, 2) NOT NULL,
 [TKF012] [decimal](11, 2) NOT NULL,
 [TKF013] [decimal](11, 2) NOT NULL,
 [TKF014] [decimal](11, 2) NOT NULL,
 [TKF015] [decimal](11, 2) NOT NULL,
 [TKF016] [decimal](11, 2) NOT NULL,
 [TKE001] [nvarchar](5) NOT NULL,
 [TKE002] [nvarchar](5) NOT NULL,
 [TKE003] [nvarchar](5) NOT NULL,
 [TKE004] [nvarchar](5) NOT NULL,
 [TKE005] [nvarchar](5) NOT NULL,
 [TKE006] [nvarchar](5) NOT NULL,
 [TKE007] [nvarchar](5) NOT NULL,
 [TKE008] [nvarchar](5) NOT NULL,
 [TKE009] [nvarchar](5) NOT NULL,
 [TKE010] [nvarchar](5) NOT NULL,
 [TKE011] [nvarchar](5) NOT NULL,
 [TKE012] [nvarchar](5) NOT NULL,
 [TKE013] [nvarchar](5) NOT NULL,
 [TKE014] [nvarchar](5) NOT NULL,
 [TKE015] [nvarchar](5) NOT NULL,
 [TKE016] [nvarchar](5) NOT NULL,
 [TOG001] [decimal](11, 2) NOT NULL,
 [TOG002] [decimal](11, 2) NOT NULL,
 [TOG003] [decimal](11, 2) NOT NULL,
 [TOG004] [decimal](11, 2) NOT NULL,
 [TOG005] [decimal](11, 2) NOT NULL,
 [TOG006] [decimal](11, 2) NOT NULL,
 [TOG007] [decimal](11, 2) NOT NULL,
 [TOG008] [decimal](11, 2) NOT NULL,
 [TOG009] [decimal](11, 2) NOT NULL,
 [TOG010] [decimal](11, 2) NOT NULL,
 [TOG011] [decimal](11, 2) NOT NULL,
 [TOG012] [decimal](11, 2) NOT NULL,
 [TOG013] [decimal](11, 2) NOT NULL,
 [TOG014] [decimal](11, 2) NOT NULL,
 [TOG015] [decimal](11, 2) NOT NULL,
 [TOG016] [decimal](11, 2) NOT NULL,
 [TOF001] [decimal](11, 2) NOT NULL,
 [TOF002] [decimal](11, 2) NOT NULL,
 [TOF003] [decimal](11, 2) NOT NULL,
 [TOF004] [decimal](11, 2) NOT NULL,
 [TOF005] [decimal](11, 2) NOT NULL,
 [TOF006] [decimal](11, 2) NOT NULL,
 [TOF007] [decimal](11, 2) NOT NULL,
 [TOF008] [decimal](11, 2) NOT NULL,
 [TOF009] [decimal](11, 2) NOT NULL,
 [TOF010] [decimal](11, 2) NOT NULL,
 [TOF011] [decimal](11, 2) NOT NULL,
 [TOF012] [decimal](11, 2) NOT NULL,
 [TOF013] [decimal](11, 2) NOT NULL,
 [TOF014] [decimal](11, 2) NOT NULL,
 [TOF015] [decimal](11, 2) NOT NULL,
 [TOF016] [decimal](11, 2) NOT NULL,
 [TOE001] [nvarchar](5) NOT NULL,
 [TOE002] [nvarchar](5) NOT NULL,
 [TOE003] [nvarchar](5) NOT NULL,
 [TOE004] [nvarchar](5) NOT NULL,
 [TOE005] [nvarchar](5) NOT NULL,
 [TOE006] [nvarchar](5) NOT NULL,
 [TOE007] [nvarchar](5) NOT NULL,
 [TOE008] [nvarchar](5) NOT NULL,
 [TOE009] [nvarchar](5) NOT NULL,
 [TOE010] [nvarchar](5) NOT NULL,
 [TOE011] [nvarchar](5) NOT NULL,
 [TOE012] [nvarchar](5) NOT NULL,
 [TOE013] [nvarchar](5) NOT NULL,
 [TOE014] [nvarchar](5) NOT NULL,
 [TOE015] [nvarchar](5) NOT NULL,
 [TOE016] [nvarchar](5) NOT NULL,
 CONSTRAINT [COST~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [TARKZ] ASC,
 [PERBL] 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].[COSSD]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSSD](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [USPOB] [nvarchar](22) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [WTGABG] [decimal](15, 2) NOT NULL,
 [WOGABG] [decimal](15, 2) NOT NULL,
 [WKGABG] [decimal](15, 2) NOT NULL,
 [WKFABG] [decimal](15, 2) NOT NULL,
 [PAGABG] [decimal](15, 2) NOT NULL,
 [PAFABG] [decimal](15, 2) NOT NULL,
 [MEGABG] [decimal](15, 3) NOT NULL,
 [MEFABG] [decimal](15, 3) NOT NULL,
 CONSTRAINT [COSSD~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [PAROB] ASC,
 [USPOB] ASC,
 [BEKNZ] ASC,
 [TWAER] 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].[COSS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSS](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [USPOB] [nvarchar](22) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [WTG001] [decimal](15, 2) NOT NULL,
 [WTG002] [decimal](15, 2) NOT NULL,
 [WTG003] [decimal](15, 2) NOT NULL,
 [WTG004] [decimal](15, 2) NOT NULL,
 [WTG005] [decimal](15, 2) NOT NULL,
 [WTG006] [decimal](15, 2) NOT NULL,
 [WTG007] [decimal](15, 2) NOT NULL,
 [WTG008] [decimal](15, 2) NOT NULL,
 [WTG009] [decimal](15, 2) NOT NULL,
 [WTG010] [decimal](15, 2) NOT NULL,
 [WTG011] [decimal](15, 2) NOT NULL,
 [WTG012] [decimal](15, 2) NOT NULL,
 [WTG013] [decimal](15, 2) NOT NULL,
 [WTG014] [decimal](15, 2) NOT NULL,
 [WTG015] [decimal](15, 2) NOT NULL,
 [WTG016] [decimal](15, 2) NOT NULL,
 [WOG001] [decimal](15, 2) NOT NULL,
 [WOG002] [decimal](15, 2) NOT NULL,
 [WOG003] [decimal](15, 2) NOT NULL,
 [WOG004] [decimal](15, 2) NOT NULL,
 [WOG005] [decimal](15, 2) NOT NULL,
 [WOG006] [decimal](15, 2) NOT NULL,
 [WOG007] [decimal](15, 2) NOT NULL,
 [WOG008] [decimal](15, 2) NOT NULL,
 [WOG009] [decimal](15, 2) NOT NULL,
 [WOG010] [decimal](15, 2) NOT NULL,
 [WOG011] [decimal](15, 2) NOT NULL,
 [WOG012] [decimal](15, 2) NOT NULL,
 [WOG013] [decimal](15, 2) NOT NULL,
 [WOG014] [decimal](15, 2) NOT NULL,
 [WOG015] [decimal](15, 2) NOT NULL,
 [WOG016] [decimal](15, 2) NOT NULL,
 [WKG001] [decimal](15, 2) NOT NULL,
 [WKG002] [decimal](15, 2) NOT NULL,
 [WKG003] [decimal](15, 2) NOT NULL,
 [WKG004] [decimal](15, 2) NOT NULL,
 [WKG005] [decimal](15, 2) NOT NULL,
 [WKG006] [decimal](15, 2) NOT NULL,
 [WKG007] [decimal](15, 2) NOT NULL,
 [WKG008] [decimal](15, 2) NOT NULL,
 [WKG009] [decimal](15, 2) NOT NULL,
 [WKG010] [decimal](15, 2) NOT NULL,
 [WKG011] [decimal](15, 2) NOT NULL,
 [WKG012] [decimal](15, 2) NOT NULL,
 [WKG013] [decimal](15, 2) NOT NULL,
 [WKG014] [decimal](15, 2) NOT NULL,
 [WKG015] [decimal](15, 2) NOT NULL,
 [WKG016] [decimal](15, 2) NOT NULL,
 [WKF001] [decimal](15, 2) NOT NULL,
 [WKF002] [decimal](15, 2) NOT NULL,
 [WKF003] [decimal](15, 2) NOT NULL,
 [WKF004] [decimal](15, 2) NOT NULL,
 [WKF005] [decimal](15, 2) NOT NULL,
 [WKF006] [decimal](15, 2) NOT NULL,
 [WKF007] [decimal](15, 2) NOT NULL,
 [WKF008] [decimal](15, 2) NOT NULL,
 [WKF009] [decimal](15, 2) NOT NULL,
 [WKF010] [decimal](15, 2) NOT NULL,
 [WKF011] [decimal](15, 2) NOT NULL,
 [WKF012] [decimal](15, 2) NOT NULL,
 [WKF013] [decimal](15, 2) NOT NULL,
 [WKF014] [decimal](15, 2) NOT NULL,
 [WKF015] [decimal](15, 2) NOT NULL,
 [WKF016] [decimal](15, 2) NOT NULL,
 [PAG001] [decimal](15, 2) NOT NULL,
 [PAG002] [decimal](15, 2) NOT NULL,
 [PAG003] [decimal](15, 2) NOT NULL,
 [PAG004] [decimal](15, 2) NOT NULL,
 [PAG005] [decimal](15, 2) NOT NULL,
 [PAG006] [decimal](15, 2) NOT NULL,
 [PAG007] [decimal](15, 2) NOT NULL,
 [PAG008] [decimal](15, 2) NOT NULL,
 [PAG009] [decimal](15, 2) NOT NULL,
 [PAG010] [decimal](15, 2) NOT NULL,
 [PAG011] [decimal](15, 2) NOT NULL,
 [PAG012] [decimal](15, 2) NOT NULL,
 [PAG013] [decimal](15, 2) NOT NULL,
 [PAG014] [decimal](15, 2) NOT NULL,
 [PAG015] [decimal](15, 2) NOT NULL,
 [PAG016] [decimal](15, 2) NOT NULL,
 [PAF001] [decimal](15, 2) NOT NULL,
 [PAF002] [decimal](15, 2) NOT NULL,
 [PAF003] [decimal](15, 2) NOT NULL,
 [PAF004] [decimal](15, 2) NOT NULL,
 [PAF005] [decimal](15, 2) NOT NULL,
 [PAF006] [decimal](15, 2) NOT NULL,
 [PAF007] [decimal](15, 2) NOT NULL,
 [PAF008] [decimal](15, 2) NOT NULL,
 [PAF009] [decimal](15, 2) NOT NULL,
 [PAF010] [decimal](15, 2) NOT NULL,
 [PAF011] [decimal](15, 2) NOT NULL,
 [PAF012] [decimal](15, 2) NOT NULL,
 [PAF013] [decimal](15, 2) NOT NULL,
 [PAF014] [decimal](15, 2) NOT NULL,
 [PAF015] [decimal](15, 2) NOT NULL,
 [PAF016] [decimal](15, 2) NOT NULL,
 [MEG001] [decimal](15, 3) NOT NULL,
 [MEG002] [decimal](15, 3) NOT NULL,
 [MEG003] [decimal](15, 3) NOT NULL,
 [MEG004] [decimal](15, 3) NOT NULL,
 [MEG005] [decimal](15, 3) NOT NULL,
 [MEG006] [decimal](15, 3) NOT NULL,
 [MEG007] [decimal](15, 3) NOT NULL,
 [MEG008] [decimal](15, 3) NOT NULL,
 [MEG009] [decimal](15, 3) NOT NULL,
 [MEG010] [decimal](15, 3) NOT NULL,
 [MEG011] [decimal](15, 3) NOT NULL,
 [MEG012] [decimal](15, 3) NOT NULL,
 [MEG013] [decimal](15, 3) NOT NULL,
 [MEG014] [decimal](15, 3) NOT NULL,
 [MEG015] [decimal](15, 3) NOT NULL,
 [MEG016] [decimal](15, 3) NOT NULL,
 [MEF001] [decimal](15, 3) NOT NULL,
 [MEF002] [decimal](15, 3) NOT NULL,
 [MEF003] [decimal](15, 3) NOT NULL,
 [MEF004] [decimal](15, 3) NOT NULL,
 [MEF005] [decimal](15, 3) NOT NULL,
 [MEF006] [decimal](15, 3) NOT NULL,
 [MEF007] [decimal](15, 3) NOT NULL,
 [MEF008] [decimal](15, 3) NOT NULL,
 [MEF009] [decimal](15, 3) NOT NULL,
 [MEF010] [decimal](15, 3) NOT NULL,
 [MEF011] [decimal](15, 3) NOT NULL,
 [MEF012] [decimal](15, 3) NOT NULL,
 [MEF013] [decimal](15, 3) NOT NULL,
 [MEF014] [decimal](15, 3) NOT NULL,
 [MEF015] [decimal](15, 3) NOT NULL,
 [MEF016] [decimal](15, 3) NOT NULL,
 [MUV001] [nvarchar](1) NOT NULL,
 [MUV002] [nvarchar](1) NOT NULL,
 [MUV003] [nvarchar](1) NOT NULL,
 [MUV004] [nvarchar](1) NOT NULL,
 [MUV005] [nvarchar](1) NOT NULL,
 [MUV006] [nvarchar](1) NOT NULL,
 [MUV007] [nvarchar](1) NOT NULL,
 [MUV008] [nvarchar](1) NOT NULL,
 [MUV009] [nvarchar](1) NOT NULL,
 [MUV010] [nvarchar](1) NOT NULL,
 [MUV011] [nvarchar](1) NOT NULL,
 [MUV012] [nvarchar](1) NOT NULL,
 [MUV013] [nvarchar](1) NOT NULL,
 [MUV014] [nvarchar](1) NOT NULL,
 [MUV015] [nvarchar](1) NOT NULL,
 [MUV016] [nvarchar](1) NOT NULL,
 [BELTP] [nvarchar](1) NOT NULL,
 [TIMESTMP] [decimal](16, 0) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [SEGMENT] [nvarchar](10) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 CONSTRAINT [COSS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [PAROB] ASC,
 [USPOB] ASC,
 [BEKNZ] ASC,
 [TWAER] ASC,
 [PERBL] 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].[COSR]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSR](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [STAGR] [nvarchar](6) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [SME001] [decimal](15, 3) NOT NULL,
 [SME002] [decimal](15, 3) NOT NULL,
 [SME003] [decimal](15, 3) NOT NULL,
 [SME004] [decimal](15, 3) NOT NULL,
 [SME005] [decimal](15, 3) NOT NULL,
 [SME006] [decimal](15, 3) NOT NULL,
 [SME007] [decimal](15, 3) NOT NULL,
 [SME008] [decimal](15, 3) NOT NULL,
 [SME009] [decimal](15, 3) NOT NULL,
 [SME010] [decimal](15, 3) NOT NULL,
 [SME011] [decimal](15, 3) NOT NULL,
 [SME012] [decimal](15, 3) NOT NULL,
 [SME013] [decimal](15, 3) NOT NULL,
 [SME014] [decimal](15, 3) NOT NULL,
 [SME015] [decimal](15, 3) NOT NULL,
 [SME016] [decimal](15, 3) NOT NULL,
 [SMA001] [decimal](15, 3) NOT NULL,
 [SMA002] [decimal](15, 3) NOT NULL,
 [SMA003] [decimal](15, 3) NOT NULL,
 [SMA004] [decimal](15, 3) NOT NULL,
 [SMA005] [decimal](15, 3) NOT NULL,
 [SMA006] [decimal](15, 3) NOT NULL,
 [SMA007] [decimal](15, 3) NOT NULL,
 [SMA008] [decimal](15, 3) NOT NULL,
 [SMA009] [decimal](15, 3) NOT NULL,
 [SMA010] [decimal](15, 3) NOT NULL,
 [SMA011] [decimal](15, 3) NOT NULL,
 [SMA012] [decimal](15, 3) NOT NULL,
 [SMA013] [decimal](15, 3) NOT NULL,
 [SMA014] [decimal](15, 3) NOT NULL,
 [SMA015] [decimal](15, 3) NOT NULL,
 [SMA016] [decimal](15, 3) NOT NULL,
 CONSTRAINT [COSR~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [STAGR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [PERBL] 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].[COSPD]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSPD](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PARGB] [nvarchar](4) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [WTGABG] [decimal](15, 2) NOT NULL,
 [WOGABG] [decimal](15, 2) NOT NULL,
 [WKGABG] [decimal](15, 2) NOT NULL,
 [WKFABG] [decimal](15, 2) NOT NULL,
 [PAGABG] [decimal](15, 2) NOT NULL,
 [MEGABG] [decimal](15, 3) NOT NULL,
 [MEFABG] [decimal](15, 3) NOT NULL,
 CONSTRAINT [COSPD~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [VBUND] ASC,
 [PARGB] ASC,
 [BEKNZ] ASC,
 [TWAER] 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].[COSP]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSP](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PARGB] [nvarchar](4) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [WTG001] [decimal](15, 2) NOT NULL,
 [WTG002] [decimal](15, 2) NOT NULL,
 [WTG003] [decimal](15, 2) NOT NULL,
 [WTG004] [decimal](15, 2) NOT NULL,
 [WTG005] [decimal](15, 2) NOT NULL,
 [WTG006] [decimal](15, 2) NOT NULL,
 [WTG007] [decimal](15, 2) NOT NULL,
 [WTG008] [decimal](15, 2) NOT NULL,
 [WTG009] [decimal](15, 2) NOT NULL,
 [WTG010] [decimal](15, 2) NOT NULL,
 [WTG011] [decimal](15, 2) NOT NULL,
 [WTG012] [decimal](15, 2) NOT NULL,
 [WTG013] [decimal](15, 2) NOT NULL,
 [WTG014] [decimal](15, 2) NOT NULL,
 [WTG015] [decimal](15, 2) NOT NULL,
 [WTG016] [decimal](15, 2) NOT NULL,
 [WOG001] [decimal](15, 2) NOT NULL,
 [WOG002] [decimal](15, 2) NOT NULL,
 [WOG003] [decimal](15, 2) NOT NULL,
 [WOG004] [decimal](15, 2) NOT NULL,
 [WOG005] [decimal](15, 2) NOT NULL,
 [WOG006] [decimal](15, 2) NOT NULL,
 [WOG007] [decimal](15, 2) NOT NULL,
 [WOG008] [decimal](15, 2) NOT NULL,
 [WOG009] [decimal](15, 2) NOT NULL,
 [WOG010] [decimal](15, 2) NOT NULL,
 [WOG011] [decimal](15, 2) NOT NULL,
 [WOG012] [decimal](15, 2) NOT NULL,
 [WOG013] [decimal](15, 2) NOT NULL,
 [WOG014] [decimal](15, 2) NOT NULL,
 [WOG015] [decimal](15, 2) NOT NULL,
 [WOG016] [decimal](15, 2) NOT NULL,
 [WKG001] [decimal](15, 2) NOT NULL,
 [WKG002] [decimal](15, 2) NOT NULL,
 [WKG003] [decimal](15, 2) NOT NULL,
 [WKG004] [decimal](15, 2) NOT NULL,
 [WKG005] [decimal](15, 2) NOT NULL,
 [WKG006] [decimal](15, 2) NOT NULL,
 [WKG007] [decimal](15, 2) NOT NULL,
 [WKG008] [decimal](15, 2) NOT NULL,
 [WKG009] [decimal](15, 2) NOT NULL,
 [WKG010] [decimal](15, 2) NOT NULL,
 [WKG011] [decimal](15, 2) NOT NULL,
 [WKG012] [decimal](15, 2) NOT NULL,
 [WKG013] [decimal](15, 2) NOT NULL,
 [WKG014] [decimal](15, 2) NOT NULL,
 [WKG015] [decimal](15, 2) NOT NULL,
 [WKG016] [decimal](15, 2) NOT NULL,
 [WKF001] [decimal](15, 2) NOT NULL,
 [WKF002] [decimal](15, 2) NOT NULL,
 [WKF003] [decimal](15, 2) NOT NULL,
 [WKF004] [decimal](15, 2) NOT NULL,
 [WKF005] [decimal](15, 2) NOT NULL,
 [WKF006] [decimal](15, 2) NOT NULL,
 [WKF007] [decimal](15, 2) NOT NULL,
 [WKF008] [decimal](15, 2) NOT NULL,
 [WKF009] [decimal](15, 2) NOT NULL,
 [WKF010] [decimal](15, 2) NOT NULL,
 [WKF011] [decimal](15, 2) NOT NULL,
 [WKF012] [decimal](15, 2) NOT NULL,
 [WKF013] [decimal](15, 2) NOT NULL,
 [WKF014] [decimal](15, 2) NOT NULL,
 [WKF015] [decimal](15, 2) NOT NULL,
 [WKF016] [decimal](15, 2) NOT NULL,
 [PAG001] [decimal](15, 2) NOT NULL,
 [PAG002] [decimal](15, 2) NOT NULL,
 [PAG003] [decimal](15, 2) NOT NULL,
 [PAG004] [decimal](15, 2) NOT NULL,
 [PAG005] [decimal](15, 2) NOT NULL,
 [PAG006] [decimal](15, 2) NOT NULL,
 [PAG007] [decimal](15, 2) NOT NULL,
 [PAG008] [decimal](15, 2) NOT NULL,
 [PAG009] [decimal](15, 2) NOT NULL,
 [PAG010] [decimal](15, 2) NOT NULL,
 [PAG011] [decimal](15, 2) NOT NULL,
 [PAG012] [decimal](15, 2) NOT NULL,
 [PAG013] [decimal](15, 2) NOT NULL,
 [PAG014] [decimal](15, 2) NOT NULL,
 [PAG015] [decimal](15, 2) NOT NULL,
 [PAG016] [decimal](15, 2) NOT NULL,
 [MEG001] [decimal](15, 3) NOT NULL,
 [MEG002] [decimal](15, 3) NOT NULL,
 [MEG003] [decimal](15, 3) NOT NULL,
 [MEG004] [decimal](15, 3) NOT NULL,
 [MEG005] [decimal](15, 3) NOT NULL,
 [MEG006] [decimal](15, 3) NOT NULL,
 [MEG007] [decimal](15, 3) NOT NULL,
 [MEG008] [decimal](15, 3) NOT NULL,
 [MEG009] [decimal](15, 3) NOT NULL,
 [MEG010] [decimal](15, 3) NOT NULL,
 [MEG011] [decimal](15, 3) NOT NULL,
 [MEG012] [decimal](15, 3) NOT NULL,
 [MEG013] [decimal](15, 3) NOT NULL,
 [MEG014] [decimal](15, 3) NOT NULL,
 [MEG015] [decimal](15, 3) NOT NULL,
 [MEG016] [decimal](15, 3) NOT NULL,
 [MEF001] [decimal](15, 3) NOT NULL,
 [MEF002] [decimal](15, 3) NOT NULL,
 [MEF003] [decimal](15, 3) NOT NULL,
 [MEF004] [decimal](15, 3) NOT NULL,
 [MEF005] [decimal](15, 3) NOT NULL,
 [MEF006] [decimal](15, 3) NOT NULL,
 [MEF007] [decimal](15, 3) NOT NULL,
 [MEF008] [decimal](15, 3) NOT NULL,
 [MEF009] [decimal](15, 3) NOT NULL,
 [MEF010] [decimal](15, 3) NOT NULL,
 [MEF011] [decimal](15, 3) NOT NULL,
 [MEF012] [decimal](15, 3) NOT NULL,
 [MEF013] [decimal](15, 3) NOT NULL,
 [MEF014] [decimal](15, 3) NOT NULL,
 [MEF015] [decimal](15, 3) NOT NULL,
 [MEF016] [decimal](15, 3) NOT NULL,
 [MUV001] [nvarchar](1) NOT NULL,
 [MUV002] [nvarchar](1) NOT NULL,
 [MUV003] [nvarchar](1) NOT NULL,
 [MUV004] [nvarchar](1) NOT NULL,
 [MUV005] [nvarchar](1) NOT NULL,
 [MUV006] [nvarchar](1) NOT NULL,
 [MUV007] [nvarchar](1) NOT NULL,
 [MUV008] [nvarchar](1) NOT NULL,
 [MUV009] [nvarchar](1) NOT NULL,
 [MUV010] [nvarchar](1) NOT NULL,
 [MUV011] [nvarchar](1) NOT NULL,
 [MUV012] [nvarchar](1) NOT NULL,
 [MUV013] [nvarchar](1) NOT NULL,
 [MUV014] [nvarchar](1) NOT NULL,
 [MUV015] [nvarchar](1) NOT NULL,
 [MUV016] [nvarchar](1) NOT NULL,
 [BELTP] [nvarchar](1) NOT NULL,
 [TIMESTMP] [decimal](16, 0) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [SEGMENT] [nvarchar](10) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 CONSTRAINT [COSP~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [VBUND] ASC,
 [PARGB] ASC,
 [BEKNZ] ASC,
 [TWAER] ASC,
 [PERBL] 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].[COSL]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSL](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [LST001] [decimal](15, 3) NOT NULL,
 [LST002] [decimal](15, 3) NOT NULL,
 [LST003] [decimal](15, 3) NOT NULL,
 [LST004] [decimal](15, 3) NOT NULL,
 [LST005] [decimal](15, 3) NOT NULL,
 [LST006] [decimal](15, 3) NOT NULL,
 [LST007] [decimal](15, 3) NOT NULL,
 [LST008] [decimal](15, 3) NOT NULL,
 [LST009] [decimal](15, 3) NOT NULL,
 [LST010] [decimal](15, 3) NOT NULL,
 [LST011] [decimal](15, 3) NOT NULL,
 [LST012] [decimal](15, 3) NOT NULL,
 [LST013] [decimal](15, 3) NOT NULL,
 [LST014] [decimal](15, 3) NOT NULL,
 [LST015] [decimal](15, 3) NOT NULL,
 [LST016] [decimal](15, 3) NOT NULL,
 [KAP001] [decimal](15, 3) NOT NULL,
 [KAP002] [decimal](15, 3) NOT NULL,
 [KAP003] [decimal](15, 3) NOT NULL,
 [KAP004] [decimal](15, 3) NOT NULL,
 [KAP005] [decimal](15, 3) NOT NULL,
 [KAP006] [decimal](15, 3) NOT NULL,
 [KAP007] [decimal](15, 3) NOT NULL,
 [KAP008] [decimal](15, 3) NOT NULL,
 [KAP009] [decimal](15, 3) NOT NULL,
 [KAP010] [decimal](15, 3) NOT NULL,
 [KAP011] [decimal](15, 3) NOT NULL,
 [KAP012] [decimal](15, 3) NOT NULL,
 [KAP013] [decimal](15, 3) NOT NULL,
 [KAP014] [decimal](15, 3) NOT NULL,
 [KAP015] [decimal](15, 3) NOT NULL,
 [KAP016] [decimal](15, 3) NOT NULL,
 [AUSEH] [nvarchar](3) NOT NULL,
 [AUS001] [decimal](15, 3) NOT NULL,
 [AUS002] [decimal](15, 3) NOT NULL,
 [AUS003] [decimal](15, 3) NOT NULL,
 [AUS004] [decimal](15, 3) NOT NULL,
 [AUS005] [decimal](15, 3) NOT NULL,
 [AUS006] [decimal](15, 3) NOT NULL,
 [AUS007] [decimal](15, 3) NOT NULL,
 [AUS008] [decimal](15, 3) NOT NULL,
 [AUS009] [decimal](15, 3) NOT NULL,
 [AUS010] [decimal](15, 3) NOT NULL,
 [AUS011] [decimal](15, 3) NOT NULL,
 [AUS012] [decimal](15, 3) NOT NULL,
 [AUS013] [decimal](15, 3) NOT NULL,
 [AUS014] [decimal](15, 3) NOT NULL,
 [AUS015] [decimal](15, 3) NOT NULL,
 [AUS016] [decimal](15, 3) NOT NULL,
 [DIS001] [decimal](15, 3) NOT NULL,
 [DIS002] [decimal](15, 3) NOT NULL,
 [DIS003] [decimal](15, 3) NOT NULL,
 [DIS004] [decimal](15, 3) NOT NULL,
 [DIS005] [decimal](15, 3) NOT NULL,
 [DIS006] [decimal](15, 3) NOT NULL,
 [DIS007] [decimal](15, 3) NOT NULL,
 [DIS008] [decimal](15, 3) NOT NULL,
 [DIS009] [decimal](15, 3) NOT NULL,
 [DIS010] [decimal](15, 3) NOT NULL,
 [DIS011] [decimal](15, 3) NOT NULL,
 [DIS012] [decimal](15, 3) NOT NULL,
 [DIS013] [decimal](15, 3) NOT NULL,
 [DIS014] [decimal](15, 3) NOT NULL,
 [DIS015] [decimal](15, 3) NOT NULL,
 [DIS016] [decimal](15, 3) NOT NULL,
 [AEQ001] [decimal](3, 0) NOT NULL,
 [AEQ002] [decimal](3, 0) NOT NULL,
 [AEQ003] [decimal](3, 0) NOT NULL,
 [AEQ004] [decimal](3, 0) NOT NULL,
 [AEQ005] [decimal](3, 0) NOT NULL,
 [AEQ006] [decimal](3, 0) NOT NULL,
 [AEQ007] [decimal](3, 0) NOT NULL,
 [AEQ008] [decimal](3, 0) NOT NULL,
 [AEQ009] [decimal](3, 0) NOT NULL,
 [AEQ010] [decimal](3, 0) NOT NULL,
 [AEQ011] [decimal](3, 0) NOT NULL,
 [AEQ012] [decimal](3, 0) NOT NULL,
 [AEQ013] [decimal](3, 0) NOT NULL,
 [AEQ014] [decimal](3, 0) NOT NULL,
 [AEQ015] [decimal](3, 0) NOT NULL,
 [AEQ016] [decimal](3, 0) NOT NULL,
 CONSTRAINT [COSL~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [VRGNG] ASC,
 [PERBL] 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].[COSBD]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSBD](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [ABKAT] [nvarchar](2) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [AWKUS] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [WTGABG] [decimal](15, 2) NOT NULL,
 [WOGABG] [decimal](15, 2) NOT NULL,
 [WKGABG] [decimal](15, 2) NOT NULL,
 [WKFABG] [decimal](15, 2) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [MEGABG] [decimal](15, 3) NOT NULL,
 CONSTRAINT [COSBD~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [ABKAT] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [PAROB] ASC,
 [BEKNZ] ASC,
 [AWKUS] ASC,
 [TWAER] 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].[COSB]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COSB](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [ABKAT] [nvarchar](2) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [AWKUS] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [WTG001] [decimal](15, 2) NOT NULL,
 [WTG002] [decimal](15, 2) NOT NULL,
 [WTG003] [decimal](15, 2) NOT NULL,
 [WTG004] [decimal](15, 2) NOT NULL,
 [WTG005] [decimal](15, 2) NOT NULL,
 [WTG006] [decimal](15, 2) NOT NULL,
 [WTG007] [decimal](15, 2) NOT NULL,
 [WTG008] [decimal](15, 2) NOT NULL,
 [WTG009] [decimal](15, 2) NOT NULL,
 [WTG010] [decimal](15, 2) NOT NULL,
 [WTG011] [decimal](15, 2) NOT NULL,
 [WTG012] [decimal](15, 2) NOT NULL,
 [WTG013] [decimal](15, 2) NOT NULL,
 [WTG014] [decimal](15, 2) NOT NULL,
 [WTG015] [decimal](15, 2) NOT NULL,
 [WTG016] [decimal](15, 2) NOT NULL,
 [WOG001] [decimal](15, 2) NOT NULL,
 [WOG002] [decimal](15, 2) NOT NULL,
 [WOG003] [decimal](15, 2) NOT NULL,
 [WOG004] [decimal](15, 2) NOT NULL,
 [WOG005] [decimal](15, 2) NOT NULL,
 [WOG006] [decimal](15, 2) NOT NULL,
 [WOG007] [decimal](15, 2) NOT NULL,
 [WOG008] [decimal](15, 2) NOT NULL,
 [WOG009] [decimal](15, 2) NOT NULL,
 [WOG010] [decimal](15, 2) NOT NULL,
 [WOG011] [decimal](15, 2) NOT NULL,
 [WOG012] [decimal](15, 2) NOT NULL,
 [WOG013] [decimal](15, 2) NOT NULL,
 [WOG014] [decimal](15, 2) NOT NULL,
 [WOG015] [decimal](15, 2) NOT NULL,
 [WOG016] [decimal](15, 2) NOT NULL,
 [WKG001] [decimal](15, 2) NOT NULL,
 [WKG002] [decimal](15, 2) NOT NULL,
 [WKG003] [decimal](15, 2) NOT NULL,
 [WKG004] [decimal](15, 2) NOT NULL,
 [WKG005] [decimal](15, 2) NOT NULL,
 [WKG006] [decimal](15, 2) NOT NULL,
 [WKG007] [decimal](15, 2) NOT NULL,
 [WKG008] [decimal](15, 2) NOT NULL,
 [WKG009] [decimal](15, 2) NOT NULL,
 [WKG010] [decimal](15, 2) NOT NULL,
 [WKG011] [decimal](15, 2) NOT NULL,
 [WKG012] [decimal](15, 2) NOT NULL,
 [WKG013] [decimal](15, 2) NOT NULL,
 [WKG014] [decimal](15, 2) NOT NULL,
 [WKG015] [decimal](15, 2) NOT NULL,
 [WKG016] [decimal](15, 2) NOT NULL,
 [WKF001] [decimal](15, 2) NOT NULL,
 [WKF002] [decimal](15, 2) NOT NULL,
 [WKF003] [decimal](15, 2) NOT NULL,
 [WKF004] [decimal](15, 2) NOT NULL,
 [WKF005] [decimal](15, 2) NOT NULL,
 [WKF006] [decimal](15, 2) NOT NULL,
 [WKF007] [decimal](15, 2) NOT NULL,
 [WKF008] [decimal](15, 2) NOT NULL,
 [WKF009] [decimal](15, 2) NOT NULL,
 [WKF010] [decimal](15, 2) NOT NULL,
 [WKF011] [decimal](15, 2) NOT NULL,
 [WKF012] [decimal](15, 2) NOT NULL,
 [WKF013] [decimal](15, 2) NOT NULL,
 [WKF014] [decimal](15, 2) NOT NULL,
 [WKF015] [decimal](15, 2) NOT NULL,
 [WKF016] [decimal](15, 2) NOT NULL,
 [FTG001] [decimal](15, 2) NOT NULL,
 [FTG002] [decimal](15, 2) NOT NULL,
 [FTG003] [decimal](15, 2) NOT NULL,
 [FTG004] [decimal](15, 2) NOT NULL,
 [FTG005] [decimal](15, 2) NOT NULL,
 [FTG006] [decimal](15, 2) NOT NULL,
 [FTG007] [decimal](15, 2) NOT NULL,
 [FTG008] [decimal](15, 2) NOT NULL,
 [FTG009] [decimal](15, 2) NOT NULL,
 [FTG010] [decimal](15, 2) NOT NULL,
 [FTG011] [decimal](15, 2) NOT NULL,
 [FTG012] [decimal](15, 2) NOT NULL,
 [FTG013] [decimal](15, 2) NOT NULL,
 [FTG014] [decimal](15, 2) NOT NULL,
 [FTG015] [decimal](15, 2) NOT NULL,
 [FTG016] [decimal](15, 2) NOT NULL,
 [FOG001] [decimal](15, 2) NOT NULL,
 [FOG002] [decimal](15, 2) NOT NULL,
 [FOG003] [decimal](15, 2) NOT NULL,
 [FOG004] [decimal](15, 2) NOT NULL,
 [FOG005] [decimal](15, 2) NOT NULL,
 [FOG006] [decimal](15, 2) NOT NULL,
 [FOG007] [decimal](15, 2) NOT NULL,
 [FOG008] [decimal](15, 2) NOT NULL,
 [FOG009] [decimal](15, 2) NOT NULL,
 [FOG010] [decimal](15, 2) NOT NULL,
 [FOG011] [decimal](15, 2) NOT NULL,
 [FOG012] [decimal](15, 2) NOT NULL,
 [FOG013] [decimal](15, 2) NOT NULL,
 [FOG014] [decimal](15, 2) NOT NULL,
 [FOG015] [decimal](15, 2) NOT NULL,
 [FOG016] [decimal](15, 2) NOT NULL,
 [FKG001] [decimal](15, 2) NOT NULL,
 [FKG002] [decimal](15, 2) NOT NULL,
 [FKG003] [decimal](15, 2) NOT NULL,
 [FKG004] [decimal](15, 2) NOT NULL,
 [FKG005] [decimal](15, 2) NOT NULL,
 [FKG006] [decimal](15, 2) NOT NULL,
 [FKG007] [decimal](15, 2) NOT NULL,
 [FKG008] [decimal](15, 2) NOT NULL,
 [FKG009] [decimal](15, 2) NOT NULL,
 [FKG010] [decimal](15, 2) NOT NULL,
 [FKG011] [decimal](15, 2) NOT NULL,
 [FKG012] [decimal](15, 2) NOT NULL,
 [FKG013] [decimal](15, 2) NOT NULL,
 [FKG014] [decimal](15, 2) NOT NULL,
 [FKG015] [decimal](15, 2) NOT NULL,
 [FKG016] [decimal](15, 2) NOT NULL,
 [FKF001] [decimal](15, 2) NOT NULL,
 [FKF002] [decimal](15, 2) NOT NULL,
 [FKF003] [decimal](15, 2) NOT NULL,
 [FKF004] [decimal](15, 2) NOT NULL,
 [FKF005] [decimal](15, 2) NOT NULL,
 [FKF006] [decimal](15, 2) NOT NULL,
 [FKF007] [decimal](15, 2) NOT NULL,
 [FKF008] [decimal](15, 2) NOT NULL,
 [FKF009] [decimal](15, 2) NOT NULL,
 [FKF010] [decimal](15, 2) NOT NULL,
 [FKF011] [decimal](15, 2) NOT NULL,
 [FKF012] [decimal](15, 2) NOT NULL,
 [FKF013] [decimal](15, 2) NOT NULL,
 [FKF014] [decimal](15, 2) NOT NULL,
 [FKF015] [decimal](15, 2) NOT NULL,
 [FKF016] [decimal](15, 2) NOT NULL,
 [ZLNID] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [MEG001] [decimal](15, 3) NOT NULL,
 [MEG002] [decimal](15, 3) NOT NULL,
 [MEG003] [decimal](15, 3) NOT NULL,
 [MEG004] [decimal](15, 3) NOT NULL,
 [MEG005] [decimal](15, 3) NOT NULL,
 [MEG006] [decimal](15, 3) NOT NULL,
 [MEG007] [decimal](15, 3) NOT NULL,
 [MEG008] [decimal](15, 3) NOT NULL,
 [MEG009] [decimal](15, 3) NOT NULL,
 [MEG010] [decimal](15, 3) NOT NULL,
 [MEG011] [decimal](15, 3) NOT NULL,
 [MEG012] [decimal](15, 3) NOT NULL,
 [MEG013] [decimal](15, 3) NOT NULL,
 [MEG014] [decimal](15, 3) NOT NULL,
 [MEG015] [decimal](15, 3) NOT NULL,
 [MEG016] [decimal](15, 3) NOT NULL,
 CONSTRAINT [COSB~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [ABKAT] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [PAROB] ASC,
 [BEKNZ] ASC,
 [AWKUS] ASC,
 [TWAER] ASC,
 [PERBL] 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].[COKS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COKS](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [USPOB] [nvarchar](22) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [RSTLA] [nvarchar](1) NOT NULL,
 [RZMNG] [decimal](15, 3) NOT NULL,
 [RZFKT] [decimal](9, 2) NOT NULL,
 [RZPRZ] [decimal](9, 2) NOT NULL,
 [WSWKF] [nvarchar](1) NOT NULL,
 [WSWKV] [nvarchar](1) NOT NULL,
 [WSWKG] [nvarchar](1) NOT NULL,
 [WSMEF] [nvarchar](1) NOT NULL,
 [WSMEV] [nvarchar](1) NOT NULL,
 [WSMEG] [nvarchar](1) NOT NULL,
 [FMWKF] [nvarchar](3) NOT NULL,
 [FMWKV] [nvarchar](3) NOT NULL,
 [FMWKG] [nvarchar](3) NOT NULL,
 [FMMEF] [nvarchar](3) NOT NULL,
 [FMMEV] [nvarchar](3) NOT NULL,
 [FMMEG] [nvarchar](3) NOT NULL,
 [KKART] [nvarchar](4) NOT NULL,
 [KALNR] [nvarchar](12) NOT NULL,
 [TXFLG] [nvarchar](1) NOT NULL,
 [FCWKF] [nvarchar](4) NOT NULL,
 [FCWKV] [nvarchar](4) NOT NULL,
 [FCWKG] [nvarchar](4) NOT NULL,
 [FCWOF] [nvarchar](4) NOT NULL,
 [FCWOV] [nvarchar](4) NOT NULL,
 [FCWOG] [nvarchar](4) NOT NULL,
 [FCWTF] [nvarchar](4) NOT NULL,
 [FCWTV] [nvarchar](4) NOT NULL,
 [FCWTG] [nvarchar](4) NOT NULL,
 [FCMEF] [nvarchar](4) NOT NULL,
 [FCMEV] [nvarchar](4) NOT NULL,
 [FCMEG] [nvarchar](4) NOT NULL,
 CONSTRAINT [COKS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [PAROB] ASC,
 [USPOB] ASC,
 [BEKNZ] ASC,
 [TWAER] 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].[COKR]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COKR](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [STAGR] [nvarchar](6) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [WSSME] [nvarchar](1) NOT NULL,
 [WSSMA] [nvarchar](1) NOT NULL,
 [FMSME] [nvarchar](3) NOT NULL,
 [FMSMA] [nvarchar](3) NOT NULL,
 [FCSME] [nvarchar](4) NOT NULL,
 [FCSMA] [nvarchar](4) NOT NULL,
 [TXFLG] [nvarchar](1) NOT NULL,
 [KKART] [nvarchar](4) NOT NULL,
 [KALNR] [nvarchar](12) NOT NULL,
 [VARIANTE] [nvarchar](10) NOT NULL,
 [M_PLAN] [nvarchar](1) NOT NULL,
 [M_IST] [nvarchar](1) NOT NULL,
 [KSTAGR] [nvarchar](1) NOT NULL,
 CONSTRAINT [COKR~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [STAGR] ASC,
 [HRKFT] ASC,
 [VRGNG] 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].[COKP]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COKP](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PARGB] [nvarchar](4) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [RZTYP] [nvarchar](1) NOT NULL,
 [RZVAR] [nvarchar](10) NOT NULL,
 [RZMNG] [decimal](15, 3) NOT NULL,
 [RSTLA] [nvarchar](1) NOT NULL,
 [LKSTAR] [nvarchar](1) NOT NULL,
 [RZKST] [decimal](15, 2) NOT NULL,
 [RSTKA] [nvarchar](1) NOT NULL,
 [RZKOA] [nvarchar](10) NOT NULL,
 [RZFKT] [decimal](9, 2) NOT NULL,
 [RZPRZ] [decimal](9, 2) NOT NULL,
 [WSWKF] [nvarchar](1) NOT NULL,
 [WSWKV] [nvarchar](1) NOT NULL,
 [WSWKG] [nvarchar](1) NOT NULL,
 [WSMEF] [nvarchar](1) NOT NULL,
 [WSMEV] [nvarchar](1) NOT NULL,
 [WSMEG] [nvarchar](1) NOT NULL,
 [FMWKF] [nvarchar](3) NOT NULL,
 [FMWKV] [nvarchar](3) NOT NULL,
 [FMWKG] [nvarchar](3) NOT NULL,
 [FMMEF] [nvarchar](3) NOT NULL,
 [FMMEV] [nvarchar](3) NOT NULL,
 [FMMEG] [nvarchar](3) NOT NULL,
 [KKART] [nvarchar](4) NOT NULL,
 [KALNR] [nvarchar](12) NOT NULL,
 [TXFLG] [nvarchar](1) NOT NULL,
 [FCWKF] [nvarchar](4) NOT NULL,
 [FCWKV] [nvarchar](4) NOT NULL,
 [FCWKG] [nvarchar](4) NOT NULL,
 [FCWOF] [nvarchar](4) NOT NULL,
 [FCWOV] [nvarchar](4) NOT NULL,
 [FCWOG] [nvarchar](4) NOT NULL,
 [FCWTF] [nvarchar](4) NOT NULL,
 [FCWTV] [nvarchar](4) NOT NULL,
 [FCWTG] [nvarchar](4) NOT NULL,
 [FCMEF] [nvarchar](4) NOT NULL,
 [FCMEV] [nvarchar](4) NOT NULL,
 [FCMEG] [nvarchar](4) NOT NULL,
 [FCRKF] [nvarchar](4) NOT NULL,
 [FCRKV] [nvarchar](4) NOT NULL,
 [FCRKG] [nvarchar](4) NOT NULL,
 [FCROF] [nvarchar](4) NOT NULL,
 [FCROV] [nvarchar](4) NOT NULL,
 [FCROG] [nvarchar](4) NOT NULL,
 [FCREF] [nvarchar](4) NOT NULL,
 [FCREV] [nvarchar](4) NOT NULL,
 [FCREG] [nvarchar](4) NOT NULL,
 CONSTRAINT [COKP~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [WRTTP] ASC,
 [VERSN] ASC,
 [KSTAR] ASC,
 [HRKFT] ASC,
 [VRGNG] ASC,
 [VBUND] ASC,
 [PARGB] ASC,
 [BEKNZ] ASC,
 [TWAER] 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].[COKL]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COKL](
 [MANDT] [nvarchar](3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [TARKZ] [nvarchar](3) NOT NULL,
 [VKSTA] [nvarchar](10) NOT NULL,
 [AUFKZ] [nvarchar](1) NOT NULL,
 [AEQUI] [decimal](3, 0) NOT NULL,
 [WSLST] [nvarchar](1) NOT NULL,
 [WSKAP] [nvarchar](1) NOT NULL,
 [WSAUS] [nvarchar](1) NOT NULL,
 [WSTKG] [nvarchar](1) NOT NULL,
 [WSTKF] [nvarchar](1) NOT NULL,
 [FMLST] [nvarchar](3) NOT NULL,
 [FMKAP] [nvarchar](3) NOT NULL,
 [FMAUS] [nvarchar](3) NOT NULL,
 [FMTKG] [nvarchar](3) NOT NULL,
 [FMTKF] [nvarchar](3) NOT NULL,
 [FCLST] [nvarchar](4) NOT NULL,
 [FCKAP] [nvarchar](4) NOT NULL,
 [FCAUS] [nvarchar](4) NOT NULL,
 [FCAEQ] [nvarchar](4) NOT NULL,
 [FCTKF] [nvarchar](4) NOT NULL,
 [FCTKV] [nvarchar](4) NOT NULL,
 [FCTKG] [nvarchar](4) NOT NULL,
 [FCTOF] [nvarchar](4) NOT NULL,
 [FCTOV] [nvarchar](4) NOT NULL,
 [FCTOG] [nvarchar](4) NOT NULL,
 [KKART] [nvarchar](4) NOT NULL,
 [KALNR] [nvarchar](12) NOT NULL,
 [TXFLG] [nvarchar](1) NOT NULL,
 [KVEWE] [nvarchar](1) NOT NULL,
 [KAPPL] [nvarchar](2) NOT NULL,
 [KALSM] [nvarchar](6) NOT NULL,
 [PFSCHL] [nvarchar](6) NOT NULL,
 [ABWCHKZ] [nvarchar](1) NOT NULL,
 [LLSTAR] [nvarchar](1) NOT NULL,
 [KLSTAR] [nvarchar](1) NOT NULL,
 [RZLSTAR] [nvarchar](6) NOT NULL,
 [RZLST] [decimal](15, 3) NOT NULL,
 [RZKAP] [decimal](15, 3) NOT NULL,
 [RZAUS] [decimal](15, 3) NOT NULL,
 [RZFKT] [decimal](9, 2) NOT NULL,
 [RZPRZ] [decimal](9, 2) NOT NULL,
 [YRATE] [nvarchar](1) NOT NULL,
 [FIXVO] [nvarchar](1) NOT NULL,
 [TARKZ_I] [nvarchar](3) NOT NULL,
 [LATYP] [nvarchar](1) NOT NULL,
 [LATYPI] [nvarchar](1) NOT NULL,
 [SWSMH] [nvarchar](3) NOT NULL,
 [CI_KLVAR] [nvarchar](4) NOT NULL,
 [CI_KALNR] [nvarchar](12) NOT NULL,
 [MANIST] [nvarchar](1) NOT NULL,
 [MANPLAN] [nvarchar](1) NOT NULL,
 CONSTRAINT [COKL~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [LEDNR] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [VERSN] 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].[COKA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COKA](
 [MANDT] [nvarchar](3) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [MGEFL] [nvarchar](1) NOT NULL,
 [EIGEN] [nvarchar](8) NOT NULL,
 CONSTRAINT [COKA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [OBJNR] ASC,
 [GJAHR] ASC,
 [KSTAR] ASC,
 [HRKFT] 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].[COEPT]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEPT](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERIO] [nvarchar](3) NOT NULL,
 [TKGBTR] [decimal](11, 2) NOT NULL,
 [TKFBTR] [decimal](11, 2) NOT NULL,
 [TKEBTR] [nvarchar](5) NOT NULL,
 [TOGBTR] [decimal](11, 2) NOT NULL,
 [TOFBTR] [decimal](11, 2) NOT NULL,
 [TOEBTR] [nvarchar](5) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [TARKZ] [nvarchar](3) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [REFBZ] [nvarchar](3) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 CONSTRAINT [COEPT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[COEPR]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEPR](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERIO] [nvarchar](3) NOT NULL,
 [SMEBTR] [decimal](15, 3) NOT NULL,
 [SMABTR] [decimal](15, 3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [GRTYP] [nvarchar](1) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [STAGR] [nvarchar](6) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [DABRZ] [nvarchar](8) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 CONSTRAINT [COEPR~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[COEPL]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEPL](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERIO] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [LSTBTR] [decimal](15, 3) NOT NULL,
 [MEINB] [nvarchar](3) NOT NULL,
 [LSBBTR] [decimal](15, 3) NOT NULL,
 [KAPBTR] [decimal](15, 3) NOT NULL,
 [AUSEH] [nvarchar](3) NOT NULL,
 [AUSBTR] [decimal](15, 3) NOT NULL,
 [AUBEH] [nvarchar](3) NOT NULL,
 [AUBBTR] [decimal](15, 3) NOT NULL,
 [DISBTR] [decimal](15, 3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [REFBZ] [nvarchar](3) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 [AEQBTR] [decimal](3, 0) NOT NULL,
 [LOGSYSO] [nvarchar](10) NOT NULL,
 [BVALTNR] [nvarchar](12) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 CONSTRAINT [COEPL~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[COEPB]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEPB](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERIO] [nvarchar](3) NOT NULL,
 [WTGBTR] [decimal](15, 2) NOT NULL,
 [WOGBTR] [decimal](15, 2) NOT NULL,
 [WKGBTR] [decimal](15, 2) NOT NULL,
 [WKFBTR] [decimal](15, 2) NOT NULL,
 [FTGBTR] [decimal](15, 2) NOT NULL,
 [FOGBTR] [decimal](15, 2) NOT NULL,
 [FKGBTR] [decimal](15, 2) NOT NULL,
 [FKFBTR] [decimal](15, 2) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [ABKAT] [nvarchar](2) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [PAROB1] [nvarchar](22) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [AWKUS] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [ZLNID] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [MEGBTR] [decimal](15, 3) NOT NULL,
 CONSTRAINT [COEPB~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[COEP]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEP](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERIO] [nvarchar](3) NOT NULL,
 [WTGBTR] [decimal](15, 2) NOT NULL,
 [WOGBTR] [decimal](15, 2) NOT NULL,
 [WKGBTR] [decimal](15, 2) NOT NULL,
 [WKFBTR] [decimal](15, 2) NOT NULL,
 [PAGBTR] [decimal](15, 2) NOT NULL,
 [PAFBTR] [decimal](15, 2) NOT NULL,
 [MEGBTR] [decimal](15, 3) NOT NULL,
 [MEFBTR] [decimal](15, 3) NOT NULL,
 [MBGBTR] [decimal](15, 3) NOT NULL,
 [MBFBTR] [decimal](15, 3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [PAROB1] [nvarchar](22) NOT NULL,
 [USPOB] [nvarchar](22) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PARGB] [nvarchar](4) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [OWAER] [nvarchar](5) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [MEINB] [nvarchar](3) NOT NULL,
 [MVFLG] [nvarchar](1) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [REFBZ] [nvarchar](3) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 [BW_REFBZ] [nvarchar](3) NOT NULL,
 [GKONT] [nvarchar](10) NOT NULL,
 [GKOAR] [nvarchar](1) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [MATNR] [nvarchar](18) NOT NULL,
 [RBEST] [nvarchar](4) NOT NULL,
 [EBELN] [nvarchar](10) NOT NULL,
 [EBELP] [nvarchar](5) NOT NULL,
 [ZEKKN] [nvarchar](2) NOT NULL,
 [ERLKZ] [nvarchar](1) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [BTRKL] [nvarchar](2) NOT NULL,
 [OBJNR_N1] [nvarchar](22) NOT NULL,
 [OBJNR_N2] [nvarchar](22) NOT NULL,
 [OBJNR_N3] [nvarchar](22) NOT NULL,
 [PAOBJNR] [nvarchar](10) NOT NULL,
 [BELTP] [nvarchar](1) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [SCOPE] [nvarchar](5) NOT NULL,
 [LOGSYSO] [nvarchar](10) NOT NULL,
 [PKSTAR] [nvarchar](10) NOT NULL,
 [PBUKRS] [nvarchar](4) NOT NULL,
 [PFKBER] [nvarchar](16) NOT NULL,
 [PSCOPE] [nvarchar](5) NOT NULL,
 [LOGSYSP] [nvarchar](10) NOT NULL,
 [DABRZ] [nvarchar](8) NOT NULL,
 [BWSTRAT] [nvarchar](1) NOT NULL,
 [OBJNR_HK] [nvarchar](22) NOT NULL,
 [TIMESTMP] [decimal](16, 0) NOT NULL,
 [QMNUM] [nvarchar](12) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [PGEBER] [nvarchar](10) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [PGRANT_NBR] [nvarchar](20) NOT NULL,
 [REFBZ_FI] [nvarchar](3) NOT NULL,
 [SEGMENT] [nvarchar](10) NOT NULL,
 [PSEGMENT] [nvarchar](10) NOT NULL,
 CONSTRAINT [COEP~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[COEJT]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEJT](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [TKG001] [decimal](11, 2) NOT NULL,
 [TKG002] [decimal](11, 2) NOT NULL,
 [TKG003] [decimal](11, 2) NOT NULL,
 [TKG004] [decimal](11, 2) NOT NULL,
 [TKG005] [decimal](11, 2) NOT NULL,
 [TKG006] [decimal](11, 2) NOT NULL,
 [TKG007] [decimal](11, 2) NOT NULL,
 [TKG008] [decimal](11, 2) NOT NULL,
 [TKG009] [decimal](11, 2) NOT NULL,
 [TKG010] [decimal](11, 2) NOT NULL,
 [TKG011] [decimal](11, 2) NOT NULL,
 [TKG012] [decimal](11, 2) NOT NULL,
 [TKG013] [decimal](11, 2) NOT NULL,
 [TKG014] [decimal](11, 2) NOT NULL,
 [TKG015] [decimal](11, 2) NOT NULL,
 [TKG016] [decimal](11, 2) NOT NULL,
 [TKF001] [decimal](11, 2) NOT NULL,
 [TKF002] [decimal](11, 2) NOT NULL,
 [TKF003] [decimal](11, 2) NOT NULL,
 [TKF004] [decimal](11, 2) NOT NULL,
 [TKF005] [decimal](11, 2) NOT NULL,
 [TKF006] [decimal](11, 2) NOT NULL,
 [TKF007] [decimal](11, 2) NOT NULL,
 [TKF008] [decimal](11, 2) NOT NULL,
 [TKF009] [decimal](11, 2) NOT NULL,
 [TKF010] [decimal](11, 2) NOT NULL,
 [TKF011] [decimal](11, 2) NOT NULL,
 [TKF012] [decimal](11, 2) NOT NULL,
 [TKF013] [decimal](11, 2) NOT NULL,
 [TKF014] [decimal](11, 2) NOT NULL,
 [TKF015] [decimal](11, 2) NOT NULL,
 [TKF016] [decimal](11, 2) NOT NULL,
 [TKE001] [nvarchar](5) NOT NULL,
 [TKE002] [nvarchar](5) NOT NULL,
 [TKE003] [nvarchar](5) NOT NULL,
 [TKE004] [nvarchar](5) NOT NULL,
 [TKE005] [nvarchar](5) NOT NULL,
 [TKE006] [nvarchar](5) NOT NULL,
 [TKE007] [nvarchar](5) NOT NULL,
 [TKE008] [nvarchar](5) NOT NULL,
 [TKE009] [nvarchar](5) NOT NULL,
 [TKE010] [nvarchar](5) NOT NULL,
 [TKE011] [nvarchar](5) NOT NULL,
 [TKE012] [nvarchar](5) NOT NULL,
 [TKE013] [nvarchar](5) NOT NULL,
 [TKE014] [nvarchar](5) NOT NULL,
 [TKE015] [nvarchar](5) NOT NULL,
 [TKE016] [nvarchar](5) NOT NULL,
 [TOG001] [decimal](11, 2) NOT NULL,
 [TOG002] [decimal](11, 2) NOT NULL,
 [TOG003] [decimal](11, 2) NOT NULL,
 [TOG004] [decimal](11, 2) NOT NULL,
 [TOG005] [decimal](11, 2) NOT NULL,
 [TOG006] [decimal](11, 2) NOT NULL,
 [TOG007] [decimal](11, 2) NOT NULL,
 [TOG008] [decimal](11, 2) NOT NULL,
 [TOG009] [decimal](11, 2) NOT NULL,
 [TOG010] [decimal](11, 2) NOT NULL,
 [TOG011] [decimal](11, 2) NOT NULL,
 [TOG012] [decimal](11, 2) NOT NULL,
 [TOG013] [decimal](11, 2) NOT NULL,
 [TOG014] [decimal](11, 2) NOT NULL,
 [TOG015] [decimal](11, 2) NOT NULL,
 [TOG016] [decimal](11, 2) NOT NULL,
 [TOF001] [decimal](11, 2) NOT NULL,
 [TOF002] [decimal](11, 2) NOT NULL,
 [TOF003] [decimal](11, 2) NOT NULL,
 [TOF004] [decimal](11, 2) NOT NULL,
 [TOF005] [decimal](11, 2) NOT NULL,
 [TOF006] [decimal](11, 2) NOT NULL,
 [TOF007] [decimal](11, 2) NOT NULL,
 [TOF008] [decimal](11, 2) NOT NULL,
 [TOF009] [decimal](11, 2) NOT NULL,
 [TOF010] [decimal](11, 2) NOT NULL,
 [TOF011] [decimal](11, 2) NOT NULL,
 [TOF012] [decimal](11, 2) NOT NULL,
 [TOF013] [decimal](11, 2) NOT NULL,
 [TOF014] [decimal](11, 2) NOT NULL,
 [TOF015] [decimal](11, 2) NOT NULL,
 [TOF016] [decimal](11, 2) NOT NULL,
 [TOE001] [nvarchar](5) NOT NULL,
 [TOE002] [nvarchar](5) NOT NULL,
 [TOE003] [nvarchar](5) NOT NULL,
 [TOE004] [nvarchar](5) NOT NULL,
 [TOE005] [nvarchar](5) NOT NULL,
 [TOE006] [nvarchar](5) NOT NULL,
 [TOE007] [nvarchar](5) NOT NULL,
 [TOE008] [nvarchar](5) NOT NULL,
 [TOE009] [nvarchar](5) NOT NULL,
 [TOE010] [nvarchar](5) NOT NULL,
 [TOE011] [nvarchar](5) NOT NULL,
 [TOE012] [nvarchar](5) NOT NULL,
 [TOE013] [nvarchar](5) NOT NULL,
 [TOE014] [nvarchar](5) NOT NULL,
 [TOE015] [nvarchar](5) NOT NULL,
 [TOE016] [nvarchar](5) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [TARKZ] [nvarchar](3) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [REFBZ] [nvarchar](3) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 CONSTRAINT [COEJT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] ASC,
 [PERBL] 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].[COEJR]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEJR](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [SME001] [decimal](15, 3) NOT NULL,
 [SME002] [decimal](15, 3) NOT NULL,
 [SME003] [decimal](15, 3) NOT NULL,
 [SME004] [decimal](15, 3) NOT NULL,
 [SME005] [decimal](15, 3) NOT NULL,
 [SME006] [decimal](15, 3) NOT NULL,
 [SME007] [decimal](15, 3) NOT NULL,
 [SME008] [decimal](15, 3) NOT NULL,
 [SME009] [decimal](15, 3) NOT NULL,
 [SME010] [decimal](15, 3) NOT NULL,
 [SME011] [decimal](15, 3) NOT NULL,
 [SME012] [decimal](15, 3) NOT NULL,
 [SME013] [decimal](15, 3) NOT NULL,
 [SME014] [decimal](15, 3) NOT NULL,
 [SME015] [decimal](15, 3) NOT NULL,
 [SME016] [decimal](15, 3) NOT NULL,
 [SMA001] [decimal](15, 3) NOT NULL,
 [SMA002] [decimal](15, 3) NOT NULL,
 [SMA003] [decimal](15, 3) NOT NULL,
 [SMA004] [decimal](15, 3) NOT NULL,
 [SMA005] [decimal](15, 3) NOT NULL,
 [SMA006] [decimal](15, 3) NOT NULL,
 [SMA007] [decimal](15, 3) NOT NULL,
 [SMA008] [decimal](15, 3) NOT NULL,
 [SMA009] [decimal](15, 3) NOT NULL,
 [SMA010] [decimal](15, 3) NOT NULL,
 [SMA011] [decimal](15, 3) NOT NULL,
 [SMA012] [decimal](15, 3) NOT NULL,
 [SMA013] [decimal](15, 3) NOT NULL,
 [SMA014] [decimal](15, 3) NOT NULL,
 [SMA015] [decimal](15, 3) NOT NULL,
 [SMA016] [decimal](15, 3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [GRTYP] [nvarchar](1) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [STAGR] [nvarchar](6) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 CONSTRAINT [COEJR~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] ASC,
 [PERBL] 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].[COEJL]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEJL](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [LST001] [decimal](15, 3) NOT NULL,
 [LST002] [decimal](15, 3) NOT NULL,
 [LST003] [decimal](15, 3) NOT NULL,
 [LST004] [decimal](15, 3) NOT NULL,
 [LST005] [decimal](15, 3) NOT NULL,
 [LST006] [decimal](15, 3) NOT NULL,
 [LST007] [decimal](15, 3) NOT NULL,
 [LST008] [decimal](15, 3) NOT NULL,
 [LST009] [decimal](15, 3) NOT NULL,
 [LST010] [decimal](15, 3) NOT NULL,
 [LST011] [decimal](15, 3) NOT NULL,
 [LST012] [decimal](15, 3) NOT NULL,
 [LST013] [decimal](15, 3) NOT NULL,
 [LST014] [decimal](15, 3) NOT NULL,
 [LST015] [decimal](15, 3) NOT NULL,
 [LST016] [decimal](15, 3) NOT NULL,
 [MEINB] [nvarchar](3) NOT NULL,
 [LSB001] [decimal](15, 3) NOT NULL,
 [LSB002] [decimal](15, 3) NOT NULL,
 [LSB003] [decimal](15, 3) NOT NULL,
 [LSB004] [decimal](15, 3) NOT NULL,
 [LSB005] [decimal](15, 3) NOT NULL,
 [LSB006] [decimal](15, 3) NOT NULL,
 [LSB007] [decimal](15, 3) NOT NULL,
 [LSB008] [decimal](15, 3) NOT NULL,
 [LSB009] [decimal](15, 3) NOT NULL,
 [LSB010] [decimal](15, 3) NOT NULL,
 [LSB011] [decimal](15, 3) NOT NULL,
 [LSB012] [decimal](15, 3) NOT NULL,
 [LSB013] [decimal](15, 3) NOT NULL,
 [LSB014] [decimal](15, 3) NOT NULL,
 [LSB015] [decimal](15, 3) NOT NULL,
 [LSB016] [decimal](15, 3) NOT NULL,
 [KAP001] [decimal](15, 3) NOT NULL,
 [KAP002] [decimal](15, 3) NOT NULL,
 [KAP003] [decimal](15, 3) NOT NULL,
 [KAP004] [decimal](15, 3) NOT NULL,
 [KAP005] [decimal](15, 3) NOT NULL,
 [KAP006] [decimal](15, 3) NOT NULL,
 [KAP007] [decimal](15, 3) NOT NULL,
 [KAP008] [decimal](15, 3) NOT NULL,
 [KAP009] [decimal](15, 3) NOT NULL,
 [KAP010] [decimal](15, 3) NOT NULL,
 [KAP011] [decimal](15, 3) NOT NULL,
 [KAP012] [decimal](15, 3) NOT NULL,
 [KAP013] [decimal](15, 3) NOT NULL,
 [KAP014] [decimal](15, 3) NOT NULL,
 [KAP015] [decimal](15, 3) NOT NULL,
 [KAP016] [decimal](15, 3) NOT NULL,
 [AUSEH] [nvarchar](3) NOT NULL,
 [AUS001] [decimal](15, 3) NOT NULL,
 [AUS002] [decimal](15, 3) NOT NULL,
 [AUS003] [decimal](15, 3) NOT NULL,
 [AUS004] [decimal](15, 3) NOT NULL,
 [AUS005] [decimal](15, 3) NOT NULL,
 [AUS006] [decimal](15, 3) NOT NULL,
 [AUS007] [decimal](15, 3) NOT NULL,
 [AUS008] [decimal](15, 3) NOT NULL,
 [AUS009] [decimal](15, 3) NOT NULL,
 [AUS010] [decimal](15, 3) NOT NULL,
 [AUS011] [decimal](15, 3) NOT NULL,
 [AUS012] [decimal](15, 3) NOT NULL,
 [AUS013] [decimal](15, 3) NOT NULL,
 [AUS014] [decimal](15, 3) NOT NULL,
 [AUS015] [decimal](15, 3) NOT NULL,
 [AUS016] [decimal](15, 3) NOT NULL,
 [AUBEH] [nvarchar](3) NOT NULL,
 [AUB001] [decimal](15, 3) NOT NULL,
 [AUB002] [decimal](15, 3) NOT NULL,
 [AUB003] [decimal](15, 3) NOT NULL,
 [AUB004] [decimal](15, 3) NOT NULL,
 [AUB005] [decimal](15, 3) NOT NULL,
 [AUB006] [decimal](15, 3) NOT NULL,
 [AUB007] [decimal](15, 3) NOT NULL,
 [AUB008] [decimal](15, 3) NOT NULL,
 [AUB009] [decimal](15, 3) NOT NULL,
 [AUB010] [decimal](15, 3) NOT NULL,
 [AUB011] [decimal](15, 3) NOT NULL,
 [AUB012] [decimal](15, 3) NOT NULL,
 [AUB013] [decimal](15, 3) NOT NULL,
 [AUB014] [decimal](15, 3) NOT NULL,
 [AUB015] [decimal](15, 3) NOT NULL,
 [AUB016] [decimal](15, 3) NOT NULL,
 [DIS001] [decimal](15, 3) NOT NULL,
 [DIS002] [decimal](15, 3) NOT NULL,
 [DIS003] [decimal](15, 3) NOT NULL,
 [DIS004] [decimal](15, 3) NOT NULL,
 [DIS005] [decimal](15, 3) NOT NULL,
 [DIS006] [decimal](15, 3) NOT NULL,
 [DIS007] [decimal](15, 3) NOT NULL,
 [DIS008] [decimal](15, 3) NOT NULL,
 [DIS009] [decimal](15, 3) NOT NULL,
 [DIS010] [decimal](15, 3) NOT NULL,
 [DIS011] [decimal](15, 3) NOT NULL,
 [DIS012] [decimal](15, 3) NOT NULL,
 [DIS013] [decimal](15, 3) NOT NULL,
 [DIS014] [decimal](15, 3) NOT NULL,
 [DIS015] [decimal](15, 3) NOT NULL,
 [DIS016] [decimal](15, 3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [REFBZ] [nvarchar](3) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 [AEQ001] [decimal](3, 0) NOT NULL,
 [AEQ002] [decimal](3, 0) NOT NULL,
 [AEQ003] [decimal](3, 0) NOT NULL,
 [AEQ004] [decimal](3, 0) NOT NULL,
 [AEQ005] [decimal](3, 0) NOT NULL,
 [AEQ006] [decimal](3, 0) NOT NULL,
 [AEQ007] [decimal](3, 0) NOT NULL,
 [AEQ008] [decimal](3, 0) NOT NULL,
 [AEQ009] [decimal](3, 0) NOT NULL,
 [AEQ010] [decimal](3, 0) NOT NULL,
 [AEQ011] [decimal](3, 0) NOT NULL,
 [AEQ012] [decimal](3, 0) NOT NULL,
 [AEQ013] [decimal](3, 0) NOT NULL,
 [AEQ014] [decimal](3, 0) NOT NULL,
 [AEQ015] [decimal](3, 0) NOT NULL,
 [AEQ016] [decimal](3, 0) NOT NULL,
 CONSTRAINT [COEJL~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] ASC,
 [PERBL] 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].[COEJ]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COEJ](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [PERBL] [nvarchar](3) NOT NULL,
 [WTG001] [decimal](15, 2) NOT NULL,
 [WTG002] [decimal](15, 2) NOT NULL,
 [WTG003] [decimal](15, 2) NOT NULL,
 [WTG004] [decimal](15, 2) NOT NULL,
 [WTG005] [decimal](15, 2) NOT NULL,
 [WTG006] [decimal](15, 2) NOT NULL,
 [WTG007] [decimal](15, 2) NOT NULL,
 [WTG008] [decimal](15, 2) NOT NULL,
 [WTG009] [decimal](15, 2) NOT NULL,
 [WTG010] [decimal](15, 2) NOT NULL,
 [WTG011] [decimal](15, 2) NOT NULL,
 [WTG012] [decimal](15, 2) NOT NULL,
 [WTG013] [decimal](15, 2) NOT NULL,
 [WTG014] [decimal](15, 2) NOT NULL,
 [WTG015] [decimal](15, 2) NOT NULL,
 [WTG016] [decimal](15, 2) NOT NULL,
 [WOG001] [decimal](15, 2) NOT NULL,
 [WOG002] [decimal](15, 2) NOT NULL,
 [WOG003] [decimal](15, 2) NOT NULL,
 [WOG004] [decimal](15, 2) NOT NULL,
 [WOG005] [decimal](15, 2) NOT NULL,
 [WOG006] [decimal](15, 2) NOT NULL,
 [WOG007] [decimal](15, 2) NOT NULL,
 [WOG008] [decimal](15, 2) NOT NULL,
 [WOG009] [decimal](15, 2) NOT NULL,
 [WOG010] [decimal](15, 2) NOT NULL,
 [WOG011] [decimal](15, 2) NOT NULL,
 [WOG012] [decimal](15, 2) NOT NULL,
 [WOG013] [decimal](15, 2) NOT NULL,
 [WOG014] [decimal](15, 2) NOT NULL,
 [WOG015] [decimal](15, 2) NOT NULL,
 [WOG016] [decimal](15, 2) NOT NULL,
 [WKG001] [decimal](15, 2) NOT NULL,
 [WKG002] [decimal](15, 2) NOT NULL,
 [WKG003] [decimal](15, 2) NOT NULL,
 [WKG004] [decimal](15, 2) NOT NULL,
 [WKG005] [decimal](15, 2) NOT NULL,
 [WKG006] [decimal](15, 2) NOT NULL,
 [WKG007] [decimal](15, 2) NOT NULL,
 [WKG008] [decimal](15, 2) NOT NULL,
 [WKG009] [decimal](15, 2) NOT NULL,
 [WKG010] [decimal](15, 2) NOT NULL,
 [WKG011] [decimal](15, 2) NOT NULL,
 [WKG012] [decimal](15, 2) NOT NULL,
 [WKG013] [decimal](15, 2) NOT NULL,
 [WKG014] [decimal](15, 2) NOT NULL,
 [WKG015] [decimal](15, 2) NOT NULL,
 [WKG016] [decimal](15, 2) NOT NULL,
 [WKF001] [decimal](15, 2) NOT NULL,
 [WKF002] [decimal](15, 2) NOT NULL,
 [WKF003] [decimal](15, 2) NOT NULL,
 [WKF004] [decimal](15, 2) NOT NULL,
 [WKF005] [decimal](15, 2) NOT NULL,
 [WKF006] [decimal](15, 2) NOT NULL,
 [WKF007] [decimal](15, 2) NOT NULL,
 [WKF008] [decimal](15, 2) NOT NULL,
 [WKF009] [decimal](15, 2) NOT NULL,
 [WKF010] [decimal](15, 2) NOT NULL,
 [WKF011] [decimal](15, 2) NOT NULL,
 [WKF012] [decimal](15, 2) NOT NULL,
 [WKF013] [decimal](15, 2) NOT NULL,
 [WKF014] [decimal](15, 2) NOT NULL,
 [WKF015] [decimal](15, 2) NOT NULL,
 [WKF016] [decimal](15, 2) NOT NULL,
 [PAG001] [decimal](15, 2) NOT NULL,
 [PAG002] [decimal](15, 2) NOT NULL,
 [PAG003] [decimal](15, 2) NOT NULL,
 [PAG004] [decimal](15, 2) NOT NULL,
 [PAG005] [decimal](15, 2) NOT NULL,
 [PAG006] [decimal](15, 2) NOT NULL,
 [PAG007] [decimal](15, 2) NOT NULL,
 [PAG008] [decimal](15, 2) NOT NULL,
 [PAG009] [decimal](15, 2) NOT NULL,
 [PAG010] [decimal](15, 2) NOT NULL,
 [PAG011] [decimal](15, 2) NOT NULL,
 [PAG012] [decimal](15, 2) NOT NULL,
 [PAG013] [decimal](15, 2) NOT NULL,
 [PAG014] [decimal](15, 2) NOT NULL,
 [PAG015] [decimal](15, 2) NOT NULL,
 [PAG016] [decimal](15, 2) NOT NULL,
 [PAF001] [decimal](15, 2) NOT NULL,
 [PAF002] [decimal](15, 2) NOT NULL,
 [PAF003] [decimal](15, 2) NOT NULL,
 [PAF004] [decimal](15, 2) NOT NULL,
 [PAF005] [decimal](15, 2) NOT NULL,
 [PAF006] [decimal](15, 2) NOT NULL,
 [PAF007] [decimal](15, 2) NOT NULL,
 [PAF008] [decimal](15, 2) NOT NULL,
 [PAF009] [decimal](15, 2) NOT NULL,
 [PAF010] [decimal](15, 2) NOT NULL,
 [PAF011] [decimal](15, 2) NOT NULL,
 [PAF012] [decimal](15, 2) NOT NULL,
 [PAF013] [decimal](15, 2) NOT NULL,
 [PAF014] [decimal](15, 2) NOT NULL,
 [PAF015] [decimal](15, 2) NOT NULL,
 [PAF016] [decimal](15, 2) NOT NULL,
 [MEG001] [decimal](15, 3) NOT NULL,
 [MEG002] [decimal](15, 3) NOT NULL,
 [MEG003] [decimal](15, 3) NOT NULL,
 [MEG004] [decimal](15, 3) NOT NULL,
 [MEG005] [decimal](15, 3) NOT NULL,
 [MEG006] [decimal](15, 3) NOT NULL,
 [MEG007] [decimal](15, 3) NOT NULL,
 [MEG008] [decimal](15, 3) NOT NULL,
 [MEG009] [decimal](15, 3) NOT NULL,
 [MEG010] [decimal](15, 3) NOT NULL,
 [MEG011] [decimal](15, 3) NOT NULL,
 [MEG012] [decimal](15, 3) NOT NULL,
 [MEG013] [decimal](15, 3) NOT NULL,
 [MEG014] [decimal](15, 3) NOT NULL,
 [MEG015] [decimal](15, 3) NOT NULL,
 [MEG016] [decimal](15, 3) NOT NULL,
 [MEF001] [decimal](15, 3) NOT NULL,
 [MEF002] [decimal](15, 3) NOT NULL,
 [MEF003] [decimal](15, 3) NOT NULL,
 [MEF004] [decimal](15, 3) NOT NULL,
 [MEF005] [decimal](15, 3) NOT NULL,
 [MEF006] [decimal](15, 3) NOT NULL,
 [MEF007] [decimal](15, 3) NOT NULL,
 [MEF008] [decimal](15, 3) NOT NULL,
 [MEF009] [decimal](15, 3) NOT NULL,
 [MEF010] [decimal](15, 3) NOT NULL,
 [MEF011] [decimal](15, 3) NOT NULL,
 [MEF012] [decimal](15, 3) NOT NULL,
 [MEF013] [decimal](15, 3) NOT NULL,
 [MEF014] [decimal](15, 3) NOT NULL,
 [MEF015] [decimal](15, 3) NOT NULL,
 [MEF016] [decimal](15, 3) NOT NULL,
 [MBG001] [decimal](15, 3) NOT NULL,
 [MBG002] [decimal](15, 3) NOT NULL,
 [MBG003] [decimal](15, 3) NOT NULL,
 [MBG004] [decimal](15, 3) NOT NULL,
 [MBG005] [decimal](15, 3) NOT NULL,
 [MBG006] [decimal](15, 3) NOT NULL,
 [MBG007] [decimal](15, 3) NOT NULL,
 [MBG008] [decimal](15, 3) NOT NULL,
 [MBG009] [decimal](15, 3) NOT NULL,
 [MBG010] [decimal](15, 3) NOT NULL,
 [MBG011] [decimal](15, 3) NOT NULL,
 [MBG012] [decimal](15, 3) NOT NULL,
 [MBG013] [decimal](15, 3) NOT NULL,
 [MBG014] [decimal](15, 3) NOT NULL,
 [MBG015] [decimal](15, 3) NOT NULL,
 [MBG016] [decimal](15, 3) NOT NULL,
 [MBF001] [decimal](15, 3) NOT NULL,
 [MBF002] [decimal](15, 3) NOT NULL,
 [MBF003] [decimal](15, 3) NOT NULL,
 [MBF004] [decimal](15, 3) NOT NULL,
 [MBF005] [decimal](15, 3) NOT NULL,
 [MBF006] [decimal](15, 3) NOT NULL,
 [MBF007] [decimal](15, 3) NOT NULL,
 [MBF008] [decimal](15, 3) NOT NULL,
 [MBF009] [decimal](15, 3) NOT NULL,
 [MBF010] [decimal](15, 3) NOT NULL,
 [MBF011] [decimal](15, 3) NOT NULL,
 [MBF012] [decimal](15, 3) NOT NULL,
 [MBF013] [decimal](15, 3) NOT NULL,
 [MBF014] [decimal](15, 3) NOT NULL,
 [MBF015] [decimal](15, 3) NOT NULL,
 [MBF016] [decimal](15, 3) NOT NULL,
 [LEDNR] [nvarchar](2) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [WRTTP] [nvarchar](2) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [KSTAR] [nvarchar](10) NOT NULL,
 [HRKFT] [nvarchar](14) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [PAROB] [nvarchar](22) NOT NULL,
 [PAROB1] [nvarchar](22) NOT NULL,
 [USPOB] [nvarchar](22) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PARGB] [nvarchar](4) NOT NULL,
 [BEKNZ] [nvarchar](1) NOT NULL,
 [TWAER] [nvarchar](5) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [MEINB] [nvarchar](3) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [REFBZ] [nvarchar](3) NOT NULL,
 [ZLENR] [nvarchar](3) NOT NULL,
 [BW_REFBZ] [nvarchar](3) NOT NULL,
 [BELTP] [nvarchar](1) NOT NULL,
 [TIMESTMP] [decimal](16, 0) NOT NULL,
 [PAOBJNR] [nvarchar](10) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [PFKBER] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [PGEBER] [nvarchar](10) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [PGRANT_NBR] [nvarchar](20) NOT NULL,
 [SEGMENT] [nvarchar](10) NOT NULL,
 [PSEGMENT] [nvarchar](10) NOT NULL,
 CONSTRAINT [COEJ~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] ASC,
 [BUZEI] ASC,
 [PERBL] 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].[COBK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[COBK](
 [MANDT] [nvarchar](3) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [VERSN] [nvarchar](3) NOT NULL,
 [VRGNG] [nvarchar](4) NOT NULL,
 [TIMESTMP] [decimal](16, 0) NOT NULL,
 [PERAB] [nvarchar](3) NOT NULL,
 [PERBI] [nvarchar](3) NOT NULL,
 [BLDAT] [nvarchar](8) NOT NULL,
 [BUDAT] [nvarchar](8) NOT NULL,
 [CPUDT] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [BLTXT] [nvarchar](50) NOT NULL,
 [STFLG] [nvarchar](1) NOT NULL,
 [STOKZ] [nvarchar](1) NOT NULL,
 [REFBT] [nvarchar](1) NOT NULL,
 [REFBN] [nvarchar](10) NOT NULL,
 [REFBK] [nvarchar](4) NOT NULL,
 [REFGJ] [nvarchar](4) NOT NULL,
 [BLART] [nvarchar](2) NOT NULL,
 [ORGVG] [nvarchar](4) NOT NULL,
 [SUMBZ] [nvarchar](3) NOT NULL,
 [DELBZ] [nvarchar](3) NOT NULL,
 [WSDAT] [nvarchar](8) NOT NULL,
 [KURST] [nvarchar](4) NOT NULL,
 [VARNR] [nvarchar](5) NOT NULL,
 [KWAER] [nvarchar](5) NOT NULL,
 [CTYP1] [nvarchar](2) NOT NULL,
 [CTYP2] [nvarchar](2) NOT NULL,
 [CTYP3] [nvarchar](2) NOT NULL,
 [CTYP4] [nvarchar](2) NOT NULL,
 [AWTYP] [nvarchar](5) NOT NULL,
 [AWORG] [nvarchar](10) NOT NULL,
 [LOGSYSTEM] [nvarchar](10) NOT NULL,
 [CPUTM] [nvarchar](6) NOT NULL,
 [ALEBZ] [nvarchar](3) NOT NULL,
 [ALEBN] [nvarchar](10) NOT NULL,
 [AWSYS] [nvarchar](10) NOT NULL,
 [AWREF_REV] [nvarchar](10) NOT NULL,
 [AWORG_REV] [nvarchar](10) NOT NULL,
 CONSTRAINT [COBK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [KOKRS] ASC,
 [BELNR] 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].[CEPC]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CEPC](
 [MANDT] [nvarchar](3) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [DATBI] [nvarchar](8) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [DATAB] [nvarchar](8) NOT NULL,
 [ERSDA] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [MERKMAL] [nvarchar](30) NOT NULL,
 [ABTEI] [nvarchar](12) NOT NULL,
 [VERAK] [nvarchar](20) NOT NULL,
 [VERAK_USER] [nvarchar](12) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [NPRCTR] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [ANRED] [nvarchar](15) NOT NULL,
 [NAME1] [nvarchar](35) NOT NULL,
 [NAME2] [nvarchar](35) NOT NULL,
 [NAME3] [nvarchar](35) NOT NULL,
 [NAME4] [nvarchar](35) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 [ORT02] [nvarchar](35) NOT NULL,
 [STRAS] [nvarchar](35) NOT NULL,
 [PFACH] [nvarchar](10) NOT NULL,
 [PSTLZ] [nvarchar](10) NOT NULL,
 [PSTL2] [nvarchar](10) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [TELBX] [nvarchar](15) NOT NULL,
 [TELF1] [nvarchar](16) NOT NULL,
 [TELF2] [nvarchar](16) NOT NULL,
 [TELFX] [nvarchar](31) NOT NULL,
 [TELTX] [nvarchar](30) NOT NULL,
 [TELX1] [nvarchar](30) NOT NULL,
 [DATLT] [nvarchar](14) NOT NULL,
 [DRNAM] [nvarchar](4) NOT NULL,
 [KHINR] [nvarchar](12) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [VNAME] [nvarchar](6) NOT NULL,
 [RECID] [nvarchar](2) NOT NULL,
 [ETYPE] [nvarchar](3) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [REGIO] [nvarchar](3) NOT NULL,
 [KVEWE] [nvarchar](1) NOT NULL,
 [KAPPL] [nvarchar](2) NOT NULL,
 [KALSM] [nvarchar](6) NOT NULL,
 [LOGSYSTEM] [nvarchar](10) NOT NULL,
 [LOCK_IND] [nvarchar](1) NOT NULL,
 [PCA_TEMPLATE] [nvarchar](10) NOT NULL,
 [SEGMENT] [nvarchar](10) NOT NULL,
 CONSTRAINT [CEPC~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [PRCTR] ASC,
 [DATBI] ASC,
 [KOKRS] 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].[CATSDB]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[CATSDB](
 [MANDT] [nvarchar](3) NOT NULL,
 [COUNTER] [nvarchar](12) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [WORKDATE] [nvarchar](8) NOT NULL,
 [SKOSTL] [nvarchar](10) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [SEBELN] [nvarchar](10) NOT NULL,
 [SEBELP] [nvarchar](5) NOT NULL,
 [SPRZNR] [nvarchar](12) NOT NULL,
 [LSTNR] [nvarchar](18) NOT NULL,
 [RKOSTL] [nvarchar](10) NOT NULL,
 [RPROJ] [nvarchar](8) NOT NULL,
 [RAUFNR] [nvarchar](12) NOT NULL,
 [RNPLNR] [nvarchar](12) NOT NULL,
 [RAUFPL] [nvarchar](10) NOT NULL,
 [RAPLZL] [nvarchar](8) NOT NULL,
 [RKDAUF] [nvarchar](10) NOT NULL,
 [RKDPOS] [nvarchar](6) NOT NULL,
 [RKSTR] [nvarchar](12) NOT NULL,
 [RPRZNR] [nvarchar](12) NOT NULL,
 [PAOBJNR] [nvarchar](10) NOT NULL,
 [FUND] [nvarchar](10) NOT NULL,
 [FUNC_AREA] [nvarchar](16) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [S_FUND] [nvarchar](10) NOT NULL,
 [S_FUNC_AREA] [nvarchar](16) NOT NULL,
 [S_GRANT_NBR] [nvarchar](20) NOT NULL,
 [AWART] [nvarchar](4) NOT NULL,
 [LGART] [nvarchar](4) NOT NULL,
 [KAPID] [nvarchar](8) NOT NULL,
 [SPLIT] [tinyint] NOT NULL,
 [REINR] [nvarchar](10) NOT NULL,
 [WABLNR] [nvarchar](10) NOT NULL,
 [VERSL] [nvarchar](1) NOT NULL,
 [WTART] [nvarchar](4) NOT NULL,
 [BWGRL] [decimal](13, 2) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [AUFKZ] [nvarchar](1) NOT NULL,
 [TRFGR] [nvarchar](8) NOT NULL,
 [TRFST] [nvarchar](2) NOT NULL,
 [PRAKN] [nvarchar](2) NOT NULL,
 [PRAKZ] [nvarchar](4) NOT NULL,
 [OTYPE] [nvarchar](2) NOT NULL,
 [PLANS] [nvarchar](8) NOT NULL,
 [KOKRS] [nvarchar](4) NOT NULL,
 [MEINH] [nvarchar](3) NOT NULL,
 [TCURR] [nvarchar](5) NOT NULL,
 [PRICE] [decimal](11, 2) NOT NULL,
 [ARBID] [nvarchar](8) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [AUTYP] [nvarchar](2) NOT NULL,
 [HRCOSTASG] [nvarchar](1) NOT NULL,
 [HRKOSTL] [nvarchar](10) NOT NULL,
 [HRLSTAR] [nvarchar](6) NOT NULL,
 [HRFUND] [nvarchar](10) NOT NULL,
 [HRFUNC_AREA] [nvarchar](16) NOT NULL,
 [HRGRANT_NBR] [nvarchar](20) NOT NULL,
 [BEMOT] [nvarchar](2) NOT NULL,
 [UNIT] [nvarchar](3) NOT NULL,
 [STATKEYFIG] [nvarchar](6) NOT NULL,
 [TASKTYPE] [nvarchar](4) NOT NULL,
 [TASKLEVEL] [nvarchar](8) NOT NULL,
 [TASKCOMPONENT] [nvarchar](8) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [CPR_GUID] [nvarchar](32) NOT NULL,
 [CPR_EXTID] [nvarchar](24) NOT NULL,
 [CPR_OBJGUID] [nvarchar](32) NOT NULL,
 [CPR_OBJGEXTID] [nvarchar](24) NOT NULL,
 [CPR_OBJTYPE] [nvarchar](3) NOT NULL,
 [ERSDA] [nvarchar](8) NOT NULL,
 [ERSTM] [nvarchar](6) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [LAEDA] [nvarchar](8) NOT NULL,
 [LAETM] [nvarchar](6) NOT NULL,
 [AENAM] [nvarchar](12) NOT NULL,
 [APNAM] [nvarchar](12) NOT NULL,
 [APDAT] [nvarchar](8) NOT NULL,
 [WORKITEMID] [nvarchar](12) NOT NULL,
 [LOGSYS] [nvarchar](10) NOT NULL,
 [STATUS] [nvarchar](2) NOT NULL,
 [REFCOUNTER] [nvarchar](12) NOT NULL,
 [REASON] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [EXTSYSTEM] [nvarchar](10) NOT NULL,
 [EXTAPPLICATION] [nvarchar](5) NOT NULL,
 [EXTDOCUMENTNO] [nvarchar](20) NOT NULL,
 [TASKCOUNTER] [nvarchar](10) NOT NULL,
 [CATSHOURS] [decimal](4, 2) NOT NULL,
 [BEGUZ] [nvarchar](6) NOT NULL,
 [ENDUZ] [nvarchar](6) NOT NULL,
 [VTKEN] [nvarchar](1) NOT NULL,
 [ALLDF] [nvarchar](1) NOT NULL,
 [OFMNW] [decimal](7, 1) NOT NULL,
 [PEDD] [nvarchar](8) NOT NULL,
 [AUERU] [nvarchar](1) NOT NULL,
 [LTXA1] [nvarchar](40) NOT NULL,
 [LONGTEXT] [nvarchar](1) NOT NULL,
 [ERUZU] [nvarchar](1) NOT NULL,
 [CATSAMOUNT] [decimal](13, 2) NOT NULL,
 [CATSQUANTITY] [decimal](15, 3) NOT NULL,
 CONSTRAINT [CATSDB~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [COUNTER] 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].[BSIS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BSIS](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [HKONT] [nvarchar](10) NOT NULL,
 [AUGDT] [nvarchar](8) NOT NULL,
 [AUGBL] [nvarchar](10) NOT NULL,
 [ZUONR] [nvarchar](18) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BUDAT] [nvarchar](8) NOT NULL,
 [BLDAT] [nvarchar](8) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [XBLNR] [nvarchar](16) NOT NULL,
 [BLART] [nvarchar](2) NOT NULL,
 [MONAT] [nvarchar](2) NOT NULL,
 [BSCHL] [nvarchar](2) NOT NULL,
 [SHKZG] [nvarchar](1) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [MWSKZ] [nvarchar](2) NOT NULL,
 [FKONT] [nvarchar](3) NOT NULL,
 [DMBTR] [decimal](13, 2) NOT NULL,
 [WRBTR] [decimal](13, 2) NOT NULL,
 [MWSTS] [decimal](13, 2) NOT NULL,
 [WMWST] [decimal](13, 2) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [PROJN] [nvarchar](16) NOT NULL,
 [AUFNR] [nvarchar](12) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [ZFBDT] [nvarchar](8) NOT NULL,
 [XOPVW] [nvarchar](1) NOT NULL,
 [VALUT] [nvarchar](8) NOT NULL,
 [BSTAT] [nvarchar](1) NOT NULL,
 [BDIFF] [decimal](13, 2) NOT NULL,
 [BDIF2] [decimal](13, 2) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PSWSL] [nvarchar](5) NOT NULL,
 [WVERW] [nvarchar](1) NOT NULL,
 [DMBE2] [decimal](13, 2) NOT NULL,
 [DMBE3] [decimal](13, 2) NOT NULL,
 [MWST2] [decimal](13, 2) NOT NULL,
 [MWST3] [decimal](13, 2) NOT NULL,
 [BDIF3] [decimal](13, 2) NOT NULL,
 [RDIF3] [decimal](13, 2) NOT NULL,
 [XRAGL] [nvarchar](1) NOT NULL,
 [PROJK] [nvarchar](8) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [XSTOV] [nvarchar](1) NOT NULL,
 [XARCH] [nvarchar](1) NOT NULL,
 [PSWBT] [decimal](13, 2) NOT NULL,
 [XNEGP] [nvarchar](1) NOT NULL,
 [RFZEI] [nvarchar](3) NOT NULL,
 [CCBTC] [nvarchar](10) NOT NULL,
 [XREF3] [nvarchar](20) NOT NULL,
 [BUPLA] [nvarchar](4) NOT NULL,
 [PPDIFF] [decimal](13, 2) NOT NULL,
 [PPDIF2] [decimal](13, 2) NOT NULL,
 [PPDIF3] [decimal](13, 2) NOT NULL,
 [BEWAR] [nvarchar](3) NOT NULL,
 [IMKEY] [nvarchar](8) NOT NULL,
 [DABRZ] [nvarchar](8) NOT NULL,
 [INTRENO] [nvarchar](13) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [FIPOS] [nvarchar](14) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [PPRCT] [nvarchar](10) NOT NULL,
 [BUZID] [nvarchar](1) NOT NULL,
 [AUGGJ] [nvarchar](4) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [SEGMENT] [nvarchar](10) NOT NULL,
 [PSEGMENT] [nvarchar](10) NOT NULL,
 [FIPEX] [nvarchar](24) NOT NULL,
 [PRODPER] [nvarchar](6) NOT NULL,
 [QSSKZ] [nvarchar](2) NOT NULL,
 [PROPMANO] [nvarchar](13) NOT NULL,
 CONSTRAINT [BSIS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [HKONT] ASC,
 [AUGDT] ASC,
 [AUGBL] ASC,
 [ZUONR] ASC,
 [GJAHR] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[BSIK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BSIK](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [UMSKS] [nvarchar](1) NOT NULL,
 [UMSKZ] [nvarchar](1) NOT NULL,
 [AUGDT] [nvarchar](8) NOT NULL,
 [AUGBL] [nvarchar](10) NOT NULL,
 [ZUONR] [nvarchar](18) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BUDAT] [nvarchar](8) NOT NULL,
 [BLDAT] [nvarchar](8) NOT NULL,
 [CPUDT] [nvarchar](8) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [XBLNR] [nvarchar](16) NOT NULL,
 [BLART] [nvarchar](2) NOT NULL,
 [MONAT] [nvarchar](2) NOT NULL,
 [BSCHL] [nvarchar](2) NOT NULL,
 [ZUMSK] [nvarchar](1) NOT NULL,
 [SHKZG] [nvarchar](1) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [MWSKZ] [nvarchar](2) NOT NULL,
 [DMBTR] [decimal](13, 2) NOT NULL,
 [WRBTR] [decimal](13, 2) NOT NULL,
 [MWSTS] [decimal](13, 2) NOT NULL,
 [WMWST] [decimal](13, 2) NOT NULL,
 [BDIFF] [decimal](13, 2) NOT NULL,
 [BDIF2] [decimal](13, 2) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [PROJN] [nvarchar](16) NOT NULL,
 [AUFNR] [nvarchar](12) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [EBELN] [nvarchar](10) NOT NULL,
 [EBELP] [nvarchar](5) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [HKONT] [nvarchar](10) NOT NULL,
 [FKONT] [nvarchar](3) NOT NULL,
 [FILKD] [nvarchar](10) NOT NULL,
 [ZFBDT] [nvarchar](8) NOT NULL,
 [ZTERM] [nvarchar](4) NOT NULL,
 [ZBD1T] [decimal](3, 0) NOT NULL,
 [ZBD2T] [decimal](3, 0) NOT NULL,
 [ZBD3T] [decimal](3, 0) NOT NULL,
 [ZBD1P] [decimal](5, 3) NOT NULL,
 [ZBD2P] [decimal](5, 3) NOT NULL,
 [SKFBT] [decimal](13, 2) NOT NULL,
 [SKNTO] [decimal](13, 2) NOT NULL,
 [WSKTO] [decimal](13, 2) NOT NULL,
 [ZLSCH] [nvarchar](1) NOT NULL,
 [ZLSPR] [nvarchar](1) NOT NULL,
 [ZBFIX] [nvarchar](1) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [BVTYP] [nvarchar](4) NOT NULL,
 [REBZG] [nvarchar](10) NOT NULL,
 [REBZJ] [nvarchar](4) NOT NULL,
 [REBZZ] [nvarchar](3) NOT NULL,
 [ZOLLT] [nvarchar](8) NOT NULL,
 [ZOLLD] [nvarchar](8) NOT NULL,
 [LZBKZ] [nvarchar](3) NOT NULL,
 [LANDL] [nvarchar](3) NOT NULL,
 [DIEKZ] [nvarchar](1) NOT NULL,
 [MANSP] [nvarchar](1) NOT NULL,
 [MSCHL] [nvarchar](1) NOT NULL,
 [MADAT] [nvarchar](8) NOT NULL,
 [MANST] [nvarchar](1) NOT NULL,
 [MABER] [nvarchar](2) NOT NULL,
 [XNETB] [nvarchar](1) NOT NULL,
 [XANET] [nvarchar](1) NOT NULL,
 [XCPDD] [nvarchar](1) NOT NULL,
 [XESRD] [nvarchar](1) NOT NULL,
 [XZAHL] [nvarchar](1) NOT NULL,
 [MWSK1] [nvarchar](2) NOT NULL,
 [DMBT1] [decimal](13, 2) NOT NULL,
 [WRBT1] [decimal](13, 2) NOT NULL,
 [MWSK2] [nvarchar](2) NOT NULL,
 [DMBT2] [decimal](13, 2) NOT NULL,
 [WRBT2] [decimal](13, 2) NOT NULL,
 [MWSK3] [nvarchar](2) NOT NULL,
 [DMBT3] [decimal](13, 2) NOT NULL,
 [WRBT3] [decimal](13, 2) NOT NULL,
 [QSSKZ] [nvarchar](2) NOT NULL,
 [QSSHB] [decimal](13, 2) NOT NULL,
 [QBSHB] [decimal](13, 2) NOT NULL,
 [BSTAT] [nvarchar](1) NOT NULL,
 [ANFBN] [nvarchar](10) NOT NULL,
 [ANFBJ] [nvarchar](4) NOT NULL,
 [ANFBU] [nvarchar](4) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [REBZT] [nvarchar](1) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 [EGBLD] [nvarchar](3) NOT NULL,
 [EGLLD] [nvarchar](3) NOT NULL,
 [QSZNR] [nvarchar](10) NOT NULL,
 [QSFBT] [decimal](13, 2) NOT NULL,
 [XINVE] [nvarchar](1) NOT NULL,
 [PROJK] [nvarchar](24) NOT NULL,
 [FIPOS] [nvarchar](24) NOT NULL,
 [NPLNR] [nvarchar](12) NOT NULL,
 [AUFPL] [nvarchar](10) NOT NULL,
 [APLZL] [nvarchar](8) NOT NULL,
 [XEGDR] [nvarchar](1) NOT NULL,
 [DMBE2] [decimal](13, 2) NOT NULL,
 [DMBE3] [decimal](13, 2) NOT NULL,
 [DMB21] [decimal](13, 2) NOT NULL,
 [DMB22] [decimal](13, 2) NOT NULL,
 [DMB23] [decimal](13, 2) NOT NULL,
 [DMB31] [decimal](13, 2) NOT NULL,
 [DMB32] [decimal](13, 2) NOT NULL,
 [DMB33] [decimal](13, 2) NOT NULL,
 [MWST2] [decimal](13, 2) NOT NULL,
 [MWST3] [decimal](13, 2) NOT NULL,
 [SKNT2] [decimal](13, 2) NOT NULL,
 [SKNT3] [decimal](13, 2) NOT NULL,
 [BDIF3] [decimal](13, 2) NOT NULL,
 [XRAGL] [nvarchar](1) NOT NULL,
 [RSTGR] [nvarchar](3) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [LNRAN] [nvarchar](5) NOT NULL,
 [XSTOV] [nvarchar](1) NOT NULL,
 [KZBTR] [decimal](13, 2) NOT NULL,
 [XREF1] [nvarchar](12) NOT NULL,
 [XREF2] [nvarchar](12) NOT NULL,
 [XARCH] [nvarchar](1) NOT NULL,
 [PSWSL] [nvarchar](5) NOT NULL,
 [PSWBT] [decimal](13, 2) NOT NULL,
 [IMKEY] [nvarchar](40) NOT NULL,
 [ZEKKN] [nvarchar](2) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [DABRZ] [nvarchar](8) NOT NULL,
 [XNEGP] [nvarchar](1) NOT NULL,
 [EMPFB] [nvarchar](10) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [XREF3] [nvarchar](20) NOT NULL,
 [DTWS1] [nvarchar](2) NOT NULL,
 [DTWS2] [nvarchar](2) NOT NULL,
 [DTWS3] [nvarchar](2) NOT NULL,
 [DTWS4] [nvarchar](2) NOT NULL,
 [XPYPR] [nvarchar](1) NOT NULL,
 [KIDNO] [nvarchar](30) NOT NULL,
 [PYCUR] [nvarchar](5) NOT NULL,
 [PYAMT] [decimal](13, 2) NOT NULL,
 [BUPLA] [nvarchar](4) NOT NULL,
 [SECCO] [nvarchar](4) NOT NULL,
 [PPDIFF] [decimal](13, 2) NOT NULL,
 [PPDIF2] [decimal](13, 2) NOT NULL,
 [PPDIF3] [decimal](13, 2) NOT NULL,
 [PENLC1] [decimal](13, 2) NOT NULL,
 [PENLC2] [decimal](13, 2) NOT NULL,
 [PENLC3] [decimal](13, 2) NOT NULL,
 [PENFC] [decimal](13, 2) NOT NULL,
 [PENDAYS] [int] NOT NULL,
 [PENRC] [nvarchar](2) NOT NULL,
 [VERTT] [nvarchar](1) NOT NULL,
 [VERTN] [nvarchar](13) NOT NULL,
 [VBEWA] [nvarchar](4) NOT NULL,
 [KBLNR] [nvarchar](10) NOT NULL,
 [KBLPOS] [nvarchar](3) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [GMVKZ] [nvarchar](1) NOT NULL,
 [SRTYPE] [nvarchar](2) NOT NULL,
 [LOTKZ] [nvarchar](10) NOT NULL,
 [ZINKZ] [nvarchar](2) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [INTRENO] [nvarchar](13) NOT NULL,
 [PPRCT] [nvarchar](10) NOT NULL,
 [BUZID] [nvarchar](1) NOT NULL,
 [AUGGJ] [nvarchar](4) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [KONTT] [nvarchar](2) NOT NULL,
 [KONTL] [nvarchar](50) NOT NULL,
 [UEBGDAT] [nvarchar](8) NOT NULL,
 [VNAME] [nvarchar](6) NOT NULL,
 [EGRUP] [nvarchar](3) NOT NULL,
 [BTYPE] [nvarchar](2) NOT NULL,
 [PROPMANO] [nvarchar](13) NOT NULL,
 CONSTRAINT [BSIK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [LIFNR] ASC,
 [UMSKS] ASC,
 [UMSKZ] ASC,
 [AUGDT] ASC,
 [AUGBL] ASC,
 [ZUONR] ASC,
 [GJAHR] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[BSID]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BSID](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [UMSKS] [nvarchar](1) NOT NULL,
 [UMSKZ] [nvarchar](1) NOT NULL,
 [AUGDT] [datetime] NOT NULL,
 [AUGBL] [nvarchar](10) NOT NULL,
 [ZUONR] [nvarchar](18) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BUDAT] [datetime] NOT NULL,
 [BLDAT] [datetime] NOT NULL,
 [CPUDT] [datetime] NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [XBLNR] [nvarchar](16) NOT NULL,
 [BLART] [nvarchar](2) NOT NULL,
 [MONAT] [nvarchar](2) NOT NULL,
 [BSCHL] [nvarchar](2) NOT NULL,
 [ZUMSK] [nvarchar](1) NOT NULL,
 [SHKZG] [nvarchar](1) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [MWSKZ] [nvarchar](2) NOT NULL,
 [DMBTR] [decimal](13, 2) NOT NULL,
 [WRBTR] [decimal](13, 2) NOT NULL,
 [MWSTS] [decimal](13, 2) NOT NULL,
 [WMWST] [decimal](13, 2) NOT NULL,
 [BDIFF] [decimal](13, 2) NOT NULL,
 [BDIF2] [decimal](13, 2) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [PROJN] [nvarchar](16) NOT NULL,
 [AUFNR] [nvarchar](12) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [HKONT] [nvarchar](10) NOT NULL,
 [FKONT] [nvarchar](3) NOT NULL,
 [FILKD] [nvarchar](10) NOT NULL,
 [ZFBDT] [datetime] NOT NULL,
 [ZTERM] [nvarchar](4) NOT NULL,
 [ZBD1T] [decimal](3, 0) NOT NULL,
 [ZBD2T] [decimal](3, 0) NOT NULL,
 [ZBD3T] [decimal](3, 0) NOT NULL,
 [ZBD1P] [decimal](5, 3) NOT NULL,
 [ZBD2P] [decimal](5, 3) NOT NULL,
 [SKFBT] [decimal](13, 2) NOT NULL,
 [SKNTO] [decimal](13, 2) NOT NULL,
 [WSKTO] [decimal](13, 2) NOT NULL,
 [ZLSCH] [nvarchar](1) NOT NULL,
 [ZLSPR] [nvarchar](1) NOT NULL,
 [ZBFIX] [nvarchar](1) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [BVTYP] [nvarchar](4) NOT NULL,
 [REBZG] [nvarchar](10) NOT NULL,
 [REBZJ] [nvarchar](4) NOT NULL,
 [REBZZ] [nvarchar](3) NOT NULL,
 [SAMNR] [nvarchar](8) NOT NULL,
 [ANFBN] [nvarchar](10) NOT NULL,
 [ANFBJ] [nvarchar](4) NOT NULL,
 [ANFBU] [nvarchar](4) NOT NULL,
 [ANFAE] [datetime] NOT NULL,
 [MANSP] [nvarchar](1) NOT NULL,
 [MSCHL] [nvarchar](1) NOT NULL,
 [MADAT] [datetime] NOT NULL,
 [MANST] [nvarchar](1) NOT NULL,
 [MABER] [nvarchar](2) NOT NULL,
 [XNETB] [nvarchar](1) NOT NULL,
 [XANET] [nvarchar](1) NOT NULL,
 [XCPDD] [nvarchar](1) NOT NULL,
 [XINVE] [nvarchar](1) NOT NULL,
 [XZAHL] [nvarchar](1) NOT NULL,
 [MWSK1] [nvarchar](2) NOT NULL,
 [DMBT1] [decimal](13, 2) NOT NULL,
 [WRBT1] [decimal](13, 2) NOT NULL,
 [MWSK2] [nvarchar](2) NOT NULL,
 [DMBT2] [decimal](13, 2) NOT NULL,
 [WRBT2] [decimal](13, 2) NOT NULL,
 [MWSK3] [nvarchar](2) NOT NULL,
 [DMBT3] [decimal](13, 2) NOT NULL,
 [WRBT3] [decimal](13, 2) NOT NULL,
 [BSTAT] [nvarchar](1) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [VBELN] [nvarchar](10) NOT NULL,
 [REBZT] [nvarchar](1) NOT NULL,
 [INFAE] [nvarchar](8) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 [EGBLD] [nvarchar](3) NOT NULL,
 [EGLLD] [nvarchar](3) NOT NULL,
 [RSTGR] [nvarchar](3) NOT NULL,
 [XNOZA] [nvarchar](1) NOT NULL,
 [VERTT] [nvarchar](1) NOT NULL,
 [VERTN] [nvarchar](13) NOT NULL,
 [VBEWA] [nvarchar](4) NOT NULL,
 [WVERW] [nvarchar](1) NOT NULL,
 [PROJK] [nvarchar](24) NOT NULL,
 [FIPOS] [nvarchar](24) NOT NULL,
 [NPLNR] [nvarchar](12) NOT NULL,
 [AUFPL] [nvarchar](10) NOT NULL,
 [APLZL] [nvarchar](8) NOT NULL,
 [XEGDR] [nvarchar](1) NOT NULL,
 [DMBE2] [decimal](13, 2) NOT NULL,
 [DMBE3] [decimal](13, 2) NOT NULL,
 [DMB21] [decimal](13, 2) NOT NULL,
 [DMB22] [decimal](13, 2) NOT NULL,
 [DMB23] [decimal](13, 2) NOT NULL,
 [DMB31] [decimal](13, 2) NOT NULL,
 [DMB32] [decimal](13, 2) NOT NULL,
 [DMB33] [decimal](13, 2) NOT NULL,
 [BDIF3] [decimal](13, 2) NOT NULL,
 [XRAGL] [nvarchar](1) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [XSTOV] [nvarchar](1) NOT NULL,
 [MWST2] [decimal](13, 2) NOT NULL,
 [MWST3] [decimal](13, 2) NOT NULL,
 [SKNT2] [decimal](13, 2) NOT NULL,
 [SKNT3] [decimal](13, 2) NOT NULL,
 [XREF1] [nvarchar](12) NOT NULL,
 [XREF2] [nvarchar](12) NOT NULL,
 [XARCH] [nvarchar](1) NOT NULL,
 [PSWSL] [nvarchar](5) NOT NULL,
 [PSWBT] [decimal](13, 2) NOT NULL,
 [LZBKZ] [nvarchar](3) NOT NULL,
 [LANDL] [nvarchar](3) NOT NULL,
 [IMKEY] [nvarchar](40) NOT NULL,
 [VBEL2] [nvarchar](10) NOT NULL,
 [VPOS2] [nvarchar](6) NOT NULL,
 [POSN2] [nvarchar](6) NOT NULL,
 [ETEN2] [nvarchar](4) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [DABRZ] [datetime] NOT NULL,
 [XNEGP] [nvarchar](1) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [RFZEI] [nvarchar](3) NOT NULL,
 [KKBER] [nvarchar](4) NOT NULL,
 [EMPFB] [nvarchar](10) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [XREF3] [nvarchar](20) NOT NULL,
 [QSSKZ] [nvarchar](2) NOT NULL,
 [ZINKZ] [nvarchar](2) NOT NULL,
 [DTWS1] [nvarchar](2) NOT NULL,
 [DTWS2] [nvarchar](2) NOT NULL,
 [DTWS3] [nvarchar](2) NOT NULL,
 [DTWS4] [nvarchar](2) NOT NULL,
 [XPYPR] [nvarchar](1) NOT NULL,
 [KIDNO] [nvarchar](30) NOT NULL,
 [ABSBT] [decimal](13, 2) NOT NULL,
 [CCBTC] [nvarchar](10) NOT NULL,
 [PYCUR] [nvarchar](5) NOT NULL,
 [PYAMT] [decimal](13, 2) NOT NULL,
 [BUPLA] [nvarchar](4) NOT NULL,
 [SECCO] [nvarchar](4) NOT NULL,
 [CESSION_KZ] [nvarchar](2) NOT NULL,
 [PPDIFF] [decimal](13, 2) NOT NULL,
 [PPDIF2] [decimal](13, 2) NOT NULL,
 [PPDIF3] [decimal](13, 2) NOT NULL,
 [KBLNR] [nvarchar](10) NOT NULL,
 [KBLPOS] [nvarchar](3) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [GMVKZ] [nvarchar](1) NOT NULL,
 [SRTYPE] [nvarchar](2) NOT NULL,
 [LOTKZ] [nvarchar](10) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [INTRENO] [nvarchar](13) NOT NULL,
 [PPRCT] [nvarchar](10) NOT NULL,
 [BUZID] [nvarchar](1) NOT NULL,
 [AUGGJ] [nvarchar](4) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [KONTT] [nvarchar](2) NOT NULL,
 [KONTL] [nvarchar](50) NOT NULL,
 [UEBGDAT] [datetime] NOT NULL,
 [VNAME] [nvarchar](6) NOT NULL,
 [EGRUP] [nvarchar](3) NOT NULL,
 [BTYPE] [nvarchar](2) NOT NULL,
 [PROPMANO] [nvarchar](13) NOT NULL,
 CONSTRAINT [BSID~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [KUNNR] ASC,
 [UMSKS] ASC,
 [UMSKZ] ASC,
 [AUGDT] ASC,
 [AUGBL] ASC,
 [ZUONR] ASC,
 [GJAHR] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[BSEG]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BSEG](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BUZID] [nvarchar](1) NULL,
 [AUGDT] [datetime] NULL,
 [AUGCP] [datetime] NULL,
 [AUGBL] [nvarchar](10) NULL,
 [BSCHL] [nvarchar](2) NULL,
 [KOART] [nvarchar](1) NULL,
 [UMSKZ] [nvarchar](1) NULL,
 [UMSKS] [nvarchar](1) NULL,
 [ZUMSK] [nvarchar](1) NULL,
 [SHKZG] [nvarchar](1) NULL,
 [GSBER] [nvarchar](4) NULL,
 [PARGB] [nvarchar](4) NULL,
 [MWSKZ] [nvarchar](2) NULL,
 [QSSKZ] [nvarchar](2) NULL,
 [DMBTR] [numeric](13, 2) NULL,
 [WRBTR] [numeric](13, 2) NULL,
 [KZBTR] [numeric](13, 2) NULL,
 [PSWBT] [numeric](13, 2) NULL,
 [PSWSL] [nvarchar](5) NULL,
 [TXBHW] [numeric](13, 2) NULL,
 [TXBFW] [numeric](13, 2) NULL,
 [MWSTS] [numeric](13, 2) NULL,
 [WMWST] [numeric](13, 2) NULL,
 [HWBAS] [numeric](13, 2) NULL,
 [FWBAS] [numeric](13, 2) NULL,
 [HWZUZ] [numeric](13, 2) NULL,
 [FWZUZ] [numeric](13, 2) NULL,
 [SHZUZ] [nvarchar](1) NULL,
 [STEKZ] [nvarchar](2) NULL,
 [MWART] [nvarchar](1) NULL,
 [TXGRP] [nvarchar](3) NULL,
 [KTOSL] [nvarchar](3) NULL,
 [QSSHB] [numeric](13, 2) NULL,
 [KURSR] [nvarchar](14) NULL,
 [GBETR] [numeric](13, 2) NULL,
 [BDIFF] [numeric](13, 2) NULL,
 [BDIF2] [numeric](13, 2) NULL,
 [VALUT] [datetime] NULL,
 [ZUONR] [nvarchar](18) NULL,
 [SGTXT] [nvarchar](50) NULL,
 [ZINKZ] [nvarchar](2) NULL,
 [VBUND] [nvarchar](6) NULL,
 [BEWAR] [nvarchar](3) NULL,
 [ALTKT] [nvarchar](10) NULL,
 [VORGN] [nvarchar](4) NULL,
 [FDLEV] [nvarchar](2) NULL,
 [FDGRP] [nvarchar](10) NULL,
 [FDWBT] [numeric](13, 2) NULL,
 [FDTAG] [datetime] NULL,
 [FKONT] [nvarchar](3) NULL,
 [KOKRS] [nvarchar](4) NULL,
 [KOSTL] [nvarchar](10) NULL,
 [PROJN] [nvarchar](16) NULL,
 [AUFNR] [nvarchar](12) NULL,
 [VBELN] [nvarchar](10) NULL,
 [VBEL2] [nvarchar](10) NULL,
 [POSN2] [nvarchar](6) NULL,
 [ETEN2] [nvarchar](4) NULL,
 [ANLN1] [nvarchar](12) NULL,
 [ANLN2] [nvarchar](4) NULL,
 [ANBWA] [nvarchar](3) NULL,
 [BZDAT] [datetime] NULL,
 [PERNR] [nvarchar](8) NULL,
 [XUMSW] [nvarchar](1) NULL,
 [XHRES] [nvarchar](1) NULL,
 [XKRES] [nvarchar](1) NULL,
 [XOPVW] [nvarchar](1) NULL,
 [XCPDD] [nvarchar](1) NULL,
 [XSKST] [nvarchar](1) NULL,
 [XSAUF] [nvarchar](1) NULL,
 [XSPRO] [nvarchar](1) NULL,
 [XSERG] [nvarchar](1) NULL,
 [XFAKT] [nvarchar](1) NULL,
 [XUMAN] [nvarchar](1) NULL,
 [XANET] [nvarchar](1) NULL,
 [XSKRL] [nvarchar](1) NULL,
 [XINVE] [nvarchar](1) NULL,
 [XPANZ] [nvarchar](1) NULL,
 [XAUTO] [nvarchar](1) NULL,
 [XNCOP] [nvarchar](1) NULL,
 [XZAHL] [nvarchar](1) NULL,
 [SAKNR] [nvarchar](10) NULL,
 [HKONT] [nvarchar](10) NULL,
 [KUNNR] [nvarchar](10) NULL,
 [LIFNR] [nvarchar](10) NULL,
 [FILKD] [nvarchar](10) NULL,
 [XBILK] [nvarchar](1) NULL,
 [GVTYP] [nvarchar](2) NULL,
 [HZUON] [nvarchar](18) NULL,
 [ZFBDT] [datetime] NULL,
 [ZTERM] [nvarchar](4) NULL,
 [ZBD1T] [numeric](3, 0) NULL,
 [ZBD2T] [numeric](3, 0) NULL,
 [ZBD3T] [numeric](3, 0) NULL,
 [ZBD1P] [numeric](5, 3) NULL,
 [ZBD2P] [numeric](5, 3) NULL,
 [SKFBT] [numeric](13, 2) NULL,
 [SKNTO] [numeric](13, 2) NULL,
 [WSKTO] [numeric](13, 2) NULL,
 [ZLSCH] [nvarchar](1) NULL,
 [ZLSPR] [nvarchar](1) NULL,
 [ZBFIX] [nvarchar](1) NULL,
 [HBKID] [nvarchar](5) NULL,
 [BVTYP] [nvarchar](4) NULL,
 [NEBTR] [numeric](13, 2) NULL,
 [MWSK1] [nvarchar](2) NULL,
 [DMBT1] [numeric](13, 2) NULL,
 [WRBT1] [numeric](13, 2) NULL,
 [MWSK2] [nvarchar](2) NULL,
 [DMBT2] [numeric](13, 2) NULL,
 [WRBT2] [numeric](13, 2) NULL,
 [MWSK3] [nvarchar](2) NULL,
 [DMBT3] [numeric](13, 2) NULL,
 [WRBT3] [numeric](13, 2) NULL,
 [REBZG] [nvarchar](10) NULL,
 [REBZJ] [nvarchar](4) NULL,
 [REBZZ] [nvarchar](3) NULL,
 [REBZT] [nvarchar](1) NULL,
 [ZOLLT] [nvarchar](8) NULL,
 [ZOLLD] [datetime] NULL,
 [LZBKZ] [nvarchar](3) NULL,
 [LANDL] [nvarchar](3) NULL,
 [DIEKZ] [nvarchar](1) NULL,
 [SAMNR] [nvarchar](8) NULL,
 [ABPER] [nvarchar](7) NULL,
 [VRSKZ] [nvarchar](1) NULL,
 [VRSDT] [datetime] NULL,
 [DISBN] [nvarchar](10) NULL,
 [DISBJ] [nvarchar](4) NULL,
 [DISBZ] [nvarchar](3) NULL,
 [WVERW] [nvarchar](1) NULL,
 [ANFBN] [nvarchar](10) NULL,
 [ANFBJ] [nvarchar](4) NULL,
 [ANFBU] [nvarchar](4) NULL,
 [ANFAE] [datetime] NULL,
 [BLNBT] [numeric](13, 2) NULL,
 [BLNKZ] [nvarchar](2) NULL,
 [BLNPZ] [numeric](7, 2) NULL,
 [MSCHL] [nvarchar](1) NULL,
 [MANSP] [nvarchar](1) NULL,
 [MADAT] [datetime] NULL,
 [MANST] [nvarchar](1) NULL,
 [MABER] [nvarchar](2) NULL,
 [ESRNR] [nvarchar](11) NULL,
 [ESRRE] [nvarchar](27) NULL,
 [ESRPZ] [nvarchar](2) NULL,
 [KLIBT] [numeric](13, 2) NULL,
 [QSZNR] [nvarchar](10) NULL,
 [QBSHB] [numeric](13, 2) NULL,
 [QSFBT] [numeric](13, 2) NULL,
 [NAVHW] [numeric](13, 2) NULL,
 [NAVFW] [numeric](13, 2) NULL,
 [MATNR] [nvarchar](18) NULL,
 [WERKS] [nvarchar](4) NULL,
 [MENGE] [numeric](13, 3) NULL,
 [MEINS] [nvarchar](3) NULL,
 [ERFMG] [numeric](13, 3) NULL,
 [ERFME] [nvarchar](3) NULL,
 [BPMNG] [numeric](13, 3) NULL,
 [BPRME] [nvarchar](3) NULL,
 [EBELN] [nvarchar](10) NULL,
 [EBELP] [nvarchar](5) NULL,
 [ZEKKN] [nvarchar](2) NULL,
 [ELIKZ] [nvarchar](1) NULL,
 [VPRSV] [nvarchar](1) NULL,
 [PEINH] [numeric](5, 0) NULL,
 [BWKEY] [nvarchar](4) NULL,
 [BWTAR] [nvarchar](10) NULL,
 [BUSTW] [nvarchar](4) NULL,
 [REWRT] [numeric](13, 2) NULL,
 [REWWR] [numeric](13, 2) NULL,
 [BONFB] [numeric](13, 2) NULL,
 [BUALT] [numeric](13, 2) NULL,
 [PSALT] [nvarchar](1) NULL,
 [NPREI] [numeric](11, 2) NULL,
 [TBTKZ] [nvarchar](1) NULL,
 [SPGRP] [nvarchar](1) NULL,
 [SPGRM] [nvarchar](1) NULL,
 [SPGRT] [nvarchar](1) NULL,
 [SPGRG] [nvarchar](1) NULL,
 [SPGRV] [nvarchar](1) NULL,
 [SPGRQ] [nvarchar](1) NULL,
 [STCEG] [nvarchar](20) NULL,
 [EGBLD] [nvarchar](3) NULL,
 [EGLLD] [nvarchar](3) NULL,
 [RSTGR] [nvarchar](3) NULL,
 [RYACQ] [nvarchar](4) NULL,
 [RPACQ] [nvarchar](3) NULL,
 [RDIFF] [numeric](13, 2) NULL,
 [RDIF2] [numeric](13, 2) NULL,
 [PRCTR] [nvarchar](10) NULL,
 [XHKOM] [nvarchar](1) NULL,
 [VNAME] [nvarchar](6) NULL,
 [RECID] [nvarchar](2) NULL,
 [EGRUP] [nvarchar](3) NULL,
 [VPTNR] [nvarchar](10) NULL,
 [VERTT] [nvarchar](1) NULL,
 [VERTN] [nvarchar](13) NULL,
 [VBEWA] [nvarchar](4) NULL,
 [DEPOT] [nvarchar](10) NULL,
 [TXJCD] [nvarchar](15) NULL,
 [IMKEY] [nvarchar](40) NULL,
 [DABRZ] [datetime] NULL,
 [POPTS] [numeric](9, 6) NULL,
 [FIPOS] [nvarchar](24) NULL,
 [KSTRG] [nvarchar](12) NULL,
 [NPLNR] [nvarchar](12) NULL,
 [AUFPL] [nvarchar](10) NULL,
 [APLZL] [nvarchar](8) NULL,
 [PROJK] [nvarchar](24) NULL,
 [PAOBJNR] [nvarchar](10) NULL,
 [PASUBNR] [nvarchar](4) NULL,
 [SPGRS] [nvarchar](1) NULL,
 [SPGRC] [nvarchar](1) NULL,
 [BTYPE] [nvarchar](2) NULL,
 [ETYPE] [nvarchar](3) NULL,
 [XEGDR] [nvarchar](1) NULL,
 [LNRAN] [nvarchar](5) NULL,
 [HRKFT] [nvarchar](4) NULL,
 [DMBE2] [numeric](13, 2) NULL,
 [DMBE3] [numeric](13, 2) NULL,
 [DMB21] [numeric](13, 2) NULL,
 [DMB22] [numeric](13, 2) NULL,
 [DMB23] [numeric](13, 2) NULL,
 [DMB31] [numeric](13, 2) NULL,
 [DMB32] [numeric](13, 2) NULL,
 [DMB33] [numeric](13, 2) NULL,
 [MWST2] [numeric](13, 2) NULL,
 [MWST3] [numeric](13, 2) NULL,
 [NAVH2] [numeric](13, 2) NULL,
 [NAVH3] [numeric](13, 2) NULL,
 [SKNT2] [numeric](13, 2) NULL,
 [SKNT3] [numeric](13, 2) NULL,
 [BDIF3] [numeric](13, 2) NULL,
 [RDIF3] [numeric](13, 2) NULL,
 [HWMET] [nvarchar](1) NULL,
 [GLUPM] [nvarchar](1) NULL,
 [XRAGL] [nvarchar](1) NULL,
 [UZAWE] [nvarchar](2) NULL,
 [LOKKT] [nvarchar](10) NULL,
 [FISTL] [nvarchar](16) NULL,
 [GEBER] [nvarchar](10) NULL,
 [STBUK] [nvarchar](4) NULL,
 [TXBH2] [numeric](13, 2) NULL,
 [TXBH3] [numeric](13, 2) NULL,
 [PPRCT] [nvarchar](10) NULL,
 [XREF1] [nvarchar](12) NULL,
 [XREF2] [nvarchar](12) NULL,
 [KBLNR] [nvarchar](10) NULL,
 [KBLPOS] [nvarchar](3) NULL,
 [STTAX] [numeric](13, 2) NULL,
 [FKBER] [nvarchar](4) NULL,
 [OBZEI] [nvarchar](3) NULL,
 [XNEGP] [nvarchar](1) NULL,
 [RFZEI] [nvarchar](3) NULL,
 [CCBTC] [nvarchar](10) NULL,
 [KKBER] [nvarchar](4) NULL,
 [EMPFB] [nvarchar](10) NULL,
 [XREF3] [nvarchar](20) NULL,
 [DTWS1] [nvarchar](2) NULL,
 [DTWS2] [nvarchar](2) NULL,
 [DTWS3] [nvarchar](2) NULL,
 [DTWS4] [nvarchar](2) NULL,
 [GRICD] [nvarchar](2) NULL,
 [GRIRG] [nvarchar](3) NULL,
 [GITYP] [nvarchar](2) NULL,
 [XPYPR] [nvarchar](1) NULL,
 [KIDNO] [nvarchar](30) NULL,
 [ABSBT] [numeric](13, 2) NULL,
 [IDXSP] [nvarchar](5) NULL,
 [LINFV] [datetime] NULL,
 [KONTT] [nvarchar](2) NULL,
 [KONTL] [nvarchar](50) NULL,
 [TXDAT] [datetime] NULL,
 [AGZEI] [numeric](5, 0) NULL,
 [PYCUR] [nvarchar](5) NULL,
 [PYAMT] [numeric](13, 2) NULL,
 [BUPLA] [nvarchar](4) NULL,
 [SECCO] [nvarchar](4) NULL,
 [LSTAR] [nvarchar](6) NULL,
 [CESSION_KZ] [nvarchar](2) NULL,
 [PRZNR] [nvarchar](12) NULL,
 [PPDIFF] [numeric](13, 2) NULL,
 [PPDIF2] [numeric](13, 2) NULL,
 [PPDIF3] [numeric](13, 2) NULL,
 [PENLC1] [numeric](13, 2) NULL,
 [PENLC2] [numeric](13, 2) NULL,
 [PENLC3] [numeric](13, 2) NULL,
 [PENFC] [numeric](13, 2) NULL,
 [PENDAYS] [int] NULL,
 [PENRC] [nvarchar](2) NULL,
 [GRANT_NBR] [nvarchar](20) NULL,
 [SCTAX] [numeric](13, 2) NULL,
 [FKBER_LONG] [nvarchar](16) NULL,
 [GMVKZ] [nvarchar](1) NULL,
 [SRTYPE] [nvarchar](2) NULL,
 [INTRENO] [nvarchar](13) NULL,
 [MEASURE] [nvarchar](24) NULL,
 [AUGGJ] [nvarchar](4) NULL,
 [PPA_EX_IND] [nvarchar](1) NULL,
 [DOCLN] [nvarchar](6) NULL,
 [SEGMENT] [nvarchar](10) NULL,
 [PSEGMENT] [nvarchar](10) NULL,
 [PFKBER] [nvarchar](16) NULL,
 [HKTID] [nvarchar](5) NULL,
 [KSTAR] [nvarchar](10) NULL,
 [PRODPER] [datetime] NULL,
 CONSTRAINT [PK_BSEG] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [BELNR] ASC,
 [GJAHR] ASC,
 [BUZEI] 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].[BSAS]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BSAS](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [HKONT] [nvarchar](10) NOT NULL,
 [AUGDT] [nvarchar](8) NOT NULL,
 [AUGBL] [nvarchar](10) NOT NULL,
 [ZUONR] [nvarchar](18) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BUDAT] [nvarchar](8) NOT NULL,
 [BLDAT] [nvarchar](8) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [XBLNR] [nvarchar](16) NOT NULL,
 [BLART] [nvarchar](2) NOT NULL,
 [MONAT] [nvarchar](2) NOT NULL,
 [BSCHL] [nvarchar](2) NOT NULL,
 [SHKZG] [nvarchar](1) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [MWSKZ] [nvarchar](2) NOT NULL,
 [FKONT] [nvarchar](3) NOT NULL,
 [DMBTR] [decimal](13, 2) NOT NULL,
 [WRBTR] [decimal](13, 2) NOT NULL,
 [MWSTS] [decimal](13, 2) NOT NULL,
 [WMWST] [decimal](13, 2) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [PROJN] [nvarchar](16) NOT NULL,
 [AUFNR] [nvarchar](12) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [ZFBDT] [nvarchar](8) NOT NULL,
 [XOPVW] [nvarchar](1) NOT NULL,
 [VALUT] [nvarchar](8) NOT NULL,
 [BSTAT] [nvarchar](1) NOT NULL,
 [BDIFF] [decimal](13, 2) NOT NULL,
 [BDIF2] [decimal](13, 2) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PSWSL] [nvarchar](5) NOT NULL,
 [WVERW] [nvarchar](1) NOT NULL,
 [DMBE2] [decimal](13, 2) NOT NULL,
 [DMBE3] [decimal](13, 2) NOT NULL,
 [MWST2] [decimal](13, 2) NOT NULL,
 [MWST3] [decimal](13, 2) NOT NULL,
 [BDIF3] [decimal](13, 2) NOT NULL,
 [RDIF3] [decimal](13, 2) NOT NULL,
 [XRAGL] [nvarchar](1) NOT NULL,
 [PROJK] [nvarchar](8) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [XSTOV] [nvarchar](1) NOT NULL,
 [XARCH] [nvarchar](1) NOT NULL,
 [PSWBT] [decimal](13, 2) NOT NULL,
 [XNEGP] [nvarchar](1) NOT NULL,
 [RFZEI] [nvarchar](3) NOT NULL,
 [CCBTC] [nvarchar](10) NOT NULL,
 [XREF3] [nvarchar](20) NOT NULL,
 [BUPLA] [nvarchar](4) NOT NULL,
 [PPDIFF] [decimal](13, 2) NOT NULL,
 [PPDIF2] [decimal](13, 2) NOT NULL,
 [PPDIF3] [decimal](13, 2) NOT NULL,
 [BEWAR] [nvarchar](3) NOT NULL,
 [IMKEY] [nvarchar](8) NOT NULL,
 [DABRZ] [nvarchar](8) NOT NULL,
 [INTRENO] [nvarchar](13) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [FIPOS] [nvarchar](14) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [PPRCT] [nvarchar](10) NOT NULL,
 [BUZID] [nvarchar](1) NOT NULL,
 [AUGGJ] [nvarchar](4) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [SEGMENT] [nvarchar](10) NOT NULL,
 [PSEGMENT] [nvarchar](10) NOT NULL,
 [FIPEX] [nvarchar](24) NOT NULL,
 [PRODPER] [nvarchar](6) NOT NULL,
 [QSSKZ] [nvarchar](2) NOT NULL,
 [PROPMANO] [nvarchar](13) NOT NULL,
 CONSTRAINT [BSAS~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [HKONT] ASC,
 [AUGDT] ASC,
 [AUGBL] ASC,
 [ZUONR] ASC,
 [GJAHR] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[BSAK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BSAK](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [UMSKS] [nvarchar](1) NOT NULL,
 [UMSKZ] [nvarchar](1) NOT NULL,
 [AUGDT] [nvarchar](8) NOT NULL,
 [AUGBL] [nvarchar](10) NOT NULL,
 [ZUONR] [nvarchar](18) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BUDAT] [nvarchar](8) NOT NULL,
 [BLDAT] [nvarchar](8) NOT NULL,
 [CPUDT] [nvarchar](8) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [XBLNR] [nvarchar](16) NOT NULL,
 [BLART] [nvarchar](2) NOT NULL,
 [MONAT] [nvarchar](2) NOT NULL,
 [BSCHL] [nvarchar](2) NOT NULL,
 [ZUMSK] [nvarchar](1) NOT NULL,
 [SHKZG] [nvarchar](1) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [MWSKZ] [nvarchar](2) NOT NULL,
 [DMBTR] [decimal](13, 2) NOT NULL,
 [WRBTR] [decimal](13, 2) NOT NULL,
 [MWSTS] [decimal](13, 2) NOT NULL,
 [WMWST] [decimal](13, 2) NOT NULL,
 [BDIFF] [decimal](13, 2) NOT NULL,
 [BDIF2] [decimal](13, 2) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [PROJN] [nvarchar](16) NOT NULL,
 [AUFNR] [nvarchar](12) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [EBELN] [nvarchar](10) NOT NULL,
 [EBELP] [nvarchar](5) NOT NULL,
 [SAKNR] [nvarchar](10) NOT NULL,
 [HKONT] [nvarchar](10) NOT NULL,
 [FKONT] [nvarchar](3) NOT NULL,
 [FILKD] [nvarchar](10) NOT NULL,
 [ZFBDT] [nvarchar](8) NOT NULL,
 [ZTERM] [nvarchar](4) NOT NULL,
 [ZBD1T] [decimal](3, 0) NOT NULL,
 [ZBD2T] [decimal](3, 0) NOT NULL,
 [ZBD3T] [decimal](3, 0) NOT NULL,
 [ZBD1P] [decimal](5, 3) NOT NULL,
 [ZBD2P] [decimal](5, 3) NOT NULL,
 [SKFBT] [decimal](13, 2) NOT NULL,
 [SKNTO] [decimal](13, 2) NOT NULL,
 [WSKTO] [decimal](13, 2) NOT NULL,
 [ZLSCH] [nvarchar](1) NOT NULL,
 [ZLSPR] [nvarchar](1) NOT NULL,
 [ZBFIX] [nvarchar](1) NOT NULL,
 [HBKID] [nvarchar](5) NOT NULL,
 [BVTYP] [nvarchar](4) NOT NULL,
 [REBZG] [nvarchar](10) NOT NULL,
 [REBZJ] [nvarchar](4) NOT NULL,
 [REBZZ] [nvarchar](3) NOT NULL,
 [ZOLLT] [nvarchar](8) NOT NULL,
 [ZOLLD] [nvarchar](8) NOT NULL,
 [LZBKZ] [nvarchar](3) NOT NULL,
 [LANDL] [nvarchar](3) NOT NULL,
 [DIEKZ] [nvarchar](1) NOT NULL,
 [MANSP] [nvarchar](1) NOT NULL,
 [MSCHL] [nvarchar](1) NOT NULL,
 [MADAT] [nvarchar](8) NOT NULL,
 [MANST] [nvarchar](1) NOT NULL,
 [MABER] [nvarchar](2) NOT NULL,
 [XNETB] [nvarchar](1) NOT NULL,
 [XANET] [nvarchar](1) NOT NULL,
 [XCPDD] [nvarchar](1) NOT NULL,
 [XESRD] [nvarchar](1) NOT NULL,
 [XZAHL] [nvarchar](1) NOT NULL,
 [MWSK1] [nvarchar](2) NOT NULL,
 [DMBT1] [decimal](13, 2) NOT NULL,
 [WRBT1] [decimal](13, 2) NOT NULL,
 [MWSK2] [nvarchar](2) NOT NULL,
 [DMBT2] [decimal](13, 2) NOT NULL,
 [WRBT2] [decimal](13, 2) NOT NULL,
 [MWSK3] [nvarchar](2) NOT NULL,
 [DMBT3] [decimal](13, 2) NOT NULL,
 [WRBT3] [decimal](13, 2) NOT NULL,
 [QSSKZ] [nvarchar](2) NOT NULL,
 [QSSHB] [decimal](13, 2) NOT NULL,
 [QBSHB] [decimal](13, 2) NOT NULL,
 [BSTAT] [nvarchar](1) NOT NULL,
 [ANFBN] [nvarchar](10) NOT NULL,
 [ANFBJ] [nvarchar](4) NOT NULL,
 [ANFBU] [nvarchar](4) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [REBZT] [nvarchar](1) NOT NULL,
 [STCEG] [nvarchar](20) NOT NULL,
 [EGBLD] [nvarchar](3) NOT NULL,
 [EGLLD] [nvarchar](3) NOT NULL,
 [QSZNR] [nvarchar](10) NOT NULL,
 [QSFBT] [decimal](13, 2) NOT NULL,
 [XINVE] [nvarchar](1) NOT NULL,
 [PROJK] [nvarchar](24) NOT NULL,
 [FIPOS] [nvarchar](24) NOT NULL,
 [NPLNR] [nvarchar](12) NOT NULL,
 [AUFPL] [nvarchar](10) NOT NULL,
 [APLZL] [nvarchar](8) NOT NULL,
 [XEGDR] [nvarchar](1) NOT NULL,
 [DMBE2] [decimal](13, 2) NOT NULL,
 [DMBE3] [decimal](13, 2) NOT NULL,
 [DMB21] [decimal](13, 2) NOT NULL,
 [DMB22] [decimal](13, 2) NOT NULL,
 [DMB23] [decimal](13, 2) NOT NULL,
 [DMB31] [decimal](13, 2) NOT NULL,
 [DMB32] [decimal](13, 2) NOT NULL,
 [DMB33] [decimal](13, 2) NOT NULL,
 [MWST2] [decimal](13, 2) NOT NULL,
 [MWST3] [decimal](13, 2) NOT NULL,
 [SKNT2] [decimal](13, 2) NOT NULL,
 [SKNT3] [decimal](13, 2) NOT NULL,
 [BDIF3] [decimal](13, 2) NOT NULL,
 [XRAGL] [nvarchar](1) NOT NULL,
 [RSTGR] [nvarchar](3) NOT NULL,
 [UZAWE] [nvarchar](2) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [LNRAN] [nvarchar](5) NOT NULL,
 [XSTOV] [nvarchar](1) NOT NULL,
 [KZBTR] [decimal](13, 2) NOT NULL,
 [XREF1] [nvarchar](12) NOT NULL,
 [XREF2] [nvarchar](12) NOT NULL,
 [XARCH] [nvarchar](1) NOT NULL,
 [PSWSL] [nvarchar](5) NOT NULL,
 [PSWBT] [decimal](13, 2) NOT NULL,
 [IMKEY] [nvarchar](40) NOT NULL,
 [ZEKKN] [nvarchar](2) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [DABRZ] [nvarchar](8) NOT NULL,
 [XNEGP] [nvarchar](1) NOT NULL,
 [EMPFB] [nvarchar](10) NOT NULL,
 [PRCTR] [nvarchar](10) NOT NULL,
 [XREF3] [nvarchar](20) NOT NULL,
 [DTWS1] [nvarchar](2) NOT NULL,
 [DTWS2] [nvarchar](2) NOT NULL,
 [DTWS3] [nvarchar](2) NOT NULL,
 [DTWS4] [nvarchar](2) NOT NULL,
 [XPYPR] [nvarchar](1) NOT NULL,
 [KIDNO] [nvarchar](30) NOT NULL,
 [PYCUR] [nvarchar](5) NOT NULL,
 [PYAMT] [decimal](13, 2) NOT NULL,
 [BUPLA] [nvarchar](4) NOT NULL,
 [SECCO] [nvarchar](4) NOT NULL,
 [PPDIFF] [decimal](13, 2) NOT NULL,
 [PPDIF2] [decimal](13, 2) NOT NULL,
 [PPDIF3] [decimal](13, 2) NOT NULL,
 [PENLC1] [decimal](13, 2) NOT NULL,
 [PENLC2] [decimal](13, 2) NOT NULL,
 [PENLC3] [decimal](13, 2) NOT NULL,
 [PENFC] [decimal](13, 2) NOT NULL,
 [PENDAYS] [int] NOT NULL,
 [PENRC] [nvarchar](2) NOT NULL,
 [VERTT] [nvarchar](1) NOT NULL,
 [VERTN] [nvarchar](13) NOT NULL,
 [VBEWA] [nvarchar](4) NOT NULL,
 [KBLNR] [nvarchar](10) NOT NULL,
 [KBLPOS] [nvarchar](3) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [GMVKZ] [nvarchar](1) NOT NULL,
 [SRTYPE] [nvarchar](2) NOT NULL,
 [LOTKZ] [nvarchar](10) NOT NULL,
 [ZINKZ] [nvarchar](2) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [INTRENO] [nvarchar](13) NOT NULL,
 [PPRCT] [nvarchar](10) NOT NULL,
 [BUZID] [nvarchar](1) NOT NULL,
 [AUGGJ] [nvarchar](4) NOT NULL,
 [HKTID] [nvarchar](5) NOT NULL,
 [KONTT] [nvarchar](2) NOT NULL,
 [KONTL] [nvarchar](50) NOT NULL,
 [UEBGDAT] [nvarchar](8) NOT NULL,
 [VNAME] [nvarchar](6) NOT NULL,
 [EGRUP] [nvarchar](3) NOT NULL,
 [BTYPE] [nvarchar](2) NOT NULL,
 [PROPMANO] [nvarchar](13) NOT NULL,
 CONSTRAINT [BSAK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [LIFNR] ASC,
 [UMSKS] ASC,
 [UMSKZ] ASC,
 [AUGDT] ASC,
 [AUGBL] ASC,
 [ZUONR] ASC,
 [GJAHR] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[BSAD]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BSAD](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [KUNNR] [nvarchar](10) NOT NULL,
 [UMSKS] [nvarchar](1) NOT NULL,
 [UMSKZ] [nvarchar](1) NOT NULL,
 [AUGDT] [datetime] NOT NULL,
 [AUGBL] [nvarchar](10) NOT NULL,
 [ZUONR] [nvarchar](18) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BUDAT] [datetime] NOT NULL,
 [BLDAT] [datetime] NULL,
 [CPUDT] [datetime] NULL,
 [WAERS] [nvarchar](5) NULL,
 [XBLNR] [nvarchar](16) NULL,
 [BLART] [nvarchar](2) NULL,
 [MONAT] [nvarchar](2) NULL,
 [BSCHL] [nvarchar](2) NULL,
 [ZUMSK] [nvarchar](1) NULL,
 [SHKZG] [nvarchar](1) NULL,
 [GSBER] [nvarchar](4) NULL,
 [MWSKZ] [nvarchar](2) NULL,
 [DMBTR] [numeric](13, 2) NULL,
 [WRBTR] [numeric](13, 2) NULL,
 [MWSTS] [numeric](13, 2) NULL,
 [WMWST] [numeric](13, 2) NULL,
 [BDIFF] [numeric](13, 2) NULL,
 [BDIF2] [numeric](13, 2) NULL,
 [SGTXT] [nvarchar](50) NULL,
 [PROJN] [nvarchar](16) NULL,
 [AUFNR] [nvarchar](12) NULL,
 [ANLN1] [nvarchar](12) NULL,
 [ANLN2] [nvarchar](4) NULL,
 [SAKNR] [nvarchar](10) NULL,
 [HKONT] [nvarchar](10) NULL,
 [FKONT] [nvarchar](3) NULL,
 [FILKD] [nvarchar](10) NULL,
 [ZFBDT] [datetime] NULL,
 [ZTERM] [nvarchar](4) NULL,
 [ZBD1T] [numeric](3, 0) NULL,
 [ZBD2T] [numeric](3, 0) NULL,
 [ZBD3T] [numeric](3, 0) NULL,
 [ZBD1P] [numeric](5, 3) NULL,
 [ZBD2P] [numeric](5, 3) NULL,
 [SKFBT] [numeric](13, 2) NULL,
 [SKNTO] [numeric](13, 2) NULL,
 [WSKTO] [numeric](13, 2) NULL,
 [ZLSCH] [nvarchar](1) NULL,
 [ZLSPR] [nvarchar](1) NULL,
 [ZBFIX] [nvarchar](1) NULL,
 [HBKID] [nvarchar](5) NULL,
 [BVTYP] [nvarchar](4) NULL,
 [REBZG] [nvarchar](10) NULL,
 [REBZJ] [nvarchar](4) NULL,
 [REBZZ] [nvarchar](3) NULL,
 [SAMNR] [nvarchar](8) NULL,
 [ANFBN] [nvarchar](10) NULL,
 [ANFBJ] [nvarchar](4) NULL,
 [ANFBU] [nvarchar](4) NULL,
 [ANFAE] [datetime] NULL,
 [MANSP] [nvarchar](1) NULL,
 [MSCHL] [nvarchar](1) NULL,
 [MADAT] [datetime] NULL,
 [MANST] [nvarchar](1) NULL,
 [MABER] [nvarchar](2) NULL,
 [XNETB] [nvarchar](1) NULL,
 [XANET] [nvarchar](1) NULL,
 [XCPDD] [nvarchar](1) NULL,
 [XINVE] [nvarchar](1) NULL,
 [XZAHL] [nvarchar](1) NULL,
 [MWSK1] [nvarchar](2) NULL,
 [DMBT1] [numeric](13, 2) NULL,
 [WRBT1] [numeric](13, 2) NULL,
 [MWSK2] [nvarchar](2) NULL,
 [DMBT2] [numeric](13, 2) NULL,
 [WRBT2] [numeric](13, 2) NULL,
 [MWSK3] [nvarchar](2) NULL,
 [DMBT3] [numeric](13, 2) NULL,
 [WRBT3] [numeric](13, 2) NULL,
 [BSTAT] [nvarchar](1) NULL,
 [VBUND] [nvarchar](6) NULL,
 [VBELN] [nvarchar](10) NULL,
 [REBZT] [nvarchar](1) NULL,
 [INFAE] [nvarchar](8) NULL,
 [STCEG] [nvarchar](20) NULL,
 [EGBLD] [nvarchar](3) NULL,
 [EGLLD] [nvarchar](3) NULL,
 [RSTGR] [nvarchar](3) NULL,
 [XNOZA] [nvarchar](1) NULL,
 [VERTT] [nvarchar](1) NULL,
 [VERTN] [nvarchar](13) NULL,
 [VBEWA] [nvarchar](4) NULL,
 [WVERW] [nvarchar](1) NULL,
 [PROJK] [nvarchar](24) NULL,
 [FIPOS] [nvarchar](24) NULL,
 [NPLNR] [nvarchar](12) NULL,
 [AUFPL] [nvarchar](10) NULL,
 [APLZL] [nvarchar](8) NULL,
 [XEGDR] [nvarchar](1) NULL,
 [DMBE2] [numeric](13, 2) NULL,
 [DMBE3] [numeric](13, 2) NULL,
 [DMB21] [numeric](13, 2) NULL,
 [DMB22] [numeric](13, 2) NULL,
 [DMB23] [numeric](13, 2) NULL,
 [DMB31] [numeric](13, 2) NULL,
 [DMB32] [numeric](13, 2) NULL,
 [DMB33] [numeric](13, 2) NULL,
 [BDIF3] [numeric](13, 2) NULL,
 [XRAGL] [nvarchar](1) NULL,
 [UZAWE] [nvarchar](2) NULL,
 [XSTOV] [nvarchar](1) NULL,
 [MWST2] [numeric](13, 2) NULL,
 [MWST3] [numeric](13, 2) NULL,
 [SKNT2] [numeric](13, 2) NULL,
 [SKNT3] [numeric](13, 2) NULL,
 [XREF1] [nvarchar](12) NULL,
 [XREF2] [nvarchar](12) NULL,
 [XARCH] [nvarchar](1) NULL,
 [PSWSL] [nvarchar](5) NULL,
 [PSWBT] [numeric](13, 2) NULL,
 [LZBKZ] [nvarchar](3) NULL,
 [LANDL] [nvarchar](3) NULL,
 [IMKEY] [nvarchar](40) NULL,
 [VBEL2] [nvarchar](10) NULL,
 [VPOS2] [nvarchar](6) NULL,
 [POSN2] [nvarchar](6) NULL,
 [ETEN2] [nvarchar](4) NULL,
 [FISTL] [nvarchar](16) NULL,
 [GEBER] [nvarchar](10) NULL,
 [DABRZ] [datetime] NULL,
 [XNEGP] [nvarchar](1) NULL,
 [KOSTL] [nvarchar](10) NULL,
 [RFZEI] [nvarchar](3) NULL,
 [KKBER] [nvarchar](4) NULL,
 [EMPFB] [nvarchar](10) NULL,
 [PRCTR] [nvarchar](10) NULL,
 [XREF3] [nvarchar](20) NULL,
 [QSSKZ] [nvarchar](2) NULL,
 [ZINKZ] [nvarchar](2) NULL,
 [DTWS1] [nvarchar](2) NULL,
 [DTWS2] [nvarchar](2) NULL,
 [DTWS3] [nvarchar](2) NULL,
 [DTWS4] [nvarchar](2) NULL,
 [XPYPR] [nvarchar](1) NULL,
 [KIDNO] [nvarchar](30) NULL,
 [ABSBT] [numeric](13, 2) NULL,
 [CCBTC] [nvarchar](10) NULL,
 [PYCUR] [nvarchar](5) NULL,
 [PYAMT] [numeric](13, 2) NULL,
 [BUPLA] [nvarchar](4) NULL,
 [SECCO] [nvarchar](4) NULL,
 [CESSION_KZ] [nvarchar](2) NULL,
 [PPDIFF] [numeric](13, 2) NULL,
 [PPDIF2] [numeric](13, 2) NULL,
 [PPDIF3] [numeric](13, 2) NULL,
 [KBLNR] [nvarchar](10) NULL,
 [KBLPOS] [nvarchar](3) NULL,
 [GRANT_NBR] [nvarchar](20) NULL,
 [GMVKZ] [nvarchar](1) NULL,
 [SRTYPE] [nvarchar](2) NULL,
 [LOTKZ] [nvarchar](10) NULL,
 [FKBER] [nvarchar](16) NULL,
 [INTRENO] [nvarchar](13) NULL,
 [PPRCT] [nvarchar](10) NULL,
 [BUZID] [nvarchar](1) NULL,
 [AUGGJ] [nvarchar](4) NULL,
 [HKTID] [nvarchar](5) NULL,
 [KONTT] [nvarchar](2) NULL,
 [KONTL] [nvarchar](50) NULL,
 [UEBGDAT] [datetime] NULL,
 [VNAME] [nvarchar](6) NULL,
 [EGRUP] [nvarchar](3) NULL,
 [BTYPE] [nvarchar](2) NULL,
 [PROPMANO] [nvarchar](13) NULL,
 CONSTRAINT [PK_BSAD] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [KUNNR] ASC,
 [UMSKS] ASC,
 [UMSKZ] ASC,
 [AUGDT] ASC,
 [AUGBL] ASC,
 [ZUONR] ASC,
 [GJAHR] ASC,
 [BELNR] ASC,
 [BUZEI] 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].[BNKA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BNKA](
 [MANDT] [nvarchar](3) NOT NULL,
 [BANKS] [nvarchar](3) NOT NULL,
 [BANKL] [nvarchar](15) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [BANKA] [nvarchar](60) NOT NULL,
 [PROVZ] [nvarchar](3) NOT NULL,
 [STRAS] [nvarchar](35) NOT NULL,
 [ORT01] [nvarchar](35) NOT NULL,
 [SWIFT] [nvarchar](11) NOT NULL,
 [BGRUP] [nvarchar](2) NOT NULL,
 [XPGRO] [nvarchar](1) NOT NULL,
 [LOEVM] [nvarchar](1) NOT NULL,
 [BNKLZ] [nvarchar](15) NOT NULL,
 [PSKTO] [nvarchar](16) NOT NULL,
 [ADRNR] [nvarchar](10) NOT NULL,
 [BRNCH] [nvarchar](40) NOT NULL,
 [CHKME] [nvarchar](4) NOT NULL,
 [VERS] [nvarchar](3) NOT NULL,
 [BICKY] [nvarchar](12) NOT NULL,
 [RCCODE] [nvarchar](15) NOT NULL,
 CONSTRAINT [BNKA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BANKS] ASC,
 [BANKL] 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].[BKPF]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[BKPF](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [BLART] [nvarchar](2) NOT NULL,
 [BLDAT] [nvarchar](8) NOT NULL,
 [BUDAT] [nvarchar](8) NOT NULL,
 [MONAT] [nvarchar](2) NOT NULL,
 [CPUDT] [nvarchar](8) NOT NULL,
 [CPUTM] [nvarchar](6) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [UPDDT] [nvarchar](8) NOT NULL,
 [WWERT] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [TCODE] [nvarchar](20) NOT NULL,
 [BVORG] [nvarchar](16) NOT NULL,
 [XBLNR] [nvarchar](16) NOT NULL,
 [DBBLG] [nvarchar](10) NOT NULL,
 [STBLG] [nvarchar](10) NOT NULL,
 [STJAH] [nvarchar](4) NOT NULL,
 [BKTXT] [nvarchar](25) NOT NULL,
 [WAERS] [nvarchar](5) NOT NULL,
 [KURSF] [decimal](9, 5) NOT NULL,
 [KZWRS] [nvarchar](5) NOT NULL,
 [KZKRS] [decimal](9, 5) NOT NULL,
 [BSTAT] [nvarchar](1) NOT NULL,
 [XNETB] [nvarchar](1) NOT NULL,
 [FRATH] [decimal](13, 2) NOT NULL,
 [XRUEB] [nvarchar](1) NOT NULL,
 [GLVOR] [nvarchar](4) NOT NULL,
 [GRPID] [nvarchar](12) NOT NULL,
 [DOKID] [nvarchar](40) NOT NULL,
 [ARCID] [nvarchar](10) NOT NULL,
 [IBLAR] [nvarchar](2) NOT NULL,
 [AWTYP] [nvarchar](5) NOT NULL,
 [AWKEY] [nvarchar](20) NOT NULL,
 [FIKRS] [nvarchar](4) NOT NULL,
 [HWAER] [nvarchar](5) NOT NULL,
 [HWAE2] [nvarchar](5) NOT NULL,
 [HWAE3] [nvarchar](5) NOT NULL,
 [KURS2] [decimal](9, 5) NOT NULL,
 [KURS3] [decimal](9, 5) NOT NULL,
 [BASW2] [nvarchar](1) NOT NULL,
 [BASW3] [nvarchar](1) NOT NULL,
 [UMRD2] [nvarchar](1) NOT NULL,
 [UMRD3] [nvarchar](1) NOT NULL,
 [XSTOV] [nvarchar](1) NOT NULL,
 [STODT] [nvarchar](8) NOT NULL,
 [XMWST] [nvarchar](1) NOT NULL,
 [CURT2] [nvarchar](2) NOT NULL,
 [CURT3] [nvarchar](2) NOT NULL,
 [KUTY2] [nvarchar](4) NOT NULL,
 [KUTY3] [nvarchar](4) NOT NULL,
 [XSNET] [nvarchar](1) NOT NULL,
 [AUSBK] [nvarchar](4) NOT NULL,
 [XUSVR] [nvarchar](1) NOT NULL,
 [DUEFL] [nvarchar](1) NOT NULL,
 [AWSYS] [nvarchar](10) NOT NULL,
 [TXKRS] [decimal](9, 5) NOT NULL,
 [LOTKZ] [nvarchar](10) NOT NULL,
 [XWVOF] [nvarchar](1) NOT NULL,
 [STGRD] [nvarchar](2) NOT NULL,
 [PPNAM] [nvarchar](12) NOT NULL,
 [BRNCH] [nvarchar](4) NOT NULL,
 [NUMPG] [nvarchar](3) NOT NULL,
 [ADISC] [nvarchar](1) NOT NULL,
 [XREF1_HD] [nvarchar](20) NOT NULL,
 [XREF2_HD] [nvarchar](20) NOT NULL,
 [XREVERSAL] [nvarchar](1) NOT NULL,
 [REINDAT] [nvarchar](8) NOT NULL,
 [RLDNR] [nvarchar](2) NOT NULL,
 [LDGRP] [nvarchar](4) NOT NULL,
 [PROPMANO] [nvarchar](13) NOT NULL,
 [XBLNR_ALT] [nvarchar](26) NOT NULL,
 [VATDATE] [nvarchar](8) NOT NULL,
 [PSOTY] [nvarchar](2) NOT NULL,
 [PSOAK] [nvarchar](10) NOT NULL,
 [PSOKS] [nvarchar](10) NOT NULL,
 [PSOSG] [nvarchar](1) NOT NULL,
 [PSOFN] [nvarchar](30) NOT NULL,
 [INTFORM] [nvarchar](4) NOT NULL,
 [INTDATE] [nvarchar](8) NOT NULL,
 [PSOBT] [nvarchar](8) NOT NULL,
 [PSOZL] [nvarchar](1) NOT NULL,
 [PSODT] [nvarchar](8) NOT NULL,
 [PSOTM] [nvarchar](6) NOT NULL,
 [FM_UMART] [nvarchar](1) NOT NULL,
 [CCINS] [nvarchar](4) NOT NULL,
 [CCNUM] [nvarchar](25) NOT NULL,
 [SSBLK] [nvarchar](1) NOT NULL,
 [BATCH] [nvarchar](10) NOT NULL,
 [SNAME] [nvarchar](12) NOT NULL,
 [SAMPLED] [nvarchar](1) NOT NULL,
 [EXCLUDE_FLAG] [nvarchar](1) NOT NULL,
 [BLIND] [nvarchar](1) NOT NULL,
 [OFFSET_STATUS] [nvarchar](2) NOT NULL,
 [OFFSET_REFER_DAT] [nvarchar](8) NOT NULL,
 [PENRC] [nvarchar](2) NOT NULL,
 [KNUMV] [nvarchar](10) NOT NULL,
 CONSTRAINT [BKPF~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [BELNR] ASC,
 [GJAHR] 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].[ANLZ]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANLZ](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [BDATU] [nvarchar](8) NOT NULL,
 [ADATU] [nvarchar](8) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [WERKS] [nvarchar](4) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [MSFAK] [decimal](3, 2) NOT NULL,
 [XSTIL] [nvarchar](1) NOT NULL,
 [STORT] [nvarchar](10) NOT NULL,
 [CAUFN] [nvarchar](12) NOT NULL,
 [PLAN1] [nvarchar](12) NOT NULL,
 [PLAN2] [nvarchar](4) NOT NULL,
 [RAUMN] [nvarchar](8) NOT NULL,
 [IAUFN] [nvarchar](12) NOT NULL,
 [IPROJ] [nvarchar](16) NOT NULL,
 [TPLKZ] [nvarchar](3) NOT NULL,
 [TPLNR] [nvarchar](30) NOT NULL,
 [ANUPD] [nvarchar](1) NOT NULL,
 [TXJCD] [nvarchar](15) NOT NULL,
 [IPSNR] [nvarchar](8) NOT NULL,
 [KFZKZ] [nvarchar](15) NOT NULL,
 [PERNR] [nvarchar](8) NOT NULL,
 [KOSTLV] [nvarchar](10) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [GEBER2] [nvarchar](10) NOT NULL,
 [FKBER2] [nvarchar](16) NOT NULL,
 [GRANT_NBR2] [nvarchar](20) NOT NULL,
 [FISTL2] [nvarchar](16) NOT NULL,
 [IMKEY] [nvarchar](8) NOT NULL,
 [PS_PSP_PNR2] [nvarchar](8) NOT NULL,
 CONSTRAINT [ANLZ~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [ANLN1] ASC,
 [ANLN2] ASC,
 [BDATU] 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].[ANLQ]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANLQ](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [PERAF] [nvarchar](3) NOT NULL,
 [KTOGR] [nvarchar](8) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [CAUFN] [nvarchar](12) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [AFBNR] [nvarchar](2) NOT NULL,
 [AFABER] [nvarchar](2) NOT NULL,
 [AUFWP] [decimal](13, 2) NOT NULL,
 [AUFWB] [decimal](13, 2) NOT NULL,
 [AUFWZ] [decimal](13, 2) NOT NULL,
 [NAFAP] [decimal](13, 2) NOT NULL,
 [NAFAG] [decimal](13, 2) NOT NULL,
 [NAFAZ] [decimal](13, 2) NOT NULL,
 [SAFAP] [decimal](13, 2) NOT NULL,
 [SAFAG] [decimal](13, 2) NOT NULL,
 [SAFAZ] [decimal](13, 2) NOT NULL,
 [AAFAP] [decimal](13, 2) NOT NULL,
 [AAFAG] [decimal](13, 2) NOT NULL,
 [AAFAZ] [decimal](13, 2) NOT NULL,
 [MAFAP] [decimal](13, 2) NOT NULL,
 [MAFAG] [decimal](13, 2) NOT NULL,
 [MAFAZ] [decimal](13, 2) NOT NULL,
 [ZINSP] [decimal](13, 2) NOT NULL,
 [ZINSG] [decimal](13, 2) NOT NULL,
 [ZINSZ] [decimal](13, 2) NOT NULL,
 [AUFNP] [decimal](13, 2) NOT NULL,
 [AUFNG] [decimal](13, 2) NOT NULL,
 [AUFNZ] [decimal](13, 2) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [ANUPD] [nvarchar](1) NOT NULL,
 CONSTRAINT [ANLQ~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [GJAHR] ASC,
 [PERAF] ASC,
 [KTOGR] ASC,
 [FKBER] ASC,
 [KOSTL] ASC,
 [GSBER] ASC,
 [CAUFN] ASC,
 [LSTAR] ASC,
 [AFBNR] ASC,
 [AFABER] 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].[ANLP]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANLP](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [PERAF] [nvarchar](3) NOT NULL,
 [AFBNR] [nvarchar](2) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [AFABER] [nvarchar](2) NOT NULL,
 [ZUJHR] [nvarchar](4) NOT NULL,
 [ZUCOD] [nvarchar](4) NOT NULL,
 [AUFWP] [decimal](13, 2) NOT NULL,
 [AUFWB] [decimal](13, 2) NOT NULL,
 [AUFWZ] [decimal](13, 2) NOT NULL,
 [NAFAP] [decimal](13, 2) NOT NULL,
 [NAFAG] [decimal](13, 2) NOT NULL,
 [NAFAZ] [decimal](13, 2) NOT NULL,
 [SAFAP] [decimal](13, 2) NOT NULL,
 [SAFAG] [decimal](13, 2) NOT NULL,
 [SAFAZ] [decimal](13, 2) NOT NULL,
 [AAFAP] [decimal](13, 2) NOT NULL,
 [AAFAG] [decimal](13, 2) NOT NULL,
 [AAFAZ] [decimal](13, 2) NOT NULL,
 [MAFAP] [decimal](13, 2) NOT NULL,
 [MAFAG] [decimal](13, 2) NOT NULL,
 [MAFAZ] [decimal](13, 2) NOT NULL,
 [ZINSP] [decimal](13, 2) NOT NULL,
 [ZINSG] [decimal](13, 2) NOT NULL,
 [ZINSZ] [decimal](13, 2) NOT NULL,
 [AUFNP] [decimal](13, 2) NOT NULL,
 [AUFNG] [decimal](13, 2) NOT NULL,
 [AUFNZ] [decimal](13, 2) NOT NULL,
 [ANSWL] [decimal](13, 2) NOT NULL,
 [INVZM] [decimal](13, 2) NOT NULL,
 [KTOGR] [nvarchar](8) NOT NULL,
 [AFASL] [nvarchar](4) NOT NULL,
 [KOSTL] [nvarchar](10) NOT NULL,
 [GSBER] [nvarchar](4) NOT NULL,
 [CAUFN] [nvarchar](12) NOT NULL,
 [XUNUL] [nvarchar](1) NOT NULL,
 [ANUPD] [nvarchar](1) NOT NULL,
 [FKBER] [nvarchar](16) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [LSTAR] [nvarchar](6) NOT NULL,
 [GEBER] [nvarchar](10) NOT NULL,
 [GRANT_NBR] [nvarchar](20) NOT NULL,
 [GEBER2] [nvarchar](10) NOT NULL,
 [FKBER2] [nvarchar](16) NOT NULL,
 [GRANT_NBR2] [nvarchar](20) NOT NULL,
 [FISTL2] [nvarchar](16) NOT NULL,
 [IMKEY] [nvarchar](40) NOT NULL,
 [PS_PSP_PNR2] [nvarchar](24) NOT NULL,
 [FISTL] [nvarchar](16) NOT NULL,
 CONSTRAINT [ANLP~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [GJAHR] ASC,
 [PERAF] ASC,
 [AFBNR] ASC,
 [ANLN1] ASC,
 [ANLN2] ASC,
 [AFABER] ASC,
 [ZUJHR] ASC,
 [ZUCOD] 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].[ANLB]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANLB](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [AFABE] [nvarchar](2) NOT NULL,
 [BDATU] [nvarchar](8) NOT NULL,
 [ADATU] [nvarchar](8) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [AENAM] [nvarchar](12) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [XLOEV] [nvarchar](1) NOT NULL,
 [XSPEB] [nvarchar](1) NOT NULL,
 [FELEI] [nvarchar](4) NOT NULL,
 [XNEGA] [nvarchar](1) NOT NULL,
 [XGWGK] [nvarchar](1) NOT NULL,
 [XUNTA] [nvarchar](1) NOT NULL,
 [AFABG] [nvarchar](8) NOT NULL,
 [ZINBG] [nvarchar](8) NOT NULL,
 [SAFBG] [nvarchar](8) NOT NULL,
 [INVSL] [nvarchar](2) NOT NULL,
 [AFASL] [nvarchar](4) NOT NULL,
 [NDJAR] [nvarchar](3) NOT NULL,
 [NDPER] [nvarchar](3) NOT NULL,
 [NAPRZ] [decimal](7, 4) NOT NULL,
 [SAPRZ] [decimal](7, 4) NOT NULL,
 [WBIND] [nvarchar](5) NOT NULL,
 [ALIND] [nvarchar](5) NOT NULL,
 [APROP] [decimal](7, 4) NOT NULL,
 [UMJAR] [nvarchar](4) NOT NULL,
 [NDURJ] [nvarchar](3) NOT NULL,
 [NDURP] [nvarchar](3) NOT NULL,
 [SCHRW] [decimal](13, 2) NOT NULL,
 [LGJAN] [nvarchar](4) NOT NULL,
 [PERFY] [nvarchar](3) NOT NULL,
 [ANUPD] [nvarchar](1) NOT NULL,
 [AUFWTG] [nvarchar](2) NOT NULL,
 [XAFBE] [nvarchar](1) NOT NULL,
 [ANLGR] [nvarchar](12) NOT NULL,
 [ANLGR2] [nvarchar](4) NOT NULL,
 [VYEAR] [nvarchar](4) NOT NULL,
 [VMNTH] [nvarchar](3) NOT NULL,
 [INBDA] [nvarchar](8) NOT NULL,
 [ABGDAT_B] [nvarchar](8) NOT NULL,
 [J_1AARVKEY] [nvarchar](4) NOT NULL,
 [J_1AALTDAT] [nvarchar](8) NOT NULL,
 [J_1AALTIDX] [nvarchar](5) NOT NULL,
 [SCHRW_PROZ] [decimal](14, 11) NOT NULL,
 [UMPER] [nvarchar](3) NOT NULL,
 CONSTRAINT [ANLB~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [ANLN1] ASC,
 [ANLN2] ASC,
 [AFABE] ASC,
 [BDATU] 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].[ANLA]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANLA](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [ANLKL] [nvarchar](8) NOT NULL,
 [GEGST] [nvarchar](8) NOT NULL,
 [ANLAR] [nvarchar](5) NOT NULL,
 [ERNAM] [nvarchar](12) NOT NULL,
 [ERDAT] [nvarchar](8) NOT NULL,
 [AENAM] [nvarchar](12) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [XLOEV] [nvarchar](1) NOT NULL,
 [XSPEB] [nvarchar](1) NOT NULL,
 [FELEI] [nvarchar](4) NOT NULL,
 [KTOGR] [nvarchar](8) NOT NULL,
 [XOPVW] [nvarchar](1) NOT NULL,
 [ANLTP] [nvarchar](1) NOT NULL,
 [ZUJHR] [nvarchar](4) NOT NULL,
 [ZUPER] [nvarchar](3) NOT NULL,
 [ZUGDT] [nvarchar](8) NOT NULL,
 [AKTIV] [nvarchar](8) NOT NULL,
 [ABGDT] [nvarchar](8) NOT NULL,
 [DEAKT] [nvarchar](8) NOT NULL,
 [GPLAB] [nvarchar](8) NOT NULL,
 [BSTDT] [nvarchar](8) NOT NULL,
 [ORD41] [nvarchar](4) NOT NULL,
 [ORD42] [nvarchar](4) NOT NULL,
 [ORD43] [nvarchar](4) NOT NULL,
 [ORD44] [nvarchar](4) NOT NULL,
 [ANLUE] [nvarchar](12) NOT NULL,
 [ZUAWA] [nvarchar](3) NOT NULL,
 [ANEQK] [nvarchar](1) NOT NULL,
 [ANEQS] [nvarchar](1) NOT NULL,
 [LIFNR] [nvarchar](10) NOT NULL,
 [LAND1] [nvarchar](3) NOT NULL,
 [LIEFE] [nvarchar](30) NOT NULL,
 [HERST] [nvarchar](30) NOT NULL,
 [EIGKZ] [nvarchar](1) NOT NULL,
 [AIBN1] [nvarchar](12) NOT NULL,
 [AIBN2] [nvarchar](4) NOT NULL,
 [AIBDT] [nvarchar](8) NOT NULL,
 [URJHR] [nvarchar](4) NOT NULL,
 [URWRT] [decimal](13, 2) NOT NULL,
 [ANTEI] [decimal](5, 2) NOT NULL,
 [PROJN] [nvarchar](16) NOT NULL,
 [EAUFN] [nvarchar](12) NOT NULL,
 [MEINS] [nvarchar](3) NOT NULL,
 [MENGE] [decimal](13, 3) NOT NULL,
 [TYPBZ] [nvarchar](15) NOT NULL,
 [IZWEK] [nvarchar](2) NOT NULL,
 [INKEN] [nvarchar](1) NOT NULL,
 [IVDAT] [nvarchar](8) NOT NULL,
 [INVZU] [nvarchar](15) NOT NULL,
 [VMGLI] [nvarchar](4) NOT NULL,
 [XVRMW] [nvarchar](1) NOT NULL,
 [WRTMA] [decimal](13, 2) NOT NULL,
 [EHWRT] [decimal](13, 2) NOT NULL,
 [AUFLA] [nvarchar](8) NOT NULL,
 [EHWZU] [nvarchar](8) NOT NULL,
 [EHWNR] [nvarchar](16) NOT NULL,
 [GRUVO] [nvarchar](8) NOT NULL,
 [GREIN] [nvarchar](8) NOT NULL,
 [GRBND] [nvarchar](5) NOT NULL,
 [GRBLT] [nvarchar](5) NOT NULL,
 [GRLFD] [nvarchar](4) NOT NULL,
 [FLURK] [nvarchar](4) NOT NULL,
 [FLURN] [nvarchar](10) NOT NULL,
 [FIAMT] [nvarchar](25) NOT NULL,
 [STADT] [nvarchar](25) NOT NULL,
 [GRUND] [nvarchar](3) NOT NULL,
 [FEINS] [nvarchar](3) NOT NULL,
 [GRUFL] [decimal](13, 3) NOT NULL,
 [INVNR] [nvarchar](25) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [TXT50] [nvarchar](50) NOT NULL,
 [TXA50] [nvarchar](50) NOT NULL,
 [XLTXID] [nvarchar](1) NOT NULL,
 [XVERID] [nvarchar](1) NOT NULL,
 [XTCHID] [nvarchar](1) NOT NULL,
 [XKALID] [nvarchar](1) NOT NULL,
 [XHERID] [nvarchar](1) NOT NULL,
 [XLEAID] [nvarchar](1) NOT NULL,
 [LEAFI] [nvarchar](10) NOT NULL,
 [LVDAT] [nvarchar](8) NOT NULL,
 [LKDAT] [nvarchar](8) NOT NULL,
 [LEABG] [nvarchar](8) NOT NULL,
 [LEJAR] [nvarchar](3) NOT NULL,
 [LEPER] [nvarchar](3) NOT NULL,
 [LRYTH] [nvarchar](3) NOT NULL,
 [LEGEB] [decimal](13, 2) NOT NULL,
 [LBASW] [decimal](13, 2) NOT NULL,
 [LKAUF] [decimal](13, 2) NOT NULL,
 [LMZIN] [decimal](7, 4) NOT NULL,
 [LZINS] [decimal](7, 4) NOT NULL,
 [LTZBW] [nvarchar](8) NOT NULL,
 [LKUZA] [decimal](13, 2) NOT NULL,
 [LKUZI] [decimal](13, 2) NOT NULL,
 [LLAVB] [decimal](13, 2) NOT NULL,
 [LEANZ] [decimal](5, 0) NOT NULL,
 [LVTNR] [nvarchar](15) NOT NULL,
 [LETXT] [nvarchar](50) NOT NULL,
 [XAKTIV] [nvarchar](1) NOT NULL,
 [ANUPD] [nvarchar](1) NOT NULL,
 [LBLNR] [nvarchar](10) NOT NULL,
 [XV0DT] [nvarchar](8) NOT NULL,
 [XV0NM] [nvarchar](12) NOT NULL,
 [XV1DT] [nvarchar](8) NOT NULL,
 [XV1NM] [nvarchar](12) NOT NULL,
 [XV2DT] [nvarchar](8) NOT NULL,
 [XV2NM] [nvarchar](12) NOT NULL,
 [XV3DT] [nvarchar](8) NOT NULL,
 [XV3NM] [nvarchar](12) NOT NULL,
 [XV4DT] [nvarchar](8) NOT NULL,
 [XV4NM] [nvarchar](12) NOT NULL,
 [XV5DT] [nvarchar](8) NOT NULL,
 [XV5NM] [nvarchar](12) NOT NULL,
 [XV6DT] [nvarchar](8) NOT NULL,
 [XV6NM] [nvarchar](12) NOT NULL,
 [AIMMO] [nvarchar](1) NOT NULL,
 [OBJNR] [nvarchar](22) NOT NULL,
 [LEART] [nvarchar](2) NOT NULL,
 [LVORS] [nvarchar](1) NOT NULL,
 [GDLGRP] [nvarchar](8) NOT NULL,
 [POSNR] [nvarchar](24) NOT NULL,
 [XERWRT] [nvarchar](1) NOT NULL,
 [XAFABCH] [nvarchar](1) NOT NULL,
 [XANLGR] [nvarchar](1) NOT NULL,
 [MCOA1] [nvarchar](30) NOT NULL,
 [XINVM] [nvarchar](1) NOT NULL,
 [SERNR] [nvarchar](18) NOT NULL,
 [UMWKZ] [nvarchar](5) NOT NULL,
 [LRVDAT] [nvarchar](8) NOT NULL,
 [ACT_CHANGE_PM] [nvarchar](1) NOT NULL,
 [HAS_TDDP] [nvarchar](1) NOT NULL,
 CONSTRAINT [ANLA~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [ANLN1] ASC,
 [ANLN2] 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].[ANKT]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANKT](
 [MANDT] [nvarchar](3) NOT NULL,
 [SPRAS] [nvarchar](2) NOT NULL,
 [ANLKL] [nvarchar](8) NOT NULL,
 [TXK20] [nvarchar](20) NOT NULL,
 [TXK50] [nvarchar](50) NOT NULL,
 [TXT50] [nvarchar](50) NOT NULL,
 [TXA50] [nvarchar](50) NOT NULL,
 [XLTXID] [nvarchar](1) NOT NULL,
 CONSTRAINT [ANKT~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [SPRAS] ASC,
 [ANLKL] 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].[ANEP]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANEP](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [LNRAN] [nvarchar](5) NOT NULL,
 [AFABE] [nvarchar](2) NOT NULL,
 [ZUJHR] [nvarchar](4) NOT NULL,
 [ZUCOD] [nvarchar](4) NOT NULL,
 [PERAF] [nvarchar](3) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BZDAT] [nvarchar](8) NOT NULL,
 [BWASL] [nvarchar](3) NOT NULL,
 [XAFAR] [nvarchar](1) NOT NULL,
 [ANBTR] [decimal](13, 2) NOT NULL,
 [NAFAB] [decimal](13, 2) NOT NULL,
 [SAFAB] [decimal](13, 2) NOT NULL,
 [ZINSB] [decimal](13, 2) NOT NULL,
 [XANTW] [nvarchar](1) NOT NULL,
 [XAWBT] [nvarchar](1) NOT NULL,
 [LNSAN] [nvarchar](5) NOT NULL,
 [ANUPD] [nvarchar](1) NOT NULL,
 [AUGLN] [nvarchar](5) NOT NULL,
 CONSTRAINT [ANEP~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [ANLN1] ASC,
 [ANLN2] ASC,
 [GJAHR] ASC,
 [LNRAN] ASC,
 [AFABE] ASC,
 [ZUJHR] ASC,
 [ZUCOD] 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].[ANEK]    Script Date: 05/09/2014 15:08:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ANEK](
 [MANDT] [nvarchar](3) NOT NULL,
 [BUKRS] [nvarchar](4) NOT NULL,
 [ANLN1] [nvarchar](12) NOT NULL,
 [ANLN2] [nvarchar](4) NOT NULL,
 [GJAHR] [nvarchar](4) NOT NULL,
 [LNRAN] [nvarchar](5) NOT NULL,
 [BLDAT] [nvarchar](8) NOT NULL,
 [BUDAT] [nvarchar](8) NOT NULL,
 [MONAT] [nvarchar](2) NOT NULL,
 [CPUDT] [nvarchar](8) NOT NULL,
 [CPUTM] [nvarchar](6) NOT NULL,
 [AEDAT] [nvarchar](8) NOT NULL,
 [UPDDT] [nvarchar](8) NOT NULL,
 [USNAM] [nvarchar](12) NOT NULL,
 [TCODE] [nvarchar](20) NOT NULL,
 [BVORG] [nvarchar](16) NOT NULL,
 [XBLNR] [nvarchar](16) NOT NULL,
 [STBLG] [nvarchar](10) NOT NULL,
 [STJAH] [nvarchar](4) NOT NULL,
 [SGTXT] [nvarchar](50) NOT NULL,
 [MENGE] [decimal](13, 3) NOT NULL,
 [MEINS] [nvarchar](3) NOT NULL,
 [ANLU1] [nvarchar](12) NOT NULL,
 [ANLU2] [nvarchar](4) NOT NULL,
 [ANUPD] [nvarchar](1) NOT NULL,
 [GLVOR] [nvarchar](4) NOT NULL,
 [VBUND] [nvarchar](6) NOT NULL,
 [PARGB] [nvarchar](4) NOT NULL,
 [BUREG] [nvarchar](3) NOT NULL,
 [AUGLZ] [nvarchar](3) NOT NULL,
 [ABRBUP] [nvarchar](2) NOT NULL,
 [OBART] [nvarchar](2) NOT NULL,
 [OBJID] [nvarchar](20) NOT NULL,
 [ZUONR] [nvarchar](18) NOT NULL,
 [MWSKZ] [nvarchar](2) NOT NULL,
 [EBELN] [nvarchar](10) NOT NULL,
 [EBELP] [nvarchar](5) NOT NULL,
 [MATNR] [nvarchar](18) NOT NULL,
 [AUGLN] [nvarchar](5) NOT NULL,
 [BELNR] [nvarchar](10) NOT NULL,
 [BUZEI] [nvarchar](3) NOT NULL,
 [BZDAT] [nvarchar](8) NOT NULL,
 [XANTEI] [nvarchar](1) NOT NULL,
 [AWTYP] [nvarchar](5) NOT NULL,
 [AWORG] [nvarchar](10) NOT NULL,
 [AWSYS] [nvarchar](10) NOT NULL,
 [PBUKR] [nvarchar](4) NOT NULL,
 [VORGN] [nvarchar](4) NOT NULL,
 [LDGRP] [nvarchar](4) NOT NULL,
 CONSTRAINT [ANEK~0] PRIMARY KEY CLUSTERED
(
 [MANDT] ASC,
 [BUKRS] ASC,
 [ANLN1] ASC,
 [ANLN2] ASC,
 [GJAHR] ASC,
 [LNRAN] 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

你可能感兴趣的:(sql)