Deleting CRM2007 customer enhancement

Hi,
we made a lot of testing of the creation and deleting of view enhancements and its sets  (BSP_WD_CMPWB) of the CRM2007 component IUICOBJD. Now, after deleting all enhancement sets we have the problem that,  when (after creating and assigning an new enhancement set) we only "ENHANCE" the view of  the above descriped component, without any changes (no new customer fields etc.), the browser shows a white screen with the following error:
Cannot display view IUICMD/MainVS
An exception occurred during the internal HTTP communication Exception Class  CX_BSP_WD_HTTP_RESPONSE_ERROR 
Text:  HTTP answer has status 500 
Additional Info:  Business Server Page (BSP) Error 
Program:  CL_BSP_WD_STREAM_LOADER=======CP 
Include:  CL_BSP_WD_STREAM_LOADER=======CM002 
Source Text Row:  61
An exception occurred during the activation of target view usageIUICOBJD.MainWindow for the navigation
An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - View usageIUICOBJD.MainWindow could not be bound 
Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
Source Text Row:  162
We don't receive this error when showing other "enhanced" components, for example IUICPRP.
It seems to me that the object IUICOBJD is corrupt because of to many enhancement creation/deletion or that there is still something that must be deleted to "clean up" the component completely. I allready tryed note 1122248 without success.
Does anybody have any idea how to fix this problem or how to "clean up" completely the component?
Thanx & best regards,
Oliver
Edited by: Oliver Pregler on Apr 14, 2008 4:10 PM

Hi Oliver,
Whenever you get en exception from the CL_BSP_WD_STREAM_LOADER class this indicates a problem with a runtime repository. Either there is an error in one or it contains dynamic parts and the corresponding ICF service is inactive.
In your I suspect two possible reasons:
1) You enhanced component A with a window/ interface view and used (declared usage) of this enhancement in a component B. Now you deleted the enhancement of A including the new interface view. But this is still used/ referenced by component B. Now when you load B (latest access the usage that points into nirvana), system crashes as usage target does not exist anymore.
2) You enhanced component A, and re-enhanced it. By any weired reason (copy and paste error, system bug, or similar) the runtime repository of your enhancement still reflects pieces of the previous enhancement. To fix this, copy the original SAP runtime repository and add what you've added (if at all).
I would assume 1) to be the cause in your case but I'm not 100% sure from your posting.
Please let us know if this information was useful.

Similar Messages

  • Batch Delete on Custom Objects

    I have only just noticed that there is no batch delete on Custom Objects. I have read over the R16 release notes and I cannot see this as an enhancement, is anyone able to confirm if this functionality is actually included in R16.
    As this is only a few weeks away before we upgrade.

    Hi, I have an R16 account and i dont see the batch delete feature available for custom object :-(
    -- Venky CRMIT

  • Error while deleting a customer table

    When I try to delete a customer table which is saved as a local object I get an error stating that the table is still used in ABAP Dictionary. It seems that the customer table is still used in a customer program, but the program is already deleted! I deleted the program earlier and thus no longer exist in our system. I cannot find any trace of the program, but am unable to delete the customer table now. Any suggestions?

    Program name would have been of the table maintenance generator and you deleted it manually.
    It should have been deleted from TMG .
    Your problem will be resolved if you will create Table maintenance of the database table and then delete it again.

  • Custom Enhancement for IT207

    Hello Gurus!
    This is my first post so bear with me.  I am trying to update IT207 for Maryland (MD) counties using a custom enhancement in HRPAD00INFTYDB.  This is called when an employee changes the MD county in their Permanent Address in ESS.  I've done the same thing for IT210 using FM HR_ECM_INSERT_INFOTYPE with success, but when I use the same FM to update IT207 I get an error.
    ST22 Info                                                                               
    Error analysis                                                                               
    An exception occurred that is explained in detail below.                            
         The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not           
          caught in                                                                               
    procedure "ADD_MESSAGES" "(METHOD)", nor was it propagated by a RAISING clause.     
         Since the caller of the procedure could not have anticipated that the               
         exception would occur, the current program is terminated.                           
         The reason for the exception is:                                                    
         You attempted to use a 'NULL' object reference (points to 'nothing')                
         access a component.                                                                 
         An object reference must point to an object (an instance of a class)                
         before it can be used to access components.                                         
         Either the reference was never set or it was set to 'NULL' using the                
         CLEAR statement.                                                                    
    The program reads IT207 using FM HR_ECM_READ_INFOTYPE, loops at lt_p0207, updates the begda and taxar (Residence Tax Area), then runs FM HR_ECM_INSERT_INFOTYPE to create the new record.  This produces a dump (details above). The message that is being added is from message class PG, 204, and is only a warning. 
    If I only update the taxar (not the dates) the IT207 record is updated with the incorrect dates.
    I am running FMs HR_ECM_INITIALIZE_BUFFER and HR_ECM_ENQUEUE_PERNR prior to reading IT207.
    I have done extensive debugging of the enhancement ... I can manually skip the date check and it works fine.  After a number of debugging sessions, the update works fine ... but only until I log out and re log in.
    Any ideas on how to fix so that ADD_MESSAGES is not called?
    Thanks!
    Carl

    My issue has been solved!
    I had previously declared the message handler as:
            DATA:  lo_msg_handler TYPE REF TO if_hrpa_message_handler.
    The enhancement activate ok until a message was passed.  I found by changing the message handler to:
            DATA:  lo_msg_handler TYPE REF TO CL_HRPA_MESSAGE_LIST.
    If I didn't want to output the messages I could have declared it as:
            DATA:  lo_msg_handler TYPE REF TO CL_HRPA_DUMMY_MESSAGE_HANDLER.
    Next I instantiated the message handler:
           CREATE OBJECT lo_msg_handler.
    This was followed by my existing code:
          Initialize buffer
                    CALL FUNCTION 'HR_ECM_INITIALIZE_BUFFER'
                      EXPORTING
                        message_handler = lo_msg_handler.
          Enqueue Pernr (fixes context issue)
                    CALL FUNCTION 'HR_ECM_ENQUEUE_PERNR'
                      EXPORTING
                        pernr           = <new_p0006>-pernr
                        message_handler = lo_msg_handler
                      IMPORTING
                        is_ok           = lv_is_ok.
    I hope this might help others.

  • How to delete a customer in R/3 beside vd06?

    Hi
      how to delete a customer in R/3 besides vd06.
      vd06 marks it for deletion though i can create a
       sales order with a warning.
    Regards,
    Abhimanyu.L

    Hi
    The only way is to archive the customer. If the requirement is to prevent the customer from being used then try VD05 and block the customer.Another alternative is to write code in the user exit mv45afzb and check if the customer is marked for deletion then give an error message
    Reward if this helps
    Thanks

  • How to delete a Customer in its SALES AREA?

    Hi All,
    I've deleted a Customer by t.code OBR2. But it exists again in its SALES AREA.
    Could anyone tell me how to delete it in the sales area too?
    Thanks

    Hi Gandalf,
    not possible.
    Note 725857 provides some reference coding for your own program.
    Regards,
    Joosz

  • Hello, How can I edit or delete a custom label in the contacts list on iOS 7.0.3 on iPhone 4S ?

    Hello, How can I edit or delete a custom label in the contacts list on iOS 7.0.3 on iPhone 4S ?
    i need it so muchhh!

    Sort of depend on what you are trying to do precisely. In Edit mode, if you tap on any label, you will be given a list of options, plus an Add Custom Label option near the bottom of the list

  • How can I edit or delete a custom label in the contacts list on iOS 7 on iPhone 4S ?

    How can I edit or delete a custom label in the contacts list on iOS 7 on iPhone 4S ?

    Alfre311 wrote:
    I've been trying to find a way to do this since I updated to IOS 7, and I've just found the solution/explanation, even tho is a bit heavy to carry out.
    IOS 6 creates custom labels and save them giving you the option to delete them.
    IOS 7 creates custom labels but don't save them, so there is no need to have the option to delete them.
    But here comes the problem, if you have some custom labes saved in you Iphone / Ipad with IOS 6 and you update it to IOS 7, the device will keep those labels saved, but you wont be able to delete them.
    I realized this by going to contacts on Icloud. There those labels that I had on my devices weren't there. So simply restoring your device and configuring it as a new one to later sync your Icloud Contacts, will solve the problem.
    I know this post is old, but I might just try this with iOS 8. I have outdated custom labels that annoy me, because I still seem them in the list as options. If I get desperate enough, I may try your solution.

  • How to delete a custom format in Numbers 3

    I am one of the poor unfortunates that has upgraded to Numbers 3 BIG mistake!!
    However does anyone know how to delete a custom format in Numbers 3?
    I'm not sure where the custom format came from in the erlier version of numbers. I guess I must have created it for something, I can't remember what.
    It now appaers that when I send a Numbers 3 document via email to an Excel format  it adds a weird custom format that turns currency into garbage. Once in Excel simply going to format cells and deleting this odd format cures the problem.
    If I could find a way of deleting it in Numbers 3, hopefully the problem will go away.
    This is far from the only problem I'm having with Numbers 3. It's begining to look like I'll have to abandon Numbers 3 having had to go to the expense of buying a new iPad because Numbers 3 documents (and presumably Pages Keynote etc) no longer work on the original iPad.

    I never promote the method the deletion unless you understand the underlying tables of planning, if you search on the forum you will see posts on the subject just like this one - Delete dimension from planning application
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to delete a custom dimension in planning - 9.3.1

    Hi
    some one please let me know how to delete a custom dimension in planning
    Thanks

    I never promote the method the deletion unless you understand the underlying tables of planning, if you search on the forum you will see posts on the subject just like this one - Delete dimension from planning application
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I would like to know how to to deleta a custom template in Pages

    I would like to know how to to delete a custom template in Pages

    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=215&highlight=delete +template&mforum=iworktipsntrick
    Peter

  • Error in Variable in Customer Enhancement

    Message  : Error Variable in Customer Enhancement YQVMTD
    I need To Create Customer Exit For Variable based on 0P_FPER (Fiscal Year Period).The user has to enter a value for Fiscal year/Period(0P_FPER).If the user is entering Current month(eg:July 2009) then the report should display Previous Month(eg:June 2009) .If user is entering months other than current month (eg: April 2009)  then the report should display April 2009 Data only.
    Special Case: If the System Date is Jan 2009(That is if Current Month is Jan 2009) then the report should display Dec 2008 Data.
    This is the exit in CMOD for the customer exit variable u2018YQVMTDu2019.  This variable in not ready for input.
    DATA :
                curfiscper TYPE /bi0/oifiscper,
          Curperiod(3) TYPE n,
          Curfiscyear(4) TYPE n,
      When u2018YQVMTDu2019.
       IF i_step = 2.
         READ TABLE i_t_var_range WITH KEY
         vnam = '0P_FPER'
         iobjnm = '0FISCPER'
          INTO l_s_var_range.
        if sy-subrc = 0.
             Concatenate sy-datum0(4) '0' sy-datum4(2) into curfiscper.
             If l_s_var_range-low = curfiscper.
                Curperiod = l_s_var_range-low+4(3).
                If Curperiod = '001'.
                   Curfiscyear = l_s_var_range-low(4).
                   Curfiscyear =  Curfiscyear - 1.
                   Concatenate Curfiscyear '012' into l_s_var_range-low .
                Else.
                   Curperiod = Curperiod - 1.
                   Concatenate l_s_var_range- low(4) curperiod into l_s_var_range-low. 
                EndIf.
              Else.
                 l_s_var_range-low = l_s_var_range-low.
             EndIf.
        l_s_range-sign = 'I'.
        l_s_range-opt = ' EQ '.
        APPEND l_s_range TO e_t_range.
        EndIf.
      EndIf.
    When i execute the query i am getting the following error:
    Error Variable in Customer Enhancement YQVMTD
    Diagnosis
    This internal error is a deliberate termination, since a program status has arisen, that is not allowed to occur.
    The error has arisen for variable YQVMTD in the customer enhancement .
    Procedure
    Please check your customer enhancement.
    Procedure for System Administration
      Notification Number BRAIN 649
    Please have a look into this and suggest me whether i need to change anything in the code in the exit.

    Hi Rathy,
       Yes I made the change at all places.
    When 'YQVMTD'.
    IF i_step = 2.
    LOOP AT I_T_VAR_range INTO l_s_var_range WHERE vnam = '0P_FPER'.
    Concatenate sy-datum0(4) '0' sy-datum4(2) into curfiscper.
    If l_s_var_range-low = curfiscper.
    Curperiod = l_s_var_range-low+4(3).
    If Curperiod = '001'.
    Curfiscyear = l_s_var_range-low(4).
    Curfiscyear = Curfiscyear - 1.
    Concatenate Curfiscyear '012' into l_s_range-low .
    Else.
    Curperiod = Curperiod - 1.
    Concatenate l_s_var_range-low(4) curperiod into l_s_range-low.
    EndIf.
    Else.
    l_s_range-low = l_s_var_range-low.
    EndIf.
    l_s_range-sign = 'I'.
    l_s_range-opt = ' EQ '.
    APPEND l_s_range TO e_t_range.
    Endloop.
    EndIf.

  • IS-RETAIL: How to update custom enhancement field using BAPI?

    Hi gurus,
    Like ECC BAPI: BAPI_MATERIAL_SAVEDATA,
    This BAPI(BAPI_MATERIAL_MAINTAINDATA_RT) is specific for IS-RETAIL to create and update material master data.
    But now If I append one custom field "ZFIELD" to end of table MARA, my question is how to update this custom enhancement field(ZFIELD) using BAPI(BAPI_MATERIAL_MAINTAINDATA_RT)
    Thanks in advance!

    Hi DongHai,
    I suggest you create your own BAPI. Just copy the codes in BAPI_MATERIAL_MAINTAINDATA_RT and add your custom fields. If you want to append the data of the custom field in table MARA, first, you have to create a structure table then goto SE11, type MARA and display. Click the APPEND STRUCTURE then choose the structure that you've created. Hope this will help.
    Rewards if useful
    Regards,
    Mark

  • Deleting a Custom Template

         In my quest to master (???) this program, i created a "Custom Template" which I thought i could use over & over & replace the data for what i wanted further use for; an ongoing monthly spreadsheet (Table) the first row with all my labels for each column. I know this is redimentary, but i still don't get the Header Footer thing & not sure I'm heading up the spreadsheet (Table) correctly, but it didn't work out the way i wanted; so i want to deplete it but can't find it!
         I looked up 'Help" and it states that,
    "To delete a custom template, in the Finder navigate to the folder in which you saved the template, and drag the template to the Trash".
    "The template is saved in your home folder in the following subfolder structure: Library/Application Support/iWork/Numbers/Templates/My Templates/."
         When i follow that path in my computer, the only folders in "iNumbers Folder" are two folders labeled "Content" & "Frameworks."
    They do come up when i choose Custom Templates and the path at the bottom of the window shows, Macintoch > My Templates > then that template, but won't let me delete.
         All i want to do is delete them so i can start over when i'm ready to create a custom template & know (have a better idea) what i'm doing.
    don

    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. Numbers templates are in the same path. Access to the user's Library is hidden in Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your users Library will appear about halfway down the list.

  • Mass deletion of customer accounts

    Hello
    Can I completely delete the customer records from the system using some standard tcode or program

    Dear Gaurav,
    I have tested on to my test Client.
    I created one "new customer" and then run the profram "SAPF047" in SE38.
    Then, go to t. code: OBR2
    key-in that "newly customer id" and check box: Delete Customer, under tab: Deletion quantity selection.
    Under tab: Deletion depth, check box: only general master data, and keyed-in charts of accounts.
    Under tab: Program control, selected Customer detail log (no oher option).
    But, it was on to my Test-Client and there were no records for customer. I can't suggest from my front, as your's is Production-Client, and there might be open records for your customer.
    Best Regards,
    Amit

Maybe you are looking for

  • DNG SDK build project cannot find the xml sdk

    On win7/x64.  Installed dng sdk and all dependencies per the readme files.  xml sdk built OK with vc10 express, as 64 bit static and dll. But the vc solution for dng_validate has incorrect names for the xml sdk build projects, so it cannot find those

  • Place text on document prior to its printout

    For routine matters, I need to print instruction documents which come through e-mail, and pass these along to staff to handle them. I regularly print the e-mail and write a note by hand, on the white portion of the document prior to the header part (

  • MuticolumnPartitioning key

    Hi All, BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio NLSRTL Version 10.2.0.4.0 - Production

  • Widget Access Keys Help

    I made a widget (yay! first one!) that gets a rss feed via XMLHttpRequest. It works just fine in browsers. I'm so happy. But when I made it a widget, it fails to load the data. I just get my default message that's "supposed" to be replaced by real da

  • Safari has stopped working (MSVCR80.dll)

    I get a Windows 7 error "Safari has stopped working". I've tried a number of things (e.g., uninstalling and installing Safari, re-installing Windows 7, disabling plug-ins, disabling Java, disabling Javascript, uninstalling itunes, ran CCleaner, Malab