Importing MSA HH Source Code to NWDS

Hi Ted,
   I am able to download the source code attached to the SAP note 879647 as a zip file called MSAHH50src.zip.
   I want to customize this application. Can you please tell me how to import this source code in NWDS?
   Thanks in advance.
Topic branched from: Re: CRM installtion on handheld devices
Message was edited by: Ted Petrenko

Hello Nanda,
There is no way to modify the ESS source code without NWDS/NWDI environment...you have to set it up..
Regards,
Shikhil

Similar Messages

  • "Organize Imports" feature in Jdev10g will totally mess up my source code

    I set "Use Wide Imports". The source code became a piece of junk after running "Organize Imports" against following code:
    * @author
    package test;
    import java.io.*;
    import java.util.*;
    import javax.xml.parsers.*;
    import org.apache.xerces.util.XMLChar;
    import org.apache.xml.serialize.*;
    import org.apache.xml.utils.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    public class Test {
    This bug exists in preview version. I'm suprised this bug still in production release.

    The javadoc comments is causing the behavior.
    Removing the java doc comments seems to work
    Bug 5006753

  • Very Easy Question: How to view source code of JAR file

    Hi Experts,
    1) Can we can see the content of JAR file?
    2) How we can we see content of JAR file?
    3) I have with me JAR file. It is sap.compcui_gpoadp~ObjectAndDataProvider.JAR. I have to make some changes in the JAR file source code. How I can find the source code?
    I tried to see the source code using NWDS. However, I can not see the code.
    Regards,
    Gaurav

    >
    Gary wrote:
    > Can I make changes in the source code of JAR file? Can I make changes in the code?
    You cannot do this by simple repacking/rearchiving of JAR, because it contains special descriptor with fingerprint. In general, JAR is unmodifiable, however, you can create a new one with modified sources.
    You can try to import the JAR in some Java project in Eclipse, for example. Then make your changes and use the Eclipse's Export JAR wizard in order to repack the modified source Java files in a new JAR.
    >
    Gary wrote:
    > Can I rename the JAR file and still it will usable? Please confirm.
    I general, yes, the operation is allowed. However, you cannot do this with JAR deployed on some J2EE server or Portal, for example. Because there are references to it.
    >
    Gary wrote:
    > Please let me know if by any chance I can see the content of JAR file in NWDS.
    Yes, sure. Use Import from Archive wizard in Eclipse. Or add the JAR in the class path of some Java project and Eclipse will show you the content of it.
    BR, Sergei

  • Web Dynpro JAVA developer attempting to unravel Environmental Compliance source code seeks guidance from EC NWDS Composition Environment specialist

    It frustrates me to have to ask for detailed instruction on this issue, but normal means of importing these Java-based EC software archives just aren't working in our NWDI system. We never moved our production WDJ applications to CE (like so many others we jumped straight from NW7.01 to NW7.3) but I'm doing my part to come up to speed on composition projects. No matter how we create the NWDI track and import the software archives and dependencies, we can't get to a state where we can successfully import a project (product?) from the Development Infrastructure into the Composite Explorer perspective.
    I need to know specifically how I, an experienced WDJ developer with no exposure to CE, can take the five .SCA files that contain Environmental Compliance 3.0 and get the project into my NWDS 7.31 workspace in a workable state, on my local system, without NWDI. Actual code modifications can wait for the moment, I just need to analyze the classes and EJB's to identify where we might want to make enhancements, and where/how to use the provided Enhancement Spots. I've followed the links, downloaded the .pdf's, read the online help, stepped thru the tutorials - I've done my due dilligence. It's common knowledge that Composition Environment is no longer recommended for new development, and as the EH&S programs are converted to WDA there are even fewer resources to look to.
    These specific types of pleas don't often return results, as I have learned over my years in this community, but nothing ventured-nothing gained, and I am no longer afraid of looking dumb or being scolded. I just need help.
    As always, points will be awarded.

    I agree in part Tobias.
    Because the source code is in the SCA within the src.zip file within each SDA.
    What does not exist within that SCA Standard is the SOURCEARCHIVES folder. In that folder should be a file (the extension .dcsa) for each DC (component) that SCA Standard.
    In short, yes it is possible to perform a reverse engineering...
    Just import the SCA Standard in NWDS.
    Note the name and type of all DCs, its dependencies and its public parts... yes, it's a lot of work, as there are many interdependent DCs.
    Done so, create a new workspace in NWDS and create a new SCA in DI (custom), inside it create all DCs with the same names and types (and dependencies)... identical to SCA Standard.
    And soon after, entering the SRC folder of each of these projects (DCs) and replace its contents with the contents of src.zip file that is contained within the SDA files within the SCA Standard.
    That done, we will have an SCA Custom with all representative of the SCA Standard DCs, but editable.
    I agree it is not nearly a good practice, or even that SAP indicate that this is done... however, it is possible yes.
    Att,
    Angelo

  • Unable to edit WebDynpro source code after import from NWDI Track

    Hi !
    I am facing an odd issue when trying to modify the source code in a web dynpro that is in a Track.
    This is what happens:
    I create the project from Inactive DCs
    I double click in the component controller (for example) and try to enter a line of code
    A pop ups appears saying that in order to modify the file I have to check it out and to create an activity
    The window to create a new activity appears, and I create the new activity
    I am informed that the file to be edited will be included in the activity
    --- Until now everything is normal ---
    A try again to type something inside the source code.. and NOTHING happens, is as if my keyboard was broken.
    After trying 1000 things I found a workaround that is:
    Open the DTR perspective in NWDS, go to inactive -- <project>.. gen_wdp , ( and in gen_wdp right click, edit --> subfolder tree).
    After doing that I am able to edit the source code... this is very strange! I mean, I never had this problem before..
    somebody has a hint ?
    Best regards!
    Marco.

    hi,
    I am able to edit the code is one of the DCs in the same track and I am unable to do so in the other. The error that I see in a popup while trying to edit the code is :
    The operation can only be performed if the following objects are writable:The project is not in the repository, but there are some read-only files
    Component Controller com.aramco.sao.had.hmd.dcsa.newagrcomp.NewAgrComp
            Read-only: D:\Users\bohramx\Desktop\nwds-extsoa-7.3-SP02-PAT0001-win32\eclipse\workspace.jdi\1\DCs\aramco.com\it\ca\esales\web\newagrmnt\_comp\src\packages\com\aramco\sao\had\hmd\dcsa\newagrcomp\NewAgrComp.wdcontroller
    Please suggest how to checkout files for edit.
    Thanks!
    seventyros

  • Import a class from a SWC into my source code

    Hi all --
    I'm a long-time Flash developer, relatively new to Flex.  I am using FlashBuilder 4.6.
    I have XMPCore.swc from Adobe, which I have added to my project in the libs/ directory.  It shows up in Project->Properties->Flex Builder Path->Library Path->Libs.
    XMPCore defines several classes, such as XMPMeta.
    In my source code, I want to be able to do
       var xmp:XMPMeta = new XMPMeta(...)
    but when I type that I get an orange error indicator, and when I compile I get a red error indicator stating that "Type was not found".  Just as a stab in the dark, I tried adding
    import XMPCore
    or
    import XMPCore.XMPMeta
    at the top of the file, but that gave error messages as well.
    I'm sure this is explained neatly somewhere, but I've spent several hours reading documentation and googling and I can't find that somewhere! 
    Any help greatly appreciated!  My project file is at
    http://dl.dropbox.com/u/63253361/eXeMPlary.fxp
    Bob

    Your import statement is not correct. Use the following:
    import com.adobe.xmp.core.XMPMeta;

  • Why only in firefox imported javascript source code doesn't run?

    The html source code properly exhibits a pop-up box as expected in almost all browsers(chrome,ie11,opera,android,...) but only it fails in Firefox... Can you explain why this happens so? How to make the script in question get work that is loaded from another domain as shown in source code?
    ---SOURCE CODE---
    <pre><nowiki><head>
    </head>
    <body>
    <script>
    function processJson(r) {
    alert("Function Called");
    </script>
    <script src="http://api.ipinfodb.com/v3/ip-city/?key=a2f2062d64fd705bbb32ce4c44e8ebb508d080990528d7cb4f1a0c5e7ddf5c1e&format=json&callback=processJson"></script>
    </body>
    </html></nowiki></pre>

    <pre><nowiki>data:text/html;charset=utf-8;base64,PGh0bWw+CjxoZWFkPgoKPC9oZWFkPgo8Ym9keT4KCjxzY3JpcHQ+CmZ1bmN0aW9uIHByb2Nlc3NKc29uKHIpIHsgCiAgICBwcm9tcHQoIkZ1bmN0aW9uIENhbGxlZCIsSlNPTi5zdHJpbmdpZnkocikpOwogIH0gCSAgCjwvc2NyaXB0Pgo8c2NyaXB0IHNyYz0iaHR0cDovL2FwaS5pcGluZm9kYi5jb20vdjMvaXAtY2l0eS8/a2V5PWEyZjIwNjJkNjRmZDcwNWJiYjMyY2U0YzQ0ZThlYmI1MDhkMDgwOTkwNTI4ZDdjYjRmMWEwYzVlN2RkZjVjMWUmZm9ybWF0PWpzb24mY2FsbGJhY2s9cHJvY2Vzc0pzb24iPjwvc2NyaXB0PgoKPC9ib2R5Pgo8L2h0bWw+</nowiki></pre>
    <pre><nowiki><html>
    <head>
    </head>
    <body>
    <script>
    function processJson(r) {
    prompt("Function Called",JSON.stringify(r));
    </script>
    <script src="http://api.ipinfodb.com/v3/ip-city/?key=a2f2062d64fd705bbb32ce4c44e8ebb508d080990528d7cb4f1a0c5e7ddf5c1e&format=json&callback=processJson"></script>
    </body>
    </html>
    </nowiki></pre>

  • How to get the source code in PAR file

    Hi All,
    I used the PAR migration tool to migrate from PAR to EAR file. When I imported the EAR into NWDS 7.3, I was just able to see the structure and jsp files and could not find the java source code files. I would requires the java source code to make modifications so that deprecated APIs can be replaced and to also make the code compatible with JDK 1.6.
    I think the original 7.0 PAR file itself does not contain the source code. I decided to use the "Include source code" option when exporting the 7.0 PAR.
    I have the portal application DC project in my NWDS 7.0. However, when I try to export the PAR file using Export --> PAR File -- > Next... I am unable to select any project from the list. The list appears blank with disabled Next & Finish buttons.
    I also noticed that in the portal DC application structure, there is a .sda file under /gen/default/deploy. Also there is no PAR folder under /gen/default/public.
    How do I include the source in the PAR file so that I can edit the same after migrating to EAR format ?
    Regards,
    Melwyn

    DC and PAR/EAR stuff are different formats, SC/DC is an archive type used by NWDI, if I got it right.
    How do I go about generating the PAR file (with source) ?
    In fact through including the seources while creating the PAR/EAR in NWDS, but: no need to do that, you can also depack SDA (rename it to zip). If you wanna just see the Java sources you will find them there, otherwise decompile as Vijay already sad.
    cheers

  • To see the source code in .sca file

    Hi Experts,
    We have installed EP with NWDI 7.0 2004s SP11 version.
    I have installed NWDS 7.0.08 in mysystem.
    I have been provided with a .sca file which contains the applications which are developed.
    Now I have to see the source code of those applications in NWDS thru NWDI or by any other means.
    Thanks & regards
    Vardhan

    Hi Pascal,
    I have already unzipped it and I got the folders like Build archives, Deploy archives, Meta inf, source archives.
    Deploy archives consists of .sda files what you have said in your post.
    Source archives folder has a .sc file.
    I deployed that .sca file through sdm, but it is not available in the software components under CMS inorder to import it into track.
    But that software component is available under my SLD--> installed systems products.
    My objective is to see the source code in that .sca file.
    What do you mean by double post and tripple post?
    Best Regards
    Harshavardhan

  • Retrieve already deployed webdynpro for java source code from portal server

    HI ,
       We have webdynpro for java apllication already deployed on the J2EE server.  We found the ear file related to this application.  But I am not able to make any changes to the ear file in NWDS as it cannot be directly imported into NWDS.  We do not have NWDI for software logistics and the resource who built the WDJ application has left the company.  Is there any way that I can retrieve the complete source code of the application from the portal.  I need to make some changes to Webdynpro component and its view.  I have worked with basis team to retrieve the ear file from portal server.  But I could not make any progress just with the ear file.  Thank you for your help in advance
    Regards,
    KMM.

    You are probably breaking some license agreement by de-compiling the content of the 'war' files. Why not ask the people who provided the 'war' file if you could have the source and build system.

  • How to get Source Code out of SCA File

    I have a SCA file comprising SAP Ecommerce 5 solution. What I want to achieve is to get all the source code out of it including the original directory structure. Unzipping it doesn't give me the required results and requires a lot of manual work creating directories and more unzipping.
    I tried importing it into a Local SC in NWDS but it complains that " Import (into source SC) not possible: SCA doesn't contain DC sources".
    I don't have access to NWDI at this point.

    Hi,
    For getting the source code of the Business Package Content, follow the steps below:
    1. Make sure Source Archive is available for the Business Package.
    2. Create a NWDI Track, and include all dependencies (check SAP Note : 1080927 - Creating CMS Tracks for common Application Types )
    3. Once you have track in place, you can import the Track into NWDS
    4. In Development Configurations perspective of the NWDS you can see the track.
    5. Now create Project from Inactive Workspace to start modifying the code.
    Check the link for general links
    http://wiki.sdn.sap.com/wiki/display/JDI/NWDIRelatedNotesandLinks
    Hope this helps.
    Cheers-
    Pramod

  • Check out ESS source code

    Hi Experts,
    EP7.0 SP11 ESS1.0 ERP2005, NW2004s.
    NWDI is installed successfully and two tracks are created according to the NWDI cookbook for ESS. Development configuration is imported into NWDS. Here our NWDI DEV  system is used as local J2EE engine in NWDS for local test purposes.
    I also created a project under <b>InActive DCs</b> views in NWDS. In the web dynpro perspective I could see the source of the applications (ex. DC ess~ben). I have read in the forums to check out the source code. Here I do not see any option to check out!! where will I see the option?
    when a new project is created in Inactive Dcs view, it should ask for creating an activity, but this did not happen!! should i create a activity in DTR perspective?
    it seems to me i can make the changes in the inactive dcs and then activate them later and deploy into local j2ee engine (here NWDI DEV) for test purposes. Is it ok?
    Regards!

    Hi,
    WebDynpro should automatically check-out source files if you want to modify something.
    If you are not asked for an activity: Or you logged on? You didn't accitdentally check the checkbox "keep local for now" when creating a new DC? Or do you have an activity that is marked as default activity so the NWDS automatically added the files to that activity without an explicit dialog?
    Making changes, activating them later and deploying locally built (inactive) deployables into a local/test J2EE engine does make perfect sense to me. You are testing before you commit your changes and publish them to you colleagues (to switch language a bit). Sounds OK to me.
    Regards,
    Marc

  • Java error at source code

    I am getting an error over here when I write this statement:
    Session session = Session.getDefaultInstance(props, null);
    MimeMessage message = new MimeMessage(session);
    I am trying to add the package javax.mail.* but is not allowin  me to import this package in my source code.
    I am working on NWDS 7.0.11
    Can some body help me plz
    thanx in advance

    Session session = Session.getDefaultInstance(props, null);
    try Session.getInstance( props, null) instread.
    I am trying to add the package javax.mail.* but is not allowin me to import this package in my source code.
    copy mail.jar file to <your project>/lib folder and add this jar to java build path.
    nikhil

  • Import old DC to Sneak Preview NWDS

    Hello guys,
    I got an xApps source code ( DC project ) and I tried to import it into NWDS.
    I sucesfully imported it, but all the build paths are wrong. I conclude that the
    DC project was build using older version of NWDS. Are there any way to fix all the build paths except by doing it manually?? It cost 1 hour for one project to do it
    Thanks,
    Erick

    did you put the sca in the inbox of your cms? did you check them in ?

  • Downloading iView Source Code

    Hello,
    I'm trying to download the source code for the Record Working Time iView.  None of the ESS-related tracks in NWDI have the code I'm looking for.  I've created a new track and put the EA-HR Software Component in it, but when I imported the configuration for the remote DC, there was no code in it to turn into an NWDS project.
    I went to the SAP Marketplace and downloaded the installation package, thinking the code would be in there, but there were no .sca files in there when I unpacked it - just a .pat file with no .att file. 
    My questions are:
         - Would the source code be in the maintenace packages?  If not, where would I find it?
         - I have the EA-HR maintenance packages (EA-HR 605: 0001-0015) in my Approval List awaiting download regardless of whether or not the code I need would be in one of them, who approves this?  Would it be someone in my company, or do we need to contact SAP for approval?
    Thank you very much,
    Jamie

    Hi Marcin,
    In addition to specialized iView Editors that are available for certain iView types (for example, URL iView Editor and XML iView Editor), you edit other iView properties in the Property Editor.
    You must be granted the appropriate permission to edit the iView.
    In the Property Editor, you can:
    ·Customize property values
    ·Modify metadata attributes of each property
    check the below link for any issues.
    http://help.sap.com/saphelp_nw04/helpdata/en/13/81a66d100011d7b84b00047582c9f7/content.htm
    Regards,
    Ponneswari.

Maybe you are looking for