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

calling different views at runtime based on my condition abap webdynpro

Hi friends,

Could you pls help me in this issue.

I am new to webdynpro abap.

I have an action on my first view.

basically its a sales order linktoaction. when i click it, i have to check a condition.

if process type = A,

then navigate to view 2(different abap webdynpro component's view)

elseif process type = B,

then navigate to view 3(different abap webdynpro component's view)


I only have experience in calling one view for a action, so i dont have much idea on this how to acheive.

I have this IF condition, on action event.ON that i need to call view of another application.

thanks in advance,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 05:25 PM

    Pls read the context and context element details. If the context element meetus ur required condition the file the oubound plug which goes to the view.

    For eg:

    if <elment_detail> = 'X'.

    wd_this-> fire_plg1() -- This will call one view.


    wd_this -> fire_plg2() -- This will call another view.


    Add a comment
    10|10000 characters needed characters exceeded

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.