Web Dynpro Component cannot be found in list when Creating Callable Object

Hi All,
    I have created a web dynpro component and implemented the IGPWebDynproCO interface, after that I deployed it into the J2EE engine.
    But in the step of choosing the web dynpro component as a callable object, I cannot find the one I created.
    Any suggestion or idea?
    Thanks,
YiNing

Hi,
Check out these links :
-> Composite Application Framework Tutorial Center
SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
->Creating a Callable Object: Composite Application Web Dynpro Component https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ac4c81d1-0c01-0010-adb0-bb14220343c2
Regards,
Indu
Edited by: Indu Garg on Feb 28, 2008 12:33 PM

Similar Messages

  • The Web Dynpro component cannot be generated due to serious (syntax) errors

    Hi everybody,
    While I was developing a web dynpro application, I had an error but I couldn't understand this error. Before I took this error message, only I changed bound one context node to another context node in a RadioButtonGroupByKey.Therefore, when I pushed activate button, I took an error message.This error message said "The Web Dynpro component cannot be generated due to serious (syntax) errors". What does it mean ? How can I find out where is the error in the application. Also, I think the reason of this error message is about a BC problem. I am waiting for your comment urgently.

    Hi ,
    Just delete the context (by using the context binding) and bind the field with the correct node and try to activate .
    One more suggestion is that after deleting the binding and before binding to other node check it that whether that binding was properly deleted or not.Some times its not deleting the binding.
    Hopely my suggestion may work.
    Regards,
    Satya

  • Web dynpro component usage

    Hi,
    Can anybody provide me some useful links or some tutorials regarding web dynpro component usage.
    Thanks in advance.

    Hi,
    Creating webdynpro component
    http://help.sap.com/saphelp_nw04/helpdata/en/20/1d353ed106ec2ce10000000a114084/frameset.htm
    Web dynpro tutorials
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
    Try this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Simplest Example in Java Webdynpo
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating%20your%20first%20web%20dynpro%20application.pdf
    Simplest Example in ABAP Webdynpro
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
    Web Dynpro Sample Applications and Tutorials
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Search in Webdynpro forum.
    do reward if it helps
    Thanks,
    Reddy.

  • Web Dynpro ABAP: How to access the content of a mime object?

    Hi everyone,
    does anybody know how to access the content of a mime object of a Web Dynpro component? I added a XML file as mime object to a web dynpro component. Now I want to read the content of this xml file within a method of the component controller. The code would look something like:
    DATA: xml_content type xstring.
    xml_content = read_mime_object("test_123.xml").
    Any ideas?
    Regards,
    Nils

    dude here's the modification that i've done but I can't still access the content of the properties...
               Mail mail = new Mail();
               String message2 = sqlException.getMessage();
               File file = new File("Add.properties");
               Properties props = new Properties();
               props.load(new FileInputStream(file));
               String[] emailadd = {props.getProperty("emailadd","defaultValue")};
               mail.postMail(emailadd,"An error has occurred, Auto-archive was unsuccessful.", message2,"[email protected]");
               Message was edited by:
    ryshi1264

  • Web dynpro component interface, can't create a instance

    Hi guru,
    I have created a web dynpro component interface, and implemented it through some components.
    But when I use the interface in another component, there comes a runtime error. The following is the error message.
    Error when Creating Component YHREFM_OBJSEL_INTERFACE. YHREFM_OBJSEL_INTERFACE Is a Component Interface, Therefore, an Instance Cannot Be Created. Name of Component May Not Be Specified. (Using Component: YHREFM_PRINT_FORM_SE, Component Usage: USAGE1)
    Need your help!
    Best Regards,
    Guo Guo Qing

    Hi,
    I have found the cause of the problem. I have mapped some context in the component interface to componenet_A. Then I active component_A, and test it. Then the exception on the top of the Thread is raised.
    What's wrong with it? Could someone give me a solution?
    Thank you very very much.
    Best Regards,
    Guo Guo Qing

  • Se80 - how to create a web Dynpro Component

    Dear all,
       I am running on SAP NetWeaver 2004s.I have the Web Dynpro under respository informatin system. but now i would like to create a new web dynpro component. can anyone tell me what are the steps?btw,i cannot find object list selection in SE 80..my se80 looks like below :
    <a href="http://img502.imageshack.us/img502/5720/se80xv5.jpg">http://img502.imageshack.us/img502/5720/se80xv5.jpg</a>
    thanks

    That's really weird...your screenshot is missing the part of the screen where you define which kind of object you want to edit (and it's name). It's there where you must select "Web Dynpro comp./intf" and enter the name...it should be right below the "Test Repository" pushbutton...
    Maybe it's a SAP GUI issue...i'd try reinstalling
    Regards

  • No component usage created in enhanced web dynpro component

    Hi experts,
    I am facing the following problem:
    I'd like to enhance a web dynpro component in order to add a popup window. The popup is triggered by the process_event method. So far everything works just fine.
    But the popup needs to know some context attributes from the main component, and I cannot create a component usage in order to set the context mapping.
    Does anybody know how to solve this issue?
    Thanks and regards
    Jan Phillip Höft

    Hi!
    Thanks for your answers first of all.
    I need the popup to be a stand alone web dynpro component, so I guess the assistant class doesn't do the trick because I can not access it in the popup component.
    The popup is called when the business object is saved. So that the user is asked to notify other users that the document has changed. In this popup the user should fill in the message and click a button to send it and close the popup.
    So I tried the OBN approach as well but with two problems :
    1. I cannot close the popup component by coding (button click) because it has no direct parent component
    2. The save event is not run through properly so the document stays locked by the user. But I didn't look into this yet.
    So it would be perfect to have an embedded popup component which is based on a stand alone web dynpro application so it can be closed properly but it need at least access to the guid of the main component.
    Anybody got an idea for this?
    Thanks and regards
    Jan Phillip Höft

  • Calling session bean's business method through web dynpro component

    Hi All,
    Can anybody tell me how to call a session bean's methods through a web dynpro WITHOUT java-model or web service model ??
    I have following scenario:-
    1. Stateless Session bean having two business methods
    2. Web Dynpro component
    3.Now i want to call business methods without using any model. I have got following piece of code but I dont know how to go about it.
    4.Where do i have to set JNDI name for session bean? which interface will be looked for?
    5. Do I have to declare public part for EJB DC? If yes, how?
    //This is inside web dynpro component
    InitialContext   context = new InitialContext();
    o = context.lookup(JNDIName);
    TestSessionbeanHome homeRef = (TestSessionbeanHome) PortableRemoteObject.narrow( o,                                                                               
    TestSessionbeanHome.class);
    TestSessionbean beanRef = homeRef.create();
    <returnValue> = beanRef.<ejb method name>
    Please help to get a step-by-step approach to this case.
    Thanks and regards,
    Amey Mogare

    Hi,
    If  I comment out the part that is using session bean's business method, DC is building fine.
    And if I uncomment, then compiler is unabl eto resolve business method(s).
    And i would like to mention that my EJB + J2EE App DC is building properly, but it havent yet deployed properly as I am waiting for data-source-alias name prefix to be configured by ERP team. So will this be a reason why Web Dynpro DC is not able to resolve business methods ??
    Because Web Dynpro DC is able to resolved all interfaces of Session bean and entity bean. But when it comes to business method, its not able to resolve.
    Any more ideas why it is not happening?
    Pls help.
    Now i went through some forum posts regarding this and found that we also need to add EJB DC to Java Build Path for WebDynproDC>Properties>Java Build Path.
    I did this and now it is able to resolve business methods and DTOs as well. So to summarize I did following:-
    1. Added EJB DC (complete DC) as a Used DC to Web Dynpro DC with Buid-n-Deploy-n-Run time dependency
    2. Added Sharing reference of J2EE application DC to Web Dynpro DC -->Properties
    This reference I constructed as follows:-
    <vendorname>/<name of j2ee application as appearing under display name tag in application.xml (replacing '/' with '~')>
    So my Sharing Reference becomes:- <vendorname>/reqpstapscreqpstapja_reqid
    3. Added EJB DC to Java Build Path in Web Dynpro DC's properties
    4. Then I added following piece of code to get object of SessionBean class
    InitialContext context = new InitialContext();
    Object o = context.lookup("java:comp/env/ejb/SessionRequestIDBean");
    SessionRequestIDHome homeRef = (SessionRequestIDHome) PortableRemoteObject.narrow(o, SessionRequestIDHome.class);
    SessionRequestID beanRef = homeRef.create();
    beanRef.<business method>
    But After doing this I am facing another problem :-
    The build fails saying it is not able find the package for DTOs. But when I see the Component Controller's code it is not showing any red or yellow marks.
    Can anybody pls help me out here?
    Thanks and regards,
    Amey Mogare

  • Dynamic insertion of MIME object into a web dynpro component

    Hi,
    I want to dynamically insert a MIME object of type JPEG or type GIF into my web dynpro component at runtime.
    I was unable to find the database table which contains the list of MIME objects for a particular web dynpro component.
    Can you please help me out with this?
    Thanks in advance,
    Adithya
    Moderator message: wrong forum, please have a look in the "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on May 23, 2011 9:55 AM

    Hi Muzammil Bichoo ,
                                   when you copy the wda component, it will be copied and will be in active state, once all the components are activated means, windows, views, everything will be available.
    now create application for your component, if you have more than one window(interface view) select the one which you need for the application.
    Regards
    Sarath

  • Is it possible to serialize a web dynpro component controller?

    Hi,
    Is it possible to serialize a web dynpro component controller and deserialize it for use?
    I have one web dynpro application WDA1 for web dynpro component WDC1. And  another web dynpro application WDA2 for WDC2 will be opened in a new window triggered by a button action in WDC1.
    Iu2019d like to pass the object reference of WDC1 component controller to WDC2.
    I first tried to use a static member of a class object but found out that even the static member is initialized and set in WDC1, itu2019s still initial when I access it in WDC2.
    Then I searched the forum and found one article Passing Object ref to Webdynpro Application while calling from BSP screen .
    The recommended way is to serialize the object reference and store in a DB table, later on read it out and deserialize it for use.
    I tried serialization using the following code, but when itu2019s deserialized, the result is initial.
    Can anyone share some ideas on this?
    Serialize
      data: ostream type string,
               xslt_err type ref to cx_xslt_exception.
    ***** serialize model class
      try.
          call transformation id
          source model = wd_comp_controller
          result xml ostream.
        catch cx_xslt_exception into xslt_err.
      endtry.
    Deserialize
        data: istream type string,
              xslt_err type ref to cx_xslt_exception.
        istream = ls_db_sel-obj.
        data lr_wdc type REF TO ZIWCI_BY_WDC_SERIALIZE.
        try.
            call transformation id
            source xml istream
            result model = lr_wdc.
          catch cx_xslt_exception into xslt_err.
        endtry.

    When you say new window, I assume you mean new browser window. This is a separate user session then.  This is why the singleton pattern doesn't work.  Have you considered using a new dialog window instead of a new browser window.  It will be modal, but will share the same user session as the parent window.
    >Why do you choose this approach over cross-component usage ? component usage is the way webdynpro components are >to be reused.
    >You can also consider using Singleton OO pattern class to share data between these two components.
    Neither of these approaches will work if you are using separate browser windows. Such an approach results in two separate user sessions (perhaps even running on different application servers depending upon how you have load balancing setup) and therefore can't share data using either of these approaches.
    In general the idea of serialization and then writing the string ito a server cookie or other database table is sound.  I don't think you should try and serialize the component controller, however.  Serialization only saves and restores public attributes - not protected or private ones.  So in general a class has to be designed for serialization.  The component controller is much too complex and wasn't designed for such an operation. 
    I would suggest instead extracting the data you want to share out of component controller or context and serializing it into a custom class and passing that to the other component.

  • No executionContext attribute in Web Dynpro Component Controller

    Hi All,
        I'm trying to write a Web Dynpro Component which can be used as a callable object by following the Link:[document|http://help.sap.com/saphelp_nw70/helpdata/en/43/e085d6421a4d9de10000000a155369/frameset.htm].
        I've successfully finished the getDescription method. In the execute method, I'm trying to get the executionContext attribute of the instance, but it always shows that no attribute name executionContext can be found here.
        Anyone can help me?
        Thanks,
    YiNing

    Hi,
    You should get the executionContext attribute as an inout parameter of the execute() method. You can also declare a instance variable to hold this to be later refered in other methods of the controller.
    Thanks,
    Dipankar

  • Context from Web-Dynpro-Component-Interface & Customer Extention Fields

    Hello all,
    A main component uses a Web-Dynpro-Component-Interface and defines an external maping to it. Web-Dynpro-Component-Interface has a context and a window. At runtime implementaion of Web-Dynpro-Component-Interface is provided.
    All works fine, but how can i create an implementation with view which contains customer extention fields? Unfortunately only fields from context of Web-Dynpro-Component-Interface are visible. I can not even extend the context of Web-Dynpro-Component-Interface via enchancement framework.
    I assume, it is possible with dynamic programming, but why is it not possible in declarative way?
    thanks
    regards
    Paul

    Hello,
    I found this documentation:
    Implementation of Interfaces for Customer Developments
    Using interfaces in a Web Dynpro component benefits customers by giving them a clean basis for their own further developments. When creating a local development, you can implement a used interface in a separate component and add your own aspects to an application delivered by SAP.
    http://help.sap.com/saphelp_nw70/helpdata/en/a9/19eebc1e2943dbb2d443095d017ae9/content.htm.
    I think it must be a correct way to extend SAP programms with customer fields. Please reply, issue is very important.
    Regards
    Paul

  • Create Callable object of Web Dynpro Component (GP interface) giving error

    Hi All,
    We are facing a strange error in Guided Procedure.
    While trying to create a new callable object of Web Dynpro Component (GP interface) after selecting the type and click on Next it is throwing below error.
    *javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located. Classloader =com.sap.engine.services.deploy.server.ApplicationLoader 3995fdb9 sap.com/cafeugpuidt
        at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:120)
        at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:109)
        at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:54)
        at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41)
        at org.apache.axiom.om.util.StAXUtils$7.run(StAXUtils.java:311)*
    Also while running the GP processses which are created in the past and working fine till few days back are also giving the same above error.
    Please help us in resolving the issue.
    Regards,
    Satish

    Hi Peter,
    Check this link.It may be helpful.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/java/netweaver%252bdeveloper%252bstudio%252b(NWDS)
    Regards,
    Sumangala

  • Dealer Portal - Vehicle Management System - Personalization - Web Dynpro component assignment for business partner is missing

    Hi,
    In the Dealer Portal, Vehicle Sales Role --> Personalization.
    I am getting below Warning message.
    The Web Dynpro component assignment for business partner is missing.
    As per my investigation found below.
    Since address formats are different for each country, you can define in the Customizing activity Assign Web Dynpro Components to Country-Specific Address Formats under SPRO --> Logistics Execution --> Dealer Portal which Web Dynpro component you want the system to use for displaying end customer addresses.
    BUT do NOT understand the name of WebDynpro Component to provide.
    What are the entries or WebDynpro component names to fill in below?

    Hi Hussain,
    Could you share the step-by-step solution? Thanks.

  • Web Dynpro component activation failed

    I tried to activate a web dynpro component and the activation failed. Have listed error messages from the request log and activation log. Do let me know what could be the issue. The application deployed successfully on my local J2EE.
    Request log details are as follows:
    ===== Processing =====
    BUILD DCs
         "hubbell.com/appl/ptl.wd.regtool" in variant "default"
              .. FAILURE: The build failed due to compilation errors. See build log for details. [result code: 202]
    ===== Processing =====  finished at 2005-11-29 00:09:48.813 GMT and took 18 s 899 ms
    ===== Post-Processing =====
    Check whether build was successful for all required variants...
         "hubbell.com/appl/ptl.wd.regtool" in variant "default"   FAILED
    ===== Post-Processing =====  finished at 2005-11-29 00:09:48.823 GMT and took 3 ms
    Change request state from PROCESSING to FAILED
    ERROR! The following problem(s) occurred  during request processing:
    ERROR! The following error occurred  during request processing:Activation FAILED due to build problems. See build logs for details.
    Activation log details are as follows:
    wdgen] [Info]    Initialize generation templates from configuration jar:file:/usr/sap/EDP/JC00/j2ee/cluster/server0/temp/CBS/79/.B/3223/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
        [wdgen] [Error]   com.hubbell.ptl.rgstr.app.Registration -->
       Application Registration: Component is missing
        [wdgen] [Error]   com.hubbell.ptl.rgstr.app.Registration -->
       Application Registration: Startup plug is missing
        [wdgen] [Error]   Generation failed due to errors (0 seconds)
    Build with ERRORS
    file:/usr/sap/EDP/JC00/j2ee/cluster/server0/temp/CBS/79/.B/3223/DCs/hubbell.com/appl/ptl.wd.regtool/_comp/gen/default/logs/build.xml:49: [Error]   Generation failed!

    There's obviously something missing in your WD DC: "Startup plug is missing". Your code has been checked-in to the inactive workspace. What you can do now is synchronize your DC with the server. You should get the same error then in your local NWDS and solve it.

Maybe you are looking for

  • March 2015 TechNet Guru Awards! See who's boss in C#! It could be YOU!

    The results for March's TechNet Guru competition were posted! http://blogs.technet.com/b/wikininjas/archive/2015/04/17/the-microsoft-technet-guru-awards-march-2015.aspx Below is a summary of the medal winners for December. The last column being a few

  • CF Server just spikes, how do you see what it's running!

    we have 7 webservers in a cluster.  The code is all the same via svn.  Now we have a few websites, a few simple monitors that report the server load (these are all linux servers) and they all hover around .5 -> 2.  Lunch time, early evening for a spa

  • IPhoto event not showing all pictures

    Photo (stored as .jpg format) does not appear in its iPhoto event directory. It was created by stitching two photos into one. Original two photos continue to appear but not the stitched pic. The file does appear under Documents --> All Images; file i

  • Planning Mode in MRP

    Hi Gurus, Can any one throw light on Planning Mode in MRP run? I basically what to know the difference and impact of this on MRP run? I have basically done this keeping all other parameters same, but go same reult for planning mode 1, 2, 3. a) Scenar

  • Create a drill down in function

    HI all, I could need some help, but I don't know if it is even possible. Currently we use in a BI-IP workbook two levels on input. We use a filter setting in workbook function to give other chars filter values. Example of the problem: We've a layout