How to code a Module in NWDS and deploy

Hi ,
That is exactly my question ...
how to code a Module in NWDS and deploy
Kindly let me know if there are any step by step available
also I  may not always have access to nwds
To the same in a tool like eccilpse.
P.S.
I am an abaper ...have a little working knowlege of Java..so playing around with eccilpse alot...
Kindly help

>>also I may not always have access to nwds
>>To the same in a tool like eccilpse.
apart from the links provided by others , if your above statement means that you might have to use Eclipse at times in place of NWDS, then I would suggest you to have a build process independent of Eclipse. NWDS makes use of SAP specific plugins which recognizes your SAP sepcific files like application-j2ee-engine.xml and ejb-j2ee-engine.xml and you see them differently inside NWDS. So to have a better project setup
1. At least create the whole project (EJB / EAR) once in NWDS.
2. Export it and then import inside Eclipse.
3. Make changes and have a build script may be based on ANT to build your project and create EAR out of it.
4. Deploy using SDM.

Similar Messages

  • How to code a button to play and pause sound using load sound?

    how to code a button to play and pause sound using load sound?I have used load sound methos to attach the sound.Can anyone help me?

    Hey thnx,
    I have used this code on sound's button's frame.and my stop n play button is on another screen.main sound button and stop button is on diffrent screen.
    Here is my code-
    stop();
    adaDrut1.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.loadSound("F#/Bhajni1.ark", true);
    mySoundC.onSoundComplete = function() {
    _root.mySoundC.start(0,999); }
             gotoAndPlay("play2");
            _global.myTaalLaya = "Low1";
    adaDrut1 is a sound button.And there are lot of buttons with diffrent sound.
    Thanks..

  • How to transfer a module between systems and change the system name?

    Hello,
    I would like to transfer a module I've built from one server to another, my questions are:
    1. What will be the best way to do it?
    2. The 2nd Server contains a System with the same queries but the system has a different alias. Suppose I don't want to add to the system and the 2nd server the alias from the 1st system, is it possible to change the system in the module queries once it has been compiled and deployed?
    Roy

    Hi,
    1) You can use the export/import features of VC to transfer models.
    2) The requirement is not clear. I guess your alias name is different in the second system and you want the imported model to work fine with the current alias in second system.
    To change the alias, goto Menu Tools ->Alias manager, select your system and replace it with the new alias. Then compile and deploy it.
    Hope it helps
    Regards,
    Sooraj

  • How to create a custom ear file and deploy it onto a freshly created oc4j

    Hi,
    Wanted to know that how should i go about creating a custom EAR file or for that matter any application and deploy it onto a test oc4j instance created within the 10.1.3 Home of Oracle Apps R12.
    I believe in a standalone Application server installation it is quite simple to deploy an application by creating an oc4j instance using the AS console ,but not very sure about how to go about it in Oracle Apps .
    N.B:I have been able to create a test oc4j instance by the name of Test and able to start and stop it using the opmn of 10.1.3 oracle home.
    Any help in this regard will be appreciated.

    Hi,
    can you please post this question to one of the Apps forums if your main concern is to deploy applications in the context of Oracle Apps?
    It seems that you don't have a problem in creating the EAR file in JDev.
    Frank

  • Uploading par files in nwds and deploying back

    Hi all,
    I wanted to work with the masthead iview in nwds, so found it on the server as the par file and imported it into NWDS. Changed the headeriview jsp and deployed it back to the portal. But it is not working. Saw in another sdn thread that when you create the project in nwds, it does not bring up all the components from the par file as required and some class files are missing. I think this is the problem in my case. The solution to it was not given in that thread.
    Would anybody help please.
    thanks.
    Lm

    Hi
    the following are the steps to modify a masthead.
    1.Find the PAR file and copied to a temporary directory and renamed to the customer namespace taking off .bak extension.
    2.Import the PAR file now using File->import option.
    3.make necessary modifications.
    4.once the JSP is edited, the PAR file needs to be created ans uploaded to the portal.If JDK is installed just login into portal and deploy the pAR file otherwise use PortalAnywhere to deploy it.
    5.Now goto Content Administration->Portal Content->right click the folder you wish to create the mastheadiView.Select New from Portal Archive-?iView from the context menu.Select new masthead.
    6. select poratal component Default and choose next.
    7.enter the properties for masthead and next.
    8.edit the Iview and saved it.
    9.add the iView to Framework Page in portal catalog and edit page layout.
    10.select iView from catalog and add it as Delta link and position it accordin to your need.
    Hope this helps you to modify the masthead.
    Regards
    Victoria

  • How to Test Adapter Module in NWDS

    Hi Friends,
    I have written an adapter module. Before deploying on adapter engine, I want to do test in NWDS. Any idea how to do this. Please provide sample java code, if possible.
    Thanks,
    Sandeep Maurya

    Hi,
    Since runtime and module processor framework is not available on your local machine that's why adapter module test not possible using NWDS on local machine.
    Another possibility is to install PCK on some local machine for testing purpose.
    You must deploy (either on PCK or AE) it and test.
    Regards,
    Gourav

  • How to code a parallel 'for loop' and 'while loop' where the while loop cannot terminate until the for loop has finished?? (queues also present)

    I've attached a sample VI that I just cannot figure out how to get working the way that I want.  I've labeled the some sections with black-on-yellow text boxes for clarity during the description that follows in the next few sentences.  Here's what I want:
    1) overall -- i'm intend for this to be a subVI that will do data acquisition and write the data to a file.  I want it to use a producer/consumer approach.  The producer construct is the 'parallel for loop' that runs an exact number of times depending on user input (which will come from the mainVI that is not included).  For now I've wired a 1-D array w/ 2 elements as a test case.  During the producer loop, the data is acquired and put into a queue to be delt with in the consumer loop (for now, i just add a random number to the queue).
    2) the consumer construct is the 'parallel while loop'.  It will dequeue elements and write them to a file.  I want this to keep running continuously and parallel until two conditions are met.
          i. the for loop has finished execution
          ii. the queue is empty.
       when the conditions are met, the while loop will exit, close the queue, and the subVI will finish. (and return stuff to mainVI that i can deal with on my own)
    Here's the problems.
    1)  in the "parallel for loop" I have a flat sequence structure.. I haven't had time to incorporate some data dependency into these two sequential sections, but basically, I just care that the "inner while loop" condition is met before the data is collected and queued.  I think I can do this on my own, but if you have suggestions, I'm interested.
    2)  I can easily get the outer for and while loops to run sequentially, but I want them to run in parallel.  My reasoning for this is that that I anticipate the two tasks taking very different amounts of time. .. basically, I want the while loop to just keep polling the queue to get everything out of it (or I suppose I could somehow use notifiers - suggestions welcome)...  the thing is, this loop will probably run faster than the for loop, so just checking to see that the queue is empty will not work... I need to meet the additional condition that nothing else will be placed in the queue - and this condition is met when the for loop is complete. basically, I just can't figure out how to do this.
    3) for now, I've placed a simple stop button in the 'parallel while loop', but I must be missing something fundamental here, because the stop button is totally unresponsive.  i.e. - when I press it, it stays depressed, and nothing happens.
    suggestions are totally welcome!
    thanks,
    -Z
    Attachments:
    daq01v1.vi ‏59 KB

    I'd actually like to add a little more, since I thought about it a bit and I'm still not quite certain I understand the sequence of events...
    altenbach wrote:
    zskillz wrote:
    So i read a bit more about the 'dequeue element' function, and as I understand it, since there is no timeout wired to the dequeue element function, it will wait forever, thus the race condition I suggested above can never happen!
    Yes, you got it!
    As I've thought about it a bit more, there's a few things that surprise me... first, the reason the 'dequeue element while loop' errors is not because there's nothing in the queue, it's becaues the queue has been released and it's trying to access that released queue...   However the problem I have is this --- Even though there's no timeout wired to the dequeue element, I still would think that the while loop that contains it would continue to run at whatever pace it wanted -- and as i said before.. most of the time, it would find that there is nothing to dequeue, but once in a while, something is there.  however, it seems that this loop only runs when something has been enqueued.  the reason I say this is illustrated in the next code sample MODv2 that's attached below.  I've added a stop button to the "queue size while loop" so the program runs until that is pressed.  I've also added a simple conditional in the "dequeue while loop"  that generates a random number if it a button is pressed... but this button is totally non-responsive... which means to me that the "dequeue while loop" isn't actually continuously running, but only when an element is added to the queue.  this still seems almost like the 'dequeue while loop" waits for a notifier from the queue telling it to run.  can you explain this to me? because it is different from what I expect to be happening.
    rasputin wrote:
    I tried to open your VIs but it doesn't work. LV
    is launched, the dialog box (new, open, configure...) opens and then...
    nothing. Not even an error message. I guess it isn't a problem of LV
    version or a dialog box would appear saying this. Could you, please,
    send a image of the code?
    Thanks,
    Hi Rasputin, I'm using LV8.  I assume that was your problem, but who knows.  I've attached a pic of of altenbach's solution since it's what I needed.
    thanks
    -Z
    Message Edited by zskillz on 10-20-2006 11:49 AM
    Attachments:
    daq01v1MODv2.vi ‏63 KB
    daq01v1MODpic.JPG ‏116 KB

  • Urgent How to Code Custom program to get_data and Set_data

    Hi,
    I am using BADI to enhance the vendor master screen.
    The Badi were implemented as  per OSS 580266.
    Subscreen is appering, new buttion is working fine.
    But how to communicate between my custom program's  PBO , PAI to  Badi's GET_DATA
    and SET_DATA.
    Is any one got any sample code?
    Thanks for the help
    Rgd.

    Hiii John Wu,
    Thanks for your reply,
    And i have a little bit confuse. I mean, now my project available in SAP Netweaver Developer Studio. I have 2 DCs the first DC for User Interface and the second for EJB. where do i have implement servlet in each others or i need to create and implement at another DC. How to implement it? sorry for somethings write above so I am a new comer for SAP development.
    Thank you!

  • How do I integrate adf with peoplesoft and deploy it on psft ?

    I am planning to use adf faces for customization on peoplesoft. How do I do that using the present adf version? Is there documentaion or demo for usage of adf with psft?
    Thanks,
    Pradeep

    The online files cannot be opened in iWeb — only iWeb's Domain file can be opened in iWeb. See this Apple doc on How to back up MobileMe data. It says:
    Any websites you have published with iWeb should still be available within iWeb. iWeb stores everything in a Domain file, normally located in the ~/Library/Application Support/iWeb folder (although it can be moved). If you no longer have this file, you can view your currently published pages and manually recreate them within iWeb, but there is no way to import published pages back into iWeb. You can manually back up the Domain file, or use Backup to back it up.
    Paragraph 2.3 of this FAQ page gives some tips on how to use published files, graphics, photos, etc., to help rebuild the site from scratch:
    http://iwebfaq.org/site/iWebBackupretrieve.html

  • Generated Code different from OWB Client and Deployment Manager....

    Hi,
    I developed the mappings using OWB9.2 and generated the code.
    But when same mapping is used to generated code from deployment manager it is having extra code like WB_RT% procedures/functions.
    Why this is happening, does any body have idea on this.
    Please let me know.
    With Regards,
    Kranthi..

    When you generate code from within your mapping, you'll get clean sql. But when you deploy your mapping and create package the code will contain more than just sql used for loading your tables, like control procedures etc. based on your mapping configuration, table loading options etc.
    If you create mapping that will load table using TRUNCATE/INSERT option and generate code you will see only INERT INTO code, but when you deploy your mapping the code will include TRUNCATE TABLE code.

  • How to create plugin modules ?

    I have a swing gui with a textfield and textarea in a frame. Some command is entered into the textfield and a method within the frame's source code would be called to match the command to a set of if else loop to see if the command is correct before executing. It's some sort like creating a command prompt. The textarea displays the input and the results. How should I create some sort of codes with so that I can extend the commands inside with more commands by adding new jar file plugins and how do I create some sort of a jar file plugin ?

    I looked through Spring web page and most of the stuff talks about web apps. I am not very familiar with these IoC although I tried to read and understand it.
    I was wondering, if you have a GUI application with a task bar that allows you to plugin(jar file), and when you added the plugin, how does the application detects your plugin and updates the tool bar with the icon you specified in your tool bar. One thing i don't really understand is when you hit the updated new button on the tool bar, how does it call the method with the jar file plugin ? I know that every button in the tool bar, like all buttons, need an action event or something like that with the method inside it to actually call it.
    I have been wondering how applications with plugin modules , like NetBeans and Eclipse, could dynamically add a button into their tool bar and menu bar and when called, they can 'link to' the plugin to call it ?

  • How to Code for ipod Touch

    Sorry i didnt really know where to post this. Anyway, i am brand new to coding really, and i would really like to learn how to code apps for iPod Touch and iPhone. Where can i start (very beginning, dont know much really). Im good with macs if that helps (not mac coding). Anyway i just need a good place to start. Any help would be much appreciated. Thanks.

    "for our own use" - this gets me to thinking, can a person develop an app and sync it to their device without having to go through the apps store?
    As for developing - I don't know what language is used in the SDK programming environment, but if it's anything like C++ or Java, then I want to point out that my CS students usually take two semesters of programming to become proficient. Then several years more to understand algorithms and the deeper issues of computer science.
    Writing a program, especially one that uses a GUI interface, requires an understanding of event-driven programming, functions, parameters, OOP, and a whole lot more.
    Of course, programming the iPod/iPhone may involve a very simple language with limited capabilities, I don't know - but...
    I'd like to hear from developers; is this like programming Java applications with a GUI library?

  • How to have a module listening a socket port?

    Hi,
       who know how to make a module of adapter and let it listening a socket port?
    thanks in advance

    Hi,
    Take a look at this blog,
    /people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
    Regards,
    Bhavesh

  • Having problem in compiling and deploying servlet

    please tell me about environment variable because i m totally confused.i want to know why do i need to set environment variable.and how would it help me to compile and deploy my first servlet.
    i also want to know about Class path and path.
    please tell me this.
    i'll really appreciate

    thanks a lot.
    i got my first servlet compiled deployed and run.
    thanks againYou are welcome. If you think it really help, you can assign duke star to me :)
    Good luck to your web application.

  • How to create a gui pf status and guititle in module pool programming?

    hi frnds,
    how to create a gui pf status and gui title in module pool programming?
    my problem is i created a screen and wen execute the screen by a tcode.am nt able to activate SAVE BACK EXIT CANCEL COMMANDS?.how to do this can any one explain in detail procedure?
    plz gve step by step process.

    Hi,
    For Title:In PBO...just write
    SET TITLEBAR 'ZTITLE'.
    double click on 'ZTITLE'....give whatever title u want...save it...activate...and check...reward points if useful...
    PF means FUNCTION CODE
    ex; set pf-status 'zrstatus'.
    double click on the zrstatus expand the application server ,
    at the time of execution the default menu(ie system,help),application toolbar buttons like enter,help etc and function keys(by default there will be no function keys)as are there on the normal
    will appear on the screen.
    Details:
    PF-STATUS is used to set the GUI Status of a screen, ie you can control the options on your menu bar, application toolbar, the function keys assigned to various options etc.
    Implementing the status for a screen can be done in 2 ways:
    1) Create the GUI status using the object list of the program or by using the transaction SE41. Then, assign it to the screen using SET PF-STATUS statement.
    2) Create the GUI status by means of forward navigation, ie, use the SET PF-STATUS 'XXX' statement where 'XXX' is the name of the GUI status and double click on it to create it.
    Status names can have a maximum of 20 characters.
    After assigning a GUI status to a screen, this is inherited to all subsequent screens. In order to have a different status for each of the subsequent screens, you have to set a separate status for each screen.
    In transaction SE41,
    1) Give the program name and the status name and click on the Create button.
    2) Go to 'Function keys' and expand.
    3) On top of the save icon type SAVE, on top of the back icon type BACK, on top the the exit icon type EXIT etc ie on top of all the icons that you want to use, type the respective names that you want to give.
    Whatever you have typed now becomes the function codes of these icons and can be used in your program.
    For example you have a screen 100.
    In the 'Element list' tab of the screen, give "ok_code" as the name where "OK" is the type of screen element. Activate screen.
    The flow logic for the screen looks like this:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    Create the modules STATUS_0100 and USER_COMMAND_0100 in the main program by simply double clicking on them.
    The code for these modules can be something like this:
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'Example'. "Example is the name of the GUI status
    ENDMODULE.
    MODULE user_command_0100 INPUT.
    CASE ok_code.
    WHEN 'SAVE'.
    "call a subroutine to save the data or give statements to save data.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.
    Regards,
    Shiva Kumar (Reward If helpful)

Maybe you are looking for

  • Text Variable with Replacement Path

    Hi, I want to create a report which will show me 5 years of data. I have used a variable for Fiscal year which will be given by the user. Now I created a 5 key figures with offset to show the 5 years of data.  I used a text variable with replacement

  • Editing issue with DVCpro 50, blak lines right and left

    Hello to everyone, I am editing in native DVCpro 50. In the canvas I get a thin black line left and right, so the footgae is not completely covering the canvas view. Should I resize the footgae a little bit to match this? My problem is that I am brin

  • SSIS 2005 not running after upgrading (32 bit, Windows XP to 64 bit Windows 7)

    I really need some help. Recently I went from using Visual Studio and SQL 2005 on a laptop (32bit system - Windows XP) to a desktop unit 64bit processor with Windows 7). SSIS on the laptop worked just fine and I could execute and open packages in SSI

  • Missing return statement. Why?

    Hi guys this might be an easy one for you all. I am receiving the error below when compiling the class below. Any idea what kind of statement I should be returning? Database.java:51: missing return statement ^ 1 error public Item search(String title)

  • Dictionary: the links are gone?

    I remember if I pointed to any word in the explanation, the word will appear underlined as a link. When click on it, it will take me to that word. But somehow this function is gone: there is no link and underline any more. What's wrong?