About 'used webdynpro components'

Hi Gurus,
I was testing a sample application to use webdynpro componentisation.
Situation:
   Project 1:
     Component 1.1
   Project 2:
    Component 2.1
I need to reuse the Component 1.1 in component 2.1
So I added component 1.1 to  Project1's public part(eg: com11_PP)
Then I added the same (com11_PP) to project2's Used DC.
after that when I tried add it in component2.1's  'used webdynprocomponents',
it is not avilable there.
Whether i am missing anything?
Thanks in advance,
         Sree

The dependency type: i selected Design Time,Build Time,Deploy Time.
After creating each project I build & Deployed.
Only after i added the  dependency.
I rebuilded again.
When tested the same senario in one project,
Project1,
   Component1.1
   Component1.2
then tried 'used webdynpro components'
Its working fine.
But if both components are in diff projects, Its not working.
anyone can elaborate the process happening inside framework?
In which all files it will update internally.
Thanks,
Sree

Similar Messages

  • How to use "used webdynpro components" in nwds 7.0

    hi all,
    I am using NWDS 7.0 SP8 version. I want to use my local DC1 in my local DC2. I have created public part of DC1 and integrated it into DC2 as used DC. But when I try to add the webdynpro component from the Used Webdynpro Components of DC2, I am not able to view the DC1component. Plz let me know the procedures that I need to follow to fix this issue.
    Regards,
    Athulya.

    hi
    i will mention the steps that I have done for the same.
    1. Create DC1- LocalDevelopmentdc1sap.com
        . Create PP(Provides an API)->PP_DC1
        . Webdynpro Component->DC1Comp->Add as Source
        . Finish
        . Rebuild
        . Deploy
    2. Create DC2- LocalDevelopmentdc2sap.com
        . Right Click Used Dc's- Selected PP_DC1(Build, Run)
        . Finish
        . DC->Build
        . Right Click Used Webdynpro Components->Add Webdynpro Component->
                                                                       Browse->Can find only DC2Comp....   
    Plz correct me if I have done something wrong.
    Regards,
    Athulya

  • DCs being removed from 'Used WebDynpro Components' list

    Hi,
    I am having a problem while creating a project from an already activated DC. The DC uses 6 other DCs and was built properly, activated and deployed from a client machine. Now I need to have this DC in my machine (also a client). So I made sure the DC is built & synced properly and proceeded with the project creation from the inactive DC.
    The DC is getting created in my machine, but the Used DCs, though being shown properly in the 'Used DCs' List is missing from the 'Used WebDynpro Components'. And if I try to add a new DC under the 'Used WD Comp' list or edit the component usage of an existing DC, the added DCs are not available for selection.
    <a href="http://img85.imageshack.us/my.php?image=dcerror1ac.gif">Error Screenshot</a>
    I have tried removing and adding the DCs from 'Used DCs' list, reopened the project, restarted the NDS, did a sync, but nothing could help me to resolve this.
    Could someone kindly help me to resolve this ?
    Thanks in advance,
    Regards,
    Nibu.

    Hi Pran,
    As you already know now, the problem has been resolved :). But for the benefit of others like me let me put down what happened:
    On seeing Pran's reply, Since he is an acquaintance of mine, I called him up & explained my problem.
    As per his advice, I checked the DTR and found that the entire DC structure has been added there. But from him I could learn that only the following folders/files should be in DTR:
    - cfg
    - def
    - Meta-Inf
    - Model Folder
    - src
    - test
    - .dcdef file
    Therefore, the rest of the folders/files were deleted and the activity was checked-in. This resolved the problem and all the missing DCs were being shown again.
    Pran, Thanks a lot for your help.
    Best Regards,
    Nibu.

  • Enhancing standard BSP application by using WebDynpro components

    Hi all,
    We have standard BSP application delivered by SAP; we need to enhance the functionality and some new views to meet our requirement. We have planned to develop new things in WebDynpro ABAP and attach those to BSP.
    Is it good practice to use WebDynpro component instead customizing BSP application?
    If any body has fair knowledge on BSP and WDA, please let me know.
    Regards,
    Rajesh

    hi
    good
    BSP->
    It is a set of pages that represent a user interface (layout and page flow definition). The layout part of a page normally contains ABAP or JavaScript code which is inserted into the HTML structure. They can contain server-side scripting code in either JavaScript or ABAP. BSP applications use all the conventional ABAP technologies, such as Open SQL and internal tables, allowing developers to create Web pages quickly. This enables existing SAP logic, data structures, and interfaces to be directly used in Web applications.
    http://www.thespot4sap.com/Articles/SAP_WAS_BSP_Apps.asp
    WDA->
    Web Dynpro for ABAP or Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools that are integrated in the ABAP Workbench (SE80).
    Web Dynpro offers the following advantages for application developers:
    &#9679;      The use of declarative and graphical tools significantly reduces the implementation effort
    &#9679;      Web Dynpro supports a structured design process
    &#9679;      Strict separation between layout and business data
    &#9679;      Reuse and better maintainability by using components
    &#9679;      The layout and navigation is easily changed using the Web Dynpro tools
    &#9679;      Stateful applications are supported – that is, if the page is changed and the required data remains intact so that you can access it at any time throughout the entire application context.
    Note that stateless applications are not possible.
    &#9679;      Automatic data transport using data binding
    &#9679;      Automatic input check
    &#9679;      Automatic operation of the Web Dynpro application using the keyboard
    &#9679;      User interface accessibility is supported
    &#9679;      Full integration in the reliable ABAP development environment
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/content.htm
    thanks
    mrutyun^

  • Webdynpro components integration procedure

    Hi, Any Body give me the suggestion, how to integrate the diffrent components into the one project.Like Each programmer creating their own project under project different webdynpro component created. Finally , to integrate all the component in one one project from different project. Plz give the solution how to integrate .
    My basic question is , what is the procedure to follow to integrate the webdynpro components in one project.

    If in the case you have not created the DCs and proceeded with simple web dynpro projects, you can copy individual components in single project. There you can use used webdynpro components concept and have data exchange using interface controller.
    A lot of efforts are required for this in case you modify the components, as you need to copy the inner components again and again!
    Ideally in case of team development you should use JDI. Please follow scenario 2+ for the same.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/4551421705be30e10000000a155106/frameset.htm
    regards

  • Using Development Components in WebDynpro components - runtime failures

    Hi folks,
    I developed a couple of webdynpro components and those are working fine. As I found out that I had some common functionality ( for example tablesorter class) in there I decided to get that into a common java component that would be "used" by my other webdynpro components.
    Also that works fine as I have build a java component with corresponding public interfaces, attached the java component to the webdynpro components, uses the java classes in there, I can build the webdynpro components without any issues, ...
    But at runtime I get an exception telling me that basically the common class definitions cannot be found ...
    This is what I did :
    (1) Created a JAVA DC with a package with the common classes
    (2) Defined 2 public interfaces - API and Assembly
    (3) Created a J2EE Service Libary, added the JAVA DC Assembly Interface and build/deployed it ... No deployment issues. ( Also tried the same with "An external library" DC when the first one didn't work )
    (4) Added a reference in the WebDynpro DC towards the API public interface ( buildtime ) and to the Assembly public interface ( RunTime ) (-> not sure that one was necessary ).  The DC builds without any issues.
    (5) I run the WD application and get a dump ...
    Any ideas what I forgot or suggestions on solving this ?
    Thanks,
    Steven

    Thanks for your suggestions guys ...
    I deployed the libary JAR seperately with the J2EE Library DC ... that worked fine according to the deployment logs.
    And yes I referenced the project as well in the project configuration but that didn't do alot I am afraid ...
    I did some reading up about JAVA class loaders within J2EE and it seems that by default each J2EE application ( I assume Webdynpro is one as well ) will have a dedicated class loader which only loads the classes needed within the application ( plus the default ones ).  It seems that my library is not considered to be part of the application ... although by creating the link to the public interfaces I would assume it is ...
    Only other thing to remark is that all the components are developed as 'local components' ... I cannot imagine that would have anything to do with it ?
    Steven

  • Portal using Webdynpro for ABAP

    Hi Gurus!
        I am using one portal using 'Webdynpro For ABAP'. It contains Contextual Panel as well as ViewUIContainer. Contextual Panel contains all the reqd options available for user; while ViewUIContainer contains diff views as requested.
       Now, I'm trying to make a copy of that Webdynpro with some other name. What happens is --
    Application is not there and when I try to make one - it says
    "Interface View Does Not Exists."
    Further, when I try to make an Interface View with the new name - it says
    "Interface View Does Not Exists."
       Therefore, what I could conclude about the case is -- may be Interface View is default to certain Webdynpro components/interface. Hence, my question is how can I make use of same webdynpro application with some other name. This requirement arises due to the fact that we have to add some more functionalities to that and I dont want to play with the efforts made so far.
    Kumar Saurav.

    Issue Resolved.
    Kumar Saurav.

  • Questions about Using APIs to import Bills and Routings - AND COSTS

    Hi Forum - the following is a back-and-forth with a customer about use of APIs - Inventory developer suggested I post the question here. Note the 2nd question - and thanks for any assistance.
    SR# 7332152.994 ALCOA
    Instructions given to ct:
    Q1 - Can I load the bill header and components at the same time?
    You should be able to load the bill header and components at the same time. Customer loads bill and component data inserting enough "other" data for each so that the bill sequence id will be derived. For the component record, the assembly item, org and alternate_bom_designator values will be used by BMCOIN to derive the bill_sequence_id.
    Example:
    INSERT INTO BOM_BILL_OF_MTLS_INTERFACE
    ORGANIZATION_CODE,
    ITEM_NUMBER,
    ALTERNATE_BOM_DESIGNATOR,
    PROCESS_FLAG,
    TRANSACTION_TYPE
    VALUES
    'M1',
    '&PARENT_ITEM',
    NULL,
    '1',
    'CREATE'
    INSERT INTO BOM_INVENTORY_COMPS_INTERFACE b
    ORGANIZATION_CODE,
    ASSEMBLY_ITEM_NUMBER,
    ALTERNATE_BOM_DESIGNATOR,
    COMPONENT_ITEM_NUMBER,
    OPERATION_SEQ_NUM,
    COMPONENT_QUANTITY,
    EFFECTIVITY_DATE,
    PROCESS_FLAG,
    TRANSACTION_TYPE
    VALUES
    'M1',
    '&PARENT_ITEM',
    NULL,
    '&COMPONENT_ITEM',
    1,
    1,
    trunc(SYSDATE),
    1,
    'CREATE'
    Hi Aruna, some additional information that may be useful:
    We can load/create the bill header and components at the same time using the scripts given (as above)
    Required Data for Creating a Routing : assembly_item_id,
    organization_id, routing_type, transaction_type, process_flag
    And following scripts can be used to load routing header and operations equences.
    INSERT INTO BOM_OP_ROUTINGS_INTERFACE
    (assembly_item_id,
    organization_id,
    routing_type,
    transaction_type,
    process_flag)
    VALUES (2255800,207,1,'Create',1);
    INSERT INTO BOM_OP_SEQUENCES_INTERFACE
    (assembly_item_id,
    organization_id,
    operation_seq_num,
    Department_code,
    effectivity_date,
    transaction_type,
    process_flag,
    operation_description)
    VALUES
    (2255800,207,100,'ASSEMBLY',
    to_date('24-FEB-2009'),'Create',1,
    'Paint Wagon');
    Q2: One more question, can an expense item can be added to the bill and can contribute the cost.
    As there is a confusion of what I asked, below I am rephrasing my question
    By an Expense Inventory Item, I mean an item that is just tracked for quantity only i.e.,Checking the attributes - Inventory Item, Stockable, Transactable under Inventory Tab and not checking the attribute - 'Inventory Asset Value'.
    My question here is, For these Expense Inventory Items, What is the difference between having the 'Costing enabled' attribute turned ON as opposed to having it UNCHECKED
    *Q3 I have tried to load the items and I could only load 1st level of components but could not load second level of bom at the same time.
    While inserting I have inserted plan level too.
    Please let me know if I have to do anything different to load second level.*
    Thanks
    James

    You may want to look at using the more4apps bill of materials wizard, an excel based solution for uploading assemblies and their components.

  • Do we need to be in unicode to use webdynpro for abap in ECC6 ?

    Hello,
    we study migration to SAPR3 46C SR2 to ECC6.
    a question is: Do we need to be in unicode to use webdynpro for abap in ECC6 ?
    Our SAPR3 are in non unicode
    thanks

    The problem, if you backend system is not unicode, can be, that user with the browser accessing the Webdynpro page, can enter data of any codepage (because browser is Unicode), the data will then be stored with a wrong codepage in the system and will be destroyed.
    Additionally all successor versions of ERP will be Unicode only.
    And on top of that, if you plan to use Java components (such as a portal), the backend must be Unicode (see Note 975768 - Deprecation of Java features with non-Unicode Backend).
    Markus

  • Not able to see the added Used DC webdynpro compoent in used Webdynpro Comp

    Hi All,
    I have three DC's, A,B,C
    I have declared as B and C components as public parts,
    I have have added the B,C as used DC's in A dc.
    Now i tried add B as used webdynpro component in A dc, by using "used Webdynpro Component".
    I am able to  add B as used webdynpro component. But when  chooose "Add used component" -> then browse -> i am able to see only B componet , C component is not visible.
    I have added the C component as used dc in A dc.
    Can any body tell me what could be the problem.
    Actually A dc is in SCA file. and B and C dc's are different SCA files. These B&C  .SCA files defined as dependencies for A dc SCA file.
    Regards
    Vijay

    Hi,
    Please ensure that you have created two Public Parts per DC.
    In the Wizard that will help you create the Public Parts - you will find a radio button (one for API and one for SDA).
    You need to create both for each of the components B and C. And if you still dont see any change then the Public Parts are not being created correctly.
    To correct this - I usually delete the public parts and the usages. Then close both the probjects and reopen them. Then recreate public parts and the usages. (Its a silly suggestion I know - but it seems to work!)
    Hope that helps.
    Thanks.
    p256960

  • Using Business Components in JSF pages

    I have several questions about using BCs in JavaServer Faces pages. I'm new to the JSF-BC development world.
    Here's what I'm trying to accomplish: a salesperson gets a call from a customer requesting a quote. The salesperson selects the URL for my RFQ form and begins filling it out. If there is an existing customer record in the company's database, the salesperson wants to be able to load customer info into the form from the database, rather than typing it all in. Reasonable enough, and probably simply enough.
    But it's kickin' my butt. I've created the domain objects (including one for the customer database, call it "CU") and the model objects (a View Object that filters out all fields but those needed on the form, an Application Module with a View Object Instance). Initially I am routing from the main form window to a dialog window where I am hosting the customer selection components, intending to return to the main window with the selection. On the dialog window I've dropped the VO and configured it to be an ADF Navigation List (which gets implemented as an af:selectOneChoice component). So far so good. The navigation to and from is working fine. The selectOneChoice list is being populated with the first range of returned records. Here's where I'm stuck.
    First of all I can't figure out how to kick the iterator into sending additional records after it's first range. You can scroll down to the end of the list in the selectOneChoice component but nothing happens after that. I know I can set the iterator's range to 0 to get all of the records dumped in at once, but that takes way too long. Any ideas?
    Secondly, when a selection is made, how do I access the selected data? I have set up a ValueChangeListener method in my dialog's backing bean that gets the NewValue() from the event object, but that value turns out to be the index into the collection of selectItems. How do I get the value of the data that shows in the list? Is that the label of the selectItem? If so, how do I access it? What I really want is to get the entire row of data represented by the returned index, but I'm lost as to how to do that. Any help would be much appreciated.
    At some point I want to let the salesperson type in a partial customer name and then retrieve only records matching the query's where clause. I see where I can create a bind variable on the view object, but am not sure how to pass the partial name value from the main form to the dialog. Currently I use an EL expression in the Action attribute of an af:selectInputText component to navigate to the dialog and I don't think I can pass parameters with that. I guess I would have to switch to using a method binding to a backing bean, eh? But even if I can get the partial name value to the dialog, how do I bind that value to the bind variable of the VO? (the VO that is already bound to the af:selectOneChoice component in the dialog.)
    And I am totally open to alternative suggestions for how to accomplish the original intention of all of this. Thanks for any guidance.
    Johnny Lee

    Thanks, Shay. That has gotten me a few steps further along. I modified my VO by creating a bind variable and modified the SQL to use this variable in it's where clause. I generated Java for my AppMod (which I hadn't done before, preferring to keep things simple) and created a method to supply a value to my VO's new bind variable. I need a little more hand-holding, though, to wire an input text field & button (or af:selectInputText?) to both the AppMod's new method AND the data component that will display the query results.
    "...drag the exposed method as a button onto a JSF page." That's easy enough, but I haven't yet figured out from the examples how to associate the value of an input component with the parameter of the AppMod's new method. It's getting late, I'm starting to see cross-eyed so I will sleep on this and take another look in the morning. Thanks for your help.
    Johnny Lee

  • How to preview standard MDM Webdynpro Components ?

    Hi
    As we know, we can create standard MDM Webdynpro components from CE 7.1 SP 04 onwards.
    Suppose I have created a project using MDM WD configurator and added a search component, a resultset component and an itemdetails component. We can preview the individual components using the preview button provided in the configurator. But in order to see the consolidated project containing all the 3 components, we need to embed them as used components in a custom WD component. Then through the custom WD component we can preview the 3 standard components.
    My question is, is there any way in which we an preview all the 3 standard MDM WD components together without putting them in a custom WD component ?
    Is there a way we can directly assign an iview to a project created with MDM WD configurator ?
    Thanks
    Sayan Ghosh

    Found the sloution. Can be launched in the browser with the following url giving the component details :
    http://<hostName>:<portNumber>/webdynpro/dispatcher/sap.com/tcmdmwdcompsmasterwd/MASTER?proj=<Project_Name>&rs=<ResultSet_Name>&s=<Search_Name>id=<ItemDetails_Name>

  • Webdynpro components within SRM

    Hello all
        I want to access the webdynpro components within SRM Portal . How do I do that?
      Regards,
    Sanjeet

    Hi,
    > 1. Is it necessary to deploy webdynpro components SAP
    > ESS 600, SAP MSS 600 and SAP PCUI_GP 600 ?
    PCUI_GP is mandatory for both ESS and MSS,..
    So , if its ESS .. ESS 600 and PCUI_GP 600 should do.
    > 2. If in case these already deployed where i have to
    > check for thesde components ?
    You can check this in SDM. ess~component names..
    > 3. If in case these components are not deployed what
    > are the effects ?
    You will only have the webdynpro iviews in portal,, but the actual webdynpro application these iviews use wont be there.. So it wont work.
    Regards
    Bharathwaj

  • Compiling with mxmlc Using CS3 Components

    Hi, I would like to use the Flex SDK 3.0 to compile a project
    which currently compiles successuflly in Flash CS3 (because it's
    quicker). I am importing assets from swfs using [Embed ...] tags
    without any problems. I can also use CS3 components by exporting
    them to an SWC file, adding that to the library path for mxmlc and
    then reating new instances of them in AS. However, I have some
    assets which contain components which were statically placed within
    them in the CS3 IDE and given an instance name. These are not
    working. For example, the buttons I have typed as
    fl.controls.Button in the AS code but I get a run time error saying
    that it can't coerce a MovieClip instance into a Button. Does
    anyone have any ideas? The CS3 compiler is driving me nuts because
    it's so slow. I used to use MTASC and am looking for something
    similar to work with AS 3.0.

    I agree that compiler is painfully slow, especially when you use a library and have some (one is enough) projects dependendant upon it. Minor change in library starts compiling everything for a few minutes . This really slows development process in later stages. Adobe should do something about this.

  • Using Flash components as Widgets

    I'm liking much of the functionality (and prettiness!) gained by third-party Flash components (www.flashden.net, www.flashcomponents.net, etc) that I'd like to incorporate into Captivate lessons.
    Being a Flash and Captivate newbie, I haven't yet broken the code on how Flash, Widgets, and Captivate fit together. For example, I like one of the many OSX dock-like Flash components out there, and would like to use one for slide-to-slide navigation in Captivate.
    Does this necessarily have to be done using a Widget? Is there any online guidance out there regarding Widgets in Captivate? Googling reveals very little information.
    Thanks!

    It really depends on what you want to do with the particular component. I use components from www.flashden.net quite alot in my projects and most of them are not modified to act as widgets. For example photogalleries, image transitions etc. can be imported straight into Captivate, but you won't get any other functionality than what the original component offers.
    If you want to have a OSX style dock menu you could modify one of the files from www.flashden.net to suit your needs. I wouldn't make it into a widget if it was me, since all you really need to do is to enable navigation in Captivate when the user clicks on a thumbnail. This can easily be done by just sending the commands directly from Flash (the rdCmd variables). You would have to create the thumbnails yourself though (and probably reference everything in an external XML file so it's easy to update), but it should be doable.
    The idea from raj_cap about using the print widget is very good. If you want to have your menu create the thumbnails on the fly then you would need to go this way. I'm definetly looking into this because it's such a great idea (thanks raj_cap).
    /Michael
    Click here to visit the www.captivate4.com blog

Maybe you are looking for