How to add new class to existing DC (Web Dynpro project)

Hi,
How can I add new class to an existing DC (Web Dynpro project)?
I tried adding it using File - New - Other - Java - Class, but after a build of the DC the new class (and its contents    ) was completely removed.
Then I created a new DC (java project) and created a new class in that DC. This went fine, but I got into problems because of circular referencing between the new & the old DC, so no build was possible.
This can't be difficult, does somebody knows how to do it?
My temporary solution is to add the classdefinition to an exisiting .java file. Very ugly.
Thanks,
Jeroen

Hi Jeroen,
where did you create the class? If the *.java file is placed in the src/packages folder it should not be deleted by a build. (I suspect you created it in the gen_wdp folder?)
Regards,
Marc

Similar Messages

  • How to add a javabean Model to a web dynpro Project

    Hi all,
    I have been following the tutorial "Using EJBs in Web Dynpro Applications" for creating a customized LOCAL webdynpro application, based in javabean Model. It was made by just exporting the JAR file from a java project, as it is explained in the tutorial. OK.
    The problem comes when I want to duplicate the development but using a DC Web Dynpro Project. I have re-develop every step of the tutorial but using DC projects:
    DC diccionary project, DC ejb project, DC enterprise application project & DC java project.
    But now I DO NOT KNOW the steps for importing the development into a model for DC Web Dynpro.
    Anyhelp will be very appreciated, thanks in advance-

    Thanks Jhansi,
    Yes, you are right. I had already followed those steps. The error comes when I have to select between the JavaBean Source:
    1. project (source folder) (checkbox)
    2. public parts of used DC's (combobox)
    I have been trying both, the second one by copying first the JAR called CommandBean.jar of my DC Java Project with dependencies to EJB project into the web dynpro "lib" folder, and then selecting the new entry CommandBean.jar from that combobox.
    then i get de following error: "Invalid JAR - No JavaBeans available for import"
    So I do not know how to use any of these two options for java source.
    Thanks.

  • How to add new infoobject to existing cube or dso?

    Hi all,
    Can we add new infoobject to exixting cube in BW 3.5 ver? if yes how can we add? Please provide me steps.
    Thank you.
    Sunil

    Hi Sunil,
    If you want to add new info object to the IC or DSO which is already holding data - then you need to make a copy of that particular DSO/IC and load the data into dummy.
    Now delete the data from the IC/DSO to which you want to add the new info object. once the data is deleted it will allow you to add new info object to you IC/DSO.
    save it and activate the IC/DSO
    load the data from Dummy DSO and from new run on wards the newly updated info object will also get updated(historical data will not be updated if its newly added to DS as well).
    If you want the historical data for the newly added field then you need to drop the compelte data and need to extract from source.
    Note: You can't include the new info objects are change the existing info objects if there is data exist in the IC/DSO
    Regards
    KP
    Edited by: prashanthk on Dec 31, 2010 10:54 AM

  • How to add new class in modified template...

    Finally I have encourage myself to scratch to (for me deepest darkwood) templates...
    I have modified original Theme 2 to My theme 2 and added in some tempaltes region my parts-looks promising.
    Now I want to create sidebar region that is 450 px wide.
    It should be the same sidebar region but with different width!
    I saw on file system that there is .css so I add this class in it....(as aspected) it is not shown in template class list...
    I am able to apply that new class to template, but I cannot see that class in "Template Class" LOV (in Edit Region Template form).
    Is that important and could this bee seen in that list?
    THX!

    I have now working template with my new class...
    What is still bothering me is that I have editeted "theme_V2.css" file. I'm plannig to put my app on hosted WEB site in Germany, where this file will not be the same as is on my server.
    How to achieve future compatibilty according this?
    THX!

  • REG: How to add new fields to existing Infospoke

    Hi All,
    We have an existing Infospoke, It has ODS as a Source and some fields are being pulled.
    But here is the scenario....
    I need some extra fields that are available in other ODS. How to add that fields ?
    By some research came to know that.. I need to lookup on the ODS and populate into existing Infospoke.How to add these fields to InfoSpoke using BAdi implementaion.
    Note: already BAdi is active in the infospoke.
    Please help me in this regard

    Hi Chase,
    As you mentioned that BADI is already implemented then I guess you should be able to extend the existing BADI itself.
    For doing lookup first you should know the key fields of source DSO then by using the existing field of Infospoke you will have to read data from DSO.
    DATA: it_data type standard table of 'DSO Name'.
    select Key1 key2 etc...
              Field1 Field2 Field3 Field4
              from DSO
              into table it_data
              for all entries of infospoke
             where key1 = infospoke1-key1
                         key2 = infospoke2-key2.
    This will give you all the required records from source DSO into internal table it_data. Now you using this table you can populate the original table of Infospoke.
    Regards,
    Durgesh.

  • How to add new validation for the iProcurement web page?

    Hi,
    I am very new to OA Framework. Can you experts give me some guidance on how to proceed with the following customization?
    My requirement is in iprocurement when you open a new cart and check out on "ICX_POR_SHOPPING_CART" there is a Project Field and reference to Charge account. If the users go to charge account (ICX_POR_CHECKOUT_SUMMARY) and enter the segment values ( which includes project segment) and enters a value in project segment other than '000000' with out entering the Project Field on "ICX_POR_SHOPPING_CART" the page should give error.
    Please give me some suggestions on how to proceed.
    Thanks
    Vish

    I need the client side validation. By saying server side validation if you mean writing a triger on tables to validate then I am thinking to take that option as last resort.
    Can you please tell me what is PPR ( Is it personalization?) stands for.? In my case the Charge Account is DFF.
    Can you direct me to any documentation on how to add custom javascript to achieve my objective?.
    Thanks for your Help.
    Regards

  • How to add UI Commands to MenuActionItems in web dynpro

    Hi all,
    is it possible to use UI Command Groups or UI Commands in web dynpro menu?
    I have a Menu with MenuActionItems in my web dynpro app. I'd like to use finished configured UI Commands from the portal like new -> new folder...
    I don't know how to bind the UINewFolderCommand to my MenuActionItem, and I don't want to reinvent the wheel.
    Thanks a lot for your help!
    Steffi

    Nobody?
    Maybe somebody knows which URL I have to call to use the given upload iview?
    I want to create a menu in my web dynpro which calls this upload iview. I want to use the available iview and don't know how to call it...
    Thanks a lot
    Steffi
    P.S: it's understood that points will be awarded!

  • How i use nwdi to modify existing standard web dynpro application

    Hi,
    I need  to change some existing application of web dynpro Java. I found solution nwdi would help in that. But how i use it can any one explain me in detail. Nwdi has already installed over here. So can i use it can explain me step by step.
    Regards,
    Gurprit Bhatia

    Hi,
    First you need to import the WD application to your NWDS and then you need to checkout the code for making any changes after making the chanhes you have to checkin the code.
    First you need to setup the portal path in
    1. WIndow->Preferences->Java Development Infrastructure->development Configurations.
    2. You have to create a client in DTR by going into DTR Perspective.
    3. Import the configuration from the track (this is your standard WD application) in Development Configurations Perspective.
    4. Create the project from Inactive DCs tab.
    5. Navigate to WD Perspective and build the project.
    6. Check out the code to make chnages
    7. Checkin the code after making the changes
    8. Test the application in Portal
    Regards,
    Lakshmi.

  • HOW TO ADD NEW COLUMN IN EXISTING QUERY

    hi,
    i m working on oracle reorts 10g. i have a multiple query based report. now i want to add a new column in query 1 and order by on that new column .
    i added column in query but when i see that group i dont find that column in that group.wt do i need to do to visible that column in query1 group thats y the order by on that column is not working i think.
    tell how to solve it ?
    thanks

    Hi,
    The new column you have added might be in the least level group of that query.
    Drag it to the desired group level, first postion and set the break order for that item in the property pallette..
    (If still the item not coming, check whether you have put 'comma' in the select query after writing the column name)
    Simply giving the column in the order-by clause will not work in report.
    In Report, record display order is completely based on the break-order of the items given in query-groups
    If you change accordingly it will work
    Regards
    Dora

  • How to add new fields to CRM 2007 Web UI

    Hi,
    I am new to SAP CRM 2007 and I am interested in how to extend the Web UI, for example adding new fields, to meet the customer requirements. Should I use the EEW or is there another "new and easier" way?
    Thanx & best regards,
    Oliver
    Edited by: Oliver Pregler on Jan 30, 2008 5:50 PM

    Actually for the new IC webclient UI you have need to take a look at your options:
    1.  New Installation:
    Use the EEWB and add the fields.  As part of the EEWB work, you will have a couple of post-processing steps where you will add your generated fields to the new screens.  However this doesn't require any programming.
    2.  Upgrade from CRM 4.0/50
    - New fields to add as part of upgrade
    See the directions for new installation
    - Existing fields to add as part of upgrade
    --See the blog on the 40/52 CUSTOMER_H migration for transaction fields
    --Business Partner fields part of BUT000 available via UI configuration tool, no extra work needed
    --Business Partner fields part of tabular extension, manual work required, I am still "perfecting" this method and plan on writing a blog once I have the technique finished.
    --Product Attributes - use the transaction CRMM_UI_PROD_GEN and CRMM_UIU_PROD_CONFIG
    I know CRM 2007 is based on the same tech foundation as 2006s, with some differences in how the UI tool works and the fact there are some screen layout changes(editable overviews).  The extension procedures are generally the same.  I can answer some of you extension questions based on my work with CRM 52 so far.  It will generally apply to your situation.
    BTW:  The PCUI is no longer supported in CRM 2006s and above.  Even the old SAP GUI transactions such as BP, COMM_PRODUCT are removed from the standard CRM menu.   The SAP CRM web client should be used instead now.
    Take care,
    Stephen

  • Add/Delete elements from viewcontaineruielement in web dynpro abap

    Dear all,
    Please let me know how to Add/Delete elements from viewcontaineruielement in web dynpro abap? I have copied a viewcontaineruielement from another program and now i dont want few elements from that viewcontaineruielement in my view. Please guide

    Hi Ajinkya,
    I have copied a viewcontaineruielement from another program and now i dont want few elements from that viewcontaineruielement in my view. Please guide
    Have you saved that VC element as template and using that template in another component?.If so,on resuing that VC element template it populates all the screen elements which you've save as template.
    Now, select that VC element which you've re-used,based on you're requirement add/remove UI elements as Kiran suggested.
    Hope it will resolve your issue.
    Thanks
    KH

  • How to add new row and update existing rows at a time form the upload file

    hi
    How to add new row and update existing rows at a time form the upload file
    example:ztable(existing table)
    bcent                      smh            nsmh         valid date
    0001112465      7.4                       26.06.2007
    0001112466      7.5                       26.06.2007
    000111801                      7.6                       26.06.2007
    1982                      7.8                       26.06.2007
    Flat file structure
    bcent                       nsmh         valid date
    0001112465     7.8     26.06.2007  ( update into above table in nsmh)
    0001112466     7.9     26.06.2007  ( update into above table in nsmh) 
    000111801                     7.6      26.06.2007 ( update into above table in nsmh
    1985                      11              26.06.2007   new row it should insert in table
    thanks,
    Sivagopal R

    Hi,
    First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.
    Then :
    Loop at it.
    *insert or modify as per your requirement.
    Endloop.
    Regards,
    Srilatha.

  • How do you add new songs to existing playlist on iphone 5?

    Before the update a few months ago I was able to add new songs to an existing playlist by hitting the Edit button.  Now I can only delete songs off of a playlist.  Has anyone figured out how to add new songs or do I just have to create a new playlist?  I really hope I don't because they will all be the same then.

    What could I do to be able to add more pages to a document?

  • HT1296 how to add new photos without deleting the existing photos in ipad

    Hi,
    Can anyone tell me how to add new photos/PDF books from my PC to iPad without deleting the exsting data in iPad?

    Hello AJ2349
    If it is prompting you that it will replace the data on your iPhone, then that is typically the result of syncing with a different computer. The only way you can bypass that is to replace the media on your device and then sync. Now it will only replace items that would be considered purchased items like music, movies, TV shows and Apps and would not delete any pictures from your iPhone. Alternatively you can setup a Shared Photo Stream and then add the Photos there without syncing your iPhone with your computer. Check out the articles below for more information.
    iOS: Issues syncing content with multiple computers using iTunes
    http://support.apple.com/kb/ts1474
    Managing content manually on iPhone, iPad, and iPod
    http://support.apple.com/kb/ht1535
    iCloud: Shared Photo Streams FAQ
    http://support.apple.com/kb/HT5903
    Regards,
    -Norm G.

  • LDAP: Recommended way to add new objectclass to existing entries?

    Can anyone help me with the preferred way to add a new objectclass (with attrributes) to existing entries within a directory (via the javax.naming API)?
    I have an application that uses a directory of users. Each user has objectclasses "top", "person", and "inetOrgPerson" with usual attributes.
    The application needs to change to add a custom objectclass, say "ourAppClass" (and its attributes), to each existing entry within the directory. I have already successfully defined the schema for the objectclass within the directory.
    I cannot find examples showing how to add an objectclass to existing entries. Creating brand new entries with custom objectclassess is straightforward.
    When using DirContext.modifyAttributes must I define all the objectclasses again, or is there a way to send only the new objectclass and its attributes only?
    Attributes attrs = new BasicAttributes();
    Attribute classes = new BasicAttribute("objectclass");
    classes.add("top");  // do I need these?
    classes.add("person"); // do I need these?
    classes.add("inetOrgPerson"); // do I need these?
    classes.add("ourAppClass"); // in-house class
    attrs.put(classes);
    attrs.put("ourCustAtribute", "value1"); //
    DirContext.modifyAttributes(dn, LdapContext.REPLACE_ATTRIBUTE, attrs);Does someone have a good example to follow?

    I think I have answered my own question. I think I need to use a ModificationItem to add an attribute to the objectclass.
    final ModificationItem[] classModification= new ModificationItem[1];
    classModification[0] = new ModificationItem(DirContext.ADD_ATTRIBUTE,
                new BasicAttribute("objectclass", "ourAppClass"));
    dirContext.modifyAttributes(dn, classModification);

Maybe you are looking for

  • Survey Suite and Marketing Attributes

    Hi there, I just have a problem concerning oure Survey suite in CRM5. I created some test surveys, because this is very new to me. When I create a normal survey with questions and answerd, then it is displayed correct in the PCUI Framework of oure SA

  • Captivate 8 pausing on PPT animations instead of playing through to the end of the slide.

    I imported a 26-slide PowerPoint 2007 presentation with animations into Captivate 8 and added two separate Captivate 8 simulations. When I preview, Captivate pauses at each and every animation. I would like for it to play through the entire slide tha

  • Object services

    I would like to delete attachment in items object services in batch using ABAP program. Can i use function module or class to do that. Regards,

  • Executing a program in background is failed

    Hi Experts,                 i am having a program while executing it in foreground its executing perfectly but while executing it in background, it is failed in job log its showing: this error:-Control Framework: Fatal error - GUI cannot be reached A

  • How to view all table of a database

    How to view all table of a database created on a oracle 9.2/10g database management system. How to view available tables of oracle dbms which comes by default with package. Thank you so much in advance! With Regards, Niks