Stop Import if condition is not set

Hi all,
I would like to check if content of the file I want to import is similar to POV selection.
To do thaht I created a BefImport script that read the first line of my file and check Period and Category POV with date and category values on my file.
It work well, an error is displayed but the import still continue and finish successfully.
What I want is to block that import, so user must change POV to correctly import his file.
You can find below the script I use. Could anyone tell me what I have to add to block import ?
Dim fso, fs, s, objFilePath
Dim InboxPath
Dim strCodeMois, strLibMois, strAnnee, strLibPeriode
Dim lngProcessType
Dim blnProcessState
Dim strProcessMsg
'************************ Initialisation **************************
'Initialisation des états de flux FDM
lngProcessType = 1 '(See enmProcessType)
blnProcessState = 0 'False = Process Failed, True = Process Complete
strProcessMsg = "Erreur a l'import"     'Text Message for the process
InboxPath = DW.Connection.PstrDirInbox & "\"
'********* Gestion avant import du ficher SILTIME-SOLEDAD *********
If strLoc = "SILTIME-SOLEDAD" Then
FilePath = InboxPath & strFile
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists(FilePath) Then
'*** Ouverture du fichier a importer ***
Set fs = fso.OpenTextFile(FilePath,1)
'*** Lecture de la deuxième ligne ***
fs.SkipLine
s = fs.ReadLine
'*** Récupération de la période ***
strCodeMois = Right(DW.Utilities.fParseString (s, 24, 1, ";"),2)
Select Case strCodeMois
Case "01" : strLibMois = "Jan"
Case "02" : strLibMois = "Fev"
Case "03" : strLibMois = "Mar"
Case "04" : strLibMois = "Avr"
Case "05" : strLibMois = "Mai"
Case "06" : strLibMois = "Jun"
Case "07" : strLibMois = "Jul"
Case "08" : strLibMois = "Aou"
Case "09" : strLibMois = "Sep"
Case "10" : strLibMois = "Oct"
Case "11" : strLibMois = "Nov"
Case "12" : strLibMois = "Dec"
Case Else : strLibMois = ""
End Select
strAnnee = Left(DW.Utilities.fParseString (s, 24, 1, ";"),4)
strLibPeriode = strLibMois & " - " & strAnnee
'*** Fermeture du fichier a importer ***
fs.Close
'*** Controle de la période du fichier avec la PERIOD du POV ***
If strLibPeriode <> strPer Then
'*** Erreur sur la période de chargement ***
RES.PlngActionType = 6
RES.PstrActionValue = "La période du fichier de chargement : " & strLibPeriode & " et le point de vue de chargement : " & RES.PstrPer &" doivent être identiques"
API.MaintenanceMgr.mProcessLog API.POVMgr.PPOVLocation, API.POVMgr.PPOVCategory, API.POVMgr.PPOVPeriod, CLng(2), CLng(False), CStr("Import cancelled"), Now()
Exit Sub
'*** Controle de la CATEGORIE du POV ***
ElseIf strCat <> "RM" Then
'*** Erreur sur la catégorie sélectionnée ***
RES.PlngActionType = 6
RES.PstrActionValue = "Le fichier SILTIME-SOLEDAD doit être chargé sur le scénario RM." & vbcrlf & "Veuillez sélectionner cette catégorie dans le Point De Vue."
API.MaintenanceMgr.mProcessLog API.POVMgr.PPOVLocation, API.POVMgr.PPOVCategory, API.POVMgr.PPOVPeriod, CLng(2), CLng(False), CStr("Import cancelled"), Now()
Exit Sub
End If
Else
RES.PlngActionType = 6
RES.PstrActionValue = "Le fichier est introuvable"
End If
End If
End Sub
Thank you in advance
Sébastien

Hi all,
I would like to check if content of the file I want to import is similar to POV selection.
To do thaht I created a BefImport script that read the first line of my file and check Period and Category POV with date and category values on my file.
It work well, an error is displayed but the import still continue and finish successfully.
What I want is to block that import, so user must change POV to correctly import his file.
You can find below the script I use. Could anyone tell me what I have to add to block import ?
Dim fso, fs, s, objFilePath
Dim InboxPath
Dim strCodeMois, strLibMois, strAnnee, strLibPeriode
Dim lngProcessType
Dim blnProcessState
Dim strProcessMsg
'************************ Initialisation **************************
'Initialisation des états de flux FDM
lngProcessType = 1 '(See enmProcessType)
blnProcessState = 0 'False = Process Failed, True = Process Complete
strProcessMsg = "Erreur a l'import"     'Text Message for the process
InboxPath = DW.Connection.PstrDirInbox & "\"
'********* Gestion avant import du ficher SILTIME-SOLEDAD *********
If strLoc = "SILTIME-SOLEDAD" Then
FilePath = InboxPath & strFile
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists(FilePath) Then
'*** Ouverture du fichier a importer ***
Set fs = fso.OpenTextFile(FilePath,1)
'*** Lecture de la deuxième ligne ***
fs.SkipLine
s = fs.ReadLine
'*** Récupération de la période ***
strCodeMois = Right(DW.Utilities.fParseString (s, 24, 1, ";"),2)
Select Case strCodeMois
Case "01" : strLibMois = "Jan"
Case "02" : strLibMois = "Fev"
Case "03" : strLibMois = "Mar"
Case "04" : strLibMois = "Avr"
Case "05" : strLibMois = "Mai"
Case "06" : strLibMois = "Jun"
Case "07" : strLibMois = "Jul"
Case "08" : strLibMois = "Aou"
Case "09" : strLibMois = "Sep"
Case "10" : strLibMois = "Oct"
Case "11" : strLibMois = "Nov"
Case "12" : strLibMois = "Dec"
Case Else : strLibMois = ""
End Select
strAnnee = Left(DW.Utilities.fParseString (s, 24, 1, ";"),4)
strLibPeriode = strLibMois & " - " & strAnnee
'*** Fermeture du fichier a importer ***
fs.Close
'*** Controle de la période du fichier avec la PERIOD du POV ***
If strLibPeriode <> strPer Then
'*** Erreur sur la période de chargement ***
RES.PlngActionType = 6
RES.PstrActionValue = "La période du fichier de chargement : " & strLibPeriode & " et le point de vue de chargement : " & RES.PstrPer &" doivent être identiques"
API.MaintenanceMgr.mProcessLog API.POVMgr.PPOVLocation, API.POVMgr.PPOVCategory, API.POVMgr.PPOVPeriod, CLng(2), CLng(False), CStr("Import cancelled"), Now()
Exit Sub
'*** Controle de la CATEGORIE du POV ***
ElseIf strCat <> "RM" Then
'*** Erreur sur la catégorie sélectionnée ***
RES.PlngActionType = 6
RES.PstrActionValue = "Le fichier SILTIME-SOLEDAD doit être chargé sur le scénario RM." & vbcrlf & "Veuillez sélectionner cette catégorie dans le Point De Vue."
API.MaintenanceMgr.mProcessLog API.POVMgr.PPOVLocation, API.POVMgr.PPOVCategory, API.POVMgr.PPOVPeriod, CLng(2), CLng(False), CStr("Import cancelled"), Now()
Exit Sub
End If
Else
RES.PlngActionType = 6
RES.PstrActionValue = "Le fichier est introuvable"
End If
End If
End Sub
Thank you in advance
Sébastien

Similar Messages

  • On my Macbookpro computer when I import a photo to LR, the photos import two stops overexposed. I have not done anything to set up the import process. Freshly installed LR from CC

    I just downloaded LR 5.7 on my new MacBookPro computer. I did not set up any presets or anything at all, for that matter. When I import a photo, it changes in exposure automatically. Two stops overexposed!! I never had that issue with my other LR programs on Dell.
    any advice?

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • PSE 11 editor has stopped importing from scanner, no longer permits drag and drop, will not permit cropping, and other bizarre issues

    Windows 8.1, PSE 11
    I am having a number of issues including loss of import functionality from scanner, I can't drag and drop photos into the editor any more as well, or at least not after the first one. The crop function stops working after the first couple of photos.  Then some freezing.  A little added crashing.  A plethora of other bizarre issues as well.  This just stated happening a couple of days ago. 
    What I have tried:
    Uninstall/Install. 
    Deleted preferences both before opening Editor (crontrol-alt-delete) and after opening it. 
    Kindly advise.  Thanks!
    Adobe Photoshop Elements Version: 11.0 (11.0 (20120830.r.32025)) x32
    Operating System: Windows 8 64-bit
    Version: 6.2
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 8
    Processor speed: 3500 MHz
    Built-in memory: 8139 MB
    Free memory: 5185 MB
    Memory available to Photoshop Elements: 3255 MB
    Memory used by Photoshop Elements: 70 %
    Image tile size: 128K
    Image cache levels: 6
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1440, right: 2560
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 660 Ti
    Driver Version: 9.18.13.3750
    Driver Date: 20140327000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 2560 x 1440 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 660 Ti
    Video Card Memory: -2047 MB
    Application folder: C:\Program Files (x86)\Adobe\Photoshop Elements 11\
    Temporary file path: C:\Users\evan\AppData\Local\Temp\
    Photoshop Elements scratch has async I/O enabled
    Scratch volume(s):
      Startup, 931.2G, 805.4G free
    Required Plug-ins folder: C:\Program Files (x86)\Adobe\Photoshop Elements 11\Required\
    Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Photoshop Elements 11\Plug-Ins\
    Additional Plug-ins folder: not set
    Installed components:
       ACE.dll   ACE 2011/03/29-16:11:44   63.457850   63.457850
       adbeape.dll   Adobe APE 2011/01/17-12:03:36   64.452786   64.452786
       AdobeLinguistic.dll   Adobe Linguisitc Library   5.0.0  
       AdobeOwl.dll   Adobe Owl 2012/06/20-18:39:56   4.1.9   78.509892
       AdobeOwlCanvas.dll   Adobe Owl Canvas   3.0.68   61.2954
       AdobePDFL.dll   PDFL 2011/03/29-16:11:44   63.378681   63.378681
       AdobePIP.dll   Adobe Product Improvement Program   6.0.0.1654  
       AdobeXMP.dll   Adobe XMP Core 2010/10/12-08:45:30   63.139439   63.139439
       AdobeXMPFiles.dll   Adobe XMP Files   5.0   61.134777
       adobe_caps.dll   Adobe CAPS   4,0,42,0  
       Adobe_OOBE_Launcher.dll   Adobe OOBE Launcher   2.2.0.4 (BuildVersion: 2.2; BuildDate: Wed Apr 27 2011 21:49:00)   1.000000
       AGM.dll   AGM 2011/03/29-16:11:44   63.457850   63.457850
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56  
       aif_core.dll   AIF   3.0   1.486530
       aif_ogl.dll   AIF   3.0   1.486530
       amtlib.dll   AMTLib   4.2.0.4 (BuildVersion: 4.2; BuildDate: Wed Apr 27 2011 21:49:00)   1.000000
       amtservices.dll   AMTServices   4.2.0.4 (BuildVersion: 4.2; BuildDate: Wed Apr 27 2011 21:49:00)   1.000000
       ARE.dll   ARE 2011/03/29-16:11:44   63.457850   63.457850
       asneu.dll    AsnEndUser Dynamic Link Library   1, 7, 0, 1  
       AXE8SharedExpat.dll   AXE8SharedExpat   3.3   49.279053
       AXEDOMCore.dll   AXEDOMCore   3.3   49.279053
       AXSLE.dll   AXSLE   3.3   49.279053
       Bib.dll   BIB 2011/03/29-16:11:44   63.457850   63.457850
       BIBUtils.dll   BIBUtils 2011/03/29-16:11:44   63.457850   63.457850
       boost_threads.dll   DVA Product   5.0.0  
       cg.dll   NVIDIA Cg Runtime   2.0.0015  
       cgGL.dll   NVIDIA Cg Runtime   2.0.0015  
       CoolType.dll   CoolType 2011/03/29-16:11:44   63.457850   63.457850
       data_flow.dll   AIF   3.0   1.486530
       dvaadameve.dll   DVA Product   5.0.0  
       dvacore.dll   DVA Product   5.0.0  
       dvaui.dll   DVA Product   5.0.0  
       ems.dll   Elements Organizer   11.0  
       ExtendScript.dll   ExtendScript 2010/03/05-08:21:15   61.423205   61.423205
       FaceDetector.dll   FaceDetector 0000/00/00-00:00:00   2.0.1.1   2.0.1.1
       FileInfo.dll   Adobe XMP FileInfo   5.0   61.134777
       filter_graph.dll   AIF   3.0   1.486530
       hydra_filters.dll   AIF   3.0   1.486530
       icucnv36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       icudt36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       image_compiler.dll   AIF   3.0   1.486530
       image_flow.dll   AIF   3.0   1.486530
       image_runtime.dll   AIF   3.0   1.486530
       JP2KLib.dll   JP2KLib 2011/03/29-16:11:44   63.196876   63.196876
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1640  
       MPS.dll   MPS 2011/05/24-09:45:42   63.464027   63.464027
       MSVCP100.dll   Microsoft® Visual Studio® 2010   10.00.30319.1  
       MSVCP71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       MSVCR100.dll   Microsoft® Visual Studio® 2010   10.00.30319.1  
       MSVCR71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop Elements Editor   11.0  
       platform.DLL   Adobe Help System   1, 0, 0, 1  
       Plugin.dll   Adobe Photoshop Elements Editor   11.0  
       PSArt.dll   Adobe Photoshop Elements Editor   11.0  
       PSViews.dll   Adobe Photoshop Elements Editor   11.0  
       ScCore.dll   ScCore 2010/03/05-08:21:15   61.423205   61.423205
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System   5.50.4027.300  
       Tbb.dll   Intel(R) Threading Building Blocks for Windows   2, 2, 2009, 1011  
       updaternotifications.dll   Adobe Updater Notifications Library   2.0.0.15 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   2.0.0.15
       WRServices.dll   WRServices Thursday January 21 2010 12:13:3   Build 0.11423   0.11423
    Required plug-ins:
       Accented Edges 12.0
       ADM 3.11x01
       Angled Strokes 12.0
       Auto Divide 11.0.0.0 (11.0 (20120830.r.32025))
       Average 12.0.2
       Bas Relief 12.0
       BMP 12.0.2
       Camera Raw 7.4
       Chalk & Charcoal 12.0
       Charcoal 12.0
       Chrome 12.0
       Clouds 12.0.2
       Color Halftone 12.0.2
       Color Variations 12.0.4 (12.0.4x001)
       Colored Pencil 12.0
       Comic NO VERSION
       CompuServe GIF 12.0.2
       Conté Crayon 12.0
       Correct Camera Distortion 12.0.2
       Craquelure 12.0
       Crop and Straighten Photos Filter 12.0.2
       Crosshatch 12.0
       Crystallize 12.0.2
       Cutout 12.0
       Dark Strokes 12.0
       Difference Clouds 12.0.2
       Diffuse Glow 12.0
       Displace 12.0.2
       Dry Brush 12.0
       Extrude 12.0.2
       FastCore Routines 12.0.4 (12.0.4x001)
       Fibers 12.0.2
       Film Grain 12.0
       Filter Gallery 12.0
       Fresco 12.0
       Glass 12.0
       Glowing Edges 12.0
       Grain 12.0
       Graphic Novel NO VERSION
       Graphic Pen 12.0
       Halftone Pattern 12.0
       Ink Outlines 12.0
       Lens Blur 12.0
       Lens Flare 12.0.2
       Lighting Effects 12.0.4 (12.0.4x001)
       Liquify 12.0.1
       Matlab Operation 12.0.4 (12.0.4x001)
       Mezzotint 12.0.2
       MMXCore Routines 12.0.4 (12.0.4x001)
       Mosaic Tiles 12.0
       Multiprocessor Support 12.0.4 (12.0.4x001)
       Neon Glow 12.0
       Note Paper 12.0
       Ocean Ripple 12.0
       OnEdge 1, 0, 0, 1
       Paint Daubs 12.0
       Palette Knife 12.0
       Patchwork 12.0
       Pen and Ink NO VERSION
       Photocopy 12.0
       Picture Package Filter 12.0.4 (12.0.4x001)
       Pinch 12.0.2
       Pixar 12.0.4 (12.0.4x001)
       Plaster 12.0
       Plastic Wrap 12.0
       PNG 12.0.2
       Pointillize 12.0.2
       Polar Coordinates 12.0.2
       Polar Coordinates 12.0.4 (12.0.4x001)
       Poster Edges 12.0
       Radial Blur 12.0.2
       Read Watermark 4.0
       Reticulation 12.0
       Ripple 12.0.2
       Rough Pastels 12.0
       Save for Web & Devices 12.0
       ScriptingSupport 12.0.4
       Shear 12.0.2
       Smart Blur 12.0.2
       Smudge Stick 12.0
       Solarize 12.0.2
       Spatter 12.0
       Spherize 12.0.2
       Sponge 12.0
       Sprayed Strokes 12.0
       Stained Glass 12.0
       Stamp 12.0
       Straighten and Crop Image 12.0.4 (12.0.4x001)
       Straighten Image 12.0.4 (12.0.4x001)
       Sumi-e 12.0
       Texture Fill 12.0.4 (12.0.4x001)
       TextureSelect 12.0.4 (12.0.4x001)
       Texturizer 12.0
       Tiles 12.0.2
       Torn Edges 12.0
       Twirl 12.0.2
       Underpainting 12.0
       Water Paper 12.0
       Watercolor 12.0
       Wave 12.0.2
       WIA Support 12.0.4 (12.0.4x001)
       Wind 12.0.2
       ZigZag 12.0.2
    Optional and third party plug-ins:
       Frame From Video 6.0
       Magic Extractor 12.0.4 (12.0.4x001)
       PhotomergeUI 12.0.4 (12.0.4x001)
    Plug-ins that failed to load: NONE
    Installed TWAIN devices: NONE

    Final Update: ...god willing...
    OK! Check it, like I said in previous posts I seemed to have narrowed it down to specific mp3s not converting and playing in their native sample rate which if paired with another sample would give you the "audio midi sync" error and basically screw up your clock! It appears mp3 files converting to mp3 using iTunes would not convert to the correct sample rate if set to something other than 44 in logic and cause this. A tad peculiar Apple iTunes won't work with Apple Logic. I was able to confirm this on two mac's via my friend in Florida. He's running Tiger and tried the same experiment and Booya! Mickey Mouse! It appears this insane week long adventure has came to an end (...god willing) with a super specific unlucky shot in the dark on my part finally revealed to be an perfectly normal function of Logic (obviously one i'm not fond of..) As far as the errors / crashes / system overloads / kernal panics I think I can sort those out to the mackie onyx satellite not being a good choice and trying to add and remove firewire devices in the middle of the sample rate mayhem. Wow! all I can say is, I'm glad it's over
    Wish me a lot of luck in the future.. I'm sure i'll need it!

  • Object reference not set to an instance of an object error with Import data

    Hi Experts,
    We are using BPC 7.5M with SQL Server 2008 in Multiserver environment, I am getting an error "Object reference not set to an instance of an object." while running Import data package, earlier we use to get this error sometime(once in a month) but it goes away if we reboot the application server but this time I have rebotted the Application server multiple times but still getting the same error.
    Please Advice.
    Thanks & Regards,
    Rohit

    Hi Rohit,
    please see the sap note 1615837, maybe this help you.
    Best regards
    Roberto Vidotti

  • Import of photos is not working. Moreover 'photos' app is not getting closed, it says 'closing all libraries'. Even it is stopping shutdown/restart of my mac.

    Import of photos is not working. Moreover 'photos' app is not getting closed, it says 'closing all libraries'. Even it is stopping shutdown/restart of my mac.

    Next time you open the photos application hold down both of the keys suggested and then launch the application in the usual way. If you do this you will be presented with the opportunity to repair your library.

  • On iphoto my stop import is not working and the force quit does not work either

    please help - the stop import and force quit on iphoto both not working. thx!

    This happened to me today on the iPad; I put in the password 4 or 5 times. I began to think my account had been hacked. I tried again on my iPhone and it worked first time. Then I tried again on the iPad and same thing—worked first time. Maybe just a temporary glitch in the server?
    Michael

  • MFL: The dependency is not configured in schema resource. Possible reason one or more import/include is not set   correctly.

    HI Friends,
    I have a created a MFL to transform XML to Non XML format. When am generating a XSD out of this MFL am getting this Error:
    The dependency is not configured in schema resource. Possible reason one or more import/include is not set
    correctly.
    Here is the snippet of the XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl"/>........
    Later Part i have searched for mfl.xsd in com.bea.wli.core.mflengine_1.x.x.x.jar in my.........../Oracle_OSB1/modules  and imorted this XSD into my eclipse workspace.
    Then i added the schemalocation attribute to the Import element. which looks something like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl" schemaLocation="../../mfl.xsd" />......
    After doing these changes also am getting the same error... can anyone help me out of this????

    Hi Arun,
    Also in SB console we can refer xsds from other projects but again OEPE doesnt seem to support that we will have to make duplicate copies of the resources in each project.It is not like that if you are using OEPE then you can not refer resources from other projects. Just what you need to do is that give relative path of the resource which is there in the file system. It does not matter that to which project it belongs. Yes, now with OEPE, you have to do this manually.
    Regards,
    Anuj

  • Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on .25. its a spreadsheet i imported from excel.

    Can someone help me change the line width of my numbers table, its not set to thin or none and its stuck on pt25. its a spreadsheet i imported from excel.

    MR,
    Apparently the import wasn't a good one.
    The best option at this point might be to start a new table. Insert a new Table, Copy the old table cell range, select the first cell in the new table and Edit > Paste and Match Style. This will throw out all the old formatting. A bit of work, but a nice clean start.
    Jerry

  • Condition record exist but not set in SO

    Hi SDN Team,
    I have a problem.  Where in the sales order for the Discount condition type condition record where already exist in diffferent validity period.
    EG
    ZAJ1 discount condition type - with the same key combination with different valididity period
    EG:
    ZAJ1 - 27.01.2009 to 15.02.2009
    ZAJ1 - 16-02-2009 to 15-03-2009
    The reason is not set for the ZAJ1 condition in the Sales Order is due to the sales order was created before the pricing condition record validity datet.  Sales order where created on 11.02.2009.  But the condition record where valid from 16.02.2009  that is the reason the condition record was not set in the sales order.
    Based on this explanation user agreed and the call was closed. 
    I have also explained Where ZAJ1 has condition record. but which is not set in the document. if pricing was carried out again it will set the condition for the item.
    But now again the call was reopened stating that -
    At the time of creating the sales order the ZAJ1Condition record exist in the period 27-01-2009 to 15-02-2009. now the primary rebate should be used by the system. Unfortunately it did not.
    Based on the reopend call - i have further investigated the issue but i could not find the root cause.
    Based on this when i checked the previous order where the ZAJ1 condition was well picked up with the validity period 27-01-2009 to 15-02-2009, what might be the reason the condition type was not picked up in the sales order?
    Can you please let me know with your expertise in solving this issue.
    Regards,
    J

    1)Requirement is set with 2 (itme with pricing). and calculation type is assigned with own calculation type.
    2) In the pricing analysis - it shows as per below
    This message tells you that the condition record exists, but has not been set in the document. If pricing was carried out again for the document item, then the condition would be set.
    There are different reasons for this:
    The condition was deleted manually in the item condition screen.
    The condition record was created later. Please note that order processing and pricing have buffer mechanisms. This means that a newly added condition record might only be found after order processing has been left completely and then started again.
    If the condition type is used for subsequent settlement (rebate), there may be subsequent updating of business volume (the agreement is is created retrospectively). The document conditions do not contain the condition record, as the condition record was not created when pricing was carried out. Updating of business volume is carried out using special functions for subsequent settlement.
    When an item was added, the condition record was accessed with key fields other than change time. This could lead to different results in the requirements check at the time of adding and the change time. This can occur when modifications are made.
    In billing (or when copying orders): Certain condition types were not determined in the source document (this is usually controlled by the pricing requirements). When creating the document, the document flow (TVCPF,TVCPA) is processed using a pricing type that does not redetermine these condition types, although they are supposed to be called via the requirements.
    Thanks,
    J

  • Importing existing worksheet yields "Object variable or With Block variable not set" error

    There is not much more to say.  I try to import the worksheet, but it gives that error.  I do not see anywhere I can enter VAB either.  FYI, I am working with SharePoint 2007 but there was no forum for that.

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • Variable not set (error 91)/Error during import (error 102)/execut bat file

    We are on BO 11.5.0.0 and using the COM SDK with Visual Basic to run multiple reports (sometimes multiple flavors of the same report) through a bat file.
    If we run the reports single-threaded through the bat file, the reports run fine.  However, if multiple versions of the bat file start at approximately the same time, we get one of two errors:
    91 Object variable or With block variable not set
    102 Error during import document -
    Here's the part of the code with the problem:
    Dim BOapp As busobj.Application
    Dim receiveDoc As busobj.Document
    Set BOapp = New busobj.Application
    BOapp.Interactive = False
    BOapp.Logon strUser, strPass, strFromSystem, "Enterprise", False, False
    BOapp.Visible = False
    Set receiveDoc = BOapp.Documents.OpenFromEnterprise(strFromRep, strFromFolder, boFolder)
    receiveDoc.SaveAs (strDocumentPath & strFromRep & ".REP")
    Values for the following variables are passed in from the bat file:
    strUser
    strPass
    strFromSystem
    strFromRep
    strFromFolder
    strDocumentPath
    If it fails on the OpenFromEnterprise statement, we get the 102 error.
    If it fails on the SaveAs statement, we get the 91 error.
    Running it through debug hasn't helped, since we are running only one report.
    Any thoughts on what could be going wrong?
    Thanks in advance

    I have tried this running the VB code on my desktop (outside of the bat file) and nothing out of the ordinary occurs.  The VB code runs fine with only one occurrence.
    I had seen on other posts "ThisDocument" and didn't know if it would be applicable in this situation.  I also wasn't sure how it should be used based on the rest of my code.  Would "ThisDocument" make a difference?
    Thanks again

  • Iphoto 11 is frozen on finishing import.  Stop import does not work.  How do I fix this?

    I tried to import photos by dragging a group of them to an album and the import started, but does not finish.  When I press stop import, it does not respond. How do I fix this?  I think that it happened with iphone pictures, but could have been a SD card from my camera, and I ejected it before it finished since I could not get the import to work or stop.

    Force Quit the app - it's under the Apple menu.

  • I have a macbook with Iphoto 8.1.2. How do I get it to stop importing duplicates even after I checkbox tell it not to.

    I have a macbook with Iphoto 8.1.2. How do I get it to stop importing duplicates even after I checkbox tell it not to.

    How do I get it to stop importing duplicates even after I checkbox tell it not to.
    That checkmark will only prevent iPhoto from importing exact duplicates - the exact filename, image format, exactly the same size,
    What kind of duplicates are you asking about? Have the files been renamed or converted in any way?

  • I have had apple products now for apron 7 years BUT have never been able to make the bluetooth work , not even when 2 products i.e. : phone and iPod are in the same room. So i stopped trying but would like to set it up between my iMac and i

    hi can anyone help please ? i have had apple products now for apron 7 years BUT have never been able to make the bluetooth work , not even when 2 products i.e. : phone and iPod are in the same room. So i stopped trying but would like to set it up between my iMac and iphone / ipad but can't get it to work, they say discoverable but just will not connect to one another. I also tried the connection code and tried without one ... NO JOY ... Is this common or am i a twit ?

    You can't connect an iPhone or iPad to a Mac via Bluetooth, except for Internet tethering.
    You're not doing anything wrong - it just isn't a feature of iOS devices.
    What were you hoping a Bluetooth connection would allow you to do?

  • Import pricing Conditions JEDB,JSEC not appearing in M/06

    Dear Friend,
    Import pricing Conditions JEDB,JSEC not appearing in M/06. We need them for Cess & HEcess on Customs duty.
    May I know how to create them or do we need to activate them?
    Appreciate your early response.
    Kishore

    Hi,
    You have to cretate following conditions & they are copied from as follows
    Ref     JCV1     IN CVD
    From above condition create following two conditions:      
                         JECV     ECess on IN CVD
         J1CV     H&SECess on CVD
    Ref     JCDB     IN Basic customs
    From above condition create following two conditions:      
         JEDB     ustoms Edu Cess
         JSDB     Custom H&SE ED Cess
         JADC     Add. Customs Duty
    Maintain these conditions in MEK1
    Through this way your problem is solved.

Maybe you are looking for

  • Internal hard drive failed - install Mac OS X on external firewire?

    Hi, hope someone can help me. The other day my internal hard drive in my MacBook started to click. I did a hardware test, and the drive now doesn't show up at all, either in the test or when I go to install Mac OS X. Is it possible to buy an external

  • How do I keep the action created in Flash (.fla) the same when published in .swf or .html?

    I created a complex fixed line and a bird flying on the line using tweens from point A to B to C.  When I view the birdline in play or by scrubbing across them in the layers mode, the bird follows the line just as designed.  When I test the birdline

  • How to come out of standard transaction after giving error message

    Hi Experts,     I have one requirement like i need to validate a field in standard transaction ME21N. If user enters wrong value then i have to give error message and leave the transaction ME21N immediately. If i do the code with error message then i

  • App or "button" to delete all currently open apps

    I was wandering if there was an app or button that we could press to delete all of the open apps in the background rather than having to press them one at a time. I am sure this is an Apple software development issue but wandered if anyone has any id

  • Boolean error

    create or replace TYPE NUMTABLE AS TABLE OF INTEGER; i've a function in EQUIP_PKG package FUNCTION Exists_In_Numtable (p_target NUMBER, p_list NUMTABLE) RETURN boolean IS v_found boolean := FALSE; BEGIN FOR i IN p_list.FIRST .. p_list.LAST LOOP IF p_