Compile error: Object library invalid or contains references to object definitions that could not be found

Office Online 365 installed today January 20 on brand new HP Envy. Get the above message when loading Excel applications with code and when running code. Will greatly appreciate help. Applications run well on other computers.

Hi Jaime,
>> Get the above message when loading Excel applications with code and when running code. Will greatly appreciate help. Applications run well on other computers.
>> Compile error: Object library invalid or contains references to object definitions that could not be found
According to the error message, it seems some ActiveX control is not registered successfully on the new machine.
Would you mind telling us which ActiveX controls you used in the workbook?
>> For my applications Excel from Office 365 is now useless. Should I just let my subscription run out and purchase another version?
According to my experience, this issue is not related to the subscription.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • After December 2014 update, Compile Error - calling Excel Objects Sub "Object library invalid or contains references to object definitions that could not be found"

    When try to call Sub in Excel Objects > SheetXX after the original xlsm is modified and saved by another user in diff machine, getting an error below and seems Excel cannot identify any subs exists in Sheet.
    Compile error:
    Object library invalid or contains references to object definitions that could not be found
    Note: it seems that this problem has been occurring After December 2014 update and still exists even after applying the fix:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx)

    Hi Kwlee324,
    Thanks for sharing the workaround with us. It would be very helpful for others who have the same issue.
    Also I found a two useful links about the error message "Object library invalid or contains references to object definitions that could not be found":
    https://support.microsoft.com/kb/2703186
    http://blogs.msdn.com/b/vsod/archive/2009/06/05/visual-basic-6-controls-stop-working-after-security-advisory-960715.aspx
    Hope it is helpful.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Object library invalid or contains references to object definitions that could not be found

    I have an excel macro application. It works ok in my machine. Whenever I send it to my colleague and he opens the file and save and send it back to me, I get the below error. But, it is working
    ok in my colleague machine.
    Compile error:
    Object library invalid or contains references to object definitions that could not be found
    Looks like some recent windows update is causing this issue. I tried to delete the temporary file from the command prompt as mentioned in some of the forums using the below command. But, still it
    is not working.
    DEL /S /A:H /A:-H *.EXD
    Even tried to uninstall the recent windows update on both of our machines, but still the issue is not resolved. It is working ok in his machine, but I get the compile error. Please share your thoughts.
    Thanks.
    Below are the references available in the excel macro application. There is no missing reference error on both of our machines. We both are using Excel 2010 32 bit. My OS is windows 7 64 bit and
    my college is having windows 7 32 bit.
    Visual Basic For Applications
    Microsoft Excel 14.0 Object Library
    Microsoft Forms 2.0 Object Library
    Microsoft Office 14.0 Object Library
    OLE Automation
    Microsoft ActiveX Data Objects 2.6 Library
    Microsoft Visual Basic for Applications Extensibility 5.3
    Microsoft XML, v6.0

    "Looks like some recent windows update is causing this issue. I tried to delete the temporary file from the command prompt as mentioned in some of the forums
    using the below command"
    I've heard some cases that even deleting EXD files and running the FixIt tools, ActiveX controls weren't working.
    Can you confirm if you can insert ActiveX controls in your worksheet, please?
    (Developer tab >> Insert button >> any ActiveX control of your choice)
    Felipe Costa Gualberto - http://www.ambienteoffice.com.br

  • Object library invalid or contains references to object definitions that could not be found problem

    Hello,
    Yesterday I got the following error on the server: "object library invalid or contains references to object definitions that could not be found problem".
    I found this documentation, followed the steps and all was OK on the server:
    http://support.microsoft.com/kb/2703186/en-us
    https://social.msdn.microsoft.com/Forums/office/en-US/e94f2fc3-71f1-4dad-bbf1-37f906e28e8e/object-library-invalid-or-contains-references-to-object-definitions-that-could-not-be-found?forum=exceldev
    Our server is used to do batch processing for refreshing our excel's. This morning, after the excel's got refreshed on the server, I've got this error on the
    client computers (everything works fine on the server computer). I did the steps above on the client computers, but the problem still persists.
    It looks like there is a difference in version between server and client.
    If I do the refreshing on the same computer there is no problem. But when the server does the refreshing and I try to open it on a different computer, I get this error.
    The security update has been removed from the computer, but I can't use my excel's anymore.
    Does any one have some advice for me?
    Best regards,
    Wouter

    Hi Wouter,
    Thanks for the further explaintation.
    According to the description, the issue seems that the Workboook on the client side(with lower Excel version) couldn't run the VBA after it opened by server(higher version Excel application).
    If I understood correctly, that sounds that the issue is relative to the specific version of Excel product or the updates.
    I suggest you contacting Microsoft support to raise an incident so that our engineer could work closely with him to identify the root cause and resolve this issue as soon as possible.
    If the support engineer determines that the issue is the result of a bug the service request will be a no-charge case and you won't be charged.
    Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • VB ERROR - object library invalid or contains references to object definiti

    My system crash and i had to reinstall office 2007 and bpc. now I get the follwoing error.
    VB ERROR - object library invalid or contains references to object definitions that could not be found.
    i have checked ma macro settings and they are low. anyone see this before?

    Hi ,
    we upgarded excel 2003 to 2007 .
    Now i am facing same issue . I deletd the .EXD files .Stull i am getting the same issue .
    Pls let me know solution for this .
    Regards,
    PSr

  • HT1926 I have just updated itunes on my pc (widows XP) to the latest version. When I try to open it i get an error message saying the application failed to start because MSVCR80.dll could not be found. Not sure how to resolve this. Have tried to reinstall

    I have just updated itunes on my pc (windows XP) to the latest version. When I try to open it I get an error message saying the application failed to start because MSVCR80.dll was not found< Have tried reinstalling with no luck. Any ideas?

    try removing all itunes and all other apple program
    follow this link for more info. http://support.apple.com/kb/HT1923
    reboot ur window after uninstalling
    after that download the latest itunes setup and install.

  • Items in the iTunes library can't copy to the iPhone because they could not be found.

    Everytime I try to sync my iPhone4 to my PC, a notification pops up saying that some of the items (ringtones) cannot be copied because they could not be found. I tried syncing it about 5 times and the same thing happened.

    Problem solved.
    Thanks everyone.

  • How to solve Error SPSite - The Web application at address could not be found

    Hello,
    I am trying to find out the internal name of a custom SharePoint list columns, for this I have used following code snippet in my
    console application but getting below error. The site I am accessing is a public SharePoint web site. This code is working
    well with my local host site and i am able to get the internal names of any list columns but don't understand why this is failing with
    public SharePoint site
    For avoiding this issue I have done following steps:
    1.Rebuild the application
    2.changed the  platform target as "Any CPU"
    3.Visual studio and this public site is working in my admin account, but still I am getting the error!
    I use visual studio 2010 and SharePoint 2010
    please note the error I am getting
    Error : The Web application at https://public.sp.a5-group.com/ could not be found. Verify that you have typed the URL correctly.
    If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application
    Code Snippet
    static void Main(string[] args)
    using (SPSite Site = new SPSite("https://public.sp.a5-group.com/"))
    using (SPWeb web = Site.RootWeb)
    SPList splst = web.Lists["ListCard"];
    foreach (var field in splst.Fields)
    bool isHidden = splst.Fields[field.ToString()].Hidden;
    if (!isHidden)
    string internalName = splst.Fields[field.ToString()].InternalName; //This will give you the internal column name.
    Console.WriteLine(internalName);
    Console.ReadLine();

    I thin you need to have sharepoint installed on same computer and URL should be working on this computer.
    If this URL WEB APP is in your IISsite try to create disableloopbackcheck registry which should be help
    When you use the fully qualified domain name (FQDN) or a custom host header to browse a local Web site that is hosted on a computer that is running Microsoft Internet Information Services (IIS) 5.1 or a later version, you may receive an error
    message 
    http://support.microsoft.com/kb/896861

  • HT1923 I am using windows 7 and have upgraded itunes to 11. Now when I open my music library in itunes and click on a song it says "original file could not be found" Over 2000 songs come up this way and locate does not seem to work. Before the upgrade all

    With Windows 7 I upgraded itunes to 11. Now in my itunes library, when I click on a song "original file could not be found" comes up. This happens with over 2000 songs, but it seems to be ones I recorded from cd's. Locate does not seem to work. Has anyone else had this problem?

    Highlight a song that is supposedly missing, press CTRL+I to Get Info, say no when asked to locate the file, then look at the summary tab. Where does iTunes "think" the file should be? Where is it really? You may need to give a configuration file a minor tweak.
    tt2

  • Play Framework - Compilation error[object inject is not a member of package javax]

    I would like to add to the table "Person" when you press the button "Add a Person" but I get an error:
    play.PlayExceptions$CompilationException: Compilation error[object inject is not a member of package javax]
    at play.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27) ~[na:na]
    at play.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27) ~[na:na]
    at scala.Option.map(Option.scala:145) ~[scala-library-2.11.1.jar:na]
    controller is in the class Application:
    package controllers
    import play.api._
    import play.api.mvc._
    import play.api.data.Form
    import play.api.data.Forms._
    import play.api.libs.json.Json
    import models._
    import javax.inject._
    class Application @Inject() (db: DB) extends Controller {
      def index = Action {
       Ok(views.html.index())
      val personForm: Form[Person] = Form {
       mapping(
       "name" -> text
       )(Person.apply)(Person.unapply)
      def addPerson = Action { implicit request =>
       val person = personForm.bindFromRequest.get
      db.save(person)
      Redirect(routes.Application.index)
    I do not know how to add a library javax.inject-1.jar ?
    Is there another solution . Thank for you help in this matter.

    If this is still an outstanding issue, and you have a valid CSI, a BDB support license, please access MOS (MyOracle Support) and review Note 1198943.1: "Building BDB XML 2.5.16 with STLPort on Solaris using Sun Studio". If you cannot access MOS, drop me an e-mail at andrei dot costache at the obvious domain, and I will send the details.
    Regards,
    Andrei

  • I am getting this error when I open Firefox after DLing Firefox 5 (never seen this in any other previous version): FATAL ERROR : The dynamic C library contained in the extension file could not be found.

    Hi there,
    I'm getting this error when opening Firefox 5:
    FATAL ERROR : The dynamic C library contained in the extension file could not be found.
    I've never seen this error before... First time it happened was immediately after DLing Firefox 5 yesterday. I haven't DLed or installed anything else recently.
    I see that you already have my system info. Any help is much appreciated!

    Just read in another post that there is a known 49 character limit on the file path for QuickTime movies..

  • Have several ringtones in my itune. while synchronising 2 errors appear.1. several objects could not be found,2. an iphone was found but could not be indentified. iph.4s was new reset, ios 6

    have several ringtones in my itune. while synchronising 2 errors appear.1. several objects could not be found,2. an iphone was found but could not be indentified. iph.4s was new reset, ios 6

    Hi Grant,
    Here is what I did and so far seems it is wworking.
    1. I deleted oDesk and ShareFile. I removed them using MacKeeper (I found this application very usefull for uninstalling applications as MacKeeper looks for them all over the computer: cache, preferences, application support etc.) While for oDesk is simple as I can look myself for oDesk in any file names, whith ShareFile was a little tricky to amke it amnually as MacKeeper find files that contain Citrix name then ShareFile. I will not guess unless I would search the internet on how to manually remove sharefile from my system.
    2. I manually delete all cahe files and folders from ~Library and ~User/Library.
    3. After reboot I installed Onyx and order maintanance where I checked all its options, including but not limited to DNS caches, fonts caches, everything.
    4. After I reboot computer, I went in Disk Utility and Repaired permissions.
    Reboot again. Now seems to work fine. At least odesk Team is working properly. I will have a second thought for installing ShareFile.
    Some romanian mac users suggested to check my router connectivity and change some DNS in it. Looks like that was also a problem on some MACs. I recall the few weeks ago I had an issue with TP Link router. My computer wasn't connected to internet, though router showed that there is internet connection. I ping router from my computer and I received answer from ping. I ping google from computer, nothing. I ping google from router, was wroking. I connected the computer directly to internet without router, was wroking. When connected back through router, nothing. I contacted the guys from TP Link and they suggested to use google DNS instead of those my ISP provided. But since then I had not experienced any issue with router and internet, until now. The DNS are still those from google.
    I will keep you updated if any issues are appear again. So far, it is working perfectly as it supposed to work.
    Warm regards,
    Sebastian

  • When selecting a song to play in iTunes, I get an error message indicating the song could not be used because the original file could not be found.  Would you like to locate it.  I have no idea where to look since the library hold all my files.

    When selecting a song to play from iTunes library, I continually get an error message indicating the original file could not be found.  Then asks, would you like to locate it?  Does anyone know how to fix this?   I'm not even able to play the songs I purchased due to this error message.  Any ideas how to remedy this problem? 
    Thanks

    It would help to have more background about your iTunes collection such as if you keep it on an external drive, or if you have moved or renamed anything recently.  iTunes is very sensitive to you renaming or moving files or folders involved with your media.  iTunes only keeps a reference to where a media file is located  and then goes to look for it when you try to play it. If you have changed things since it was added to itunes then it's like me sending you to look for a friend in my addressbook but that friend has moved.
    The other possibility is your computer is starting to lose files.  Again, the computer uses a reference database to tell it where on the drive to look for a file. If that database gets corrupt then it starts losing files.  Use Dsk Utility's first aid to verify your hard drive.

  • I recently transferred my itunes library to an external hard drive. Now I get the error message 'the original file could not be found. Could you like to locate it' when i try to open songs. My iPod syncs ok.

    I recently tranferred my iTunes library to an external hard drive. Now I cannot open songs and get the error message ' The song "***" could not not be used because the original file could not be found. Would you like to locate it'. This applies to all 9742 songs!!. My iPod still syncs ok, but I can't play songs on the PC. Can anyone please help.

    It would help to have more background about your iTunes collection such as if you keep it on an external drive, or if you have moved or renamed anything recently.  iTunes is very sensitive to you renaming or moving files or folders involved with your media.  iTunes only keeps a reference to where a media file is located  and then goes to look for it when you try to play it. If you have changed things since it was added to itunes then it's like me sending you to look for a friend in my addressbook but that friend has moved.
    The other possibility is your computer is starting to lose files.  Again, the computer uses a reference database to tell it where on the drive to look for a file. If that database gets corrupt then it starts losing files.  Use Dsk Utility's first aid to verify your hard drive.

  • Getting an error " Atleast one entry could not be found in object buffer"

    Hi All,
    I m facing an peculiar problem while executing a custom Function Module.I have written a custom FM to create a service request and fetch the obj ID and return it back.When i tested the same in debugging mode everything is working fine. But when i execute it directly, It is giving me an error saying " Atleast one entry could not be found in object buffer" at the bottom of the screen and return parameters are not displayed.
    Any pointers on this would be of great help.
    Thanks,
    Eureka

    Hi Phani,
    PFB the source code. Please look in to this at your convenient time..
    FUNCTION ZSERVICE_TICKET_INC_EDIORDERS.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(ZPROCESS_TYPE) TYPE  CRMT_PROCESS_TYPE
    *"  EXPORTING
    *"     REFERENCE(ZOBJECT_ID) TYPE  CRMT_OBJECT_ID_DB
    * PARAMETER QUANTITY TYPE CRMT_SCHEDLIN_QUAN.
    * DATA DECLARATION FOR LOCAL VARIABLES
      DATA : lv_header_guid        TYPE                   GUID_32,
             lv_header_guid16      type                   guid_16,
             lv_item_guid          TYPE                   guid_32,
             lv_sched_guid         TYPE                   guid_32,
             lt_header_guid16      type                   CRMT_OBJECT_GUID_TAB,
             wa_header_guid16      like line of           lt_header_guid16.
      DATA:  itab_header           TYPE STANDARD TABLE OF bapibus20001_header_ins,
             itab_created_process  TYPE STANDARD TABLE OF bapibus20001_header_ins,
             itab_objects_to_save  TYPE STANDARD TABLE OF bapibus20001_guid_dis,
             itab_partner          TYPE STANDARD TABLE OF bapibus20001_partner_ins,
             itab_input_fields     TYPE STANDARD TABLE OF bapibus20001_input_fields,
             itab_return           TYPE STANDARD TABLE OF bapiret2,
             lt_orderadm_h         type                   CRMT_ORDERADM_H_WRKT.
    * DATA DECLARATION WORKAREAS
    DATA:   wa_header             TYPE                   bapibus20001_header_ins,
             wa_partner            TYPE                   bapibus20001_partner_ins,
    *         wa_item               TYPE                   bapibus20001_item,
    *         WA_SCHEDLIN_I         TYPE                   BAPIBUS20001_SCHEDLIN,
             ls_inputfields        TYPE                   bapibus20001_input_fields,
             wa_objects_to_save    LIKE                   LINE OF itab_objects_to_save.
    *         wa_pricing            TYPE                   bapibus20001_pricing,
    *         wa_sales              TYPE                   bapibus20001_sales,
    *         wa_shipping           TYPE                   bapibus20001_shipping,
    *         wa_product_i          TYPE                   bapibus20001_product.
    *         wa_schedlin_i    LIKE LINE OF lt_schedlin_i,
    *         wa_schedlines   LIKE LINE OF lt_schedlines,
    DATA:   wa_created_process    LIKE LINE OF itab_created_process,
             itab_saved_objects    TYPE STANDARD TABLE OF bapibus20001_object_id,
             wa_saved_objects      LIKE LINE OF itab_saved_objects,
             gc_x TYPE c.
             gc_x = 'x'.
    * CREATION OF HEADER GUID
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_16 = lv_header_guid16
          ev_guid_32 = lv_header_guid.
      CLEAR : wa_header.
    data: temp type  CRMT_OBJECT_GUID_TAB.
    *temp = (CRMT_OBJECT_GUID_TAB)lv_header_guid16.
    * Passing the respective values from the Header table to internal table.
      wa_header-guid          =  lv_header_guid.
    *  zprocess_type           = 'ZSC'.
      wa_header-process_type  =  zprocess_type.
    *  wa_header-description = 'MY S2D ORDER'.
      APPEND wa_header TO itab_header.
    *Appending the values to the ITAB_HEADER.
    *      ls_inputfields-ref_guid =  LV_HEADER_GUID.
    *      ls_inputfields-REF_KIND = 'A'.
    *      ls_inputfields-objectname = 'ORDERADM_H'.
    **     ls_inputfields-logical_key = ' '.
    *      ls_inputfields-fieldname = 'PROCESS_TYPE'.
    *      APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    *      CLEAR ls_inputfields.
    * HEADER PARTNER DETAILS
      wa_partner-ref_guid = lv_header_guid.
      wa_partner-ref_kind = 'A'.
      wa_partner-ref_partner_handle = '0001'.
      wa_partner-partner_fct = '00000001'.
      wa_partner-partner_no =  '1000007'.
      wa_partner-no_type = 'BP'.
      wa_partner-display_type  =  'BP'.
      APPEND wa_partner TO itab_partner.
    * APPENDING THE ITAB_PARTNER TO INPUT_FIELDS
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'REF_PARTNER_HANDLE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****PARTNER_FCT*********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'PARTNER_FCT'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****PARTNER_NO**********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'PARTNER_NO'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****NO_TYPE*************************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'NO_TYPE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    ****DISPLAY_TYPE********************************
      ls_inputfields-ref_guid =  lv_header_guid.
      ls_inputfields-ref_kind = 'A'.
      ls_inputfields-objectname = 'PARTNER'.
      ls_inputfields-logical_key = '0001'.
      ls_inputfields-fieldname = 'DISPLAY_TYPE'.
      APPEND ls_inputfields TO itab_input_fields.
      CLEAR ls_inputfields.
    *****KIND_OF_ENTRY*******************************
    *      ls_inputfields-ref_guid =  LV_HEADER_GUID.
    *      ls_inputfields-REF_KIND = 'A'.
    *      ls_inputfields-objectname = 'PARTNER'.
    *      ls_inputfields-logical_key = '0001'.
    *      ls_inputfields-fieldname = 'KIND_OF_ENTRY'.
    *      APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
    *      CLEAR ls_inputfields.
    *Calling a standard BAPI to create SALES OREDER using the filled internal tables.
      CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
        TABLES
              header          = itab_header
    *          item            = itab_item
              return          = itab_return
              partner         = itab_partner
              input_fields    = itab_input_fields
              created_process = itab_created_process.
    *         APPOINTMENT     = ITAB_APPOINTMENT
    *         TEXT            = ITAB_TEXT
    *          scheduleline    = lt_schedlin_i
    *         pricing         = itab_pricing
    *          sales           = itab_sales
    *          shipping        = itab_shipping
    *          product         = itab_product_i.
      READ TABLE itab_created_process INTO wa_created_process WITH KEY guid = lv_header_guid BINARY SEARCH.
      wa_objects_to_save-guid = wa_created_process-guid.
    * Appending the Guid of the SALES ORDER to be saved to the internal table
      APPEND wa_objects_to_save TO itab_objects_to_save.
    *   Calling standard BAPI to save the process.
      CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
        EXPORTING
          update_task_local = space
          save_frame_log    = gc_x
        TABLES
          objects_to_save   = itab_objects_to_save
          saved_objects     = itab_saved_objects
          return            = itab_return.
    * Calling the Standard BAPI to Commit the transcation.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    wa_header_guid16 = lv_header_guid16.
    append wa_header_guid16 to lt_header_guid16.
    * Calling CRM_ORDER_READ to get the object id and add line item to the order
    CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
         IT_HEADER_GUID                    =  lt_header_guid16
        IMPORTING
          ET_ORDERADM_H                     = lt_orderadm_h
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    data: object_id type CRMT_OBJECT_ID_DB,
          wa_orderadm_h like line of lt_orderadm_h.
    read table lt_orderadm_h into wa_orderadm_h WITH KEY guid = lv_header_guid.
    object_id = wa_orderadm_h-object_id.
    Zobject_id = wa_orderadm_h-object_id.
    WRITE: / 'Object ID: ',object_id.
    ENDFUNCTION.

Maybe you are looking for