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!

Similar Messages

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

  • 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

  • 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

  • Guided Procedures Adobe form callable object GRANT POINTS!!!!

    Hi,
    I am trying to add Adobe form to the GP. I created a simple form template .XDP which contains only two element to test in GP
    I created CO  no problem based on XDP.
    When I am trying to preview my GP I see the following functional error :
    No activity is currently selected
    or if the CO is attached to the first block for execution this one:
    The next activity is not yet available: try again later using the "Refresh" button
    Any Ideas ? 
    Any other COs including WD app COs and other types of callable objects in the same GP work just fine
    Thanks
    Denis

    Hi Satya,
    Thanks for your reply.
    I got my mistake with the help of my colleague.
    I had missed to add the below code in wdDoModifyView. It now works well :
    Code I added is this -
    IWDInteractiveForm iForm1 = (IWDInteractiveForm) view.getElement("InteractiveForm");
    iForm1.setDynamicPDF(true);
    Thanks,
    Best Regards,
    Suyukti B N

  • 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

  • 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

  • Reusability of web dynpro callable object

    Hi,
    I want to use same webdynpro callable object inside another callable object including some extra input and output parameter.
    So that I dont have to write the same code again in another callable object.
    is it possible?

    Hi Ritu ,
               Yes ofcourse we can use the same Callable object in another CO.
    I dont think below mentioned is the better way to do .
    while setting the input parameters and output parameters in the description method and execute method use if condition based on the status.
    follow the same procedure in the description and execute method.
    if (Status =="some value"){
    set the Extra input parameters.
    //below dont use else
    normal input  parameters for the callable object.
    in the same way do it for the output parameters.
    Note :here status can be anything.
    for eg :
    an employee open a leave form , here the status will be new.
    when the employee submits the form to the higher authority, the status is "Submitted to higher Authority".
    so the above scenario both the higher Authority can use same callable object. the difference is the higher authority CO have some additional fields such as "Remarks".
    here based on the status we can use the same callable object.

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

  • ABAP Webdynpro as callable object to connect MDM Server

    Hi All
    if we want create MDM workflows in portal thru GP then we need to create the callable object initially which will integrate the MDM system thru MDM Apis
    suppose if we choose the option of taking the ABAP webdynpro as callable object then what is the development efforts/Steps to involve for creating the callable objects.
    i hope that we can use the ABAP wendynpro thru MDM ABAP APIs where we can integrate MDM data in ABAP webdynpro application.
    can you please list out what is the Aims from enduser level  and development level.
    Please more details on this??
    Regards
    Suresh babu

    Hi All
    if we want create MDM workflows in portal thru GP then we need to create the callable object initially which will integrate the MDM system thru MDM Apis
    suppose if we choose the option of taking the ABAP webdynpro as callable object then what is the development efforts/Steps to involve for creating the callable objects.
    i hope that we can use the ABAP wendynpro thru MDM ABAP APIs where we can integrate MDM data in ABAP webdynpro application.
    can you please list out what is the Aims from enduser level  and development level.
    Please more details on this??
    Regards
    Suresh babu

  • 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

  • Cannot display Adobe form as Callable object in GP

    Hi all,
    I'm trying to display an adobe form as an Interactive Form Callable object.
    I've created a process -> block -> action -> callable object. But the form doesnt display. When I launch the GP runtime and initiate the process, I get the message "The next activity is not yet available: try again later using the "Refresh" button " nothing happens when I hit the refresh button.
    Can someone advise me what I might be doing wrong? I've also tried things like consolidating parameters with other callable objects just to see if anything display, but no luck so far.
    Thanks
    TM

    Hi Som,
    I'm using NW04s, EP 7.0 SPS 10
    OS is Unix(server) Windows 2000 Pro (client)
    Browser version is IE 6.0.
    I just realised the system is sending out an email to the initiator, and the initiator is able to open the Adobe form. But who does the initiator send the email back to? I'm quite a newbie to this stuff so please bear with me. Also another question is, if the form is offline, then how do we know which workflow (GP) it will tie to once the form is submitted back to the system? In other words, does the person who receives the email with a filled adobe form have to manually initiate the workflow or is there a mechanism to automate this?
    Thanks in advance
    TM

Maybe you are looking for