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

Dynamic Pop-up required to select Ship-To

Hi All,

I am a novice in Web Dynpro & need your help in below issue.

There is this standard Web dynpro component CUST_COCKPIT_COMP.


It has an inbound plug CUST_COCK_IN1 which triggers event handler HANDLECUST_COCK_IN1.

This inturn calls method wd_This->Set_All_Data( ). This method inturn calls method wd_This->Fire_Powl( ).

Inside this method several selection parameters values are added to a kind of range table lt_selpara_cfs.

Once this table is completely populated FM POWL_ENCODE_SELPARA is called.

Just before this FM is called, I wish to achieve the following:

1. Using the Customer number & Sales area details which are available fetch the possible Ship-To values

2. Display all the Ship-To values in a pop-up & ask the user to select the required Ship-To

3, Once selected, that Ship-To value will be returned back & added to the table lt_selpara_cfs & passed to the FM POWL_ENCODE_SELPARA.

As per my understanding standard SAP web dynpro can be enhanced by following the steps in this link

1. I am not sure how to create the pop-up & call it. Is it possible to create it dynamically using coding or I need to create custom Web Dynpro application?

2 Also, can I put in the logic to get the Ship-to values at this position itself? As I know Web dynpro has concept of Assistance classes. Can it be done for this Web dynpro & if yes, should it be done?

3. Is there a standard pop-up available which will show all the Ship-to values when Customer number & Sales Area is passed?

Please guide. I have not worked on Web Dynpro earlier & I am only aware of high level concepts.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2014 at 11:43 AM

    Hi Sanket,

    You can enhance the current component itself.

    1. You have to overwrite the method where FM POWL_ENCODE_SELPARA as in the link you given.

    2. It is possible to rise the popup with values as you have mentioned, you have to create a view and window and call that window in popup using the wizard option.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi KK,

      Thanks for the update.

      I have started creating a custom web dynpro.

      But I do not know how the whole design would be in this case.

      Could you please provide detailed steps that i need to follow or provide a link for the same.

      I am not able to figure out how will I

      1. Pass the data to the View in the custom WD from the enhancement

      2. Create the display that will show the output - can I use table control?

      3. Get the selected Ship-To from the display. User should only be able to select a single Ship-To

      4. Pass the selected Ship-To back to my method in the enhancement


      Sanket Shah

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.