Slow loading previews during selection process
When I am sorting photos in the library loupe mode, the thumnails always show loading as I am trying to make my pics and rejects. Any suggestions on how to speed up the process? I have already increased my cache to 100.
Thank you,
kapphotos
For the Loupe View and in the Develop Module Lr uses 1:1 previews that have to be generated when you select an image, unless they are rendered during the import.
Read up here on 1:1 previews: http://helpx.adobe.com/lightroom/kb/optimize-performance-lightroom.html#main_Render_1_1_pr eviews_intentionally
In the Import Dialog, right side in the File Handling panel you can select that 1:1 previews are rendered right after import, so that they will be available when you want to view the image at 1:1 in the Loupe View or when you select an image in the Develop Module. See Screen shot:
Depending on your system and the number of imported images the rendering of 1:1 previews can take a while. So, while they are being generated, you can do something else in Lr (Lr generates the previews in the back), or you let Lr work away and you do something completely different, read some e-mail, take a nap ...
The 1:1 previews will increase the size of your previews file (the file ending with <lrdat>) that sits right next to your catalog. In order to not bloat your previews file too much, you have the option in >Edit >Catalog Settings >File Handling tab to select a time period after which the 1:1 previews will be discarded. Lr then has to generate them again when you come back to the image after a longer time period.
Similar Messages
-
Why is Aperture taking so long to 'load' the preview when moving between images
Lightroom calls this ' working'
Test :
Aperture
50 x 45mb images - view and move to next image after 'loading' = 100secs
Lightroom
50 x 45mb images - view and move to next image after 'working' =30secs
Same images referenced in both - get a closer time with Raw files but still faster with LR
Aperture sometimes takes 4-6 secs/image
Major difference when editing - Lightroom also looks sharper while 'working' the image to view, so you can reject or select quicker.
Want to keep with Aperture - also use iView and Capture One Pro to edit and process
One difference is that LR is in the Library window (not develop window) this signifcantly speeds up the loading - maybe this is using a smaller preview to load quicker but it certainly helps.
Is there a setting for this type of view in Aperture
Thanks
G5 Dual 2.0ghz + 4.5gb Ram + ATI Radeon X800 XT+ Apple 30ins Display
Mac OS X (10.4.8) G5 Dual 2.0ghz MacBookPro 2.16ghz 17ins
Mac OS X (10.4.8) G5 Dual 2.0ghz MacBookPro 2.16ghz 17insFor the Loupe View and in the Develop Module Lr uses 1:1 previews that have to be generated when you select an image, unless they are rendered during the import.
Read up here on 1:1 previews: http://helpx.adobe.com/lightroom/kb/optimize-performance-lightroom.html#main_Render_1_1_pr eviews_intentionally
In the Import Dialog, right side in the File Handling panel you can select that 1:1 previews are rendered right after import, so that they will be available when you want to view the image at 1:1 in the Loupe View or when you select an image in the Develop Module. See Screen shot:
Depending on your system and the number of imported images the rendering of 1:1 previews can take a while. So, while they are being generated, you can do something else in Lr (Lr generates the previews in the back), or you let Lr work away and you do something completely different, read some e-mail, take a nap ...
The 1:1 previews will increase the size of your previews file (the file ending with <lrdat>) that sits right next to your catalog. In order to not bloat your previews file too much, you have the option in >Edit >Catalog Settings >File Handling tab to select a time period after which the 1:1 previews will be discarded. Lr then has to generate them again when you come back to the image after a longer time period. -
Slow Loading screen during boot up after a major update
Ever since I installed an update my mac has been taking forever to startup. Usually when I shut down the computer, and then maybe the next day turn it on, I hear the chime, and then the computer goes straight to a loading screen that takes forever to finish. I would say it takes about 15 minutes or less just to start up and get to the log in screen. Does anyone else have this problem? What do you think I should do to fix this? I just don't have time for a 15-20 min boot up. Who really does?
Janelle CantyHello again:
If you want to restore your entire system from a Time Machine backup, the instructions are below:
Important: These steps will overwrite data with the same name in the same location, such as files on your desktop and in your Home folder.
Connect the external disk you've backed up to.
Start from your Mac OS X 10.5 or 10.6 Install DVD. (Insert the disc, then restart and hold the C key.)
Select your language. Do not start an installation.
Choose Disk Utility from the Utilities menu.
Select your internal Mac OS X disk that you want to restore to.
Click the Restore tab.
Drag your internal disk to the "Destination:" field.
Click the "Image..." button next to the "Source:" field.
Navigate to the location of the backup image you want to restore (located on your external disk).
Click "Open" to continue.
Click the "Restore" button. Confirm you want to "Restore to Disk" by clicking "Restore" again. This will replace data on your Mac OS X volume with data from your backup that has the same name and is in the same location.
Enter your admin name and password when prompted. If the backup disk image is encrypted, enter the disk image password if necessary. The time it takes to restore from the image depends on factors such as the amount of data on your backup disk image.
While the slow boot is occurring, you might want to look at the activity monitor to see what is going on...
Barry -
How to use direct select and insert or load to speedup the process instead of cursur
Hi friends,
I have stored procedure .In SP i am using cursur to load data from Parent to several child table.
I have attached the script with this message.
And my problem is how to use direct select and insert or load to speedup the process instead of cursur.
Can any one please suggest me how to change this scripts pls.
USE [IconicMarketing]
GO
/****** Object: StoredProcedure [dbo].[SP_DMS_INVENTORY] Script Date: 3/6/2015 3:34:03 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <ARUN,NAGARAJ>
-- Create date: <11/21/2014>
-- Description: <STORED PROCEDURE FOR DMS_INVENTORY>
-- =============================================
ALTER PROCEDURE [dbo].[SP_DMS_INVENTORY]
@Specific_Date varchar(20) ,
@DealerNum Varchar(6),
@Date_Daily varchar(50)
AS
BEGIN
SET NOCOUNT ON;
--==========================================================================
-- INVENTORY_CURSUR
--==========================================================================
DECLARE
@FileType varchar(50),
@ACDealerID varchar(50),
@ClientDealerID varchar(50),
@DMSType varchar(50),
@StockNumber varchar(50),
@InventoryDate datetime ,
@StockType varchar(100),
@DMSStatus varchar(50),
@InvoicePrice numeric(18, 2),
@CostPack varchar(50),
@SalesCost numeric(18, 2),
@HoldbackAmount numeric(18, 2),
@ListPrice numeric(18, 2),
@MSRP varchar(max),
@LotLocation varchar(50),
@TagLine varchar(max),
@Certification varchar(max),
@CertificationNumber varchar(max),
@VehicleVIN varchar(50),
@VehicleYear bigint ,
@VehicleMake varchar(50),
@VehicleModel varchar(50),
@VehicleModelCode varchar(50),
@VehicleTrim varchar(50),
@VehicleSubTrimLevel varchar(max),
@Classification varchar(max),
@TypeCode varchar(100),
@VehicleMileage bigint ,
@EngineCylinderCount varchar(10) ,
@TransmissionType varchar(50),
@VehicleExteriorColor varchar(50),
@VehicleInteriorColor varchar(50),
@CreatedDate datetime ,
@LastModifiedDate datetime ,
@ModifiedFlag varchar(max),
@InteriorColorCode varchar(50),
@ExteriorColorCode varchar(50),
@PackageCode varchar(50),
@CodedCost varchar(50),
@Air varchar(100),
@OrderType varchar(max),
@AgeDays bigint ,
@OutstandingRO varchar(50),
@DlrAccessoryRetail varchar(50),
@DlrAccessoryCost varchar(max),
@DlrAccessoryDesc varchar(max),
@ModelDesc varchar(50),
@Memo1 varchar(1000),
@Memo2 varchar(max),
@Weight varchar(max),
@FloorPlan numeric(18, 2),
@Purchaser varchar(max),
@PurchasedFrom varchar(max),
@InternetPrice varchar(50),
@InventoryAcctDollar numeric(18, 2),
@VehicleType varchar(50),
@DealerAccessoryCode varchar(50),
@AllInventoryAcctDollar numeric(18, 2),
@BestPrice varchar(50),
@InStock bigint ,
@AccountingMake varchar(50),
@GasDiesel varchar(max),
@BookValue varchar(10),
@FactoryAccessoryDescription varchar(max),
@TotalReturn varchar(10),
@TotalCost varchar(10),
@SS varchar(max),
@VehicleBody varchar(max),
@StandardEquipment varchar(max),
@Account varchar(max),
@CalculatedPrice varchar(10),
@OriginalCost varchar(10),
@AccessoryCore varchar(10),
@OtherDollar varchar(10),
@PrimaryBookValue varchar(10),
@AmountDue varchar(10),
@LicenseFee varchar(10),
@ICompany varchar(max),
@InvenAcct varchar(max),
@Field23 varchar(max),
@Field24 varchar(max),
@SalesCode bigint,
@BaseRetail varchar(10),
@BaseInvAmt varchar(10),
@CommPrice varchar(10),
@Price1 varchar(10),
@Price2 varchar(10),
@StickerPrice varchar(10),
@TotInvAmt varchar(10),
@OptRetail varchar(max),
@OptInvAmt varchar(10),
@OptCost varchar(10),
@Options1 varchar(max),
@Category varchar(max),
@Description varchar(max),
@Engine varchar(max),
@ModelType varchar(max),
@FTCode varchar(max),
@Wholesale varchar(max),
@Retail varchar(max),
@Draft varchar(max),
@myerror varchar(500),
@Inventoryid int,
@errornumber int,
@errorseverity varchar(500),
@errortable varchar(50),
@errorstate int,
@errorprocedure varchar(500),
@errorline varchar(50),
@errormessage varchar(1000),
@Invt_Id int,
@flatfile_createddate datetime,
@FtpDate date,
@Inv_cur varchar(1000),
@S_Year varchar(4),
@S_Month varchar(2),
@S_Date varchar(2),
@Date_Specfic varchar(50),
@Param_list nvarchar(max),
@Daily_Date Varchar(50);
--====================================================================================
--DECLARE CURSUR FOR SPECIFIC DATE (OR) DEALER-ID WITH SPECIFIC DATE (OR) CURRENT DATE
--====================================================================================
set @Date_Specfic = Substring(@Specific_Date,1,4) +'-'+Substring(@Specific_Date,5,2)+'-'+Substring(@Specific_Date,7,2);
set @Daily_Date = SUBSTRING(@Date_Daily,14,4) + '-' + SUBSTRING(@Date_Daily,18,2)+ '-' + SUBSTRING(@date_Daily,20,2)
IF @Daily_Date IS NOT NULL
BEGIN
Delete From [dbo].[DMS_INVENTORY_DETAILS]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where CONVERT (date,FtpDate)=CONVERT (date,GETDATE()));
Delete From [dbo].[DMS_INVENTORY_AMOUNT]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where CONVERT (date,FtpDate)=CONVERT (date,GETDATE()));
Delete From [dbo].[ICONIC_INVENTORY_VEHICLE]
Where DMSInventoryVehicleID in(select ID from [dbo].[DMS_INVENTORY] where CONVERT (date,FtpDate)=CONVERT (date,GETDATE()));
Delete From [dbo].[DMS_INVENTORY_VEHICLE]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where CONVERT (date,FtpDate)=CONVERT (date,GETDATE()));
Delete From [dbo].[ICONIC_EQUITY_INVENTORY_COMPARE]
Where InventoryVehicleId in(select ID from [dbo].[DMS_INVENTORY] where CONVERT (date,FtpDate)=CONVERT (date,GETDATE()));
Delete From [dbo].[DMS_INVENTORY]
Where ID in(select ID from [dbo].[DMS_INVENTORY] where CONVERT (date,FtpDate)=CONVERT (date,GETDATE()));
DECLARE Inventory_Cursor CURSOR FOR
SELECT * from [dbo].[FLATFILE_INVENTORY] where
CONVERT (date,flatfile_createddate) = CONVERT (date,GETDATE()) order by flatfile_createddate;
END
Else
BEGIN
if (@Date_Specfic IS NOT NULL AND @DealerNum != '?????')
BEGIN
Delete From [dbo].[DMS_INVENTORY_DETAILS]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic AND DMSDealerID='ACTEST' + @DealerNum);
Delete From [dbo].[DMS_INVENTORY_AMOUNT]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic AND DMSDealerID='ACTEST' + @DealerNum);
Delete From [dbo].[ICONIC_INVENTORY_VEHICLE]
Where DMSInventoryVehicleID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic AND DMSDealerID='ACTEST' + @DealerNum);
Delete From [dbo].[DMS_INVENTORY_VEHICLE]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic AND DMSDealerID='ACTEST' + @DealerNum);
Delete From [dbo].[ICONIC_EQUITY_INVENTORY_COMPARE]
Where InventoryVehicleId in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic AND DMSDealerID='ACTEST' + @DealerNum);
Delete From [dbo].[DMS_INVENTORY]
Where ID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic AND DMSDealerID='ACTEST' + @DealerNum);
DECLARE Inventory_Cursor CURSOR FOR
SELECT * from [dbo].[FLATFILE_INVENTORY] where FtpDate=@Date_Specfic AND ACDealerID='ACTEST' + @DealerNum;
END
ELSE
BEGIN
Delete From [dbo].[DMS_INVENTORY_DETAILS]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic);
Delete From [dbo].[DMS_INVENTORY_AMOUNT]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic);
Delete From [dbo].[ICONIC_INVENTORY_VEHICLE]
Where DMSInventoryVehicleID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic);
Delete From [dbo].[DMS_INVENTORY_VEHICLE]
Where DMSInventoryID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic);
Delete From [dbo].[ICONIC_EQUITY_INVENTORY_COMPARE]
Where InventoryVehicleId in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic);
Delete From [dbo].[DMS_INVENTORY]
Where ID in(select ID from [dbo].[DMS_INVENTORY] where FtpDate=@Date_Specfic);
DECLARE Inventory_Cursor CURSOR FOR
SELECT * from [dbo].[FLATFILE_INVENTORY] where FtpDate=@Date_Specfic;
END
END
OPEN Inventory_Cursor
FETCH NEXT FROM Inventory_Cursor
INTO
@FileType ,
@ACDealerID ,
@ClientDealerID ,
@DMSType ,
@StockNumber ,
@InventoryDate ,
@StockType ,
@DMSStatus ,
@InvoicePrice ,
@CostPack ,
@SalesCost ,
@HoldbackAmount ,
@ListPrice ,
@MSRP ,
@LotLocation ,
@TagLine ,
@Certification ,
@CertificationNumber ,
@VehicleVIN ,
@VehicleYear ,
@VehicleMake ,
@VehicleModel ,
@VehicleModelCode ,
@VehicleTrim ,
@VehicleSubTrimLevel ,
@Classification ,
@TypeCode ,
@VehicleMileage ,
@EngineCylinderCount ,
@TransmissionType ,
@VehicleExteriorColor ,
@VehicleInteriorColor ,
@CreatedDate ,
@LastModifiedDate ,
@ModifiedFlag ,
@InteriorColorCode ,
@ExteriorColorCode ,
@PackageCode ,
@CodedCost ,
@Air ,
@OrderType ,
@AgeDays ,
@OutstandingRO ,
@DlrAccessoryRetail ,
@DlrAccessoryCost ,
@DlrAccessoryDesc ,
@ModelDesc ,
@Memo1 ,
@Memo2 ,
@Weight ,
@FloorPlan ,
@Purchaser ,
@PurchasedFrom ,
@InternetPrice ,
@InventoryAcctDollar ,
@VehicleType ,
@DealerAccessoryCode ,
@AllInventoryAcctDollar ,
@BestPrice ,
@InStock ,
@AccountingMake ,
@GasDiesel ,
@BookValue ,
@FactoryAccessoryDescription ,
@TotalReturn ,
@TotalCost ,
@SS ,
@VehicleBody ,
@StandardEquipment ,
@Account ,
@CalculatedPrice ,
@OriginalCost ,
@AccessoryCore ,
@OtherDollar ,
@PrimaryBookValue ,
@AmountDue ,
@LicenseFee ,
@ICompany ,
@InvenAcct ,
@Field23 ,
@Field24 ,
@SalesCode ,
@BaseRetail ,
@BaseInvAmt ,
@CommPrice ,
@Price1 ,
@Price2 ,
@StickerPrice ,
@TotInvAmt ,
@OptRetail ,
@OptInvAmt ,
@OptCost ,
@Options1 ,
@Category ,
@Description ,
@Engine ,
@ModelType ,
@FTCode ,
@Wholesale ,
@Retail ,
@Draft ,
@flatfile_createddate,
@FtpDate;
WHILE @@FETCH_STATUS = 0
BEGIN
--==========================================================================
-- INSERT INTO INVENTORY (PARENT TABLE)
--==========================================================================
BEGIN TRY
INSERT INTO [dbo].[DMS_INVENTORY]
DMSDealerID,
StockNumber,
DMSType,
InventoryDate,
FtpDate
VALUES (@ClientDealerID,@StockNumber,@DMSType,@InventoryDate,@FtpDate);
END TRY
BEGIN CATCH
SELECT
@errornumber = ERROR_NUMBER(),
@errorseverity = ERROR_SEVERITY(),
@errortable = 'DMS_INVENTORY',
@errorstate = ERROR_STATE(),
@errorprocedure = ERROR_PROCEDURE(),
@errorline = ERROR_LINE(),
@errormessage = ERROR_MESSAGE();
--==========================================================================
-- INSERT ERRORS INTO DMSLOG_INVENTORY_ERROR
--==========================================================================
EXEC [SP_DMS_INVENTORY_ERROR] @FileType,@ACDealerID,@ClientDealerID,@DMSType,@StockNumber,@InventoryDate,@StockType,@DMSStatus,@InvoicePrice,@CostPack,
@SalesCost,@HoldbackAmount,@ListPrice,@MSRP,@LotLocation,@TagLine,@Certification,@CertificationNumber,@VehicleVIN,@VehicleYear,@VehicleMake,@VehicleModel,@VehicleModelCode,
@VehicleTrim,@VehicleSubTrimLevel,@Classification,@TypeCode,@VehicleMileage,@EngineCylinderCount,@TransmissionType,@VehicleExteriorColor,@VehicleInteriorColor,
@CreatedDate,@LastModifiedDate,@ModifiedFlag,@InteriorColorCode,@ExteriorColorCode,@PackageCode,@CodedCost,@Air,@OrderType,@AgeDays,@OutstandingRO,
@DlrAccessoryRetail,@DlrAccessoryCost,@DlrAccessoryDesc,@ModelDesc,@Memo1,@Memo2,@Weight,@FloorPlan,@Purchaser,@PurchasedFrom,@InternetPrice,
@InventoryAcctDollar,@VehicleType,@DealerAccessoryCode,@AllInventoryAcctDollar,@BestPrice,@InStock,@AccountingMake,@GasDiesel,@BookValue,
@FactoryAccessoryDescription,@TotalReturn,@TotalCost,@SS,@VehicleBody,@StandardEquipment,@Account,@CalculatedPrice,@OriginalCost,@AccessoryCore,
@OtherDollar,@PrimaryBookValue,@AmountDue,@LicenseFee,@ICompany,@InvenAcct,@Field23,@Field24,@SalesCode,@BaseRetail,@BaseInvAmt,@CommPrice,@Price1,
@Price2,@StickerPrice,@TotInvAmt,@OptRetail,@OptInvAmt,@OptCost,@Options1,@Category,@Description,@Engine,@ModelType,@FTCode,@Wholesale,@Retail,@Draft,
@ERRORNUMBER,@ERRORSEVERITY,@ERRORTABLE,@ERRORSTATE,@ERRORPROCEDURE,@ERRORLINE,@errormessage,@FtpDate
END CATCH
-- PRINT @errornumber;
-- PRINT @errorseverity;
-- PRINT @errortable;
-- PRINT @errorprocedure;
-- PRINT @errorline;
-- PRINT @errormessage;
-- PRINT @errorstate;
set @myerror = @@ERROR;
-- This -- PRINT statement -- PRINTs 'Error = 0' because
-- @@ERROR is reset in the IF statement above.
-- PRINT N'Error = ' + @myerror;
set @Inventoryid = scope_identity();
-- PRINT @Inventoryid;
--==========================================================================
-- INSERT INTO DMS_INVENTORY_DETAILS (CHILD TABLE)
--==========================================================================
BEGIN TRY
INSERT INTO [dbo].[DMS_INVENTORY_DETAILS]
DMSInventoryID,
StockType,
DMSStatus,
LotLocation,
TagLine,
Certification,
CertificationNumber,
CreatedDate,
LastModifiedDate,
ModifiedFlag,
PackageCode,
OrderType,
AgeDays,
OutstandingRO,
Memo1,
Memo2,
Purchaser,
PurchasedFrom,
DealerAccessoryCode,
InStock,
AccountingMake,
SS,
Account,
AccessoryCore,
ICompany,
InvenAcct,
Field23,
Field24,
SalesCode,
Draft,
FTCode,
FtpDate
VALUES (
@InventoryID,
@StockType,
@DMSStatus,
@LotLocation,
@TagLine,
@Certification,
@CertificationNumber,
@CreatedDate,
@LastModifiedDate,
@ModifiedFlag,
@PackageCode,
@OrderType,
@AgeDays,
@OutstandingRO,
@Memo1,
@Memo2,
@Purchaser,
@PurchasedFrom,
@DealerAccessoryCode,
@InStock,
@AccountingMake,
@SS,
@Account,
@AccessoryCore,
@ICompany,
@InvenAcct,
@Field23,
@Field24,
@SalesCode,
@Draft,
@FTCode,
@FtpDate
END TRY
BEGIN CATCH
SELECT
@errornumber = ERROR_NUMBER(),
@errorseverity = ERROR_SEVERITY(),
@errorstate = ERROR_STATE(),
@errortable = 'DMS_INVENTORY_DETAILS',
@errorprocedure = ERROR_PROCEDURE(),
@errorline = ERROR_LINE(),
@errormessage = ERROR_MESSAGE();
--==========================================================================
-- INSERT ERRORS INTO DMSLOG_INVENTORY_ERROR
--==========================================================================
EXECUTE [SP_DMS_INVENTORY_ERROR] @FileType,@ACDealerID,@ClientDealerID,@DMSType,@StockNumber,@InventoryDate,@StockType,@DMSStatus,@InvoicePrice,@CostPack,
@SalesCost,@HoldbackAmount,@ListPrice,@MSRP,@LotLocation,@TagLine,@Certification,@CertificationNumber,@VehicleVIN,@VehicleYear,@VehicleMake,@VehicleModel,@VehicleModelCode,
@VehicleTrim,@VehicleSubTrimLevel,@Classification,@TypeCode,@VehicleMileage,@EngineCylinderCount,@TransmissionType,@VehicleExteriorColor,@VehicleInteriorColor,
@CreatedDate,@LastModifiedDate,@ModifiedFlag,@InteriorColorCode,@ExteriorColorCode,@PackageCode,@CodedCost,@Air,@OrderType,@AgeDays,@OutstandingRO,
@DlrAccessoryRetail,@DlrAccessoryCost,@DlrAccessoryDesc,@ModelDesc,@Memo1,@Memo2,@Weight,@FloorPlan,@Purchaser,@PurchasedFrom,@InternetPrice,
@InventoryAcctDollar,@VehicleType,@DealerAccessoryCode,@AllInventoryAcctDollar,@BestPrice,@InStock,@AccountingMake,@GasDiesel,@BookValue,
@FactoryAccessoryDescription,@TotalReturn,@TotalCost,@SS,@VehicleBody,@StandardEquipment,@Account,@CalculatedPrice,@OriginalCost,@AccessoryCore,
@OtherDollar,@PrimaryBookValue,@AmountDue,@LicenseFee,@ICompany,@InvenAcct,@Field23,@Field24,@SalesCode,@BaseRetail,@BaseInvAmt,@CommPrice,@Price1,
@Price2,@StickerPrice,@TotInvAmt,@OptRetail,@OptInvAmt,@OptCost,@Options1,@Category,@Description,@Engine,@ModelType,@FTCode,@Wholesale,@Retail,@Draft,
@ERRORNUMBER,@ERRORSEVERITY,@ERRORTABLE,@ERRORSTATE,@ERRORPROCEDURE,@ERRORLINE,@errormessage,@FtpDate
END CATCH
--==========================================================================
-- INSERT INTO DMS_INVENTORY_AMOUNT (CHILD TABLE)
--==========================================================================
BEGIN TRY
INSERT INTO [dbo].[DMS_INVENTORY_AMOUNT]
DMSInventoryID,
AllInventoryAcctDollar,
OtherDollar,
PrimaryBookValue,
AmountDue,
LicenseFee,
CalculatedPrice,
OriginalCost,
BookValue,
TotalReturn,
TotalCost,
DlrAccessoryRetail,
DlrAccessoryCost,
DlrAccessoryDesc,
InternetPrice,
InventoryAcctDollar,
BestPrice,
Weight,
FloorPlan,
CodedCost,
InvoicePrice,
CostPack,
SalesCost,
HoldbackAmount,
ListPrice,
MSRP,
BaseRetail,
BaseInvAmt,
CommPrice,
Price1,
Price2,
StickerPrice,
TotInvAmt,
OptRetail,
OptInvAmt,
OptCost,
Wholesale,
Retail,
FtpDate
VALUES (
@InventoryID,
@AllInventoryAcctDollar,
@OtherDollar,
@PrimaryBookValue,
@AmountDue,
@LicenseFee,
@CalculatedPrice,
@OriginalCost,
@BookValue,
@TotalReturn,
@TotalCost,
@DlrAccessoryRetail,
@DlrAccessoryCost,
@DlrAccessoryDesc,
@InternetPrice,
@InventoryAcctDollar,
@BestPrice,
@Weight,
@FloorPlan,
@CodedCost,
@InvoicePrice,
@CostPack,
@SalesCost,
@HoldbackAmount,
@ListPrice,
@MSRP,
@BaseRetail,
@BaseInvAmt,
@CommPrice,
@Price1,
@Price2,
@StickerPrice,
@TotInvAmt,
@OptRetail,
@OptInvAmt,
@OptCost,
@Wholesale,
@Retail,
@FtpDate
END TRY
BEGIN CATCH
SELECT
@errornumber = ERROR_NUMBER(),
@errorseverity = ERROR_SEVERITY(),
@errortable = 'DMS_INVENTORY_AMOUNT',
@errorstate = ERROR_STATE(),
@errorprocedure = ERROR_PROCEDURE(),
@errorline = ERROR_LINE(),
@errormessage = ERROR_MESSAGE();
--==========================================================================
-- INSERT ERRORS INTO DMSLOG_INVENTORY_ERROR
--==========================================================================
EXEC [SP_DMS_INVENTORY_ERROR] @FileType,@ACDealerID,@ClientDealerID,@DMSType,@StockNumber,@InventoryDate,@StockType,@DMSStatus,@InvoicePrice,@CostPack,
@SalesCost,@HoldbackAmount,@ListPrice,@MSRP,@LotLocation,@TagLine,@Certification,@CertificationNumber,@VehicleVIN,@VehicleYear,@VehicleMake,@VehicleModel,@VehicleModelCode,
@VehicleTrim,@VehicleSubTrimLevel,@Classification,@TypeCode,@VehicleMileage,@EngineCylinderCount,@TransmissionType,@VehicleExteriorColor,@VehicleInteriorColor,
@CreatedDate,@LastModifiedDate,@ModifiedFlag,@InteriorColorCode,@ExteriorColorCode,@PackageCode,@CodedCost,@Air,@OrderType,@AgeDays,@OutstandingRO,
@DlrAccessoryRetail,@DlrAccessoryCost,@DlrAccessoryDesc,@ModelDesc,@Memo1,@Memo2,@Weight,@FloorPlan,@Purchaser,@PurchasedFrom,@InternetPrice,
@InventoryAcctDollar,@VehicleType,@DealerAccessoryCode,@AllInventoryAcctDollar,@BestPrice,@InStock,@AccountingMake,@GasDiesel,@BookValue,
@FactoryAccessoryDescription,@TotalReturn,@TotalCost,@SS,@VehicleBody,@StandardEquipment,@Account,@CalculatedPrice,@OriginalCost,@AccessoryCore,
@OtherDollar,@PrimaryBookValue,@AmountDue,@LicenseFee,@ICompany,@InvenAcct,@Field23,@Field24,@SalesCode,@BaseRetail,@BaseInvAmt,@CommPrice,@Price1,
@Price2,@StickerPrice,@TotInvAmt,@OptRetail,@OptInvAmt,@OptCost,@Options1,@Category,@Description,@Engine,@ModelType,@FTCode,@Wholesale,@Retail,@Draft,
@ERRORNUMBER,@ERRORSEVERITY,@ERRORTABLE,@ERRORSTATE,@ERRORPROCEDURE,@ERRORLINE,@errormessage,@FtpDate
END CATCH
--==========================================================================
-- INSERT INTO DMS_INVENTORY_VEHICLE (CHILD TABLE)
--==========================================================================
BEGIN TRY
INSERT INTO [dbo].[DMS_INVENTORY_VEHICLE]
DMSInventoryID,
InteriorColorCode,
ExteriorColorCode,
Air,
ModelDesc,
VehicleType,
VehicleVIN,
VehicleYear,
VehicleMake,
VehicleModel,
VehicleModelCode,
VehicleTrim,
VehicleSubTrimLevel,
Classification,
TypeCode,
VehicleMileage,
FtpDate,
EngineCylinderCount
VALUES (
@InventoryID,
@InteriorColorCode,
@ExteriorColorCode,
@Air,
@ModelDesc,
@VehicleType,
@VehicleVIN,
@VehicleYear,
@VehicleMake,
@VehicleModel,
@VehicleModelCode,
@VehicleTrim,
@VehicleSubTrimLevel,
@Classification,
@TypeCode,
@VehicleMileage,
@FtpDate,
@EngineCylinderCount
END TRY
BEGIN CATCH
SELECT
@errornumber = ERROR_NUMBER(),
@errorseverity = ERROR_SEVERITY(),
@errortable = 'DMS_INVENTORY_VEHICLE',
@errorstate = ERROR_STATE(),
@errorprocedure = ERROR_PROCEDURE(),
@errorline = ERROR_LINE(),
@errormessage = ERROR_MESSAGE();
--==========================================================================
-- INSERT ERRORS INTO DMSLOG_INVENTORY_ERROR
--==========================================================================
EXEC [SP_DMS_INVENTORY_ERROR] @FileType,@ACDealerID,@ClientDealerID,@DMSType,@StockNumber,@InventoryDate,@StockType,@DMSStatus,@InvoicePrice,@CostPack,
@SalesCost,@HoldbackAmount,@ListPrice,@MSRP,@LotLocation,@TagLine,@Certification,@CertificationNumber,@VehicleVIN,@VehicleYear,@VehicleMake,@VehicleModel,@VehicleModelCode,
@VehicleTrim,@VehicleSubTrimLevel,@Classification,@TypeCode,@VehicleMileage,@EngineCylinderCount,@TransmissionType,@VehicleExteriorColor,@VehicleInteriorColor,
@CreatedDate,@LastModifiedDate,@ModifiedFlag,@InteriorColorCode,@ExteriorColorCode,@PackageCode,@CodedCost,@Air,@OrderType,@AgeDays,@OutstandingRO,
@DlrAccessoryRetail,@DlrAccessoryCost,@DlrAccessoryDesc,@ModelDesc,@Memo1,@Memo2,@Weight,@FloorPlan,@Purchaser,@PurchasedFrom,@InternetPrice,
@InventoryAcctDollar,@VehicleType,@DealerAccessoryCode,@AllInventoryAcctDollar,@BestPrice,@InStock,@AccountingMake,@GasDiesel,@BookValue,
@FactoryAccessoryDescription,@TotalReturn,@TotalCost,@SS,@VehicleBody,@StandardEquipment,@Account,@CalculatedPrice,@OriginalCost,@AccessoryCore,
@OtherDollar,@PrimaryBookValue,@AmountDue,@LicenseFee,@ICompany,@InvenAcct,@Field23,@Field24,@SalesCode,@BaseRetail,@BaseInvAmt,@CommPrice,@Price1,
@Price2,@StickerPrice,@TotInvAmt,@OptRetail,@OptInvAmt,@OptCost,@Options1,@Category,@Description,@Engine,@ModelType,@FTCode,@Wholesale,@Retail,@Draft,
@ERRORNUMBER,@ERRORSEVERITY,@ERRORTABLE,@ERRORSTATE,@ERRORPROCEDURE,@ERRORLINE,@errormessage,@FtpDate
END CATCH
--==========================================================================
-- MOVE CURSUR TO NEXT RECORD
--==========================================================================
FETCH NEXT FROM Inventory_Cursor
INTO @FileType ,
@ACDealerID ,
@ClientDealerID ,
@DMSType ,
@StockNumber ,
@InventoryDate ,
@StockType ,
@DMSStatus ,
@InvoicePrice ,
@CostPack ,
@SalesCost ,
@HoldbackAmount ,
@ListPrice ,
@MSRP ,
@LotLocation ,
@TagLine ,
@Certification ,
@CertificationNumber ,
@VehicleVIN ,
@VehicleYear ,
@VehicleMake ,
@VehicleModel ,
@VehicleModelCode ,
@VehicleTrim ,
@VehicleSubTrimLevel ,
@Classification ,
@TypeCode ,
@VehicleMileage ,
@EngineCylinderCount ,
@TransmissionType ,
@VehicleExteriorColor ,
@VehicleInteriorColor ,
@CreatedDate ,
@LastModifiedDate ,
@ModifiedFlag ,
@InteriorColorCode ,
@ExteriorColorCode ,
@PackageCode ,
@CodedCost ,
@Air ,
@OrderType ,
@AgeDays ,
@OutstandingRO ,
@DlrAccessoryRetail ,
@DlrAccessoryCost ,
@DlrAccessoryDesc ,
@ModelDesc ,
@Memo1 ,
@Memo2 ,
@Weight ,
@FloorPlan ,
@Purchaser ,
@PurchasedFrom ,
@InternetPrice ,
@InventoryAcctDollar ,
@VehicleType ,
@DealerAccessoryCode ,
@AllInventoryAcctDollar ,
@BestPrice ,
@InStock ,
@AccountingMake ,
@GasDiesel ,
@BookValue ,
@FactoryAccessoryDescription ,
@TotalReturn ,
@TotalCost ,
@SS ,
@VehicleBody ,
@StandardEquipment ,
@Account ,
@CalculatedPrice ,
@OriginalCost ,
@AccessoryCore ,
@OtherDollar ,
@PrimaryBookValue ,
@AmountDue ,
@LicenseFee ,
@ICompany ,
@InvenAcct ,
@Field23 ,
@Field24 ,
@SalesCode ,
@BaseRetail ,
@BaseInvAmt ,
@CommPrice ,
@Price1 ,
@Price2 ,
@StickerPrice ,
@TotInvAmt ,
@OptRetail ,
@OptInvAmt ,
@OptCost ,
@Options1 ,
@Category ,
@Description ,
@Engine ,
@ModelType ,
@FTCode ,
@Wholesale ,
@Retail ,
@Draft ,
@flatfile_createddate,
@FtpDate;
END
CLOSE Inventory_Cursor;
DEALLOCATE Inventory_Cursor;
SET ANSI_PADDING OFF
END
Arunraj KumarThank you.
And another question if the data is already there in the child table if i try to load alone it must delete the old data in the child tablee and need to get load the new data and
How to do this ?
Arunraj Kumar
You can do that with an IF EXISTS condition
IF EXISTS (SELECT 1
FROM YourChildTable c
INNER JOIn @temptable t
ON c.Bkey1 = t.Bkey1
AND c.Bkey2 = t.Bkey2
DELETE t
FROM YourChildTable c
INNER JOIn @temptable t
ON c.Bkey1 = t.Bkey1
AND c.Bkey2 = t.Bkey2
INSERT INTO YourChildTable
where Bkey1,Bkey2 etc forms the business key of the table
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Accessing WS data set during selection screen processing in BG processing
Hello ABAPers,
I am attempting to access a working storage table variable that is set during selection screen processing after the user submits the program to background processing (using F9).
I have tried using export to memory id in the at selection screen section and then import from memory id in the start-of-selection section, but it does not seem to work all of the time. Is there a better way of doing this?
Thanksbump
-
Oracle "IO Error" during SELECT query under heavy load
We're experiencing a strange connection break during SELECT queries under heavy load.
Platform Details: Solaris, Oracle 11G, JDK 1.6,
Application: Spring + Hibernate (C3p0 connection pooling)
Exact error messages from a lengthy stack trace are mentioned below:
2013/06/05 18:49:02 | Caused by: org.springframework.dao.DataAccessResourceFailureException: Hibernate operation: could not execute query; SQL [SQL Ommitted]; IO Error: No such file or directory; nested exception is java.sql.SQLException: IO Error: No such file or directory
2013/06/05 18:49:02 | Caused by: java.sql.SQLException: IO Error: No such file or directory
2013/06/05 18:49:02 | at oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:1091)
2013/06/05 18:49:02 | at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:369)
2013/06/05 18:49:02 | at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:273)
2013/06/05 18:49:02 | at com.mchange.v2.c3p0.impl.NewProxyResultSet.next(NewProxyResultSet.java:2706)
2013/06/05 18:49:02 | at org.hibernate.loader.Loader.doQuery(Loader.java:697)
2013/06/05 18:49:02 | Caused by: java.net.SocketException: No such file or directory
2013/06/05 18:49:02 | at java.net.SocketInputStream.socketRead0(Native Method)
2013/06/05 18:49:02 | at java.net.SocketInputStream.read(SocketInputStream.java:129)
2013/06/05 18:49:02 | at oracle.net.ns.Packet.receive(Packet.java:282)
We've started looking at TCP connection settings (Max. TCP connections allowed, Max File descriptors allowed for socket connections at system level). Anything we're missing?
Why "IO Error: No such file or directory"? Any clue?user2951561 wrote:
That's a better answer indeed.
I can refine my question if it does not provide you enough information.
The stack trace i displayed here states that oracle jdbc driver has found the connection to be closed, interrupted etc.
Application behaves perfectly under normal load but blows up as soon as we reach 3000 concurrent sessions. No firewall is breaking connections, the select query that we observe this behavior for is part of a larger workflow that write data, update some, delete some as well in different tables. Then we see above stack trace for the select query.
I am trying to explore possible options to investigate. One i mentioned is related to Solaris file descriptors. Could it be database it self?
Any possible course of action for investigation? Help is much appreciated.
Oracle errors get reported with error code & message; like ORA-01555 Snapshot Too Old; which is not present in your post.
You indicated that Connection Pooling is used.
Is there some (artificial) limit within the application that falls off the cliff at 3000 sessions?
Oracle does not know or care about the "flavor" of client connection. It treats jdbc the same as OCI or ODBC connections.
Is OS limited to fixed number of open file handles? -
Xcelsius Engage 2008 - slow SWF preview/generation?
Hi Everyone - I am just curious - how long does it take your dashboards to load for a preview?
I am averaging about 2 minutes to get to the "Maximum rows message", then about another 1:30 to load the preview. The processer is pegged at 100% with 1.2 GB in the page file on average during the whole time. No other apps are running.
I think my company pc is ancient (specs below), but this just seems awful slow to me. All data is static on the sheet- no DB ties, and I have less than 200 rows on the longest tab. I converted all my nested IF statements & vloookups to index & match, but no noticeable performance boost.
System Specs:
Dell D600 Laptop
XP Pro SP3 (all updates installed)
1.86 GhZ Pentium M
2 GB Ram
Flash Player 10.0.22.87
Office 2003Hi Brian - interesting to hear it's me.
I do not have anything over row 200 in any of the three tabs, but there are some index & match arrays that are vertical (region & country performance aggregated) that get close to 200. For the default rows setting, I have used the default 512, reduced it to 200, and expanded it to 1,000 without any noticeable changes.
I think I probably have about 200 objects on the dash (mind you I am considering everything on the canvas an object for purposes of this conversation). A good portion of them are linked labels.
I did neglect to mention that this was a 4.5 model that I imported, maybe that's where the problem lies.
I am going to hit the manuals & some of the webinars I have seen posted over the next few weeks to "re-learn" the program.
I see that a lot of published docs are asking users to create their input models completely from within the interface. Again, I am importing a model built for 4.5, so maybe that is the issue.
Are most of you fellow users still updating sheets & importing them, or are you making the updates manually from inside Xcelsius?
Thank god I have a very understanding boss! -
I just updated my RAM (replaced the two 2 gig cards with two Corsair 8 gig cards) and I keep getting a crash report. I have a 21.5 Inch mid 2010 imac. I also am experiencing slow load times with Photoshop and when I try to open Final Cut it says that quartz extreme is not compatible and that I have no VRAM even though I do.
Here is the crash report:
Interval Since Last Panic Report: 5426204 sec
Panics Since Last Report: 2
Anonymous UUID: 2DD57DDB-BB42-5614-395A-CA6225BDAFD9
Wed Mar 20 11:36:53 2013
panic(cpu 0 caller 0xffffff801aa43d8e): "a freed zone element has been modified in zone: maps"@/SourceCache/xnu/xnu-2050.18.24/osfmk/kern/zalloc.c:219
Backtrace (CPU 0), Frame : Return Address
0xffffff81eb0eb950 : 0xffffff801aa1d626
0xffffff81eb0eb9c0 : 0xffffff801aa43d8e
0xffffff81eb0eba00 : 0xffffff801aa435d2
0xffffff81eb0ebae0 : 0xffffff801aa663f7
0xffffff81eb0ebb20 : 0xffffff801aa67398
0xffffff81eb0ebc70 : 0xffffff801aa6887c
0xffffff81eb0ebd20 : 0xffffff801ad5b8fe
0xffffff81eb0ebf50 : 0xffffff801ade182a
0xffffff81eb0ebfb0 : 0xffffff801aaced33
BSD process name corresponding to current thread: launchd
Mac OS version:
Not yet set
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x000000001a800000
Kernel text base: 0xffffff801aa00000
System model name: iMac11,2 (Mac-F2238AC8)
System uptime in nanoseconds: 1070542822
last loaded kext at 707348380: com.apple.driver.AppleIRController 320.15 (addr 0xffffff7f9c53e000, size 28672)
loaded kexts:
at.obdev.nke.LittleSnitch 3908
com.apple.driver.AppleIRController 320.15
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AirPort.Atheros40 600.70.23
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AppleUSBUHCI 5.2.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: iMac11,2, BootROM IM112.0057.B00, 2 processors, Intel Core i3, 3.2 GHz, 16 GB, SMC 1.64f5
Graphics: ATI Radeon HD 5670, ATI Radeon HD 5670, PCIe, 512 MB
Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5341384758334D314131333333433920
Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5341384758334D314131333333433920
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.70.23-P2P
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 0 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: HL-DT-STDVDRW GA32N
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 3There have been a few reports on here where Corsair RAM seems to have caused users a lot of grief with crashes.
The recommendation on here, mostly, is to only buy RAM from macsales.com or crucial.com as they guarantee their modules will work and offer a no quibble lifetime guarantee.
I'd put the original RAM back in, return the Corsair chips for a refund and re-order from one of those two companies.
http://eshop.macsales.com/shop/apple/memory/iMac
http://www.crucial.com/ -
Report selection process error.
Dear Experts,
i have doveluped one report using alv, report is
Based on SOdetails we want to extaract the prodeuction order and plan order details, the program is sucessfully exicuted and display the output only SO details i cant get the PO , Plan Order and remining details ple check the selection process and solve this problem.
and one more problem is in plan order no block display the required delivery date.
plea rectifi this problem, the entire program is mentioned bellow.
Regards,
sri.
*& Report ZSORDER_PRO_STATUS
REPORT ZSORDER_PRO_STATUS.
Tables Declaration
tables : afpo, "Order item
aufk, "Order master data
afko, "Order header data PP orders
plaf, "Planned order
plpod, "I/O table for task list operations and network activities
s022, "SFIS: Order Operation Data for Work Center
vbap, "Sales Document: Item Data
vbak, "Sales Document: Header Data
kna1. "General Data in Customer Master
type-pools: slis, vsep.
Data Declaration
data :begin of i_vbak occurs 0,
vbeln like vbak-vbeln, "Sales Document
kunnr like vbak-kunnr, "Sold-to party
erdat like vbak-erdat, "Date on Which Record Was Created
audat like vbak-audat, "Document Date (Date Received/Sent)
aedat like vbak-aedat, "Changed On
vdatu like vbak-vdatu, "required delivery date
augru like vbak-augru, "Order reason (reason for the business transaction)
posnr like vbap-posnr, "Sales Document Item
vdatu
matnr like vbap-matnr, "Material Number
arktx like vbap-arktx, "Short text for sales order item
kwneng like vbap-kwmeng, "Cumulative Order Quantity in Sales Units
end of i_vbak.
types: begin of t_s022,
aufnr type s022-aufnr,
arbpl type s022-arbpl,
end of t_s022.
types: begin of t_afpo,
kdauf type afpo-kdauf,
posnr type afpo-posnr,
plnum type afpo-plnum, "Planned order number
aufnr type afpo-aufnr, "Order Number
kdauf type afpo-kdauf, "Sales order number
psmng type afpo-psmng, "Order item quantity
wemng type afpo-wemng, "Quantity of goods received for the order item
kdpos type afpo-kdpos,
matnr type afpo-matnr,
end of t_afpo.
types: begin of t_aufk,
aufnr type aufk-aufnr, "Order Number
astnr type aufk-astnr, "Order status
erdat type aufk-erdat, "Created on
aurgu type aufk-aurgu,
end of t_aufk.
types: begin of t_plaf,
aufnr type plaf-aufnr,
plnum type plaf-plnum,
psttr type plaf-psttr, "Order start date in planned order
gsmng type plaf-gsmng, "Total planned order quantity
end of t_plaf.
data: begin of i_plpod occurs 0,
matnr like afpo-matnr,
arbpl like plpod-arbpl,
istru like plpod-istru,
end of i_plpod.
data : begin of i_sclass occurs 0.
include structure sclass.
data : end of i_sclass.
data : wa_objek type ausp-objek.
data : begin of i_clobjdat occurs 0.
include structure clobjdat.
data : end of i_clobjdat.
data: begin of i_augru occurs 0,
vbeln like vbak-vbeln,
augru like vbak-augru,
kunnr like vbak-kunnr,
audat like vbak-audat,
end of i_augru.
types: begin of t_kunnr,
kunnr type kna1-kunnr,
name1 type kna1-name1,
end of t_kunnr.
types: begin of t_final,
vbeln type vbak-vbeln, "Sales Document
audat type vbak-audat, "Document Date (Date Received/Sent)
aedat type vbak-aedat, "Changed On
erdat type vbak-erdat, "Date on Which Record Was Created
kunnr type vbak-kunnr, "customer
vdatu type vbak-vdatu, "required delivery date
posnr type vbap-posnr, "Sales Document Item
plnum type afpo-plnum, "plane order no
psttr type plaf-psttr, "Order start date in planned order
gsmng type plaf-gsmng, "Total planned order quantity
aufnr type afko-aufnr, "Order Number
erdat1 type aufk-erdat, "Created on
matnr type vbap-matnr, "Material Number
arktx type vbap-arktx, "Short text for sales order item
kwmeng type vbap-kwmeng, "Cumulative Order Quantity in Sales Units
psmng type afpo-psmng, "Order item quantity
wemng type afpo-wemng, "Quantity of goods received for the order item
astnr type aufk-astnr, "Order status
ausp1 type clobjdat-ausp1, "Paper & Paperboard DIM1
ausp2 type clobjdat-ausp1, "Paper & Paperboard DIM2
matnr1 type afpo-matnr,
ups1 type clobjdat-ausp1, "ups
augru type vbak-augru, "new job/ Reprint
arbpl type s022-arbpl, " Michine details
mgr1 type clobjdat-ausp1, " mktg_acct_mgr1
end of t_final.
data: i_vbak type standard table of vbak,
i_vbap type standard table of vbap,
data: i_s022 type standard table of t_s022.
data: i_afpo type standard table of t_afpo,
i_aufk type standard table of t_aufk,
i_plaf type standard table of t_plaf,
i_final type standard table of t_final,
i_kunnr type standard table of t_kunnr.
data: wa_vbak type vbak,
wa_vbap type vbap,
data: wa_s022 type t_s022.
data: wa_afpo type t_afpo,
wa_aufk type t_aufk,
wa_plaf type t_plaf,
wa_final type t_final,
wa_kunnr type t_kunnr.
* For ALV
data: wrk_fieldcat type slis_t_fieldcat_alv,
wrk_repid like sy-repid,
wrk_layout type slis_layout_alv.
parameters and select-options
selection-screen begin of block b1 with frame title text-001.
select-options: s_vbeln for vbak-vbeln, "sales order
s_kunnr for vbak-kunnr, "Sold-to party
s_audat for vbak-audat. "Date on Which Record Was Created
selection-screen end of block b1.
start-of-selection.
select
vbak~vbeln
vbak~kunnr
vbak~erdat
vbak~audat
vbak~aedat
vbak~vdatu
vbap~posnr
vbap~matnr
vbap~arktx
vbap~kwmeng
into table i_vbak from vbak inner join vbap on vbakvbeln = vbapvbeln
where vbakvbeln in s_vbeln and vbakaudat in s_audat and vbak~kunnr in s_kunnr.
if i_vbak is not initial.
*select rmanr
posnr_rma
aufnr
from afko into table i_afko
for all entries in i_vbak
where rmanr = i_vbak-vbeln
and posnr_rma = i_vbak-posnr.
select kdauf
posnr
aufnr
plnum
kdauf
psmng
wemng
matnr
kdpos
from afpo into table i_afpo
for all entries in i_vbak
where kdauf = i_vbak-vbeln
and kdpos = i_vbak-posnr.
if sy-subrc = 0.
select plnum
psttr
gsmng
from plaf into table i_plaf
for all entries in i_afpo
where plnum = i_afpo-plnum.
if i_afpo is not initial.
select aufnr
astnr
erdat
from aufk into table i_aufk
for all entries in i_afpo
where aufnr = i_afpo-aufnr.
endif.
endif.
endif.
select vbeln augru
from vbak into table i_augru
where vbeln in s_vbeln and kunnr in s_kunnr and audat in s_audat
and augru = 'z01' or augru = 'z02'.
select aufnr arbpl from s022 into table i_s022 where aufnr = afpo-aufnr and arbpl like 'ptg%'.
*loop at i_vbak.&&&&
loop at i_vbak.
move-corresponding i_vbak to wa_final.
select single kunnr from vbak into wa_kunnr where vbeln = i_vbak-vbeln.
if sy-subrc eq 0.
select single name1 from kna1 into wa_final-kunnr where kunnr = i_vbak-kunnr.
endif.
*read table i_afko into wa_afko with key rmanr = i_vbak-vbeln.
*read table i_afko into wa_afko with key posnr_rma = i_vbak-posnr.
*if sy-subrc = 0.
*move-corresponding wa_afko to wa_final.
*endif.
read table i_afpo into wa_afpo with key kdauf = i_vbak-vbeln.
read table i_afpo into wa_afpo with key kdpos = i_vbak-posnr.
if sy-subrc = 0.
move-corresponding wa_afpo to wa_final.
move wa_afpo-matnr to wa_final-matnr1.
endif.
read table i_plaf into wa_plaf with key plnum = wa_afpo-plnum.
if sy-subrc = 0.
move-corresponding wa_plaf to wa_final.
endif.
read table i_aufk into wa_aufk with key aufnr = wa_afpo-aufnr.
if sy-subrc = 0.
move wa_aufk-astnr to wa_final-astnr.
move wa_aufk-erdat to wa_final-erdat1.
endif.
read table i_s022 into wa_s022 with key aufnr = wa_afpo-aufnr.
*read table i_s022 into wa_s022 with key arbpl like 'ptg%'.
if sy-subrc = 0.
move wa_s022-arbpl to wa_final-arbpl.
endif.
read table i_augru with key vbeln = i_vbak-vbeln.
if sy-subrc = 0.
move i_augru-augru to wa_final-augru.
endif.
refresh : i_clobjdat.
clear : i_clobjdat,
wa_objek.
wa_objek = wa_afpo-matnr.
call function 'CLAF_CLASSIFICATION_OF_OBJECTS'
exporting
class = ' '
classtext = 'X'
classtype = '001'
clint = 0
features = 'X'
language = sy-langu
object = wa_objek
objecttable = ' '
key_date = sy-datum
initial_charact = 'X'
NO_VALUE_DESCRIPT =
change_service_clf = 'X'
inherited_char = ' '
change_number = ' '
tables
t_class = i_sclass
t_objectdata = i_clobjdat
I_SEL_CHARACTERISTIC =
T_NO_AUTH_CHARACT =
exceptions
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
others = 4.
read table i_clobjdat with key atnam = 'PAPER_BOARD_DIM1'.
if sy-subrc eq 0.
if i_clobjdat-ausp1 ne '?'.
wa_final-ausp1 = i_clobjdat-ausp1.
endif.
endif.
read table i_clobjdat with key atnam = 'PAPER_BOARD_DIM2'.
if sy-subrc eq 0.
if i_clobjdat-ausp1 ne '?'.
wa_final-ausp2 = i_clobjdat-ausp1.
endif.
endif.
read table i_clobjdat with key atnam = 'UPS1'.
if sy-subrc eq 0.
if i_clobjdat-ausp1 ne '?'.
wa_final-ups1 = i_clobjdat-ausp1.
endif.
endif.
read table i_clobjdat with key atnam = 'MKTG_ACCT_MGR1'.
if sy-subrc eq 0.
if i_clobjdat-ausp1 ne '?'.
wa_final-mgr1 = i_clobjdat-ausp1.
endif.
endif.
if wa_final is not initial.
append wa_final to i_final.
endif.
endif.
endloop.
*endif.
*form display_alv .
data: wrk_fld type slis_fieldcat_alv.
refresh wrk_fieldcat.
clear wrk_fieldcat.
perform display_alv.
*& Form display_alv
text
--> p1 text
<-- p2 text
form display_alv .
data: wrk_fld type slis_fieldcat_alv.
refresh wrk_fieldcat.
clear wrk_fieldcat.
perform pc_fld using:
'AUDAT' text-003 'I_FINAL' ,
'VBELN' text-004 'I_FINAL' ,
'AEDAT' text-005 'I_FINAL' ,
'ERDAT' text-006 'I_FINAL' ,
'KUNNR' text-007 'I_FINAL' ,
'POSNR' text-008 'I_FINAL' ,
'VDATU' text-009 'I_FINAL' ,
'PLANUM' text-010 'I_FINAL' ,
'PSTTR' text-011 'I_FINAL' ,
'GSMNG' text-012 'I_FINAL' ,
'AUFNR' text-013 'I_FINAL' ,
'ERDAT1' text-014 'I_FINAL' ,
'MATNR' text-015 'I_FINAL' ,
'ARKTX' text-016 'I_FINAL' ,
'KWMNG' text-017 'I_FINAL' ,
'PSMNG' text-018 'I_FINAL' ,
'WEMNG' text-019 'I_FINAL' ,
'ASTNR' text-020 'I_FINAL' ,
'AUSP1' text-021 'I_FINAL' ,
'AUSP2' text-022 'I_FINAL' ,
'UPS1' text-023 'I_FINAL' ,
'AUGRU' text-024 'I_FINAL' ,
'ARBPL' text-025 'I_FINAL' ,
'MRG1' text-026 'I_FINAL' .
Layout Information.
wrk_layout-zebra = 'X'.
wrk_layout-colwidth_optimize = 'X'.
wrk_layout-expand_fieldname = 'X'.
wrk_repid = 'ZPPR_DESPACHE'.
Call ALV.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = wrk_repid
is_layout = wrk_layout
it_fieldcat = wrk_fieldcat
i_save = 'A'
tables
t_outtab = i_final[]
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " display_alv
*& Form pc_fld
text
-->P_1 text
-->P_1 text
-->P_0891 text
-->P_TEXT_C01 text
-->P_03 text
-->P_0894 text
-->P_IT_LEVEL text
form pc_fld using f d t .
data: wrk_fld type slis_fieldcat_alv.
wrk_fld-no_zero = 'X'.
if f eq 'SRNO'.
wrk_fld-key = 'X'.
endif.
wrk_fld-quantity = 'SHT'.
move f to wrk_fld-fieldname.
move d to : wrk_fld-seltext_l.
move t to wrk_fld-tabname.
append wrk_fld to wrk_fieldcat.
endform.Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]
-
I am trying to reload all the tabs from history, it's a couple thousand. I am not concerned about system RAM I have 16GB. I know it will be slow, I'm not looking for any warnings or questions about why I have to reload that many tabs or how to work with the restore.bak sessionstore files.
The question I need an answer to is, "What setting do I need to change so that when I reload multiple tabs, it doesn't say "connecting" on all of them even though I have already selected "Don't load tabs until selected"I think we both understand what you want. And we're both saying we are not aware of any built-in way to do this.
-
Looking for quick creation of a new contact during activity processing
We are looking for a quick way to create a new contact during the process of activity management. Once I have selected my business partner and then I search for a contact, if the contact I need does not exist yet there are several long involved ways to go create the new contact. Several people from SAP have alluded that there is an add button that should be available on the business partner central search window that comes up when you look for contacts but we have no add button. Does someone know if the add button becomes available later? We are on CRM 5.0 - has anyone customized a way to add a contact here without having to go into the account application relationship tab. We are coming off of Mobile Sales where there is a pop up window to add a contact. We need to replace this functionality.
Hello Pascale,
"Follow-up" button is present to enable a quick creation of follow up.
That is end user can just input those limited fields, and click on this button to create the document without going into the detail.
And at the same time, standard IC do provides another link to the detailed follow up documents to enable user add more detail.
The link "Follow-up Details" can realize such purpose and should be the one you are asking for.
The steps are:
- select the transaction type in the drop down;
- click on "Follow-up Details" link, this lead to another page of the detailed activity creating, only at this time the activity is being created;
- click on the Back button without save, you will return to the previous screen, and get the link in Activity Clipboard for future access;
Hope I have understood your requirement correctly!
Hongyan -
An exception occurred during planning process
Hi All,
We are working on Opportunity Planning. as part of it we have configured,planning area, planning level, BPS Lay out & planning profile in BI. This planning profile is assigned to relevant transaction type in CRM 7.0 system.
We have created opportunity with the transaction type for which we have assigned planning profile. when I select the planning in opportunity, I am getting the below message.
An exception occurred during planning process
Can any please let me know why this is happening and help me out in resolving the issue.
Thanks in advance for your reply
Regards,
JM.Hi JM,
please check trx. st22 and try to activate BSP_WD_EXCEPTION_DISPLAY in trx. saab.
Best regards,
Caíque Escaler -
"Errors Found During Burning Process"
Hi,
Having sucessfully burned AVI movies using iDVD in the past I have started getting errors. iDVD now does the same thing regardless of the movie i'm trying to burn and the media I use.
Having selected Best Quality (due to the film size), the menu rendering works fine, as does the prolonged job of encoding the video. When iDVD gets to the Audi encoding bit, just before it starts to burn the DVD itself, iDVD ejects the disc and states: Errors Found During Burning Process.
Clicking on the arrow to get more info it states: "The recording device reported the hardware error: Tracking servo failure. (0x09, 0x01.)" Bizarrely, the main iDVD progress window states both 'Cleaning Up' and 'Writing Lead-In' and the only way to get out if it is to force quit.
I've read a few posts on here and tried a couple of things such as trashing the plist file and reparing permissions. I also booted up the diagnostic disc to see if it could see a problem with the optical drive. But nothing has solved the problem.
Any ideas?
For reference, I'm running iDVD 5.0.1 on Tiger on a 1.8 G5 iMac with 1GB RAM.
Appreciate any help you can give me.
NeilColleagues:
Ran into the same error, # -34506. Definitely frustrating as I was burning a DVD of an iMovie that I'd spent many hours editing. The iMovie is only 30 miniutes in length, so I don't think it's a size issue. iDVD went through each one of it's steps in burn DVD sequence. However, 45 minutes later when processing is finished, the message reads: "Burning Finished, Errors were found during the burning process." Clicked to see the detail: "The error # -34506 was reported." Checked the DVD and nothing was burned!!! The same thing happens when I opt for disk image. No img file is produced. This is especially frustrating as it looks like it all but completed processing.
Does anyone know what Error # -34506 specifically indicates? How do you fix this? Does it only happen in a specific sequence? And, is Apple aware of the problem?
Thanks! -
After forgetting the password for my iPhone, I am trying to restore it through iTunes, however, during the process, the phone keeps turning on and asking for the password, thus canceling the process. Any advice?
Yes, you will still get the prompt.
I meant reset then try the recovery mode restore again.
You can also try DFU Mode.
DFU (Device Firmware Update) Mode is different than Recovery Mode.
DFU Mode is a special mode where the device can still interface with iTunes, yet it does not load the iBoot bootloader.
DFU Mode:
Plug your device into your computer.
Turn off the device.
Hold the Power button for 3 seconds
Hold the Home button without releasing the Power button for 10 seconds
Release the Power Button but keep holding the Home button
Keep holding the Home button until you are alerted by iTunes saying that it has detected a device in Recovery Mode
NOTE: Make sure the device screen is blank and no logos are present. Be patient, it make take several trys. -
So I am having a problem with one website that I frequent. It it much slower loading than other websites I visit. The progress bar seems to freeze for several seconds. Sometimes if I hit the x then the reload symbol the page loads right away. I have asked other people, it is a forum site, if they have had problems lately and nobody has experienced the slow loading problem I have. One person suggested clearing the history which I did. That didn't work so I researched the web and found a suggestion to delete the cache from the library and also clear history. I did that as well and nothing has improved. It only happens on this one site and has only started happening in the last two maybe three weeks.
Any suggestions on what else I could try? I do not want to use another browser to see if it works in another browser. It used to work fine but doesn't now. Just looking for other things I could try to resolve the issue.Start up in Recovery mode. In the OS X Utilities screen, select Get Help Online. A clean copy of Safari will launch. No plugins, such as Flash, will be available. While in Recovery, you'll have no access to your saved bookmarks or passwords, so make a note of those before you begin, if they're needed for the test.
Test. After testing, restart as usual and post the results.
Maybe you are looking for
-
Change Pointer while deleting a record
Hi everyone, My question is: Suppose that the change pointers have been enabled for cost center message type. The sender sent a set of cost center data to recx. Now one of those cost center records in sender is deleted; will that cost center in recx
-
Hello, Recently I came across a weird issues using sqlplus, SELECT statement when typed in uppercase using MAX() function says "table or view does not exists" e.g. SELECT MAX(COLUMN_NAME) FROM TABLE_NAME; When the above query typed with one lowercase
-
Upgrade 11.5.10.2 to 12.1.3 with 11gR2 DB
Hi, We have EBS 11.5.10.2 on AIX with 10.2.0.3 database. We want to migrate and upgrade it to EBS 12.1.3 with 11.2.0.3 database. I have done some steps as below:- 1) Enable Multi-org in 11i 2) Upgrade DB from 10.2.0.3 to 11.2.0.3 in 11i. (Refer Inter
-
UME to CUA(ABAP) user data replication for custim attribute.
Hi All, We have planned that Users will be created in portal and from there user data will flow to CUA(ABAP) and from CUA it will flow to r3,BW,CRM ..etc . I have configured the UME(portal) so that when ever I create user in Portal it flows to CUA (A
-
Is After Effects CS4 compatible with Mavericks?
Can't seem to find that info anywhere, which leads me to believe the answer is No...