Problem: Web Dynpro Java 6.40 FileDownload control in table

Hi guys,
I have the problem to display FileDownload elements in a table. Unfortunately it is NOT NW04s, but it is the old Release 6.40.
Theoretically speaking, this should be possible too. (Performance wont be good according to two SDN articles of Betram Ganz).
Still I have the following problem:
If I want to obtain IWDModifiableBinaryType to save my file inside the context for displaying in the table then I get java.lang.NullPointerException.
My Context is 0..n node "Submissions" where my file is stored as binary attribute "File1".
Code to get the IWDModifiableBinaryType is:
wdContext.getNodeInfo().getAttribute(IPrivateFormManagerAdminSubmissions.ISubmissionsElement.FILE1);
or:
wdContext.nodeSubmissions().getNodeInfo().getAttribute("Submissions.File1");
Both is not working.
Now I have the question if this should theoretically work and if there are any tips/code snippets how to do this?
Whats wrong with the coding above?
Thank you very much guys,
much appreciated.
Christoph
Edited by: Christoph Koch on Jun 22, 2009 9:48 AM

wdContext.nodeSubmissions().getNodeInfo().getAttribute(IPrivateFormManagerAdminSubmissions.ISubmissionsElement.FILE1);
if the element its on the node Submissions then you have to especify it to get the node info. I hope it helps

Similar Messages

  • Problem Web Dynpro Java applications using JasperReports

    Hello all,
    We have followed the footsteps of these blogs but we can not make it work.
    Part I --> Part-I: Print Web Dynpro Java applications using JasperReports
    Part II --> Part-II: Print Web Dynpro Java applications using JasperReports
    Part III --> Part-III: Print Web Dynpro Java applications using JasperReports
    Details system: 7.02 SP3
    We believe that the problem is in the library, because it finds them.
    1) We created project as a DC external library with *.jars
    2) Public part DC external library.
    3) Add public part of DC Library into new project DC WebDynpro Java.
    4) Development Component -> Build is OK
    5) Development Component -> Deploy is OK
    6) Test app ERROR.
    When we run the application shows the error:
    The initial exception that caused the request to fail, was:
       java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at com.unisys.tmb.View01.onActiongenerarPDF(View01.java:161)
        at com.unisys.tmb.wdp.InternalView01.wdInvokeEventHandler(InternalView01.java:140)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
        ... 28 more
    See full exception chain for details.
    Regards,
    Luis.

    Hello John,
    Thanks for the link. We have performed the steps in this blog:
    1) Create DC Project "External Library" with name js/jars:
    - Add *.jars in folder Libraries.[Screenshot Libraries|http://img846.imageshack.us/img846/8395/jsjars.jpg]
    - Add archives (*.jar) to public part with name ExternalLib. Which option to choose?
    a- Provides an API for developing/compiling other DCs (Option chosen)
    b- Can be packaged into other build results (eg SDAs)
    - Development Component -> Build
    Step 1 is OK.
    2) Create "J2EE Server Component / Library" DC with name js/lib:
    - Add Used DC -> public part project ExternalLibrary -> "ExternalLib"
    - Specify both build time and run-time dependency here and strong.
    - Generated SDA file in <var>gen/default/deploy</var> How do we check that it contains <var>js.jar</var>?
    - folder gen/default/plublic/defLib/lib/java then you meet *.jars files again. is OK.
    - Development Component -> Deploy.
    - Go to Visual Administrator. We found the library js/lib, but has no associated *. jar. It is the problem.[Screenshot Visual Administrator|http://img542.imageshack.us/img542/5537/visualadminlib.jpg]
    3) Create "WebDynpro" DC with name pdf_jasper
    - Add used DC (defLib) to WebDynpro DC with option "Build time".
    - WebDynpro References -> Library references --> add <var>jslib
    - Deploy
    - Run error: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
    Regards,
    Luis.

  • Problem in completing the TASK when using Web Dynpro Java and BPM

    Hi,
    I am using Web Dynpro Java and BPM.
    i see my Web Dynpro View when i run the process.
    Just that the task is not completing.
    when i click on the Web Dynpro button to signal the completion of the event, nothing happens.
    i have appropriately created events in both Component controller and Interface Controller and used the same in creating the Task.
    a method in Component controller fires the event and a button click in the view calls this method.
    i have successfully completed Donka Dimitrova's "SAP Netweaver Business Process Management-End-to-End Process Implementation Sample " but when i tried my own with slight modifications, it is not working !!!
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d07f3e88-554f-2b10-3cbf-ab8afea51b9f
    regards,
    -Amol Gupta

    Hi Amol,
    The way you described the things, I dont see any problems. Just to make sure that you are triggering the right event that you mapped as completion event for the task, try to cross check once again and see if the correct event is getting triggered. Also try to put some messages for debugging to see till where the control goes.
    Regards,
    Arafat

  • Deploying problem of web dynpro java application

    Hi,
    I have a web dynpro java application with no problem about deploying.
    I copied this application with another name.
    I tryed new application to deploy but sdm aborted with error.
    Error
    19.Tem.2011 10:22:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : vserver0202
    SDM port : 52018
    URL to deploy : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Result
    => deployment aborted : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Aborted: development component 'HF_PERS_RAPOR_BUTCE'/'local'/'LOKAL'/'0.2011.07.19.10.22.15'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/HF_PERS_RAPOR_BUTCE.. Reason: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Since the exception says "Are all referenced components deployed and available on the engine?"
    Check wether any DC is used as a used DC in the webdynpro component which you are deploying.
    If any used DC is available try to deploy that DC in the server and then deploy ur webdynpro application.
    If all reference DC's are avialable in server, still if you get this error try to rename the component and reload+rebuild the project and deploy it.
    Hope this helps you...
    Regards,
    Saleem Mohammad.

  • Problem when generating an non-interactive form in Web Dynpro java.

    Hi,
    I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
    java.net.SocketTimeoutException: Read timed out
       at java.net.SocketInputStream.socketRead0(Native Method)
       at java.net.SocketInputStream.read(SocketInputStream.java:129)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
       at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
    I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
    Any ideas?
    Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PM

    Yeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
    My ideas about your question:
    When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
    I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
    - One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
    - Next moment it can be non-interactive, e.g. form is shown to another user.
    So it's more the scenario/situation that determines if the form is interactive or non-interactive.

  • Problem of refreshing a tree in web dynpro java

    hi all,
    I'm facing a problem for refreshing a tree in web dynpro java for SAP HR.
    I created a viewset with 2 cells( 1 view for each).
    In the 1st view I created a droplistbyindex to select the unit ID and in the 2nd view ( defaut=false)  I called a method to populate my tree according to my selection in the 1st view ( method called in wdInit).
    When I make the first selection everything is ok.
    But when I select another unit ID, the tree is not changed and I know the context is well changed according to my selection.
    So I think the method is executed only the first the view is called.
    In this case, how can I refresh my tree on real-time?
    Thanks for your help
    Yimin

    May be u can write the code wdDoModify instead.
    -Ashutosh

  • Controlling visibility of Web Dynpro Java iView in portal WDJ page

    I should be able to use the WDPortalUtils interface in my Web Dynpro Java DC application to get the name of the iView in my Portal WDJ page using IWDPageService method getVisibleIViews(). My intent is to add another iView to this page and programmatically control the visibility of each iView from my WDJ application.
    -> Instructions I have found through my online research indicate I should not have to specify a sharing reference because I am using the WDJ framework, but I tried it anyway. It didn't work.
    -> I have added DC epbc.prtapi._api public part to my used DC's, and specified dependency at both Build time and Run time.
    -> My portal page template is of type Web Dynpro Proxy Page.
    -> My iView template is of type Web Dynpro Proxy iView.
    -> The Page Content view of my page shows the 'visible' checkbox set for my iView.
    The following statements in the wdDoInit() method of my DC's view controller should return the portal name of my iView:
    IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    String[] iViews = pageService.getVisibleIViews();
    I get no compile time errors or runtime errors when I execute these statements.
    BUT...
    Instead of a String array, I get back a memory space pointer.
    Example: [Ljava.lang.String;@664e664e
    What am I missing?

    Hi Jennifer,
    That's what this forum is all about; finding solutions to hard-to-solve issues, which might also help someone who may face the same issue in the future. So I hope my input is valuable
    The last thing I can think of is the method is been called before the portal page has been rendered completely, which may lead to the faulty results.
    Is it possible to move the getVisibleIviews() to a method which is called later in the phase (for instance, at the bottom of wdDoModify or wdDoPostProcessing) or, even better, in an onAction event handler when a button is clicked?
    If this doesn't work I'm afraid I'm running out of options and i would file an OSS message with SAP
    Hope this helps!
    Robin

  • Problem: Changing Language for Web Dynpro Java within NW Portal (i18n)

    Hi Experts out there,
    I hope all you had a nice Christmas and a big New Years Eve :)!!!
    i got a challenge for you about WD Java and internationalization (i18n)
    Here is the scenario:
    We are using a SAP NetWeaver Portal 7.0 and my task is to implement some smaller Web Dynpro  Applications.
    These Applications must be i18n conform, so i just created (according to the corresponding WD Java tutorial) some ".xlf" files.
    Okay...Everything is working fine. The user can log at the portal and the application is displayed in his language, which is "english" or "german". (the application is just a simple form)
    So far so good...Now here comes the point where it's getting tricky...
    When the user wants to change his assigned language (of the portal user) he can use the "personalize" button in the Masthead (-> change portal language). All the portal content should now be displayed in his new chosen language.
    For example the user is logged into the portal with "german" as portal language and now changes his languages settings into "english". After this everything in the portal (navigation, portal iViews ) is displayed in the changed language (from english into german) ...
    BUT: my Web Dynpro  Java Application stays as the original languages setting was. That means the whole portal is now english, but my WD Java Appl. stays german .
    Only if the user logs of and logs in again, the WD Java Appl. is displayed in the corresponding portal language...
    VERY Strange?!?!
    Can anybody give me a hint how to solve this problem?
    I guess i have to re-initiate the Web Dynpro  Application some how ...(like killing the application and restarting it ...) but is just a "weak guess"...
    Any Help / Hint is more than welcome !!!
    Cheers
    Stefan

    Hi Stefan,
    This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
    If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
    Regards,
    Leo

  • Date format problem in web dynpro java

    Currently, the date format that gets displayed in our webdynpro java application is MMDDYYYY...i am assuming this is because the web dynpro application has language resource set to en_US as its Current locale in the web dynpro deployed content section.  Howver i want it to display as DDMMYYYY. I have changed the default properties in visual admin for web dynpro from en to en_GB however this has no impact what so ever as the current locale is always set to en_US even after the change so am wondering this property is hidden some where else.  Now the web dynpro i am talking about is a adobe portal application. Could you give me any pointers as to where else i can look for or how i can change the current locale properly ??
    Regards
    Kal

    The date format in the Web Dynpro Java Application depends upon locale. At runtime WDJ will do the following process to get the current locale for the date format to be determined.
    1. First the WDJ Application will check for the locale set for the user in UME.
    2. If there is no default locale in UME, then the it will check for the locale in the in the browser which in most cases by default is en-us.
    3. If not, then it will check for the sap.systemLocale in the Propertysheet default of Visual Admin
    4. If there no locale specified in Visual Admin, itu2019s taken from the WAS JVM
    Please check the below SAP Note
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/58db515b95b64181ef0552dc1f5c50/frameset.htm
    Regards,
    Chandran S

  • Problems with Adobe PDF forms in Web Dynpro Java

    As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
    1.Text getting wrapped and repeated from the first line :
    Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
    For eg:
    If I have 4 lines in a text field that is at the end of the page
    1111111111111111111111
    2222222222222222222222
    3333333333333333333333
    4444444444444444444444
    and the page holds space for only two lines it prints the lines
    1111111111111111111111
    2222222222222222222222
    in the first page and then proceeds to the next page and prints
    1111111111111111111111
    2222222222222222222222
    rather than printing
    3333333333333333333333
    4444444444444444444444
    2.No way to hide a page at runtime:
    It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
    Any pointers on this????????
    Helpful answers will be suitably rewarded with points!!!!

    Yes,I am using the versions that you mentioned.
    I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
    if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
    then
    MasterData.MngrCmptnc.presence = "visible"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
    MasterData.StrImp.presence = "visible"
    else
    MasterData.MngrCmptnc.presence = "hidden"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
    MasterData.StrImp.presence = "hidden"
    endif

  • KM Permissions in Web Dynpro Java

    The error message: "Permission denied: uri=/kmfolder,
    permission=node_create_child, user=XXXXXX"
    Background:
    We are using a KM Windows repository to connect KM to a Windows shared
    folder over the network. Then we are using a Web Dynpro java
    application to write a file to the KM Folder, which is then mapped to
    that KM Windows repository.
    Security on the Windows shared folder is wide open. Everyone=Full
    Control, and Domain Users=Full control.
    Problem:
    When end users try to write the file to KM through the Web Dynpro app,
    they get the error:
    "Permission denied: uri=/kmfolder, permission=node_create_child,
    user=XXXXXX"
    But when we give them the Content Admin role, they are able to write
    the file just fine. For this reason, I do not believe there is a
    Windows permission issue.
    We have tried:
    -Explicitly setting User Mapping through User Admin -> Identity
    Management
    -Using a System Principle role with Full Access (Read, write, delete)
    -Duplicating the Content Admin role, removing the pages & iViews (so
    they can't view the Content Admin interface) and assigning this role to
    our test users.
    We have setup:
    Network path
    - ->jCIFS=True
    - ->Network path=
    <serv.host.com>\<sharename>
    - ->User=<domain>\<ADMIN User>
    KM Windows System Object
    - ->User Mapping=admin,user
    KM Windows System Landscape Definition
    CM Repository Manager
    - ->Prefix=/<sharename>
    - ->Persistance Mode=fsdb
    - ->Root directory=
    <serv.host.com>\<sharename>\root
    - ->Root directory for versions=
    <serv.host.com>\<sharename>\versions
    - ->Repository services=svc_acl
    - ->Security Manager=W2kSecurityManager
    - ->ACL Manager Cache=ca_rsrc_acl
    Edited by: Peter Speers on Apr 9, 2009 11:41 PM

    /thread/1302951 [original link is broken]

  • Web Dynpro Java : Failed to get deployable object part info for component

    Currently we have a web dynpro java project which connects to the ABAP backend with Web Services. Everything seems fine, and when we transport to the production server via NWDI, we have the following error. Everytime we try to access the application , the error is occurred.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.sie.attachmentcomp.AttachmentComp
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getComponentDeploymentDescription(ClientComponent.java:784)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:934)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
    It is working properly in our development , and testing environment. Only production has this error. And one weird thing is that this particular error occurred only sometimes to some user. For example; I could not access to the application with this error yesterday but my friend can access. Today, I can access in the morning but my friend cannot. For another friend , Yesterday he can access by using IE but not by Firefox. But today Firefox is fine but not with IE. It seems crazy.
    For more information, in our J2EE engine for the production server, we have 3 server nodes (clusters). And we are not sure it is the source of the problem. Is there any solution , and any way to know from the application that we are on which server?
    We also go and check from the Content Administrator in Web Dynpro Console. Under our project name, in the list of Components, sometimes we can see AttachmentComp but sometimes not.
    Please help us as our project is about to go-live next week.
    Thanks,
    Yu

    Hi Meenge,
    Please check below document for finding root cause for "Failed to start deployable object part info for <development component> and application <application name>"
    http://help.sap.com/saphelp_nwce711core/helpdata/en/44/7716e1633a12d1e10000000a422035/frameset.htm
    OR http://help.sap.com/saphelp_nw04/helpdata/EN/f4/1a1041a0f6f16fe10000000a1550b0/frameset.htm
    Hope it helps
    Regards
    Arun

  • Function used in web dynpro java application

    Hi
    I am creating some application in web dynpro java by using ABAP function module and table. I am trying to put data to table and update data in table and delete data in table in my application by using ABAP function by using RFC. And this is the ABAP function module.
    FUNCTION ZUP_DESIG12.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(DESG_CODE) TYPE  ZUP_DESIG-DESG_CODE OPTIONAL
    *"     VALUE(DESG_DESC) TYPE  ZUP_DESIG-DESG_DESC OPTIONAL
    *"     VALUE(DESG_ACT) TYPE  ZUP_DESIG-DESG_ACT OPTIONAL
    *"     VALUE(DESG_OPT) TYPE  ZUP_DESIG-DESG_OPT OPTIONAL
    *"  TABLES
    *"      WA STRUCTURE  ZMSTR_DESIG
    DATA CNT TYPE I.
    SELECT MANDT DESG_CODE DESG_DESC DESG_ACT FROM ZMSTR_DESIG
      INTO TABLE WA.
    IF DESG_OPT = 'U'.
    UPDATE ZMSTR_DESIG
        SET DESG_DESC = DESG_DESC
        DESG_ACT = DESG_ACT
        WHERE DESG_CODE = DESG_CODE.
    MESSAGE 'Updated Successfully' TYPE 'I'.
    ELSEIF DESG_OPT = 'C'.
    SELECT COUNT( * ) FROM ZMSTR_DESIG INTO CNT
       WHERE DESG_CODE = DESG_CODE.
       IF CNT > 0.
       MESSAGE 'Duplicate Designation code' TYPE 'I'.
       ELSE.
      WA-DESG_CODE = DESG_CODE.
      WA-DESG_DESC = DESG_DESC.
      WA-DESG_ACT = DESG_ACT.
      MODIFY ZMSTR_DESIG FROM WA.
       MESSAGE 'Inserted successfully' TYPE 'I'.
    ENDIF.
    ELSEIF DESG_OPT = 'D'.
       DELETE FROM ZMSTR_DESIG WHERE DESG_CODE = DESG_CODE.
       MESSAGE 'Deleted successfully' TYPE 'I'.
    ENDIF.
    ENDFUNCTION.
    I am not able to put data to table through my application but i am getting this error.
         java.lang.ArrayIndexOutOfBoundsException: -1
    What might be the problem .
    Regards,
    H.V.Swathi

    Can any one tell solution

  • Caching in Web Dynpro Java

    Hi Experts,
    I am trying to develop a web dynpro for java application based on RFC model.
    I am using an RFC that brings the Countries and States from the R/3 and will be used as dropdowns in the views controllers.
    The question is:
    I would like to cache the Countries and States in my web dynpro application. The idea is not to execute the model everytime. The model should be executed only once. I would like to store these countries and states in a local java dictionary or etc. and use them for UI element designing.
    Is there any way to do this in Web Dynpro Java? I would like to follow a better approach to avoid performance problems.
    I do not want to follow this approach: executing the model in the wdInit method of the controller. Executing this model in this method also causes performance problems. Because the model is brining approx 1540 records from R/3.
    Please advice.

    Hi All,
    Thank you for the suggestions.
    I am a beginer in wd java. i am starting with amit's suggestion.
    Step 1: Execute RFC to fetch data preferably use doInt method for it.
    Should I execute the method in wdInit of the view controller/component controller?
    I defined a method "executePMPReadBAPI" in component controller.
      public void executePMPReadBAPI( )
        //@@begin executePMPReadBAPI()
       try{
            wdContext.currentPMPDoctorReadElement().modelObject().execute();
            }catch (Exception e){
            logger.errorT("Error in executing PMP Read BAPI");
    wdInit of View controller:
              IWDAttributeInfo countryInfo =
                   wdContext.getNodeInfo().getAttribute(
                        wdContext.currentContextElement().COUNTRY);
              ISimpleTypeModifiable countryType =
                   countryInfo.getModifiableSimpleType();
              IModifiableSimpleValueSet countryValueSet =
                   countryType.getSVServices().getModifiableSimpleValueSet();
              for (int i = 0; i < wdContext.nodeCountries().size(); i++) {
                   IWDNodeElement CountryNode =
                        wdContext.nodeCountries().getElementAt(i);
                   String countryKey = (String) CountryNode.getAttributeValue("Land1");
                   String countryText =
                        (String) CountryNode.getAttributeValue("Landx");
                   countryValueSet.put(countryKey, countryText);
    This coding is working, I am able to populate the dropdowns. The problem is the application is slow.
    I am guessing this much coding is not necessary in the view conroller's wdInit method.
    Why the binding approach like mentioned below is not working (model>Conroller>View)? How should I execute the RFC in the wdInit of the component controller? Is this possible?
    wdInit of Component Controller: Below coding and proper binding is not sufficient to populate dropdowns? Please advice.
         Zhr_Ess_Address_Input ReadInput = new Zhr_Ess_Address_Input();
              wdContext.nodeZhr_Ess_Address_Input().bind(ReadInput);
              try {
                   wdContext
                        .currentZhr_Ess_Address_InputElement()
                        .modelObject()
                        .execute();
                   wdContext.nodeOutput().invalidate();
              } catch (Exception e) {
                   logger.errorT("Error Reading the BAPI");

  • Workflows in web dynpro java

    Hi experts,
    please guide me about the workflows in web dynpro java. i have to implement workflow outside SAP, i dont have any idea about it.

    Dear Shilpi
    For Configuring Workflows outside SAP we need to have a Gateway HUB where it channelizes to connect through Outside SAP. Based on the Tasks available in SWFVISU we can choose either Java or ABAP workflow where the Appropriate Task numbers will be available.
    Check these links
    Gateway Workflow Configuration Problem
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dfad5a-5398-2b10-568b-d3d999d49b5c?QuickLink=index&…
    Hope this Info will be helpful
    Cheers
    Pradyp

Maybe you are looking for