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

Similar Messages

  • 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

  • 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!

  • 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

  • How to Debug WebDynpro-ABAP application

    Hello Friends,
         1.  How to Debug WebDynpro-ABAP application.
         2.  What is modal dialog
         3.  If Component contains more than one view, how to make one view is the default. Is that any way I can hide a view.
        4. Is that Component is the highest in the design structure, or any other types available like development components in WebDynpro-Java.
    Thanx for Ur time.
    Cheers,
    Sam

    Hi,
    As i explained LIMU are subobjects like views as they dont have the seperate identity in repository so they have to be linked thru there parent component.
    So when you transport whole component u can see there would be some entries in your transport list as LIMU types ( for views , windows).
    OTR are text elements which u create for the elements of your view so u dont require to hardcode the text to be displayed as they need to be displayed in different languages so what you do is you create say button and for text to be displayed you create on OTR element under some package. now you give this package to your translation team to do all needed translations.
    Yes DDIC types are from dictionary only but when you transport them so all newly created DDIC should also be transported.
    P.S -> Pleas close this thread if satisfied with all questions.
    Thanks
    Anuj

  • 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

  • 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 method of object of worklfow in background

    Hi guys,
    Is it possible to debug method of object of workflow which is set in background?
    Thanks!

    Hi
    Refer to link below
    Re: Debug workflow task
    Hope it will help you.
    Regards
    Natasha Garg

  • Want to know how to debug the Business Object Method called from CRM

    Hi all,
    I have to debug a Method of a custom Business Object. This is being called when a certain action is performed
    on the CRM  ( CIC0 screen). I can not see an option to set an external break point in the Program of the Business Object
    Method.
    This Business Object calls a standard SAP FM. I tried setting an external break point in that FM and tried executing that.
    But it  is not stopping there.
    Can any one please let me know how I can debug this when triggered from CRM?
    Thanks  in advance.
    Thanks & regards,
    Y Gautham

    Hi,
    I have tried checking the option 'IP MATCHING' option. I have given my user id and also the 'WEBUSER' as well.
    But still I am unable to debug the application.
    Can you please let me know if I am missing anything further.
    Thanks & regards,
    Y Gautham

  • How to make a callable object daemon

    Hi Gurus,
    I have a class which implements Callable interface and I am using thread execution framework to execute this object. My requirement is to make this thread a daemon thread. I would like to know how can i do this because setDeamon(True) doesnt exist in Callable interface.
    Thanks

    If you know that a method from your object is being called in the thread which you want to make daemon, try
    Thread.currentThread().setDaemon(true);

  • Understandng the callable object within GP

    Hi All,
    I have basic question on callable objects in GP.
    I would like to know how the Adobe form content gets persisted with in GP .
    Example : We have 4 steps in a GP process , one requestor and two approvers. Each step is a webDynpro callable object.
    Requestor fills a Adobe form and this request goes through two approvers and then to complete state.
    Consider we have two fields in adobe form. For my understanding , we need to take care of the business logic within the webDynpro callable object which takes care of storing the two field data into a database(Maxdb or SQl).Is that correct ? Or GP will take care of storing the content also ?
    2. Another scenario
      Assume that the application context stored with in GP process
      The system restarted/down after the requestor submits his request. In that case will that request gets lost or GP will take care of storing......???
      Please correct me if my understanding is not correct.
    Regards, Anil
    Edited by: Anilkumar Vippagunta on Jun 18, 2008 1:46 AM

    Hi Sumangala,
    Thanks for your response.
    Lets consider I have 2 webDynpro callable objects..One is for requestor another for approver.
    Requestor filled the adobe form in callableobject1 and submitted the request.For some reason j2ee got restarted or went down.
    When requestor submits his request , GP will send the notification to the approver.So a task will be added to approver inbox.
    So GP will take care of storing the process related information but not the content within Adobe or webDynpro application ...Am I right ??
    I am just trying to analyze the overall behaviour of GP in all aspects.
    Thanks, Anil

  • Callable object with external backend

    Hi everyone!
    Is it possible to create a form (the callable object) in Guided Procedures which takes its data from an external database? For example, say I want to create a callable object in Guided Procedures which picks up user information from an MS Access database? If its possible, could anyone provide a hint as to what kind of callable object I need to declare and how I connect to the external database?
    Any links to documents explaining such a scenario would also be of course welcome..
    Thanks in advance,
    Sameer

    Sameer,
    Its possible to fetch data from an external database.For instance, you could utilize a 'Webdynpro Callable Object' for the same.
    You can very well establish a connection to the database using the regular JDBC connection APIs.
    Once the connection is established you can read/write data from/to the database.
    A simple example would be to write the connection code in the execute() method of your Callable Object.
    Once you get the connection object, you can query the DB as you want.
    For instance , you can have an Employee database with employee number as the primary key.
    Now you can have this employee number as the 'input parameter' for the Webdynpro Callable object and rest of the details
    like name, age , location you can have them as 'output parameters' for the CO.
    Now when you execute this CO , it'll expect a 'valid' employee number as input,it'll go to the execute() method of the CO ,
    make a DB connection,execute your 'select' query and give you the resultset.
    You can loop thru the resultset to set your Output parameters.
    A simple JDBC connection code for SQL Server DB looks like this:
    public String makeDBConnection()
              try
                   String strUserName = "db_user_name";
                   String strPassword = "db_user_pwd";
                   String strDB_IP = "db_ip";
                   String strDB_Port = "db_port";
                   String strDB_Inst= "db_instance";
                   String strQuery="/your select query/";
                   ResultSet resultSet = null;     
                   DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
                   con = DriverManager.getConnection("jdbc:microsoft:sqlserver://" + strDB_IP + ":" + strDB_Port + ";DatabaseName="+strDB_Inst,strUserName,strPassword);
                   stmtQuery = con.createStatement();
                   resultSet = stmtQuery.executeQuery(strQuery);
              catch(SQLException e)
                   e.printStackTrace();
    Hope this helps.
    Pls reward if helpful.
    Thanks,
    Karambir Singh

  • Refresh Callable Object if changes are made to VC Start/End points

    Looking for some guidance on how to refresh a callable object once I have already brought it into my application.
    I have a VC application that I can use as a callable object during my GP process.  During design time, I can select it and see the start and end points.   I then can map those values and use them in the GP.
    If I go back and change the VC application (make a change to the start or end point ... like a new variable or name change) how do I get my GP to recognize that there is a new version of the VC application?   Currently I have had to delete the CO and rebuild it...Id rather the tool tell me the version has changed and that I need to remap/group my values.
    Note that if I change anything between the start or end point in the VC application there is no problem, since all the GP cares about are those start/end points and how they relate to the rest of the process.

    Hello Mike,
    It´s a pitty but there is no way to "update" VC based callable objects in GP, (in webdynpro callable objects there is an "update" button that allows to do that) , but with Visual Composer Callable Objects the only way is to create a new one.
    Regards,
    Marco.

  • Callable Objects-Write to System Log,Offline Approval

    Hi,
    I am new to Guided Procedures and I am trying out examples in all callable objects.
    I have doubts in 2 callable object
    1. Can you guide me how to use the callable object under Miscellaneous Type - Write to system Log
    After we Enter the Log text where to go and view the text.    
    2.Callable object under  Process control type -  OfflineApproval           
    When I use this callable object I am not getting mail whether the action is approved or rejected.
    Regards,
    Bala Baskaran
    Edited by: Bala Baskaran on Feb 27, 2008 12:45 PM
    Edited by: Bala Baskaran on Feb 27, 2008 12:48 PM

    Hi,
    Which SRM version are you working??Always mention that in your post for appropriate solutions.
    Pls see the foll notes:
    <b>Note 928320 - RBBP_OFFLINE_EVAL: Local purchase orders not selected</b>
    Note 980963 - RBBP_OFFLINE_EVAL: Some users not found
    Note 1039869 - RBBP_OFFLINE_EVAL:Sometimes text contains no Object ID
    1035114 - RBBP_OFFLINE_EVAL: Wrong messages , missing values there
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

Maybe you are looking for

  • Transition from SPLA to ?

    Hi, I have a client who currently has server with software installed under a SPLA from his previous IT Company. He would like to stop dealing with them and take control of his own software, but I am unsure of what is the best way he can do this witho

  • Connecting my ipod to my laptop - playlist problem

    When I connect my ipod to the laptop, it loses the position in the playlist I was listening to. Is there a way to stop this from happening? I hate getting half way through an audiobook, recharging the ipod and loosing my position in the playlist. Tha

  • How do I get my security questions if I forgot the answers?

    I forgot the answers to my security questions, how would I be able to get them back?

  • Refresh a connection invitation cloud team

    Hello, I received a mail in order to active my adobe session for 2014. When i click on, a message comes ' We're Sorry! This invitation was already accepted ' My administrator can't send me a new mail again. How can i do ? please French user.

  • Looking for more view in one report

    Hello friends, Can you please tell me how can I save more views in one bex query. I want to view the same query with different view. I thanks to you in advance . Regards,