Enhancement set deletion problem

Hi All,
         I have used enhancement set to add context node 'BTSubject' in BT160I_CPL/ComplItem view and got  exceptions in webclient complaints screen. So i deleted this enhancement in BT160I_CPL/ComplItem, since then i have been getting the following error in the webclient complaints screen.
Cannot display view BT160I_CPL/ComplItem
An exception has occurred Exception Class  CX_BSP_INV_ATTR_NAME - BSP exception: An attribute with the name "BTSUBJECT" is not defined 
Method:  CL_BSP_PAGE_BASE=>IF_BSP_PAGE~GET_ATTRIBUTE 
Source Text Row:  17
Any help on this will be highly appreciated.
Cheers,
Krish.

Hi guys,
             After enhancement set was deleted for the component BT160I_CPL view ComplItem and run it from BSP_WD_CMPWB transaction, it throws the following error.
Cannot display view BSPWD_BASICS/BreadCrumbView
An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_BT160I_C_BSPWDCOMPONEN_IMPL is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT120H_C_BSPWDCOMPONEN_IMPL 
Method:  CL_BT160I_C_MAINWINDOW_IMPL=>IF_BSP_WD_HISTORY_STATE_DESCR~GET_MAIN_ENTITY 
Source Text Row:  5
Cannot display view BT160I_CPL/ComplItemOVViewSet
An exception has occurred Exception Class  CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference 
Method:  CL_CRM_UIU_BT_I_OVW_VIEWSET=>SET_VIEW_GROUP_CONTEXT 
Source Text Row:  9
Cannot display view BSPWD_BASICS/ErrorView
An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_BT160I_C_BSPWDCOMPONEN_IMPL is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT120H_C_BSPWDCOMPONEN_IMPL 
Method:  CL_BT160I_C_MAINWINDOW_IMPL=>IF_BSP_WD_HISTORY_STATE_DESCR~GET_MAIN_ENTITY 
Source Text Row:  5
Any help on this will be greatly appreciated.

Similar Messages

  • Component Enhancement Deletion Problem in WEB UI

    Hi All,
    I created an enhancement set for component ICMPP_BT_SVT and then I had to delete it. I also deleted the records created by enhancement in tables BSPWD_COMP_EXT and BSPWD_CMP_C_REPL.
    But now I am facing exceptions  while I run this component. Please tell if I have missed any step for deleting the enhancement for this component.
    Please help.
    Thanks
    Vishal

    If you want to delete enhancment follow the steps below. It worked fine for me.
    First determine the objects (for example, BSP applications, classes, controller and so on) that were created by the enhancement. You can view these objects using the view cluster BSPWDVC_CMP_EXT (SM34): Select the enhancement set, choose "Enhancement Definition" and then "Controller Substitutes".
    Then go to the BSP components in the ABAP workbench (SE80) that are used to store the enhancements.  Search for the obsolete objects and delete them:
    - Search for controller -> Search for and delete controller class
    - Delete controller
    - If a view exists -> Delete view
    Then delete the Customizing entries ("Controller Substitutes") from the view cluster BSPWDVC_CMP_EXT.
    If configurations that contain fields from enhancements that are now deleted were created (BSP_WD_CMPWB), these must also be deleted manually.

  • Need to change field details of view but no enhancement sets exist.

    I am attempting to change one of the fields in the Accounts screen, changing it from a help value field to a field that will be populated with data from ERP. I'm okay with the appropriate code to populate the field but what I don't know is how I can initially create an enhancement set. When I look at the component and view the [Enhance Component] button reveals no enhancement sets.
    My understanding is that I will need an enhancement set in order to change the code/method related to the field. But how do I create one?.
    Where I believe the problem may be is that when I execute the transaction BSP_WD_CMPWB all I get is a Component and Test Application entry field and three buttons underneath with Display, Create and Test. There is NO Enhancement Set option or  icons in the far right corner to Create or Delete.
    What can be wrong here?.
    I should point out that this is abrand new CRM 7 implementation and there are NO enhancements sets in existance at the moment, which might be why this screen looks like it does, but this is surely a bug as I don't (using this transaction) have the option to even create an Enhancement Set.
    If this is the reason then maybe I need to create some kind of dummy enhancement set that more or less does nothing, and therefore no harm, and which may trigger the Enhancement Set field to be displayed when I enter the BSP_WD_CMPWB transaction.
    Anyone...
    Jason

    Micha, that little icon to the left of the component field was not there, but there was a different one saying 'SAP standard'. Anyway, I clicked on this icon and changed to the little man with paper behind him, and, the Enhancement Set field was also displayed, along with the create/delete icons as well.
    I've never paid much attention to that Icon before and had not realised it was switchable.
    You live and learn.
    Now that I can create an Enhancement set I can finally get on and make the changes required.
    With regards
    Jason

  • *"You can only assign one enhancement set per client"*

    Hi Experts,
    I have created one enhancement set key by using SM34 and assigned to Client. I did some enhancements on my Account management screen.
    Today i wanted to do some enhancements on opportunity screen, so i have created one more enahancement set key (SM34) and tried to assign it to my client by using SM30 by clicking on "New Entries". It says "You can only assign one enhancement set per client", so what exactly this means, cant i assign more than one enhancment set key for each client?
    If that is the case , whatever enahancments i do now and in future , Can i use the same enhancement key for all my enhancements? Will this create any problem/affect in future for my past enhancements on that particular enhancment set key?
    Else,What If everytime i create a New enhancement set key and if i replace it with the old one for the same client in SM30?
    Hope my question/ doubt is not confusing.....
    Thanks & Regards
    Rohan

    Hi Carsten,
    Thanks for your reply, it really cleared my doubt.
    But one more thing, i have already created 2 enhancement sets. i wanted to delete one, from where shall i start , can i delete it directly from SM34 itself or do i need to delete those enhancments in workbench and then table entries finally enhancement set?
    Sorry Carsten, I am a beginner so some questions may be really strange.
    And one more question.
    When i enhance a component, it asks for Application name where i have given Zname,
    then Page : For page can i use the same repository.xml or do i need to choose a different name??
    Thanks & Regards
    Rohan

  • Set deletion indicator in purchase requisition account assignment

    Hi Guys,
    Can you please help we with the solution to set deletion indicator in purchase requisition account assignment or close purchase requisition. A purchase requisition of $3.600.000,00 was created through Project system Network-External Processing and it has 2 duplicate network activities and $2.246.577,20 was converted to purchase order then $1,353,423 became the network remaining order plan. A purchase order service entry sheet was accepted and the invoice was created. Now Iu2019m experiencing problem when Iu2019m trying to change WBS element and Network system status to TECO in order to remove the remaining order plan of $1,353,423. Iu2019m getting error message number:06411 the procedure I have follow to correct the error is to reduce quantities in the account assignment item and delete superfluous account assignment by setting deletion in each case but I cannot do that because the fields are grey
    Regards
    Sandile

    Hi,
    please check first if the report ZMO_CORRECT_EBKN  from note 739004  can correct the problem.
    I would like to recommend you to check also the note 796973 whether the correction is avalilable in your coding, it should solve the issue.
    In case the problem still persists, please open a ticket to get help from the primary support in area MM-SRV.
    Regards,
    Edit

  • Set deletion flag on process order.

    Hi Friends,
    My requirement is i want to set deletion flag on process order.
    For this system gives error as
    1. System status CRCR is active (ORD 93000112)
    2. System status ORRQ is active (ORD 93000112)
    Here i have solve the problem number one through transaction code BS22 (i.e. under System status I0241 -CRCR , previously LKZS - Set deletion indicator & LVMS -Mark for deletion was maintain as Forbidd now i have made it under No influence )
    after saving this customization system give only error two ( System status ORRQ is active (ORD 93000112)
    Same way when i try to find ORRQ but here i havenu2019t found  ORRQ.
    Could you plz help me.
    Best Regards,
    Parag Save.

    Dear,
    The system sets this status when you release the order, provided that the Order record required indicator is set in the order type-dependent parameters (see Customizing for Process Order)....
    This setting is there in SPRO....
    Production Planning for Process Industries - Process Order-Master Data-Order-Define Order type Dependent parameters...
    In this you set the option Order record Required....
    Requirements are that the process orders are settled, associated PI sheets, inspection lots and any linked purchase orders are complete.
    Following are prerequisites for closing a process order
    1 The order must have the status Released (REL) or Technically completed (TECO)
    2 The order balance must be 0
    3 There can be no open purchase requisitions, purchase orders.
    4 There can be no future change records from confirmation processes.
    .Now Calculate Overheads using Tcode : KGI2 - Individual Processing
    CO43 - Collective Processing
    Step to be follow,
    1.Calculate WIP using Tcode : KKAX - Individual Processing
    KKAO - Collective Processing
    2.Calculate Variance by using Tcode : KKS2 - Individual Processing
    KKS1 - Collective Processing
    3.Finally do the settlement of Order in Tcode : KO88 - Individual Processing
    CO88 - Collective Processing
    Please refer this thread also,
    https://forums.sdn.sap.com/click.jspa?searchID=17422319&messageID=5934846
    The transaction COA5 (Archive Administration Preprocessing).
    This will allow you to set the deletion flag
    Hope this helps.
    Regards,
    R.Brahmankar

  • Issues of using same enhancement set for different components

    Hi experts,
    I have an issue when using the same enhancement set(ZCRM_EHSET) for two different components IUICMD & IUICMRD. Component IUICMRD has two views IUICMRD/MainVS & IUICMRD/MeterReading and these views have been copied to Component IUICMD.
    Now, i am getting the following error, when i try to access AccountSearch view of component IUICMD
    Context initialization failed in view IUICMRD/MeterReading of UI Component IUICMD
    An exception has occurredException Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_IUICMD_BSPWDCOMPONENT_IMPL is not compatible, for the purposes of assignment, with target type \CLASS=CL_IUICMRD_BSPWDCOMPONENT_IMPL
    Method: CL_IUICMRD_METERREADING_IMPL=>DO_INIT_CONTEXT
    Source Text Row: 10
    Let me know how i can solve this. Is there any precautions that i should have taken before using the same enhancement view for two different components.
    Thanks in advance.......................
    Regards,
    Prabahar

    Hi Bharathy,
    Thank you for the reply which helped me to come close to the solution.
    I hope you reply will solve the second part of my question where i get MOVE_CAST_ERROR.
    My first Question is still unanswered and i request you to provide solution if you have any. I worked on CRM 4.0 and CRM 2007 is new to me.
    My first question is below.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set.  But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    Is it the std behaviour that views from one component is copied to other when you try to use the same enhancement set? Kindly let me know if you faced similar situation.
    Best regards,
    Prabahar

  • Can we change the enhancement set for a component

    Dear All
    I have a situation where in we need to change assign a different enhancement set to all our components which got enhanced.
    We can only have 1 enhancement set active for a client.
    Now in our case
    Say for client 300 we were using Enhancement Set E1.
    Our requirement is to create one more enhancment set E2 and assign it to client C1. We can do that.
    Do we we have a mechanism to move all development already done using E1 to E2?
    Please Help.
    Thanks
    Gaurav Sahai

    Hi Gaurav,
                   We create enhancement set in SM30, then assign it to client also there.
    After that, when we go to BSP_WD_CMPWB - by default we see the enhancement set assigned to the client. Now there are 2 things:
    1. to use different enhancement set for different users - you can implement badi component_loading to load different enhancement set depending on business requirement by writing code:
    RV_RESULT = <name of ENHANCEMENT_SET. >
      there is a default implementation in the system for reference.
    2. all enhanced views can be seen in transaction SM34, give name of view cluster as  BSPWDVC_CMP_EXT
       Select your enhancement set -> go to Enhancement Definitions (here you see components enhanced) -> select any -> go to Controller Subsitutes (here you see all view enhanced).
      You can try copying all these entries into another enhancement set. I am not sure if it will allow same entries in two different sets (if it doesn't you will have to delete from the other).
    I hope that resolves your query.
    Thanks,
    Rohit

  • Enhancement Set error in AAK

    Hello Experts,,
    We are trying to follw the steps given in the AAK Standard Documentation. We have created the Change Piece List Delivery Package and When we are doing the Object List check - We are getting the following error for enhancement set table Contents.
    - Table contents (cross-client, delivery class C) : No Import
    - R3TR TABU BSPWDVC_CMP_EXT
    - R3TR TABU BSPWD_CMP_C_REPL
    - R3TR TABU BSPWD_COMP_EXT
    - R3TR VDAT BSPWDV_EHSET_ASGN
    Please suggest solution to resolve this. Thanks in Advance.
    Regards,
    Vinay

    Dear Balaji,
    For the above type problem, iam sure it wont hits as error, it will throughs warning only. If you want to rectify that warning you should get accesskey.
    Regards
    Arani Bhaskar

  • Active enhancement  - Table BSPWDV_EHSET_ASG - Problem

    Hi, i have a problem about active more than one enhancement using the table BSPWDV_EHSET_ASG.
    I have two enhancement ZCRM_BP_DATA and ZCRM_BP_HEAD, how can i add these enhancement on the table BSPWDV_EHSET_ASG in the same client to active the enhancement's?
    Thanks in advance,
    Antonio Campos

    Yes, BAdI is the only way to use multiple enhancement sets. There is no requirement for a 2nd enhancement set as a enhancement set is a grouping of all enhancements. And SAP thought one should do.
    You can club all the enhancements you have in different components into one set. If you created a second enhancemnet set and put in enhancements in it, you may have to revert the enhancements from the second set and redo them into 1st set. Ideally and for all practical reasons we need just one enhancement set.
    Edited by: Amar Nath on Aug 30, 2010 11:47 PM

  • Enhancement Set

    Hi,
    Knowingly or unknowingly we have created two enhancement sets for enhancing different components.
    Enhacement Sets            Components                       Client Assigned To (SM30)
             z1                         BP components                           200    
             z2                         Object components                      100
    We are able to display custom fields (of Object components & z2) in 100, but not in 200. I assume only z1 is getting activated.
    How do we make sure that the enhacement set z2 is also active for 200. Using BAdi COMPONENT_LOADING is an option or there are any ways to proceed without deleting the enhancement sets.
    I am not sure if I can trasport them to other systems.
    Please suggest the best possible approach to this issue.
    Thanks,
    Aditya.

    Hi Aditya,
    For one client, you can only activate one set of Enhancement Set.
    You can delete the record for  z1 BP components 200  in tcode SM30 (table BSPWDV_EHSET_ASG)
    Then add new for client 200 with Enhancement set z2 BP Components.
    Yes! you need to delete the old record setting in table BSPWDV_EHSET_ASG before adding new one.
    Don't worry, your current enhancement under that Enhancement Set will not be deleted. Setting on table
    BSPWDV_EHSET_ASG only define which Enhancement Set is activer per client.
    Beside why do you need to activate 2 Enhancement Set (by not deleting the old assignment)?
    I don't see any reason to do this.
    Cheers,
    Gun.

  • HT201320 Once I have downloaded email on my iPad the same is not downloaded on my laptop. Have tried all settings including choosing the setting DELETE FROM SERVER:NEVER and REMOVE FROM SERVER:NEVER

    Once I have downloaded email on my iPad the same is not downloaded on my laptop. Have tried all settings including choosing the setting DELETE FROM SERVER:NEVER and REMOVE FROM SERVER:NEVER

    Hey rbrylawski, just wanted to let you know that my ipad email problems have been solved. Called Apple Sup in OZ, I'm in NZ. Daniel Barber was the support tech from heaven!! I was about to return the ipad but solving this issue reset my faith in phone support.....perhaps until I call a differnet companys phone support eh? Anyhow, for reference the fix is below.  My accounts are all POP not IMAP, and the primary smtp server setting had defaulted to have SSL switched on and the port was set to 5XX (something, cant remember). Anyhow, SSL was switched off and the port was swithced to 25. VOILÀ!!  Settings/Mail, contacts, calendars/My POP mail account/smtp/primary server/ >>> server on, no username and password,  use SSL off,  no authentication,  Server Port 25  Thanks for having a crack at it. This might help when assisting another user. Cheers Tonino

  • BADI COMPONENT_HANDLING   -  Determining Enhancement Set

    Hi Experts,
    we've implemented the BADI COMPONENT_HANDLING.
    My Intention is to set the enhancement set in dependancy of the selected business role and my problem is that I couldn't find the correct class which could deliver the selected business role in the badi......
    It would be great if you could give me a hint how I can call the correct class in BADI COMPONENT_HANDLING...
    regards
    marc

    Hi Marc,
       Implement the BADI - COMPONENT_LOADING instead.
       In the method write the logic as follows:
      data: LS_USER_ROLE type STRING.
      data: LR_PROFILE_INSTANCE type ref to IF_CRM_UI_PROFILE.
      data: LS_ASSIGMENT type BSPWD_EHSET_ASGN.
      lr_profile_instance = CL_CRM_UI_PROFILE=>GET_INSTANCE( ).
      lr_profile_instance->get_profile( RECEIVING rv_result = ls_user_role ).
      CASE ls_user_role.
         WHEN 'your user role'.
          RV_RESULT = 'your enhancement set'.
      ENDCASE.
      RV_RESULT - is the returning parameter of this method.
      And the framework will take care of all other things.
      I hope this will solve your issue.
    Regards,
    Raghu

  • Follow up action to set delete flag after UD (QS41, QS51)

    Hi all,
    If user give UD as 'not good' for Equipment (eg Vernier Caliper) then he has to set delete flag for maintenance plan no and Equipment no through IP02 and IE02 respectively
    now he want that, above delete flag should set automatically after giving UD so particular maintenance plan or equipment should not release in future.
    I got one follow up action 'QM_PM' in transaction QS51 due to this after giving UD for Inspection lot, plan get technically complete (TECHO)
    so how to make changes so i'll achieve above functionality
    plz tell me about catalog, follow up action, QS41
    thanks....

    Hi all,
    i got one solution on which i am working
    Steps:
    1.The solution is to use the User Exit namely QEVA0010 and use the logic as mentioned below.
    2. Test and use the above mentioned user exit.
    3. The first condition should be checked for Inspection Type - 14 and for UD code NG.
    4.Logic to be used To set the deletion flag for the Equipment.
       Go to Table QAPP - Pass inspection lot Number and get the Equipment no.
       Go to Table EQUI - Pass Equipment no and get OBJNR  
    Go to Table JEST - Pass the Objnr - The value for deletion flag status is active is I0076 and the value for deletion  flag inactive is I0320.
       In order to set the deletion Flag,use help of FM - STATUS_CHANGE_INTERN to code.
    5.Logic to be used To set the deletion flag for the Maintenance Plan.
    Go to Table QALS - Pass inspection lot no and get the order no.
    Go to Table AFIH - Pass order no - Get maintenance Plan.
    Go to Table MPLA - Pass the maintenance plan and get the Objnr no.
    JEST - Pass the Objnr - The value for deletion flag status is active is I0076 and the value for deletion flag inactive is I0320.
      In order to set the deletion Flag,use help of FM - STATUS_CHANGE_INTERN to code.

  • Error while transporting Enhancement set to QA

    Hello All,
    We are implementing AAK for a product. We have imported all the Transport Requests from DEV to QA. We have created a Change Piece List Package and did object check list. We got errors regarding table contents of Enhancment set like 'Table Contents(Cross-client, delivery class C) : No import'. Contents in the table are BSPWD_EHSET_DEF, BSPWD_CMP_C_REPL, BSPWD_COMP_EXT, BSPWD_EHSET_ASGN.
    Please suggest me a solution.

    YOu can try transporting the entries using generic keys.

Maybe you are looking for

  • Creating a word report , how to do this ?

    Hi all , My first post . I have been working with PL/SQL for the last 3 months. I have a question in APEX. My application allows users to enter data .So once the data entry is done , I have to create a word document by clicking 'create ' button ' . H

  • Reading character * at command line argument?

    import java.util.regex.Matcher; import java.util.regex.Pattern; public class FindDemo { public static void main(String[] args) { Matcher m = Pattern.compile("[aeiouAEIOU]*(\*)[atcgAGCT]*").matcher( "agctaEvening is full of the linnet's wings"); if (m

  • Dashed lines in windows

    I am occasionally getting odd display artifacts in the application windows. The artifacts typically show up as pink dashed lines. I can scroll the lines out of the displayed pane but they are still there when I scroll back. Any ideas? Are they an ind

  • Newbie question J2EE and Windows ME

    hi i am a young student trying to learn about j2ee. i have installed the j2ee package and set the environment variable JAVA_HOME, J2EE_HOME and ANT_HOME and PATH and CLASSPATH as the documentation says. If I type on the command line j2ee -verbose to

  • 1.0.5.2304 keeps updating... over and over...

    installed this morning and all went well. now it want to update again to the same thing... there's a bug for you. Solved! Go to Solution.