Skip to Content
author's profile photo Former Member
Former Member

GP: Web Dynpro Applications

Hi all,

Let's say i have to regular web dynpro applications (not implementing the GP interface) , wdpA and wdpB, and i want to use then in a guided procedure.

In wdpA i want to do some things and this generates an id, say X.

In wdpB i want to use X to lookup some information in a table.

Is it possible to pass X from wdpA to wdpB in a guided procedure without implementing the GP interface?

Kind regards,

J.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 07:53 AM

    Hi Joren,

    As far as I know, this is not possible. If you use a WebDynpro application which is not implementing the GP interface it cannot access the data in your process instance (like the id).

    You could write the id in a database table and read it again from within the other application, but then you still don't have a reference to the process instance, e.g. you don't know which id to read...

    Johan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 08:05 AM

    Joren,

    I just thought of something you could use.

    You can add input parameters to your WebDynpro application callable object which will be passed to the application as url parameters. You could pass a process instance id to both the applications, which you could use in app A to create a record in a table, and in app B to read it again.

    But, I think you should consider implementing the GP interface, because you have to modify your code anyway, and GP interface seems to me like an easier solution.

    Johan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      Thx for the idea.

      I think the minimum (using GP interface) is that wdpA implements the GP interface, meaning that the ID is known in the GP process. It can be passed to wdpB then as an input parameter without implementing the need that wdpB implements the GP interface.

      the parameter can be resolved in wdpB using the following code:

      WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter(String key);
      

      greetz,

      J.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.