Activating the Enhancement in WEB UI

Hi experts ,
My requirement is , I enhanced a component name as BTPARTNER with enhancement set ZBTPARTNER . In that I Enhanced the view BTPARTNER/Partner  and context node as BTPARTNER , I Generated the setter and getter methods for an attribute partner_no , there I put break points to test data , but it's not triggering .  what can I do to trigger this Enhancement set and how to activate enhancement set.
Thanks & Regards
Siva

Ok ..then enhancemet set is correctly picked up .. no issue with ehset...
I think there might be some issue with the context node enhancement. Can you please put breakpoint in the redefined method CREATE_BTPARTNER and see if that is called ? also check that it is not calling the standard CREATE_BTPARTNER  method.
it shd call the method which has this statement like this.
model = owner->create_model(
      class_name     = 'ZCL_BTPARTNE_PARTNER0_CN00'
      model_id       = 'BTPartner' ).                       "#EC NOTEXT
  btpartner ?= model.
Also see that Z*_CTXT class should have an attribute like ZBTPARTNER type ref to ZCL_BTPARTNE_PARTNER0_CN00..
let us know what u observe..

Similar Messages

  • Problem in activating the data source using a web service

    Hi all,
    I have created a web service with Logical and Source System names and i have selected nothing in the Type and Release.
    Activated the created web service.
    Later i tried creating a data source based on this web service source system and tried activating the data sources.
    But it is throwing an error saying that error generating the Web Service /BIC/CQWEB_SER_000020000 and error while activating the data source.
    Can any one say why is this happening and is there any pre requisites to be done while creating the web service?
    what is the use of Type and Release while creating the webservice?
    Thanks,
    Pra.

    Hi
    Please consider reference tables also while creating view, otherwise it won't accept when there are amount and currency fields.
    Please have a look at the below url
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=genericdatasourceusingview&cat=sdn_all
    thanks,
    Teja

  • Class activation failed  Error when trying to activate the enhancement

    Hi ,
    Wheni try to activate the enhancement for the component BP_HEAD_SEARCH  view SEARCHHELP
    i get the following error message Class activation failed  Message no. BL001
    the error occurs in implementation class , as wizard is adding some junk code.
    Is there other way to work on it .
    Edited by: sowmya K on Dec 9, 2008 2:00 PM
    Edited by: Lakshmi on Dec 10, 2008 9:14 AM

    The method WD_CREATE_CONTEXT in your Z-class has two ENDMETHOD. lines, one before and one after the wizard-implementation "ztyped_context ?= context." Just delete the first ENDMETHOD. line and activate the class, should work fine.
    Alternatively implement the note 1167357
    Edited by: Philip Kopetzky on Jan 14, 2009 12:34 PM

  • None of the enhancements CATS0001-CATS00012 are being fired from Tcode CAT2

    I created a project in cmod and added the enhancement components CATS0001-CATS0005.I then added code in the function exits(includes) and activated the project.When i run the transaction <b>CAT2</b> , none of the enhancements are getting fired although i place a breakpoint in the includes.
    Could you please help me out ASAP. 
    Regards,
    Monica.

    Thanks for the reply. I had checked this a few days ago - you are correct - iut was that parameter. The reason i thought it did not include css and js was that the report RSPARAM does not relfect the values (it truncates the string even though the report box has enough room to display more characters). To get the actual value it is necessary to double click on the report field. Crazy!
    For those interested - the result - about 75% less bandwidth required for GUI HTML from web browser or iView.

  • De-activating UI Enhancement Implementations

    Hi,
    Can anyone please tell me if its possible to deactivate Enhancement Implementations that are created for ABAP WD components?
    I know that Enhancement Implementations that are based out of BADIs have a checkbox "Implementation is Active" by which I can control whether the Enh.Imp is active or not.
    Is there something similar even for the Enhancement Implementations that are created for the ABAP WD UIs?
    Thanks a lot in advance for your reply.
    Best Regards,
    Pramod

    Hi pramod,
    Check this link.
    [SDN-Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63a47dd9-0b01-0010-3d8e-de27242bf011]
    Best of luck,
    Bhumika

  • ERROR WHILE ACTIVATING THE TRANSFORMATION

    Hello Experts,
    I am getting the following error when I am activating the transformation between the source (8ZPROT1) and the target (InfoSource for SEM-BCS(Tcube->Datasource) in BI 7.0
    " Syntax error in GP_ERR_RSTRAN_MASTER_TMPL, row 100 (-> long text)"
    When I go into the program: GP_ERR_RSTRAN_MASTER_TMPL, here is the error:
    CODE:
    *-- Check against the additional field I enhanced in the generate data source
    *--8ZPROT1
    lField: 0BCS_REFYR Reference Year.
            0BCS_REFYR           TYPE N LENGTH 4,
    ERROR MESSAGE:
    Program GP_ERR_RSTRAN_MASTER_TMPL
    Names may only consist of the characters "A-Z", "0-9" and "_". In
    addition, they may not begin with a number. number. number.
       The data should flow from the SAP business content, so the fields should start from 0BCS_REFYR.
    Can someone explain this?
    Thanks.

    Hi Experts,
    Thanks for the response, but unfortunately I couldnt understand what to do with the Tcode you specified. Any how in the update rules I found that the field KEY FIELD OF THE STRUCTURE  icon is not there for all the added fields. Is ther any thing to be done with this check box to mke it as key field?
    Sunitha.

  • 2LIS_04_P_MATNR - Prob in activating the Datasource in R/3

    Hello,
    I am trying to activate datasource 2LIS_04_P_MATNR in r/3 in Tcode : rsa6/rsa5  and I am getting a warning that says
    The even-numbered length of the DEC field I_DLZ_EX can lead to problems
    I serached and found that note : 641744 is applicable.
    The solution in the note says that there are 3 options to rectify this error as below:
    If the field is not manipulated in the customer exit or elsewhere, no processing is required.
    If you change the field, the following possible solutions are available:
    You can make sure that the number of the characters does not increase after the manipulation.
    If you can change the extract structure of the DataSource without affecting other scenarios (for example, if it was generated in transaction RSO2), you can increase the length of the DEC field (or CURR, QUAN) there to the next odd character (in the example above: from DEC 4 on DEC 5).
    If neither of these solutions are possible, you can use a customer append that contains a relevant DEC field (or CURR, QUAN) with the next highest odd length. This can be used for the result of the calculations. This means that you do not have to manipulate the previous field.
    I am opting the 3rd option i.e. to use an append structure with a field QUAN(in my case) that has next highest odd length
    I am using the field BDMNG(length 13) from table RESB. The feild mentioned in the warning have length 12.
    The problem is still occuring.
    Am I able to understand the note correctly or am I missing something?
    Can anyone help here?

    Thanks Deva. I ignored the warning and went ahead with the enhancement.
    After the activation of datasource I deleted and filled the setup tables, but the NPRT log showed 0 records.
    Then after reading few threads at SCN I came to a conculsion that my setup table is refering to view CAUFV which does not contain data for order category AUTYP 10(PP Production Order) and therefore the data extracted is 0.
    There was a thread mentioning the same problem that said (steps to fill the setup tables for 2LIS_04_PECOMP(Repetitive manufacturing Component view)) that the solution was to run OLIFBW Tcode after completing OLI4BW setup. So i did the same. But still my NPRT log still shows 0 records.
    Also I checked AUFK table. It does not contain any data for AUTYP 10.
    Please advise what should be the correct way to solve this.

  • What are the best practices for using the enhancement framework?

    Hello enhancement framework experts,
    Recently, my company upgraded to SAP NW 7.1 EhP6.  This presents us with the capability to use the enhancement framework.
    A couple of senior programmers were asked to deliver a guideline for use of the framework.  They published the following statement:
    "SAP does not guarantee the validity of the enhancement points in future releases/versions. As a result, any implemented enhancement points may require significant work during upgrades. So, enhancement points should essentially be used as an alternative to core modifications, which is a rare scenario.".
    I am looking for confirmation or contradiction to the statement  "SAP does not guarantee the validity of enhancement points in future releases/versions..." .  Is this a true statement for both implicit and explicit enhancement points?
    Is the impact of activated explicit and implicit enhancements much greater to an SAP upgrade than BAdi's and user exits?
    Is there any SAP published guidelines/best practices for use of the enhancement framework?
    Thank you,
    Kimberly
    Edited by: Kimberly Carmack on Aug 11, 2011 5:31 PM

    Found an article that answers this question quite well:
    [How to Get the Most From the Enhancement and Switch Framework as a Customer or Partner - Tips from the Experts|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0f0373e-a915-2e10-6e88-d4de0c725ab3]
    Thank you Thomas Weiss!

  • I currently run the Design and Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How do I know whether I can install my Adobe programs onto the new computer? Because I know there is some kind of limit.

    I currently run the Design and Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How do I know whether I can install my Adobe programs onto the new computer? Because I know there is some kind of limit.
    Also, I had to install the software twice on my same computer before because I had to reboot the computer. I don't know if this affects the limit.

    You are allowed to have two activated installations so there should not be a problem having working installations on the two machines.  If by chance you have somehow tied up two activations for the one machine you can have Adobe support help resolve that thru chat.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Hard drive died.  Need to reinstall on new laptop with windows 7 64 bit system,  Need to get activation code for CS3 Web Premium.

    Hard drive died.  Cannot uninstall CS3 to remove copy registration. Need to reinstall on new laptop with windows 7 64 bit system,  Need to get activation code for CS3 Web Premium.

    Thank you Bob.
    Just to clarify - in terms of backing up one set of these, would that just be so I had it on disk and didn't need to re-download from Adobe if the installation got corrupted somehow?  Or do I need a backup for some other reason?
    Thanks

  • Display document in the Single Document web item -authorization problem.

    Hi Gurus,
    I have a problem.
    I have two types of users, users for display document in the Single
    Document web item and users who can maintain and create new comment in
    the Single Document web item.
    My problem is I can't create users that can only display documents (all
    users who can display the query can add new comment).
    We use the new 7.0 Authorization.
    The authorization object S_RS_ADMWB doesnu2019t influence about the
    activity in the Single Document web item.
    In the new authorization method, in PFCG or in RSECADMIN there is no
    functionality that we can separate between the two types of users I
    mention before.we used S_RS_COMP & S_RS_COMP1.
    Please advice
    Sharon.

    Hi Sankar,
    this may be helpful
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/ae133bdca84047e10000000a11402f/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e3/ae133bdca84047e10000000a11402f/content.htm</a>
    Pavel

  • Set up table contains the enhanced field information?

    Hi Experts,
    I am enhancing a field in the datasource 2lis_11_vaitm,
    Things i did :
    1.Enhanced the ext.structure with the required field.
    2.Activated the ext.structure.
    3.Witten the logic in the CMOD.
    4. Deleted the Setup table and refilled.
    Now my question is :
    1.Did the setup table contains the ENHANCED FIELD with the historical data ?if so where to see that?
    I checked in RSA3 the enhanced field is displayed with the records.
    The code i have wriiten is WHEN "DATASOURCE " then -> logic from the base table.
    Now will the data come from the base table or from the setup table?
    Can any one help me in this issue.
    Best Regards
    Jelina

    Why do we need to delete the setup table after doing enchancement with standard Datasource.
    Ans :
    You neednot refill the setup table just because you enhanced the datasource.
    You need to delete and refill if the postings happened after you filled the setup table.
    Meaning you will miss the current posting.Unless you have done a init in BI/BW side.
    Hope this helps.

  • How to call activity Trnsaction in Ic Web....

    Hi,
    I am very new to IC Web client, and i want to know how to call an activity in Ic webclient,
    Generally we can call Lead, Opportunity ....Through transaction launcher....(Navigation bar)
    but we can't call Activity through transaction launcher, Then how can i get this activity transaction in Ic web...For this what are the settings i have to do...
    Thanks in advance..
    Regards,
    Venu.

    Hi Venu,
    Plz surf through the link
    http://help.sap.com/saphelp_crm40/helpdata/en/12/c3e68620514b499c06b8eb26874424/frameset.htm
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Enhancement in web dynpro alv

    When iam enhancing ALV (web dynpro). how to add another attribute to the context.
    Actaully the context is referring one structure.

    Dear C MADHAV
    then it seems you will need to enhance (append) your changes to that structure on the Data Dictionary.
    Kind Regards
    /Ricardo Quintas

  • Enhancement of web services

    Hi,
    I hope I am at the right place in the forum.
    I have to enhance a standard webservice with several customer fields.
    The documentation is clear about the point if enhancing one field (p.e.: userfullname) you will choose the right place that means related message data type (in our example same root like   username and changeddate).
    In my case I need to enhance with several fields ( 12 or 15 )
    did some body allready do that?
    What is the best solution ? to search for every fields a nearby information and settle it in the same root, with the problem that the fields are then dispatch in the whole message type
    OR
    modify or add only one root and add all the customer fields in it ? Avantage : there are all at the same place
    Desavantage : you gather pears and apple at the same place
    Thank you for any advice
    Vincent

    When you use the Enhancement Framework, you are changing the development object. Therefore your changes will be active for all times that this development object is called.  There would be no way to filter this by parent component.  Only BADIs would have input filters; but then you would have to pass in the parent component name as the filter value when you call the BADI.
    Depending upon what kind of Enhancement you implement - if it is coding you could put an IF check or something around your code to only fire under certain conditions. You could lookup the application name or call some other WD API to try to find what you are running within.  Your enhancement would still always fire, but you would have logic so that it only changes the output under the conidtion of the component you want.

Maybe you are looking for

  • How do I view bookmarks in tables of contents like I do in acrobat?

    I have a table of contents in my PDF that jumps to the appropriate page with bookmarks when I access it with Adobe Acrobat. what I can't figure out is how to use it the table of contents in the iOS app in a similar way. Can anyone help?

  • Unable to recreate the same user in OBIEE 11g

    I have created user name : Justin logged into analytics as justin. deleted the user: Justin. re-created the user: Justin when trying to login, I am getting below error: Unable to Sign In An invalid User Name or Password was entered. should I be delet

  • Translating Pages document into Keynote presentation

    Hello, I have been creating a design portfolio as a pages document. A keynote version of some of the completed pages has been made by taking a screenshot and then pasting the images into Keynote. I have also attempted to find a export or conversion c

  • Report On folders/documents/version in CRM

    I need to develope the report using folders/documents/version in CRM created for <b>Business Partner</b>(Master data). This details are provided in 3 different tables and there is no reference/link to Business Partner.so how can get the report? do we

  • Mounting disk0s2 while in single user mode

    My mac mini wont boot.  The recovery mode tells that disk0s2 has I/O Error and more specificly, its a "Disk full error".  To delete some files and free up space, I booted mac into single user mode.  But how to month disk0s2 from here so that I can de