Tutorial on Development Component Project

Hi,
Can somebody send a tutorial on Development Component Project? Is EP (Enterprise Portal) required for using the Development Component Project?
Thanks.
Regards,
Suresh.

Hi
  What DC project are you talking about. You require SAP NWDS to create a DC.
Anyway refer this link. It talks about creating Development Components of all types.
http://help.sap.com/saphelp_nw04/helpdata/en/1c/bca99c220c0e45a1cae3c4cccf4346/frameset.htm
regards
Ravi

Similar Messages

  • Error while creating the development component project

    Hello
    i tried to create development component project through NWDS which is expected to be used as CallableObject but it gave following exception
    Plugin name: Web Dynpro Archive Builder
    Plugin ID: com.sap.ide.webdynpro.archivebuilder
    Class: com.sap.ide.webdynpro.archivebuilder.project.WebDynproDevelopmentComponentProjectWizard
    Method: createProject(String, IPath, IProgressMonitor)
    Message: Invalid project description.
    Exception: org.eclipse.core.internal.resources.ResourceException: Invalid project description in plugin name
    I am using NWDS 7 version and using J2EE engine of NetWeaver 2004s server.
    Thanks in advance.
    Regards
    Rajeev

    Hi
    sorry for that
    see the below link ,it will be helpful for u.
    Re: development component
    Regards
    Hazrath

  • Error while building development component project

    Hi all,
    I have created one webdynpro application in which i am importing javabean model using jars in my build path.I am able to execute that application successfully but when i try to import that application in a new development component project, i am getting errors in my bean class (IPrivateBeanclassname) for some getter setter methods saying the method is not defined....
    I have put the same jar in its build path also.
    Can somebody please help...
    Thanks,
    Mayuri

    Hi,
    I am importing the application as follows:
    1) I have developed a web dynpro project. This project has a jar file for getting the java classes. The web dynpro application works fine.
    2) I imported this application into a Development Component Project. Here it fails to recognize the jar file that is required. Even if I put the jar file in its build path, while building, the jar file gets removed.It says java build path errors.
    Please help!
    Thanks,
    Mayuri

  • Copying a project into development component project

    hiii,
    I have a webdynpro project called DP_OrderEntry developed in NWDS 7.0.9. I need to copy it into development component dc_OrderEntry in NWDS 7.0.14.
    Can anyone tellme the steps for doing it?
    Can any error can crop up due to the difference in the versions?
    Regards,
    parama laha.

    hii,
    the project is imported but I am getting an error:
    Error               The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.security.api.IUser. Fix the classpath then try rebuilding this project.     LocalDevelopmentdc_oentrlntinfotech.com
    Is this because the project i copied from was on NWDS 7.0.9 and currently this project is on NWDS 7.0.14 ??
    I have already done 'repair project structure and classpath'
    How to eradicate dis error??

  • Webdynpro Development Component project error

    Hi All,
    I am trying to use a DC1(Development Component) in another DC2 component, but when i am trying to deploy and run the application of DC2, which use the DC1 component.  It is giving error like below.
       java.lang.UnsupportedClassVersionError: com/hp/dc1/wdp/InternalDc1Comp1 (Unsupported major.minor version 49.0)
    Can anybody help me in solve out this.
    Thanks in advance,
    Ravi

    Hi Ravi,
         This problem is not with the DC you are creating. This exception can occur when the source is compiled on one version of JDK that is not supported by JDK attemting to run it. In your case your DC was built targeting only JDK 1.5, but the Portal server JDK might be 1.4 or different then JDK 1.5.
    You can check the JDK version of the server and if its other than JDK 1.5 then installed the same version on your machine to compile the code.
    Hope this will resolve your problem.
    Regards,
    Nikhil

  • Creating development component projects(CAS)

    Hi All,
    we are on CAF.While creating a CAS project, it is asking for a vendor.As you know the default value is com.sap.So far we have used the default one only.But,now we want to use our own one.Can you plz give me some suggestions and standards about vendor field?.
    Thanks
    Sampath.G

    Hi Sampath
    This vendor is a very important thing in the development. It can be related with the package name. If you are Business Partner with the SAP than you can get this free.
    Whenever you are enhancing any SAP components or building your own, this name space i.e. vendor plays the key role. You can deploy your component in the world without the fear of the name space conflict so please reserve the name space with contacting the SAP.
    Like you mentioned that your company name is 'abc' than you can put anything whcich represents that this is made by the 'abc' company. For eg you can use 'com.abc', 'abc.com' or anything that you want.
    When you are developing components locally than very less importnace of vendo name but at the time of implementing at the client side it plays a key role.
    Go to service.sap.com/namespaces here you will find lot of information and the process to get that, also, you can refer to Note 84282 - Development namespaces for customers and partners.

  • Importing Development Component - Webdynpro and Guided Procedures

    Hi All,
    I created a development component project of type  "Webdynpro". I created callable Object in guided procedures and the Process is working fine. I want to import the same project into another Nwds (another workspace).
    I tried the following steps.
    1. File - import - Multiple Existing project into workspace.
    2. Imported the DC.
    I have already added all the Gp jarfiles. But after importing, and rebuilding the project, it gives me only webdynpro and components,views.. It is not showing me as a normal webdynpro project. It is not showing me the GP Api's, the "USED DC's". which i created in the other project.
    When i am creating a new project, it is working fine.Can anyone please help me in resolving this issue? How can i import a DC (gp) into webdynpro?
    Thanx and Regards,
    Divya

    Hi,
    Take a look at this [thread|/thread/119966 [original link is broken];
    Dick.

  • Web service in Web Dynpro development Component

    Hi All,
    I have created a web service in SAP GUI and I have saved the WSDL file on my local PC.
    Now when I create a web service model in a simple web dynpro project it works perfectly.
    But when I do the same in a web dynpro development component; as soon as the web service model instance is associated with the activity in the DTR my application get hanged. I have to quit my NWDS. When I reopen NWDS my application shows following errors:
    <i>Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>XMLTokenWriter cannot be resolved</b> (or is not a valid type) for the argument writer of the method serialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 57
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>typeRegistry cannot be resolved or is not a field</b>     Z_WS_GETEMPINFO_FULLSoapBindingStub.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies     line 29
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>transportBinding cannot be resolved or is not a field</b>     Z_WS_GETEMPINFO_FULLSoapBindingStub.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies     line 22
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>SOAPSerializationContext cannot be resolved</b> (or is not a valid type) for the argument context of the method serialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 50
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>SOAPDeserializationContext cannot be resolved</b> (or is not a valid type) for the argument context of the method deserialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 26</i>
    Regards
    sid

    Hi Sidharth,
    Which version of NWDS you are using. I was facing the same problem with SP16 sometime back.
    I did find a workaround to do that. See, whenever you will create the WS Model in Web Dynpro DC, it will ask you to add some file in DTR..right!!........ do one thing press "Cancel" or "No" there. Then studio will ask one more time to add the files, in different dialog box though. Add the files from the second dialog box rather than the first one.
    Regards,
    Mausam

  • BPM process and BRM rules process in same development component in NWDS

    Hi All,
    Is it possible to create the BPM process and BRM rules process in the same development component in NWDS?
    I tried but whenever we create it,say,first ly for BPM,that is File-New-Project-Development Component-Process Composer
    While once this development component is created I try to create rules composer in the same composer by right clicking on local development component as well as process composer but ther is no option of creating /calling rules composer/rules modeling.
    Can you please guide me creating both BPM process and BRM rules composer/rules modeling in the same development component if its possible?
    Thanks in advance

    Open your project explorer and expand the BPM project you have created. Locate a folder named "Rules" in the Project Tree. Right-click on the Rules folder and select 'Create new rule'. You can model your rules such as rule-scripts here and use it in the BPM.
    Note: These rules cannot be used outside the BPM Project.

  • Using JPA Entity-Objects defined in other EJB-Development Component

    Hello Community,
    I'm working on a Java-Application on NW CE 7.1, using JEE5 Beans in the Business-Logic-Layer and WebDynpro/Java in the UI-Layer.
    I designed a Bean for working with data, stored in a database-table of the system-database.
    For that addtionally i created a class, representing the Entity-Object, in the same Development-Component of Type EJB 3.0.
    It looks like this:
    @NamedQueries ({
         @NamedQuery (name="findAllSdCust", query="SELECT c from SdCust c ORDER BY c.kdnr"),
         @NamedQuery (name="findSdCustByKdnr", query="SELECT c from SdCust c WHERE c.kdnr = :kdnr"),
         @NamedQuery (name="findSdCustByIlnnr", query="SELECT c from SdCust c WHERE c.ilnnr = :ilnnr")
    @Entity
    @Table(name="ZKALL_SD_CUST")
    public class SdCust implements Serializable {
         @Id
         @TableGenerator (name="idGenerator", table="ZKALL_ID_GEN", pkColumnName="GEN_KEY", valueColumnName="GEN_VALUE", initialValue=100)
         @GeneratedValue (strategy=GenerationType.TABLE, generator="idGenerator")
         private long id;
         private String name;
         private String lname;
         private String kdnr;
         private String ilnnr;
         private long connid;
         private long cnt;
         @Version
         private long version;
          Constructor, Getter and Setter methods follow here
    The corresponding bean looks like this
    @Stateless(name="SdCustBean")
    public class SdCustBean implements SdCustLocal {
         @PersistenceContext (unitName="xyz")
         private EntityManager em;
         public SdCust getSdCustByKdnr (String kdnr)
              SdCust result = new SdCust();
              // List<Manufacturer> resultList = new ArrayList<Manufacturer>();
              Query  myQuery = em.createNamedQuery("findSdCustByKdnr");
              myQuery.setParameter("kdnr", kdnr);
              result = (SdCust) myQuery.getSingleResult();
              return result;
         public void setEM (EntityManager iem)
              em = iem;
           // other methods .....
    After that i created a new Development-Component of Enterprise Application-Type and added above DC to this EAR-DC. I also supplied the nessecary descriptor-files/Enries in EJB-DC and EAR-DC.
    When now using this bean from WebDynpro with the Web-Dypro EJB-Model-Import everything works fine.
    The bean returns the desired object(s).
    But now i created a new DC of type EBJ 3.0
    This DC contains a Message Driven Bean. That MDB is a Job-Bean which i want to schedule. That  Bean uses JRA to connect to an SAP-Abap-System to read some Data and should use JPA to insert/upate/delete the read data in the Database. This should work as a simple replication for my application.
    I assigned that EJB-DC containing the MDB to a new EAR-DC together with job-definition-xml and the neccessary entries in deployment-descriptors.
    After deploying i see the corresponding job-defition in the NW scheduler using the administrator-views.
    I'm also able to schedule the job and it executes fine. Connecting to SAP-Abap System also works fine using JRA.
    But JPA does not work!!!!!
    I created an dependency from my EAR-DC containing the Job EJB-DC and to the EJB-DC containing the Entity-Class.
    I tried three diferent things to get i running, but all of them failed.
    1.)
    The part  looks like:
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
      @EJB SdCustBean mybean;
       public void onJob(JobContext ctx) throws Exception {
            SdCust sdCust = mybean.getSdCustByKdnr (mykdnr);
    Compiles fine. But this fails because the Data is stored in the system-database. The exception says, that i have to use a datasource which supports 2-Phase commit. I know, that i could possibly solve this problem by annotation the Method getSdCustByKdnr with the Annotation for the Transaction-Manager to use REQUIRES_NEW Transaction. But i dont want to generally annotate my methods this way.
    2.)
    This part looks like this
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
    @PersistenceContext (unitName="xyz")
    private EntityManager em;
       public void onJob(JobContext ctx) throws Exception {
         SdCust cust = new SdCust();
         Query  myQuery = em.createQuery("SELECT c from SdCust c WHERE c.kdnr = :kdnr");
         myQuery.setParameter("kdnr", dbkdnr);
         cust = (SdCust) myQuery.getSingleResult();
    This also results in a runtime-exception because the entity-Manager cant resolve SdCust from the Query as an Object. The Exception is:
    java.lang.IllegalArgumentException: line 1: Abstract Schema Type 'SdCust' doesn't exist
    SELECT c from SdCust c WHERE c.kdnr = :kdnr
    3.) and last try so far:
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
    @PersistenceContext (unitName="xyz")
    private EntityManager em;
       public void onJob(JobContext ctx) throws Exception {
         SdCustBean custBean = new SdCustBean();
         custBean.setEM(em);
         SdCust cust = custBean.getSdCustByKdnr(kdnr);
    In this example i use the Bean from the beginning not as a bean itself but as a normal class. that class has an addtional Method setEM to set the Entity-Manager (which is injected when using the class as a bean)
    In that way i got the exception, that the named Query "findSdCustByKdnr" cannot be found by the entity-manager.
    It seems to me, that i can access the class, but that all annotations belonging to JPA for that class are not recognized.
    Does anybody can give me a hint to solve this problem? Did i forgot something important?
    best regards
    matthias hayk
    Edited by: Matthias Hayk on Feb 5, 2009 9:38 AM

    I was already on wright trace.
    My class "SdCust" was not recognized by the Entity-Manager as an Entity-Class.
    This relies on the storage of the entity-class and where the Entity-Manager looks for entity-classes.
    By default it seems to look for all classes in the same jar file. thats the reason why everything works fine when the using bean and the entity-class are in the same project.
    In my last case, the using bean is in another  development-component and so also in anohter jar file. in this case the entity-manager must be told where to find entity-classes.
    this is done in the persistence.xml file.
    i added the line
    <jar-file>xxx.yyy.com~mdata_beans.jar</jar-file>
    underneath the <persistence-unit>-tag.
    This works.
    regards
    Matthias Hayk

  • Webdynpro Development Component Callable Object Escalation

    Hi,
    In gp sequential block workflow  using webdynpro development component callable objects  When the initiator intiates a workflow ,it is assigned to the first approver.Now if the approver does not take any action within 2 days i want to escalate the task to the second approver.How can i do this escalation?
    There is a standard parameter call <b>due date</b>...in action.How can I set this value dynamically from my application..
    During escalation , the next approver has to be taken by executing an rfc in the background
    Please help....
    Thanks,
    Shamila

    Hi,
    You can define a CAF Core application service (implemented in the CAF Core layer) or a background CO (implemented by a J2EE class interface) which can call a RFC to get the next approver and return the next approver's user id as an output parameter. You can use dynamic user assignment in the next action (approval), by selecting the processor as "Filled From Context Parameter" (at the Roles tab in block level) and select the user id output parameter of the background CO/CAF app service CO.
    You can get more details on different types of CO at the CAF Tutorial Center @SDN
    Thanks,
    Dipankar

  • Importing Java Bean Model in Webdynpro Development Component

    Hi All,
    Is there any simple tutorial, example  to import java bean model in webdynpro development component.
    I am using NWDS 7.0 SP14 and WAS 7.0.
    it really helps if you can  provide simple EJB as a development component with details how to create a public part and using this bean as java bean model in Webdynpro development component.
    what are the steps to be followed with precautions
    Thanks in Advance,
    Murali

    Hi,
    [Using the Java Bean Model in Web Dynpro|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4072c0d0-c21e-2b10-ab84-e2c183d355de]
    [Using EJBs in Web Dynpro|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
    you will get more if you search in the forum.
    more help on EJB's
    Re: Help needed in EJB
    http://help.sap.com/saphelp_nw70/helpdata/EN/19/f9bc3d8af79633e10000000a11405a/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c
    PradeeP

  • Development Component libraries not being recognized in Portal

    Hi everyone,
    I've been having a problem regarding a Background Execution Callable Object.
    At first, when I added External Libraries to the Java Build Path of the Development Component, these libraries would dissappear upon build time. The solution to this was to create another DC type External Library and add the libraries there. Afterwards, these libraries would form part the DC's Public Part and these would be incorporated in the Used DC's section of the first component (marking Design Time and Build Time when it was added). This enabled me to build and deploy the DC successfully.
    Once inside the Portal, I tried creating a new Background Execution Callable Object and once I entered the class' name, I would get the following error message:
    Cannot check if class exists: Unable to load the required classes.
    I had already created a CO pointing to this reference and when I test it, I get the following error message:
    java.lang.NoClassDefFoundError: com/cts/speed/exception/DatabaseException
    This leads me to the conclusion that the external libraries used aren't being recognized by the portal at runtime.
    I would appreciate any suggestions as to how I can solve this issue.
    Thank you very much,
    Luis

    Successful compilation or building in the eclipse/NWDS does not mean that it can be successfully deployed on the portal. If the Java build path has all the required jars, any project compiles and builts fine but that build path is not transported to the portal( see inside any par file, there won't be any .classpath and .project files. They are local only files).
    ========
       Add all your third party jar files to the component in this path( ..\dist\PORTAL-INF\lib). There is no need to add mail.jar as it's already available in sap j2ee engine. So add these lines to the portalapp.xml. (as told by jagdeep)
    <application-config>
    <property name="PrivateSharingReference" value="SAPJ2EE::library:mail"/>
    </application-config>
    Regs,
    Bobby

  • Can not change vendor when creating a new Development Component in NWDS

    Dear friends,
    Im trying to create a new Development Component in NWDS. Our NWDS is connected to NWDI and we are using CM Services option of NWDI.
    Before I could create a DC and change the vendor but now I cant change it anymore. Now, the vendor is by default sap.com and we cant change it and it seems that we also have to put our project in a separate directory. home/ directory or other directories in the list.
    See below screen shots...
    If I make a new DC than we see it like this: home/bpm_test [sap.com].
    If I make a new DC in my LocalDevelopment I can change the vendor and I dont have to choose a home directory.
    Do you have any idea how to change that?
    Any help would be greatly appreciated.
    Thank you in advance,

    HI,
    it seems that the vendor is defined in the NWDI track. That's why you can't change it.
    regards,
    Vasils

  • Development component for UME usage in WebDynpro

    Hi,
    We develop several WebDynpros using the UserMappingService. Those WebDynpros are checked into the NWDI. Local builds are fine since we copied the relevant jar files into the project and referenced them in the classpath.
    Builds in the NWDI fail because there the jar files for UME (com.sap.portal.usermapping.jar, com.sap.portal.usermappingapi.jar) are missing. Is there a development component we can reference so that the build infrastructure is able to find the jar files when trying to build the project?
    Or am i supposed to put those jars into a library development component? This would us make prone to changes in the API since we keep our servers and developer machines at the same SPS.
    kind regards
         Dirk
    PS: we use EP 6 SPS 18 and NWDS 2.0.18 for development and production.

    Hi,
    If u r using DC for ur development then the jar file should not be added in the build path because it will be removed at build time.
    For adding ur libraries u should be using an external library component. Expose this library file as public part. This is only a buildable component.
    For deploying this library in the server u should create a new J2EE library component and in this used DC add the exposed public part. Deploy this application.
    Finally in the Main component used DC add the External library component and in the references of ur project give the j2ee library component.
    For reference see valery's blog
    <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro External Jars in DC</a>
    - Hope it helps,
    Nagarajan.

Maybe you are looking for

  • How do I find my online files here.  I wanted to change a form to fill in it said it was online.  Where?

    I enrolled in a writing school just recently and all my work is suppose to be sent via attachment to an email (online)  I tried to convert to word or excel but it did nothing and then I got and paid for Adobe reader I was told to do and still nothing

  • Workflow for Parked Document (FV60)

    Hi,    Can anyone tell me which workflow to be used for Parked Documents. The tcode is FV60. And I want to know what are all the settings have to be done in SPRO tcode. Can anyone provide me step by step procedure?? I think there are some 5 workflows

  • Rd client via rdweb cannot access local folder

    hi, i recently installed remote-desktop web-service on Windows 2008 R2 for remote user to access a non-proprietary Microsoft application. the installation was made in one box include the application a. Remote Dekstop Session Host b. Remote Desktop Li

  • Netui:button  submit button tagID

    I use the repeater Wizard by dragging a member field in my .jpf controller file. public transient String[] mySPArr = {"A","B", ... "Z"}; from the Date Palette onto the index.jsp. <netui-data:repeater dataSource="{pageFlow.myAlphaSArr}"> <netui-data:r

  • Places disappearing

    I was a geography major in college and collect maps. I've spent quite a bit of time geo-tagging my iPhoto pictures. I recently upgraded from a 2011 13" MacBook Pro running Mavericks to a brand new 13" retina MacBook Pro with Yosemite. My original tra