Can't add GP Component Interfaces to WebDynpro Callable Object

Hi, I've just installed the IDE for Composition Environment 7.1 SP3 and I'm following the tutorial to create a WebDynpro Callable Object for a Guided Procedures that I'm working for a demo. It seems that there is something wrong with my NWDS, 'cause once I add the the required DCs dependencies to my project for caf/eu/gp/api and caf/eu/gp/api/wd and mark them for Design time, I cant add the to any new component as implemented component interfaces 'cause the list for adding them is empty. I really don't understand why this is happening, 'cause that's the way the tutorial explains it to work. I've already try to reinstall the NWDS, without success. Has any of you face the same problem?
Thanks for you answer.

Hi,
You should not create Design Time dependency. It is not required.
Ensure only that you have created a Build Time dependency on the public of "caf/eu/gp/api and caf/eu/gp/api/wd".
After creation of dependency ensure that you have build WD DC.
Check if it works now ?
Regards,
Ashwani Kr Sharma

Similar Messages

  • Launch Webdynpro Callable Object in Mobile?

    I am able to launch the normal Webdynpro Java application in Blackberry, but want to add it to GP Process using Callable Object, but no idea how can we get the URL for WD - Callable Object?
    Is it possible to launch web dynpro Callable Object in Mobile like in blackberry? I am trying to write a program for Approval Process for my project. If any one have done this please let me know what URL we need to use to launch the WD-Java Callable Object in Mobile?
    Please let me know if you have any suggestions.

    resolved myself

  • Connect webdynpro callable object with ms sql server 2000

    Hi all
    how connect webdynpro callable object with ms sql server 2000?
    How can I register on the portal as an additional connection?
    thank you very much!

    Thanks for your answers, Now I have the following problem, to develop this code:
    try {
              InitialContext iC = new InitialContext();
              DataSource dataSource = (DataSource)iC.lookup("jdbc/ConnectionAlias");
              Connection con = dataSource.getConnection();
              java.sql.Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("select * from ejemplo");
              while (rs.next()){
                   com.sap.test.sql.testsql.wdp.IPrivateTestIViewView.IDatosElement
                                                             DatosElement =
                                                             wdContext.nodeDatos()
                                                             .createDatosElement();
                   DatosElement.setId(rs.getString("id"));
                   DatosElement.setNom(rs.getString("nom"));
                   DatosElement.setNum(rs.getInt("num"));
         }catch (SQLException e) {
              wdContext.currentContextElement().setB(e.getMessage());
         }catch (Exception e){
              wdContext.currentContextElement().setB(e.getMessage());
    and shows me the following exception
    ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    the data that you place in the visual administrator were:
    Drivers: com.sap.aii.af.jmsproviderlib (msutil.jar , mssqlserver.jar , msbase.jar)
    DataSources: sap.com/JDBCConnector_MyDatasource.xml
                   Name: MyDatasource
                   Alias: ConnectionAlias
                   DriverName: com.sap.aii.af.jmsproviderlib
                   JDBC Version: 1.x
                   Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
                   Database URL: jdbc:microsoft:sqlserver://181.42.101.219:1433;DatabaseName=test
                   User: sa
                   Password: abcd1234
    did not know the cause of the problem
    thanks!

  • How connect a webdynpro callable object to bapi?

    hi all,
    I need to make a webdynpro callable object that connects to a bapi, to extract and modify data. I understand that this is done through a CAF. How can I make the connection?
    Thanks!

    in webdynpro callable object you can use models to connect BAPI/RFC
    Please read the following document
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
    Thanks and Regards
    shanto aloor

  • Can I add a component in root pane's layered pane

    Hi,
    I'm two months old to swing.
    My question is: Whether I can add a component at FRAME_CONTENT_LAYER in a layered pane of root pane or not.
    Pls help me out and give some links on this topic.

    But why din't you make a suggestionI did make a suggestion. Read the tutorial. The tutorial also has topics on how the Root Pane works if you look at the Table Of Contents. I don't fully understand the question but figured you should be able to test it out in about 1 line of code. Something like:
    add( someComponent, pickALayerHere);
    I have no idea what you are trying to do or why you are trying to do it. So I can't offer any other advice.
    Learn to ask a detailed question and you might get a more detailed answer.

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • Adobe WebDynpro Callable Object

    Hi all
    I created Adobe WebDynpro application whihc worked well.
    After creating callable object with WebDynpro (GP instance), and  when i click complete button which is linked with complete method, following error occoured.
    Actually adobe form web dynpro works well independently.
    What do you think about that?
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.prepareSoapMessage(PDFObject.java:517)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:351)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.inputPDF(PDFObject.java:3643)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInputPDFHandler.handle(PDFDocumentInputPDFHandler.java:145)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentAccessibleContext.execute(PDFDocumentAccessibleContext.java:149)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.AdobeFormHelper.updateDataContainer(AdobeFormHelper.java:161)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.beforeTransportData(InteractiveForm.java:465)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.beforeTransportData(ClientApplication.java:1130)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:141)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:297)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:726)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:662)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:808)
         at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:80)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)
         at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:324)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:830)

    Hi Aliaksandr,
    I have the same issue and we desire the same. Also the button is placed outside the form....
    Have you found out what could be a possible solution?
    I couldn't find any note on this occurence.....
    Thanks in advance!

  • Unable to craete ABAP Webdynpro callable object

    Hi all,
    I am not able to create a callable object for a ABAP Webdynpro application.
    The SAP system has been configured properly in Endpoint Aliases and the Test Connection is successfull.
    The problem is that whenever I search any ABAP WebDynpro application it says "Application with this name not found". There are many ABAP Webdynpro applications on the SAP server and even if I search for * it gives me the same message.
    Please help.
    Thanks,
    Vivek

    Hi,
    Is your EAR having gp/api in tis dependency. It should be added with dependency at runtime and deploy time. It should also have run time,deploy time dependencies towards your DC having the java class(Background object).
    Hope it helps.
    Regards,
    Srinivasan Subbiah

  • How to debug WebDynpro callable Objects?

    Hi Colleagues,
    how can i debug a webdnpro callable object? The NWDS debug wizard always would have an "application" to start a debug session.
    Best regards,
    Patrick
    http://www.mindsquare.de

    Hi,
    I haven´t tried with Callable objects, but with CAF applications. I followed the instructions on the following link and I could debug my applications:
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/c707c053550f2ce10000000a1553f7/frameset.htm
    (Under the features title, Enabling Debugging)
    or directly
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/f7c90118762460e10000000a1553f7/content.htm
    Best regards,
    v s

  • How can I add alternate component in same BOM

    Hi Experts,
    One of my requirement like this , in same alternative BOM I want to add alternative components with existing components.So please advise how to do.
    With Regards
    Aravind

    Hi,
    This is discussed before in SCN. Please go through below links for your query,
    Alternative component in BOM
    alternative materials in PP
    Alternate Item in BOM
    Re: PR( purchase requ) for Alternative material in BOM
    Regards,
    Narresh

  • Can I add a picture not as a smart object?, i need to move it.

    Im working on a project in school and i had to make illustrations for a animation.
    The one to animate my illustration asked for all the parts of the girl in separate layers so he could make her move.
    I made the girl in Illustrator but when I tried to put them over to photóshop they would come of as a `smart object` and then they would stick to the background and they wouldn´t be able to move.
    I really dont know what to do because i have never used PS before, can somebody please help me!!!

    Good day!
    I made the girl in Illustrator but when I tried to put them over to photóshop they would come of as a `smart object` and then they would stick to the background and they wouldn´t be able to move.
    An instance of a Smart Object is one Layer, so if you expect to get more than one Layer from pasting/placing Illustrator content you would seem to be mistaken.
    Alternatives might be
    • pasting the elements separately
    • placing each object on a Layer of its owns in Illustrator and using File > Export to save a "Photoshop (psd)" file and checking "Write Layers"
    Are you sure the animator wants pixel content and can’t work with the vector data/ai file?
    Regards,
    Pfaffenbichler

  • How can i add new jcomponent to a frame?

    hi.
    how can we add new component to a frame? look at this code. Why when i click on button, nothing added to frame? event handled correctly and frame size changes but no button adds to frame.
    private void convertButtonMouseClicked(java.awt.event.MouseEvent evt) {
    // TODO add your handling code here:
    JButton newButton = new JButton("new");
    getContentPane().add(newButton , BorderLayout.CENTER);
    newButton.setVisible(true);
    setSize(500, 500);
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    Well typically you wouldn't add a button to the Center of a BorderLayout. If you really want to do this you should be using a [Card Layout|http://java.sun.com/docs/books/tutorial/uiswing/TOC.html].
    In general the code for adding/removing components should be:
    panel.add(...)
    panel.revalidate();
    panel.repaint();

  • Unable to save component interface in permission list

    Hi,
    When I add a component interface in a permission list and then save it, it gets saved.But, when i open the permission list again, the component interface which I added does'nt show up.I'm trying to do this using the Peoplesoft superuser login id.Please suggest what might be the issue?

    By giving full access in the edit tab, the issue is solved

  • How can i add an custom attribute and assign it to an existing custom object class in sun ds

    I need to add an attribute to sun ds schema and assign it to an existing custom object class.
    I know how to add an attribute but how can i add the attribute to an existing custom object class.
    Please help.
    Thanks

    The objectclasses attribute is multi-valued, so you can add several values to it as long as they are unique.
    For instance, I think you can add several declaration of the same objectclass as below (note the difference is the number of spaces in the value) howewer, from a schema perspective, only 1 will be taken into account:
    objectclasses: ( 2.5.6.6 NAME 'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256' )
    objectclasses: ( 2.5.6.6 NAME   'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256    ' )
    That's the reason why it is safe to delete previous value if you want to update an existing objectclass. No problem to add a new objectclass (new oid and new name) to the schema.
    -Sylvain

  • Call WebDynpro component interface

    Hi experts
    We have developed a WebDynpro component to export context data node to excel file using jakarta poi libs.
    This component have all logic to generate the excel file, and have only one method in component interface controller, this method is called with other WebDynpro components and work fine.
    Now we have new requeriments, we need to generate the same excel file with one scheduled task in KM.
    Anyone know if is possible to call our WebDynpro component interface method from scheduled task?
    Best regards

    Hi Xavier
    If I were you I'd just separate the logic to generate the excel from the WebDynpro component. If the logic is isolated in Java lib it can be invoked from WebDynpro component and also from the KM Scheduler. There is no necessity to invoke the whole WebDynpro component from KM scheduler. Moreover, I think that it's not possible.
    BR, Siarhei

Maybe you are looking for

  • Transfer Dep Fund balances to new Dep Fund GL

    Dear Experts We are working on ECC 6.0. For two of our Asset classes the Dep fund GL is same which we now plan to separate into two respective Dep Fund GLs. For the currect FY there is no problem as after assigning the new GL, the dep will be charged

  • Home hub 3 broadband light flashing orange & purpl...

    Hi, Broadband has stopped working with a flashing orange & purple broadband light (7 days and counting) Have phoned bt but they failed to resolve the issue over phone - resetting, power off/on etc. Tried 4 different branded adsl filters, alternative

  • Broken korean characters while using utl_file.fopen

    Hi, I have korean data in a table and I need to extract it out. Am using utl_file.fopen for this. It extracts, but korean characters are coming broken... Is there some setting (NLS_LANG etc) that I need to do? I tried NLS_LANG korean_korea.KO16KSC560

  • XML-2-TXT conversion

    All, We have a small, annoying problem with xml-2-text conversion.  During the conversion, the "&: in the XML file is not translated to "&" (ampersand). We encounter this issue with the xml-2-txt convertor of the file adapter of the standalone J2SE a

  • How to restart WorkItem if the status is completed

    Hello, Due to my mistake in PRD not in DEV i changed the WI status from started to completed. Now i have 110 WI affected and i dont know how to restart them, or make them finish normaly the right path. In the LOG i can see: Execution was ignored (wor