Web Dynpro need NWDI?

Hello Everyone!
Would like to know the following please...
Does NWDI need to be implemented when making changes to sap webdynpro java / abap?
If not, how do you export the sap webdynpro objects out of the portal and import into NWDS?
How do you make the modifications to webdynpro and export back to the portal?
Thanks!
Doris

Hi Doris,
  Yes, you need NWDI for modification of SAP webdynpro Java. But for webdynpro ABAP you dont  need NWDI.
For webdynpro modification:
- create domain, track in NWDI
- import necessary SCAs for modificaiton into track
-import development configuration within NWDS
- create project for the Development Component where you want to make modification
- Make necessary changes and checkin, activate and release.
- you will see your changes in portal.
Follow this link for more details for NWDI:
<<http://help.sap.com/saphelp_nw04s/helpdata/en/03/f6bc3d42f46c33e10000000a11405a/frameset.htm>>
If you want to modify ESS, check out the attachment  "JDI Cookbook for ESS" in note 872892 - JDI Cookbook for ESS.
Regards,
Bhagya

Similar Messages

  • Nwdi-managed access of pcd-objects from java web dynpro

    Hi,
    im am trying to access portal pcd-objects from a java web dynpro component (namely getting and setting personalized iview properties). for locally managed web dynpro components this works fine with the code below.
    when i try the same with a nwdi managed web dynpro component i run into problems regarding references to used dcs. for instance, i need to reference used dc SAP_JTECHS/tc/epbc/pcm/adminapi/java because the build needs tcepbcpcmadminapijava.jar which is inside the mentioned dc. but access permissions of this dc don't allow the dependency. when i try to "add used dc ..." in nwds i get the error message: illegal dependency: access list does not allow use of ...
    has someone any solution for this problem? are there other ways of accessing pcd-objects from java web dynpro (nwdi managed!)?
    thanks
    heiko
    private static void savePersonalizationData(String value) {
         try {
              IAttributeSet attributeSet = (IAttributeSet) getIview(IVIEW);
              attributeSet.putAttribute(ATTRIBUTE, value);
              attributeSet.save();
         } catch (Exception e) {
    private static Object getIview(String pcdPath) throws Exception {
         Hashtable env = new Hashtable();
         env.put(
              com.sap.portal.directory.Constants.REQUESTED_ASPECT,
              com.sap.portal.pcm.admin.PcmConstants.ASPECT_SEMANTICS);
         env.put(
              Context.SECURITY_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         env.put(
              IPcdContext.PCD_PERSONALIZATION_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         InitialContext iCtx = new InitialContext(env);
         return iCtx.lookup(pcdPath);

    Hi Kust,
    To access the PCD objects the code you used looks ok for me but your main issues is related to the dc access permissions. This thread discussed about the similar issue. Please review this below thread.
    /message/979328#979328 [original link is broken]
    Regards
    Krishna Reddy

  • NWDI CBS Build for Web Dynpro DCs

    Hi All,
    I have a requirement in which I need to edit a web dynpro DC and redeploy it. The DC to be edited also has some dependent DCs.All the DCs are managed using NWDI.
    Can you please let me know the steps that are involved in editing and rebuilding a DC, apart from importing it in NWDS ?
    Are there any additional steps that arer required for the dependent DCs?
    Thanks, in advance !
    Regards,
    Prasanna

    Hi ,
    I followed all the steps mentioned by you and my local build was successfull , However when I tried to check in my activity , It is throwing following error
    16:49:08.742  CHECKIN  (FAILED: Uploading file failed: AppProperties.xlf)  comp/wd2_01102008:12:46   (act_w_BROMA_bpcl_2e_com_BROMASC_dev_inactive_u_M3172_t_2008_10_01_07_16_38_GMT_1b4c680a-70dc-4683-951d-956590e5d449)
    16:49:08.742  CHECKIN  (FAILED: CHECKIN on activity act_w_BROMA_bpcl_2e_com_BROMASC_dev_inactive_u_M3172_t_2008_10_01_07_16_38_GMT_1b4c680a-70dc-4683-951d-956590e5d449 failed : Checking in activity failed: act_w_BROMA_bpcl_2e_com_BROMASC_dev_inactive_u_M3172_t_2008_10_01_07_16_38_GMT_1b4c680a-70dc-4683-951d-956590e5d449:operation failed)
    17:02:50.188  CHECKIN  (FAILED: Uploading file failed)  comp/wd2_01102008:12:46   (act_w_BROMA_bpcl_2e_com_BROMASC_dev_inactive_u_M3172_t_2008_10_01_07_16_38_GMT_1b4c680a-70dc-4683-951d-956590e5d449)
    Can u please guide ?

  • Migrate Web Dynpro Project to NWDI through DC

    Hi All,
            I have a requirement which i need to migrate the local Web Dynpro projects to NWDI to make it in central location.
    I have developed the Web Dynpro project which is local to my system (includes model creation - deprecated type).
    I need to integrate/migrate these Web Dynpro projects into NWDI.
    As i did copy & paste of src folder and did creating new model after deleting the existing model.
    After these I am able to build the project however I am getting the below error message while deploying it to Sandbox system.
    Error Message:-
    Result
    => deployment aborted : file:/C:/DOCUME1/gssvkria/LOCALS1/Temp/temp8746sap.comhomecountry.ear
    Aborted: development component 'home/country'/'sap.com'/'NWD_FASTPRJ_D'/'20111214124617'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/homecountry.. Reason: Clusterwide exception: Failed to deploy application sap.com/homecountry. 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 sap.com/home~country. 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
    Please someone help me to understand this deployment exception and to resolve as well.
    Thanks in advance.
    Rgs,
    Vijay
    << moved by moderator - check out the list of other forums on top of portal forum >>
    Links to other forums
    Edited by: Anja Engelhardt on Dec 14, 2011 1:44 PM

    It seems you are using some DC references in your local DC which are missing on server...
    Please refer :
    http://help.sap.com/saphelp_nw70/helpdata/en/42/c8204dd57f136fe10000000a1553f7/content.htm
    specifically look for "Reload" in above link..
    also refer :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4032dae5-b951-2b10-d380-f4f6bedbbf37?QuickLink=index&overridelayout=true

  • Web Dynpro callable object without NWDI

    Hello Forum,
    does anybody know if it is possible to create a web dynpro dc as a callable object without using nwdi? I have written a webdynpro app know I want to use it in a guided procedure where I can provide an input field for the dc and also get an output field from the dc.
    Does somebody have a step by step solution?
    Regards
    Michael

    Hi,
    You need to have the SCs for local development of Web Dynpro callable object.
    Refer the following documents for more details:
    <a href="/people/andre.truong/blog/2006/06/26/working-with-the-apis-of-caf-guided-procedures-nwdi-or-local-development with the APIs of CAF Guided Procedures: NWDI or Local Development?</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f7be53bb-0b01-0010-1c96-be3cb6799c1b">How to Get NW04s SP7 Guided Procedure APIs for Local Development</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814">Implementing a Web Dynpro Callable Object</a>
    Let me know if this solves your issue.
    Thanks,
    Dipankar

  • How i use nwdi to modify existing standard web dynpro application

    Hi,
    I need  to change some existing application of web dynpro Java. I found solution nwdi would help in that. But how i use it can any one explain me in detail. Nwdi has already installed over here. So can i use it can explain me step by step.
    Regards,
    Gurprit Bhatia

    Hi,
    First you need to import the WD application to your NWDS and then you need to checkout the code for making any changes after making the chanhes you have to checkin the code.
    First you need to setup the portal path in
    1. WIndow->Preferences->Java Development Infrastructure->development Configurations.
    2. You have to create a client in DTR by going into DTR Perspective.
    3. Import the configuration from the track (this is your standard WD application) in Development Configurations Perspective.
    4. Create the project from Inactive DCs tab.
    5. Navigate to WD Perspective and build the project.
    6. Check out the code to make chnages
    7. Checkin the code after making the changes
    8. Test the application in Portal
    Regards,
    Lakshmi.

  • Integrating Flex/Flash in Web Dynpro ABAP(Netweaver 7.0) need info!

    Hi all,
            I need to embed a flash or a flex object inside a web dynpro abap application.I am working in Netweaver 7.0 and i don't have enhancement pack 1 installed.Is it possible ?   If it is possible can anyone please provide me the coding and configuration details.
    Thanks,
    Saikat

    I'm afraid that the SAP supplied integration technology - call FlashIslands - is only available from NetWeaver 7.01 and forward.  You could perhaps do some simple integration (very little data transfer) with the iFrame UI element - although the iFrame is deprecated in 7.0 and 7.01, but does return to full support in 7.02.  The other option would be to use the NetWeaver Portal or NetWeaver Business Client and have two iViews within the page. One iView would have WDA and the other some external technology (BSP, JSP, etc) to host the Flash/Flex content.  Not tight integration, but you could potentially use Portal Eventing to at least communicate events.

  • Help needed with Network UI (JNET) in WEB DYNPRO for JAVA

    Hi all,
      We are using Network UI element in our Web Dynpro Java. All is ok, but we have a problem with 'PRINT_PREVIEW' button. If you do click on this button, another window is open with a page preview, but always is shown the first XML loaded, in other words, if you load a XML and change it, print preview don´t show this changes.
      There are some information about Network UI in SDN but nothing about our problem.
      Can somebody help me?, we need show refresh data in print preview page.
    Thanks for all in advance.
    Gabriel Garcia.

    Hi Ayyapparaj,
      We are generating all XML (Type Repository, Data, etc...) and passing this new file to Network UI Datasource property.
    Thanks for your response.
    Gabriel Garcia.

  • No NWDI activity asked while modifying the Web Dynpro java code

    Hi,
    We have 2 team in our project, one offshore team and one onsite team. We have NWDI also in our landscape.
    I have created 1 project in my local NWDS from DTR using create project  option from NWDI track , when i do any modification in that web dynpro code once it appears in my local NWDS, its asking for the activity, all this is fine.
    But when my offshore team send me this project from offshore (offshore team also working on this project), i go to my local machine under C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\.. (workspace, where all the project folders are created in my local machine ) and replaces the web dynpro project  (which i created using create project option from NWDI track ) with the project which offshore teams gave me  that is I copy paste the project folder I received from offshore team.
    I closed the NWDS and reopened NWDS, i did repair and reload also, but now when i try to do any code modification in that project its not asking any activity at all. So i want to know the reason why its not asking activity at all while modifying the code.
    if now i do any code changes, and since no activity is asked, it wont be transported to QA and Prd system.
    Can anyone have any suggestion on this..

    Hi GLM,
    I think you might be right that some files are in read as well as write mode. I went to my local machine and checked the project folder C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\testproject\_comp\.dcdef  file , its not in read only mode, that is read only flag was not checked.
    I again checked the mode of .dcdef file in other web dynpro projects which are asking for the activity in all those projects mode of .dcdef was read only that is read only flad was checked in .dcdef file.  ( I am not sure is .dcdef file only giving this problem that si because of this file not in read only mode I am not asked for the activity)
    So could you plzz tell me how to make in read only. when ever i click the read only check box of .dcdef file and reload the project in my NWDS. that read only check box is getting removed. how to do this..
    regarding your query, landscape in offshore team and onsite team are different, client has not provided nay access to its landscape to ofshore team so offshore team can not check in / check out the code written by me and same applies to me I can not check in / check out the code written by offshore team , only option is offshore team do some changes in the code and send the project folder via email and I have to deploy in client landsacpe and do further modification.

  • Web Dynpro Application Deployment need server restart?

    Hi Everyone,
    When deploying Web Dynpro application on production environment, do we need to restart the sap portal system and server?
    I have this issue that when ever we deployed new develop Web Dynpro application with new Abap Function module we need to restart our Enterprise portal production server. Is this really necessary. Is there other way to deploy Web Dynpro application with new Abap function module without restarting the server.
    Please help,
    Michael Mondelo

    Hi michel,
    for example , assume you imported a RFC bapi_flights from r/3 to webdynpro dc , and both rfc requests and webdynpro application is deployed to the development server and then moved to quality server.
    now you have done some changes in the rfc bapi_flights i  mean change in the structure .
    case 1 : now with out reimporting the change to webdynpro application and you move the request to the quality r/3, your application dumps . because the structure change is not incorporated at your webdynpro DC.
    case 2 : you have re imported the rfc incorporating the changes to the web dynpro applicaiton dc, now with out moving the structure changes request to the quality r/3 and you deploy the webdynpro Dc having the changes to your quality EP , still the applicaiton dumps because your appliction refers to the rfc with out structure change in quality r/3.
    case 3 : you have moved the abap request having the strucutre change and also the webdynpro development component where the changes are also incorporated , now on moving both , your application might dump , because the meta data cache might have been not updated with the new structure change in the quality ep server. so you have invalidate the cache in the JCos you have used to import the rfc. or else on restarting the EP server , the new structure change will be updated in the server.
    most of the cases  Invalidation of cache works and in some cases you have restart the server fo the changes to update.
    Regards
    Govardan Raj

  • Need info on Accessing portal services within a Web Dynpro application

    Hi,
    I need information on Accessing portal services within a Web Dynpro application.I want to explore this topic.Can anyone give useful links?
    Thanks in advance.
    Rajani N

    Hi
    how to reference  a portal service with web dyn pro ?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how%20to/how%20to%20access%20a%20portal%20service%20within%20a%20web%20dynpro%20java%20application.pdf
    http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtils.html
    Best Regards
    Jakub Krecicki

  • Web Dynpro application needs to never expire.

    Hi
    I have a Web Dynpro application (NW2004 SP12) that displays spreadsheet like sales data to anyone who walks past the screen in a common area in the office/s. It should therefore run unattended. It refreshes the data on a timer. The data comes from a back-end aRFC. Everything works fine but about every 1.5 days the application times out (session expires) and needs to be re-opened (this seems to be a large administrative problem to re-login at all the deployment sites).
    It gives an error ‘500…application has expired. Please restart with the refresh button…’
    In testing/troubleshooting I used the direct URL to the application running on WAS and not through a Portal iView.
    I also changed the System destination from using SSO to using a dedicated user to the back-end.
    Does anyone have an idea on how to auto refresh a Web Dynpro application or auto-renew the session so that it can run ‘forever’ or a way to re-login automatically?
    Thanks in advance,
    Rick Viljoen

    Hi Isidro
    Yes, this was my final solution. Here is the code for the htm page. It will refresh/reload every 6 hours. Hope it helps.
    Regards,
    Rickus
    <html>
    <head></head>
    <body>
    <div id = div1></div>
    <script type="text/javascript">
    function putIF(hldr,x,y,w,h,url) {
       // Iframe
       holder=document.getElementById(hldr);
       holder.style.position ='absolute';
       holder.style.left=x;
       holder.style.top=y;
       holder.style.width=w;
       IF=document.createElement("iframe");
       IF.setAttribute("height", h);
       IF.setAttribute("width", w);
       IF.setAttribute("src", url);
       if (holder.hasChildNodes()) {
              var oChild=holder.children(0);
              holder.removeChild(oChild);
       holder.appendChild(IF);
       var myDate=new Date();
       window.status="Last reload on: " + myDate;
    function refreshiframe() {
         myWidth = document.body.offsetWidth-21;
         myHeight = document.body.offsetHeight-4;
         putIF("div1","0px","0px",myWidth,myHeight,"http://<server>:<port>/webdynpro/dispatcher/local/SalesD/SalesD?j_user=xxx&j_password=ppp");
         window.setTimeout(refreshiframe, 21600000);
    refreshiframe();
    </script>
    </body></html>

  • Need a function module to convert xstring to string in web dynpro applicati

    hi,
       need a function module to convert xstring to string in web dynpro application other than HR_KR_XSTRING_TO_STRING.
    Moderator message: please (re)search yourself first.
    Edited by: Thomas Zloch on Nov 17, 2010 5:31 PM

    Hi,
    Check the following link:
    FM to convert XString to String
    Regards,
    Bhaskar

  • HI Masters , I need information for file upload program in web dynpro java

    Hi masters,
           i need some inforamtion and documentation on file upload program in web dynpro java

    Hi surya,
    You can follow this procedure to upload the file
    i) Take One Context Attribute named as "D1" of Type "binary".
    ii) Take one FileUpload UI Element in the Layout Tab.
    iii) Bind FileUpload UI Element's data Property to the taken Context Attribute. Here it is "D1".
    iv) Take one Button UI Element in the Layout Tab named "Upload" and in the Action of that Button write the following Code.
    v) The following code Generates one Folder in the Server & inside that Folder given file is Uploaded.
    File ff=new File("FolderXYZ"); // Creates One Folder with the given Name ( Here Folder name is "FolderXYZ")
    ff.mkdir();
    try
    byte b[]=null;
    IWDAttributeInfo objAttinfo=null;
    IWDModifiableBinaryType binType=null;
    File f=null;
    FileOutputStream fos=null;
    if(wdContext.currentContextElement().getD1()!=null)
    b=wdContext.currentContextElement().getD1();
    objAttinfo=wdContext.getNodeInfo().getAttribute(IPrivateAttachView.IContextElement.D1);
    binType=(IWDModifiableBinaryType)objAttinfo.getModifiableSimpleType();
    f=new File(ff.getName()+"
    "+binType.getFileName());
    fos=new FileOutputStream(f);
    fos.write(b);
    fos.flush();
    fos.close();
    objMessageManager.reportSuccess("File uploaded to server");
    } catch (Exception e)
    objMessageManager.reportException("Unable to upload file to server, error is:"+e,false);
    return;
    The Uploaded file is stored in the folder & that folder is stored in the Server's following Path.
    <Your Server>\c$\usr\sap\J2E\JC00\j2ee\cluster\server0
    You can access your Uploaded file from the following Path
    <Your Server>\c$\usr\sap\J2E\JC00\j2ee\cluster\server0\FolderXYZ
    Regards
    Sagar Ingalwar

  • I need information about Web dynpro ABAP Exception : ICF Service Node

    I need information about Web dynpro ABAP Exception :
    ICF Service Node "/sap/bc/webdynpro/sap/abcd/undefined" does not exist.
    Here abcd is application name.
    ICF Service Node exists and activated but kindly let me know from where "undefined" is coming .
    Please let me know your comments /views about  this.

    Hi,
    I think ur webdynpro service is not active after upgradation.
    You have manually activate it.
    Go go Tcode SICF,Execute the Initial screen,
    and in this new screen give service  as your application name and click on filter.
    You will get your service below which will be ur application name .
    right-Click on the deactivate and activate it or just activate it,.
    This shd work

Maybe you are looking for

  • Apex 3.1.2, unable to use cascaded lovs

    Hi all, am using apex 3.1.2 trying to use cascaded select lists. but when trying it, am not able to do it. it was working fine till two days back. two items, 1) p14_soft select distinct SOFTWARE display_value, SOFTWARE return_value from REQUEST_TYPE

  • Auto generate the primary key value for eah valid insertion

    i have a table EMP having emp_id, name and age. EMP; E1 John 23 E2 Mary 25 created a form/report page on the table. the report page displays all the columns. while creating new entry, the emp_is hidden and the name , age are displayed. on successful

  • Attachment According to sales area

    Hi Experts, Can anyone please tell me how can we configure to get the costomer attachments according to sales area of the customer. Thanks.

  • SAPScript one PO in one lang and 2n PO in different lang

    Hi, We have a sap script Z_MEDRUCK for ME23n. For PO 100  it is taking Z_MEDRUCK form in EN language. For PO 200 it is taking Z_MEDRUCK form in NL language. Who can we check for 200  PO why it is taking different language? Thanks and Regards, Sham

  • New Field in AR03 t-code output.

    Hello Experts. I am working on AR03 T-Code, and i want to add a new customer field into the existing output. Could you help me out that by the help of which user exist i can put a new field. Thank you....