Skip to Content

Recently I was working on developing a GP process using Web Dynpro Java callable object where I need to pass table data (multiple line items) from one callable object to another using GP parameter mapping. After stumbling over the issue for quite some time finally I got the solution how to do this. But seeing the lack of documentation on this part in SDN indulged me to write a weblog which I hope may help many other developers like me.

The scenario is like this :
We have two Web Dynpro (GP Interface) callable objects.

(Please refer to the following document on how to create Web Dynpro callable object : Implementing a Web Dynpro Callable Object)

To report this post you need to login first.

5 Comments

You must be Logged on to comment or reply to a post.

  1. Balakrishnan B
    (0) 
    1. Dipankar Saha Post author
      Hi Ritu,
      You can write code in the execute method of the first callable object to initialize certain variables if required or to read the values of the context attributes if there is another CO before that.

      Thanks,
      Dipankar

      (0) 
  2. Ritu Singh
    I am getting null pointer exception when i am testing my first callable object with same getDescription method code and complete method code in my first Wed dynpro comp.
    (0) 
    1. Dipankar Saha Post author
      Hi Ritu,
      It may be because you haven’t instantiated the context node in the wdDoInit() method which you are using in execute() or in some other methods in the controller or view.

      Thanks,
      Dipankar

      (0) 

Leave a Reply