COM object model not functioning after encrypting the word document using office extention

     After encrypting A word document using office extention, it seems like the COM object model becomes unusable. I cannot not manipulate the encrypt document through COM interface, nor can I write macro VBScript to do some operation on the docuent.
     For example, I create a word Macro with some simple code.
Sub hi()
    Dim i As Integer
    i = ThisDocument.Fields.Count
    MsgBox i   
End Sub
     If the document is not encrypt, then we will see a msgbox which tells us the number of bookmarks in the current document.
     Now, encrypt the word document using the office extention, running the macro code will fail with error code " 80004005" and error message:Method 'Fields' of bject 'ThisDocument' failed.
It is very important for us to manipulate word documents through COM interface in our system, I want to know why the COM interface does not work anymore after the document is encrypted.

I take macro script as an example to demonstrate that word COM object model cannot be used after encripted. Actually you can reproduce the same problem when you manipulate word document through COM interface using any programming language.
For example, you can create a text document  with the following VBscript:
set a = createobject("Word.Application")
set doc = a.Documents.Open("E:\temp\test.docx")
msgbox doc.Fields.count
doc.close
a.quit
Save the document with ".vbs" file extention and then run it by double clicking it. it will fail if the document is encrypted using the office extention. 

Similar Messages

  • Personal Domain not function after Move the Domain (iWeb) to a New Mac

    Hey,
    I recently move my iWeb Domain to a new Macbook Pro..after Published the iWeb...the message window shown visit the website as web.me.com/xxx instead www.xxx.com
    Why?
    i try to reset the personal domain in MobileMe ,remove it and add it again...now re-published...the same result...and when click on Visit...the URL shown web.me.com/xxx instead www.xxx.com
    Any problem here?help me please...thanks

    All right now...
    I Delete the iWeb.plist (UserID-Library-Preferences-com.apple.iweb.plist) and re-publish it again...Now...huh...No Problem at all...
    cheers

  • Material list   not showing after saving the sales document

    Hi
    any body can give the answer  for this question : AFTER SAVING THE SALES ORDER MATERIAL LIST IS NOT SHOWING . Thanks in advance

    Hi,
    Go to Menu EDIT >> DISPLAY RANGE >> ALL ITEMS
    Also set it on sales order document type in VOV8
    Display Range -  UALL
    Kapil

  • Profit center document not generated after creating the billing document

    Hi,
    I have few billing document for which the accounting document is created, but no profit center document got generated. What could be the reason? The profit center is captured at the account assignment tab of sales order as well as at the item level of Invoice and in accouting document too. The only problem is it has not generated the "Profit center document".  Pl help. Thanks in advance.

    Hi
    When you save the billing document then the accounting document and Controlling document gets generated.
    A profit center gets captured and it can be used when we check the accounting  document. But make sure that for the G/L accounts profit center is assigned and in your controlling area details  also profit center is checked.While configuring controlling then the profit center should also be assigned . to the G/L accounts .So kindly check with the help of your FICO consultant wheather proper assignment has been done or not
    Regards
    Srinath

  • HT2292 Phone indicates connection to itunes on screen, will not function, after rebooting the itunes connection screen is still there.

    While downloading update, itune connection screen will not go away, phone will not work even after rebooting with itunes connection screen reappearing

    Your iPhone is in recoverty mode at the moment so to possibly get it back up and running you would need to do a restore as you have been trying. Follow the steps in the article below for the specific error messages you have been receiving. If after following all steps the issue remains book an appointment at a local Apple Retail Store to have the iPhone evaluated.
    Resolve specific iTunes update and restore errors

  • Why is the scroll function not working after accessing the voice feature in settings?

    Why is the scroll function not working after accessing the voice feature in settings?

    For some prerecorded audio files the Transpose slider will not work reliably. I found no clear pattern, when it does and when not.
    If all fails, create a loop from the audio file. Select the region in the track and use the command "File: Add region to Loop library".
    Set the current key and tempo, name the loop, and save the loop.
    Now add it from the loop browser to a new track and delete your old track. The search field in the Loop browser will help you to find the loop quickly.
    You will be able to transpose the sample as described above, like a regular loop.
    For example - a audio file turned into a loop and transposed:

  • Firewire does not function after uninstalling macfuse and an out of date version of NTFS32 and then installed latest version of Tuxera NTFS for Mac.

    I purchased a 3TB HDD (WD USB 3.0 $100) to replace the 2TB Seagate for a new Time Machine HDD. The 2B was full and backups were deleting older files. The 3TB was formatted NTFS and I want to "recover" the included SW before I reformatted the HDD for the iMac. I discovered that MacFuse was out of date and unsupported and my NTFS-32 was also out of date so I uninstalled both and then installed the most recent version of Tuxera NTFS for Mac. I rebooted and discovered that the FW800 port was unresponsive. Below is the EtreCheck report:
    Problem description:
    Firewire does not function after uninstalling macfuse and an out of date version of NTFS32 and then installed Tuxera NTFS for Mac.
    EtreCheck version: 2.0.8 (95)
    Report generated October 30, 2014 7:11:17 PM EDT
    Hardware Information: ℹ️
      iMac (24-inch Mid 2007) (Verified)
      iMac - model: iMac7,1
      1 2.8 GHz Intel Core 2 Duo CPU: 2-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR2 SDRAM 667 MHz ok
      BANK 1/DIMM1
      2 GB DDR2 SDRAM 667 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      ATI,RadeonHD2600 - VRAM: 256 MB
      iMac 1920 x 1200
    System Software: ℹ️
      OS X 10.8.5 (12F45) - Uptime: 0:17:34
    Disk Information: ℹ️
      WDC WD5000AAKS-40TMA0 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      disk0s1 (disk0s1) <not mounted> : 210 MB
      ML 10.8 (disk0s2) /  [Startup]: 499.25 GB (20.92 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Computer, Inc. IR Receiver
      Logitech USB Receiver
      Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/Hardware Monitor ƒ/HardwareMonitor.app
      [loaded] com.bresink.driver.BRESINKx86Monitoring (7.0) Support
      /Applications/Parallels Desktop.app
      [not loaded] com.parallels.kext.hidhook (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.hypervisor (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.netbridge (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.usbconnect (8.0 18615.948847) Support
      [not loaded] com.parallels.kext.vnic (8.0 18615.948847) Support
      /Applications/Toast Titanium v11.1/Spin Doctor.app
      [not loaded] com.hzsystems.terminus.driver (4) Support
      /Applications/Toast Titanium/Toast Titanium v11.1 (1072).app
      [not loaded] com.roxio.TDIXController (2.0) Support
      /Library/Application Support/Symantec/AntiVirus
      [loaded] com.symantec.kext.SymAPComm (12.2f1 - SDK 10.6) Support
      /System/Library/Extensions
      [loaded] com.Logitech.Control Center.HID Driver (3.9.0 - SDK 10.6) Support
      [loaded] com.eltima.ElmediaPlayer.kext (1.58 - SDK 10.4) Support
      [not loaded] com.hzsystems.driver.CDSDAudioCaptureSupport (1.5) Support
      [not loaded] com.increw.kext.speedit (0.32) Support
      [loaded] com.logitech.manager.kernel.driver (4.10.0 - SDK 10.8) Support
      [not loaded] com.olympus.CamBlockCommandsDevice (2.0.0) Support
      [not loaded] com.olympus.CamBlockCommandsDeviceUP (2.0.0) Support
      [not loaded] com.palm.ClassicNotSeizeDriver (3.2.1) Support
      [not loaded] com.roxio.BluRaySupport (1.1.6) Support
      [not loaded] com.seagate.driver.PowSecDriverCore (5.1.1) Support
      [loaded] com.symantec.kext.internetSecurity (5.2f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ips (3.5f1 - SDK 10.6) Support
      [loaded] com.symantec.kext.ndcengine (1.0f1 - SDK 10.6) Support
      [loaded] com.taoeffect.ispy.kext (2.0.2 - SDK 10.2) Support
      /System/Library/Extensions/OlympusDSCDriver.kext/Contents/PlugIns
      [not loaded] com.olympus.CamFWSerialBusProtocolTransport (2.0.0) Support
      [not loaded] com.olympus.CamUSBMassStorageClass (2.0.0) Support
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.1.1) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.1.1) Support
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.1.1) Support
      /Users/[redacted]/Downloads/LCC Installer.app
      [not loaded] com.Logitech.Unifying.HID Driver (1.3.1 - SDK 10.8) Support
    Startup Items: ℹ️
      TuxeraNTFSUnmountHelper: Path: /Library/StartupItems/TuxeraNTFSUnmountHelper
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [running] com.canon.MFManager.plist Support
      [not loaded] com.cooliris.SetLaunchArch.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] com.Logitech.Control Center.Daemon.plist Support
      [running] com.logitech.manager.daemon.plist Support
      [running] com.micromat.TechToolProAgent.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
      [running] com.seagate.SeagateStorageGauge.plist Support
      [running] com.symantec.uiagent.application.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [running] com.cleverfiles.cfbackd.plist Support
      [running] com.eltima.ElmediaPlayer.daemon.plist Support
      [loaded] com.embraceware.awaken.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
      [running] com.micromat.TechToolProDaemon.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [loaded] com.prosofteng.DriveGenius.locum.plist Support
      [running] com.smithmicro.schedulerdaemon.plist Support
      [loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
      [failed] com.symantec.liveupdate.daemon.plist Support
      [not loaded] com.symantec.sep.migratesettings.plist Support
      [running] com.symantec.sharedsettings.plist Support
      [running] com.symantec.symdaemon.plist Support
      [running] com.taoeffect.ispyd.plist Support
      [running] com.wdc.drivemanagerservice.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
      [running] com.prosofteng.DGMonitor.plist Support
      [running] com.smithmicro.cleaning.schedulermailer.plist Support
      [running] com.taoeffect.EspionageHelper.plist Support
    User Login Items: ℹ️
      Speedy Mac Application (/Applications/Speedy Mac/Speedy Mac.app)
      AwakenHelper Application (/Users/[redacted]/Library/Application Support/Awaken/AwakenHelper.app)
      GetBackupAgent Application (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
      WDDriveUtilityHelper Application (/Users/[redacted]/Downloads/WD/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
      ClustersHelper Application (/Library/PreferencePanes/Clusters.prefPane/Contents/Resources/ClustersHelper.a pp)
      RealPlayer Downloader Agent Application (/Users/[redacted]/Library/Application Support/RealNetworks/RealPlayer Downloader Agent.app)
      SAVDiskMountNotify UNKNOWN (missing value)
      ScanNotification UNKNOWN (missing value)
      Launch Nikon Message Center 2 Application (/Applications/Nikon Software/Nikon Message Center 2/Nikon Message Center 2.app/Contents/SharedSupport/Launch Nikon Message Center 2.app)
    Internet Plug-ins: ℹ️
      EPPEX Plugin: Version: 10.0 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      AdobePDFViewer: Version: 9.4.6 Support
      Unity Web Player: Version: UnityPlayer version 3.5.3f3 - SDK 10.6 Support
      NPVirtools: Version: 4.0 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      RealPlayer Plugin: Version: (null) Support
      DirectorShockwave: Version: 11.6.8r638 Support
      QuickTime Plugin: Version: 7.7.1
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      GarminGpsControl: Version: 2.9.3.0 Release Support
      ToontownBundleManager: Version: (null) Support
      CANONiMAGEGATEWAYDL: Version: 3.1.0.2 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      OVSHelper: Version: 1.0 Support
      CoolirisWebKitPlugin: Version: (null) Support
      Google Earth Web Plug-in: Version: 6.1 Support
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
      JavaAppletPlugin: Version: Java 7 Update 67 Check version
      OfficeLiveBrowserPlugin: Version: 12.3.6 Support
    User Internet Plug-ins: ℹ️
      BrowserPlus_2.9.2: Version: 2.9.2 Support
      Picasa: Version: 1.0 Support
    Safari Extensions: ℹ️
      DivX Plus Web Player HTML5 <video>
      Open in Internet Explorer
      DivX HiQ
      Aimersoft Video Converter
    3rd Party Preference Panes: ℹ️
      BrowserPlus  Support
      Clusters  Support
      Déjà Vu  Support
      Flash Player  Support
      Flip4Mac WMV  Support
      Java  Support
      Logitech Control Center  Support
      Logi Preference Manager  Support
      MenuMeters  Support
      Perian  Support
      Symantec QuickMenu  Support
      TechTool Protection  Support
      Tuxera NTFS  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Destinations:
      iMac TimeMachine [Local]
      Total size: 2 TB
      Total number of backups: 80
      Oldest backup: 2011-09-18 05:21:33 +0000
      Last backup: 2014-10-05 20:18:55 +0000
      Size of backup disk: Excellent
      Backup size 2 TB > (Disk size 0 B X 3)
      /sbin excluded from backup!
      /usr excluded from backup!
      /System excluded from backup!
      /bin excluded from backup!
      /private excluded from backup!
      /Library excluded from backup!
      /Applications excluded from backup!
    Top Processes by CPU: ℹ️
          2% WindowServer
          0% Speedy
          0% SystemUIServer
          0% RealPlayer Downloader Agent
          0% ps
    Top Processes by Memory: ℹ️
      288 MB SymDaemon
      150 MB Speedy
      137 MB Safari
      82 MB WebProcess
      82 MB coreservicesd
    Virtual Memory Information: ℹ️
      2.17 GB Free RAM
      1.46 GB Active RAM
      148 MB Inactive RAM
      518 MB Wired RAM
      388 MB Page-ins
      0 B Page-outs
    I hope someone has some ideas! TIA.

    Do you have another cable you can test with? Do you have access to another computer with Firewire you can test with?
    FireWire Device not Working
    FireWire/USB - Quick Assist

  • Microsoft Access will not Sync to SharePoint - Publish Failed: The Object Could not be Committed to the Server

    I created a very simple Microsoft Access database with one table and one form. When I published it to SharePoint, everythng worked fine. It published succesfully and there were no errors. I continued to make enhancements to the database and when I attempted
    to sync to SharePoint, I got a message that the operation failed. I clicked OK and the issues table noted the following:
    Move to SharePoint Site Issues
    Issue
    Reason
    Object Type
    Object Name
    Field Name
    The object could not be committed to the server.
    Table
    Vendor Location Information
    The object could not be committed to the server.
    Form
    Add a New Vendor
    The object could not be committed to the server.
    Navigation Pane
    Navigation Pane
    The object could not be committed to the server.
    VBA Properties
    VBA References
    The object could not be committed to the server.
    Database Properties
    DBProps
    An error occurred while recording the local application status. Please re-synchronize with the Web application. No current record.
    <tfoot></tfoot>
    I thought this was weird so I downloaded the Assets database from Microsoft to determine if it was my database or something else. After it was downloaded and saved to my computer, I attempted to publish it to SharePoint and I got the same error.
    What is weird, though, is that if I use the assets web database template in SharePoint (the one that is preloaded), it works fine. Once I open that database it in Access though and click sync, I get the same error message.
    Does anyone know why this is happening?

    I tried it again this morning creating a completely new table / form and this is the error I get:
    Move to SharePoint Site Issues
    Issue
    Reason
    Object Type
    Object Name
    Field Name
    The object could not be committed to the server.
    Table
    VLI
    The object could not be committed to the server.
    Form
    ANV
    The object could not be committed to the server.
    Navigation Pane
    Navigation Pane
    The object could not be committed to the server.
    VBA Properties
    VBA References
    The object could not be committed to the server.
    Database Properties
    DBProps
    An error occurred while recording the local application status. Please re-synchronize with the Web application. No current record.
    <tfoot></tfoot>

  • Error Message : Object could not be scheduled within the specified time interval

    Post Author: mohamed elkashef
    CA Forum: Publishing
    Dear All when i try to run event for daily reports it sometimes take generation status failed with this error  message : Object could not be scheduled within the specified time interval so  i need to know the reason of failure and how can i fix  this error  thanks a lot 

    Post Author: nvnaresh
    CA Forum: Publishing
    Dear jsanzone,
    I'm facing the same error even when the server time out is more than the query execution time of the report.By server time out I assume connection time out of WebI report server which I have set to 180 min.But the actual query takes maximum of 5 min.
    We are using BO XIR2+SP2.
    I scheduled a webI report to get saved in Excel format to an Unmanaged disk location upon a File Event.
    We have 3 such reports to be scheduled on the same event.
    Expected frequency of File Event getting fired in a day is twice.Scheduling frequency I have set it as every one hour with the file event.
    This usually should work fine.
    But frequently 1 or 2 of the above 3 instances are getting failed with the following error "Object could not be scheduled with in specified time interval " after being in Running state for few hours(8). Amazingly this is not happening every time. May be once or twice in a week.This works fine after I restart the BO services and the same thing repeats after 3 or 4 days.
    Do I need to increase any server parameters?
    Why is this happening randomly?  

  • The airport card on my macbook pro is not functioning. In the airport firmware folder it says that it opens with final cut express. Is this the problem and how do i solve it?

    The airport card on my macbook pro is not functioning. In the airport firmware folder it says that it opens with final cut express. Is this the problem and how do i solve it?

    Hopefully one of these steps should solve the problem.
    1. System Preference > Sound > Output > Internal Speakers
        Highlight  Internal Speakers
        Make sure that Mute is not enabled.
    2. Remove the headphone.
        If you see red light in the headphone port, plug the headphone
        in and out of the port 5 or 6 times to flip the microswitch inside.
        Sound output may be stuck in the digital mode.
    3. Reset PRAM.  http://support.apple.com/kb/PH4405
    4. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    5. Applications > Utilities > Audio MIDI Setup
        Audio Devices window
        Side Bar
        Click the Built-in Output.
        Under Mute any of the boxes checked? If so, uncheck it.
    6. System Preferences > Sound> Sound Effects
        Play sound effects through:
       Select "Internal speakers" and then back to "Selected sound output device".

  • My mac mini does not boot, after backing the enire system onto an external drive with Carbon Copy Clone

    My Mac Mini does not boot, after backing the enire system onto an external drive with Carbon Copy Clone. I had switched the start-up disk back to the original of course. Now all I see is the Apple logo. What should I do? Thanks in advance.

    Try disconnecting any external devices, especially hard drives
    and try rebooting.
    If that doesn't help, then :
    If you are running Lion, boot to the Recovery HD and run a
    Repair Disk on the OSX partition.
    If Snow Leopard, boot to the installl DVD and run Repair Disk.
    Also, you may want to bookmark this:
    http://reviews.cnet.com/8301-13727_7-57345273-263/troubleshooting-the-boot-proce ss-for-intel-macs/?tag=txt;title
    for future reference.  It is a pretty good explanation of the
    Mac boot process and how to identify where problems may be.

  • Radio Fm in not functioning after upgarding firm w...

    Hi,
    radio Fm in not functioning after upgarding firm ware 410.21.010
    please help to solve it

    I am not aware of any "on-device" or native OS FM radio functions. Perhaps it has yet to be implemented, or awaiting a third party to develop an app to use it?
    I'd love to have it functional also!
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • HT201442 My iPhone 4s hasnt been used in over 6 months. Everytime I plug it into my computer and iTunes, it says it requires a restore and update. It then comes up with an error after completing the download for the restore and update (takes around 10 min

    My iPhone 4s hasnt been used in over 6 months. Everytime I plug it into my computer and iTunes, it says it requires a restore and update. It then comes up with an error after completing the download for the restore and update (takes around 10 minutes).Someone help me as I'm using the original iPhone 3 at the moment and it won't even take an ios 7 update!

    Just to confirm on the screen of the iPhone do you see the itunes symbol with a cable pointing up to it?. If you do then your iPhone is inrecovery mode and would require you to restore it.
    Now first you want to make sure iTunes is up to date and the cable you are using is not damaged. You also want to make sure iTunes is up to date.
    Now if you get an error message then follow the article below to find out what causes the issue:
    http://support.apple.com/kb/TS3694
    In terms of the iPhone 3G that is definitely not able to update to iOS 7. Only the iPhone 4 and larter can update to iOS 7.

  • Supporting objects was not installed successfully from the APEX 3.2 to 4.1

    Hi, gurus:
    greetings! I have a question regarding migrating application from 3.2 to 4.1. I need to migrate an application in a APEX 3.2 workspace to a new workspace of APEX 4.1. I exported the application from the APEX 3.2 workspace and imported it again to workspace of APEX 4.1, everything works fine except supporting objects was not installed successfully, and the application cannot show images. Could anyone give me a hint to find the cause and solution?
    Thanks a lot!
    Sam

    Hi, Tony:
    Nice to see you again! :) It proved out that was due to the wrong file format, I should choose UNIX file format to export my application from APEX 3.2 workspace instead of choosing DOS file format to export. Though I am still confused, Why this does matter? I used to export and import with random file type, as long as I keep consistency of file type for export and import, it never give me trouble like this.
    I got the following error message
    The following prerequisite checks failed. Installation of this application's supporting objects cannot continue until these issues are resolved.
    To continue installation after addressing the errors, navigate to the Supporting Object Definitions of this application and click INSTALL in the Supporting Objects Installation section.
    Alternatively, you can deinstall the application definition and reinstall after resolving these issues.
    Object Names:     EBA_CUST_ACTIVITY_TYPES, EBA_CUST_ADMINISTRATORS, EBA_CUST_ASSOCIATIONS, EBA_CUST_CATEGORIES, EBA_CUST_CONTACTS, EBA_CUST_CONTACT_TYPES, EBA_CUST_CUSTOMERS, EBA_CUST_CUST_ACTIVITY, EBA_CUST_LINKS, EBA_CUST_STATUS, EBA_CUST_VIEWS_LOG, EBA_CUST
    Sam
    Edited by: lxiscas on Dec 11, 2012 7:06 AM

  • Customer exit is not functioning after ECC upgrade/support package

    It seems our customer exit is not functioning after ECC upgrade/support package. I tried to activate the project again, no use. please help. Thanks! (see below for the enhancement info)
    COZF0002 Change purchase req. for externally procured component
    EXIT_SAPLCOZF_002
    INCLUDE ZXCOZU02
    *&  Include           ZXCOZU02
    CONSTANTS: lcc_eban(25)   TYPE c VALUE '(SAPLCOBC)EBAN'.
    FIELD-SYMBOLS: <fs_eban>   TYPE eban.
    DATA: l_fkstl TYPE prps-fkstl.
    Move values from the LUW to the Internal Table
    ASSIGN (lcc_eban) TO <fs_eban>.
    If the field symbol is "NOT' empty then proceed
    IF ( <fs_eban> IS ASSIGNED ).
    if WBS work order, get cost center from PRPS
      IF ( caufvd_imp-auart = 'ZM05' ).
        SELECT SINGLE fkstl INTO l_fkstl FROM prps
          WHERE pspnr = caufvd_imp-pspel.
        IF ( sy-subrc = 0 ).
          WRITE l_fkstl TO <fs_eban>-zzfistl.
        ENDIF.
    if not WBS WO, move cost center minus leading zeros to funds center
      ELSE.
        WRITE caufvd_imp-kostl TO <fs_eban>-zzfistl.
      ENDIF.
    ENDIF.

    Did you mean set a break point in the follow code?(Include ZXCOZU02), I tried set a break point in this code, but It didn't stop .
    *& Include ZXCOZU02
    CONSTANTS: lcc_eban(25) TYPE c VALUE '(SAPLCOBC)EBAN'.
    FIELD-SYMBOLS: <fs_eban> TYPE eban.
    DATA: l_fkstl TYPE prps-fkstl.
    Move values from the LUW to the Internal Table
    ASSIGN (lcc_eban) TO <fs_eban>.
    If the field symbol is "NOT' empty then proceed
    IF ( <fs_eban> IS ASSIGNED ).
    if WBS work order, get cost center from PRPS
    IF ( caufvd_imp-auart = 'ZM05' ).
    SELECT SINGLE fkstl INTO l_fkstl FROM prps
    WHERE pspnr = caufvd_imp-pspel.
    IF ( sy-subrc = 0 ).
    WRITE l_fkstl TO <fs_eban>-zzfistl.
    ENDIF.
    if not WBS WO, move cost center minus leading zeros to funds center
    ELSE.
    WRITE caufvd_imp-kostl TO <fs_eban>-zzfistl.
    ENDIF.
    ENDIF.

Maybe you are looking for