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

DC Question

I am a novice to the web dynpro.

I am migrating a user excel appliation to a web dynpro application using mostly dynamic UI. This is a huge excel with over a hundred columns and naturely I have to provide some popup windows for quite a number of columns where the data are sourced from rfc call to some BAPI. I've the application working and most of my functionality are encapsulated in customer controllers, even the popup windows mentioned above which will accept an attributeInfo as a parameter and populate the attributeInfo with user selected option.

I took a custom controller and made an internal DC out of it. And then I declared the use of this DC in my main application DC. In that way, I would have achieved the reuse as is in line with the web dynpro philosophy. In my case, I have only interface methods and no interface views as I am not embedding anything in my views. The end result is when I call the internal DC's popup window method, I only got a tiny square window around a few characters in size, not the window together with the search input fields and result table. My question is that is it legal to open a external modal window in a internal DC?

Any help would be very much appricated.

Wai Yung

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2007 at 09:04 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2007 at 01:06 PM

    Hi siu wai yung,

    What you are doing is very legal i.e because logically the control remains within the parent DC i.e only issue that you might(if you are not packaging the Child within the parent SDA) is that if it might not respond the application might go into the infinte suspension.For this you can manage the timeout of the child.Which can be done by running a seperate thread parallely.But,be careful with the context management.If you are calling an external DC suspend resume is better functionality than this.But i would rather prefer using a an direct interface view call.As the method that you might have exposed must be internally doing it.Just to make things simple :).

    Its always nice to see some good questions I would also like to know the opinion of WD experts on the same.

    Unfortunately there a few people who assume others dont have access to help.sap.com 😉

    Regards

    Amit

    Message was edited by:

    Amit Kesari

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Amit,

      I see what you try to do. When the user input a new entry, make that a new entry of the list. That's actually good idea.

      The trouble is when the user select one from the list, they have to enter an extra ENTER key to trigger an onEntry action so that I can copy the value back to my real attribute. If they didn't, and I cannot force them, the view with be out of sync with the data. I actually try to resync the data using the leadSelection changed but it is not that clean so I dropped it.

      The real solution will be a trigging of onEnter action when an option is selected. Or an onSelect action should be included for an InputField with EVS.

      Thanks and Regards,

      yung siu wai

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.