How to create a PAR file in Web Dynpro

Hi !!
Could any one tell me how to create a par file of the java application developed in WebDynpro..
thanks
ChandraSekar Maheswaran

Hi,
Refer the link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating%20your%20first%20web%20dynpro%20application.pdf
Webdynpro concepts
Regards,
Tamil K

Similar Messages

  • How to create a PAR file from EAR file

    Hi,
       I have created an Web Dynpro Application . When i deploy it in Remote J2EE Engine, it will deploy as EAR file. It then runs as normal Web Application in Web browser. My requirement is to create an iView for my Web dynpro appn in EP. That is possible only by creating a PAR file. so How to create an PAR file from EAR in NWDS(NetWeaver Developer Studio).
    How to access the EAR file in NWDS or J2EE ?
    Thanks in Advance ,
    By
    Saravanan

    Hi,
    To create a iview,
    log on to portal, New iView and select SAP webdynpro iview.
    It will ask for namespace which is usually , local/Project Name
    and application name is the name of the application.
    We dont have to create par file for this requirement

  • How to create a OTR Text in Web Dynpro ?

    Hi All,
    Please help, How to create a OTR Text in Web Dynpro ?
    Urgent.
    Thanks in advance.
    Kaleem.

    Hi Kaleemullah,
    To create OTR Text, T-Code is SOTR_EDIT. If you run this transaction then one screen will appear. There you can choose Long Text or Short Text based on your
    Text. You can choose language also. In Text field you can enter your text. You can put WDYV in your Object Type field. In Text block Length can be increased to 25 as it may be problem if language conversion of Text happens. You must fill your package field and save the OTR.
    I hope you can be able to create OTR Text now.
    Best Regards,
    bansidhar

  • How to create a war file of web application

    Hi Techies
    How to create a war file of the web application?
    And plz tell me the utilities used for it.

    hi,
    To compress a 'abc' web application into a "Web Archive" file named abc.war, follow the steps below:
    1> Open a command prompt and cd to the application's dir:
    <TOMCAT_HOME>\webapps\abc
    2> Use the java archive command 'jar' to bundle up your application:
    jar -cvf abc.war *
    3> Move this to any other server and work with it!! :)
    -- Abdel Raoof Olakara
    http://olakara.googlepages.com

  • How to create a .par file from console apart from tools like eclipse,studio

    Plz reply me if any body knows how to create .par file from Console i.e command prompt.just like creation of .jar & .war file in java.I have created some iViews and making .par files from tool Eclipse/Netweave rstudio etc..I waqnt to create from console..How it is possible?
    Regards
    Sridhar Raju

    Hi Sridhar,
    I'm unsure for what you'd need this, but in general there are at least two possibilities:
    - manually pack everything into the dir structure needed (documented here: http://help.sap.com/saphelp_nw04/helpdata/en/f9/561140d72dc442e10000000a1550b0/frameset.htm ), than create a ZIP with some command line tool (e.g. JAR), naming it to .par.
    - use ANT to do this; with this, you can even deploy the file, see PAR-File deployment with ANT (EP6)
    Hope it helps
    Detlev

  • How to create a par file that includes an image and a .swf file

    Hi everyone,
    I have a requirement to create a <b>.par file which will contain a .swf file and a .gif file</b>.
    Can anyone please tell me the steps to do so.
    Thanks in advance

    Thanks Ranjeet for the quick reply.
    I have created a portal project and placed the .swf file and the .gif file in the images folder and deployed it to the server. I downloaded the .par file and chked that it contained the .swf and .gif files. But when i run the application it <b>does not show me the .swf file</b> . An icon with a cross mark appears instead. I have flash player installed on my PC .The .gif file when run works fine but not the .swf file.
    Can anyone tell me a workaround for this ?

  • How to import an xdp-File to Web Dynpro Interactive Forms

    Hi Experts
    I am working with Web Dynpro and Interactive Form. With Adobe Lifecycle Designer I do an import of an MS Word-Document and convert it to the XDP-Format. How do I import this XDP-File into an Interactive Form inside Web Dynpro? The form shouldn't be created with Web Dynpro. So far, what I did was creating an empty form from within Web Dynpro and overwriting it with my xdp-File. But this doesn't seem to be a secure and robust solution. Do you have any suggestions?
    Thanks for helping
    Kind regards
    Bettina Hepp

    Hi Bettina,
    I can understand what problem you are facing.
    Please follow these steps and let me know if it has solved your problem or not
    1. Open the XDP file in Adobe Life Cycle Designer and go to File Menu ->Save As ->
    Save the file as PDF.
    2. NWDS Webdynpro Edit the interactive form and now you can import the same PDF file.
    This will solve your problem and let me know if you are facing any other issue.
    Cheers
    Satya

  • How to create one complex project in web dynpro

    hi,
    i have 2 transations.i m going to create one project for one transaction each.but in my carse there are 20 views in each project.i want to distribute all the views  to 10 developers.i  mean how to distribute the different view or application or component for 0ne project among all the developer....this is my doubt that how  to clubbing together all the views,applications and compoents altogether in web dynpro  later.
    its very urgent,
    thanx in advance.
    regards,
    HP

    Hi ,
    One way is dividing your project into DCs.
    1. You can keep your model in one DC.
    2. Create different DCs for different functionalities and place the views under appropriate components
    3. Expose the components as public parts so that the views can reused by the developers.
    Please go though the documents on DCs for creating public parts and resuing DCs
    Regards, VIP

  • How to create a custom property for web dynpro iView - please respond

    Hi,
    I have to create a custom iView property for a web dynpro Java Application.  I am searching forums and sap help and not able to find any documentation on this. Please post your thoughts here...
    Thanks
    Srini
    Edited by: Srinibapati on Sep 5, 2009 3:56 PM

    No One replied and closing this thread...........I still don't have answer for this.
    Thanks.
    Srini

  • How to create Information Dialog boxes in web Dynpro

    Hi,
    'm new to webdynpro.
    Can any body help me to create a dialog box.
    I would like to know how to create dialog boxes of type information, confirmation and warning
    expects reply
    thanks
    smitha

    to create confirmation dialog I tried the code
         IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
        String dialogText = "The email was successfully sent!";
        IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow( dialogText, controllerInfo.findInEventHandlers("ok"), "ok");
        dialog.addChoice(controllerInfo.findInEventHandlers("newEmail"), "new email");
        dialog.open();
    and I got error like:
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.clientserver.window.ConfirmationDialogDelegate.<init>(ConfirmationDialogDelegate.java:58)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createConfirmationWindow(ClientComponent.java:926)
         at com.enteg.systallocpkg.LoginView.onActionLogin(LoginView.java:157)
         at com.enteg.systallocpkg.wdp.InternalLoginView.wdInvokeEventHandler(InternalLoginView.java:137)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    I don't know how to solve this
    can any body help me
    Smitha

  • How to browse local file using web dynpro

    hi everyone
    How can I browse local file using Web Dynpro?And read file names into Context or array. I have tried the following code but its not working
    String resourcePath = WDURLGenerator.getResourcePath();
    String depObjResourcePath = WDURLGenerator.getResourcePath(“Test”);
    WDDeployableObjectPart appPart = WDDeployableObject.getPart(“Test”, “TestApp”, WDDeployableObjectPart.APPLICATION);
    help required urgently
    Thanks & Regards
    Jaspreet Kaur

    Reply in
    how to browse local file using web dynpro
    Regards,
    Ashwani Kr Sharma

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to call PDF file in Web Dynpro Appl?

    How to call PDF file in Web Dynpro Appl?

    Hi Gobinath,
    1. Create a value attribute of type byte called pdfSource.
    2. Insert an UI element called Interactive Form in your layout
    3. Set the source property of this Interactive From UI element to the context pdfSource.
    4. Insert a button which would open your pdf file.
    public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionsubmit(ServerEvent)
       IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
             byte[] bytes = contextElement.getPdfSource();
             try
                   File file = new File("C:
    temp
    example.pdf");
                   FileOutputStream os = new FileOutputStream(file);
                   os.write(bytes);
                   os.close();
                catch (IOException e)
                   // do something
                   e.printStackTrace();
        //@@end
    Warm Regards,
    Murtuza

  • How to extract a PAR File

    Hi All,
    In the procedure of changing the Portal Logon / Logoff page ,we need to extract Par file ,modify the extracted files and then put them back,can somebody tell me how to extract a PAR file ,wt is the procedure of tat.
    Regards,
    Saumya

    Hi Saumya,
    First you need to retrieve the logon PAR file from the portal file system.The file is found in your EP instance,which is located at ..
    /usr/sap/<instance>/j2ee/j2ee_00/cluster/services/servlet_jsp/work/jspTemp/irj/root/WEB-INF/deployement/pcd
    -The file that you need is called sap.portal.runtime.logon.par.bak.
    copy this file to your local directory and rename the PAR file(for eg. my.new.logon.par).It is necessary to remove the .bak extension.
    -Next you can open the PAR file and modify the appropriate files.
    -put modified files back into PAR file
    -copy the new par file back into the deployement directory
    and restart the portal to see ur changes.
    Also look at the following threads for more info -
    <a href="https://www.sdn.sap.com/irj/sdn/message?messageID=2758339">https://www.sdn.sap.com/irj/sdn/message?messageID=2758339</a>
    <a href="https://www.sdn.sap.com/irj/sdn/message?messageID=2225096">https://www.sdn.sap.com/irj/sdn/message?messageID=2225096</a>
    Regards,
    Abhishek
    (Reward Points if useful)
    Message was edited by:
            Abhishek Mehra

  • How to create one ISO file large than 2G

    hi,
    here when I create one ISO with 3G(larger than 2G) on solaris 10 machine, I met below error:
    mkisofs: File too large. cannot fwrite 32768*1
    Anyone has suggestion for this problem? How to create one ISO files larger than 2G?
    See the detail logs information:
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    mkisofs -o my.iso -A "Software DVD" -D -L -P "Study "-p CBC/XLE -r -T -V R50 -v iso
    mkisofs: The option '-L' is reserved by POSIX.1-2001.
    mkisofs: The option '-L' means 'follow all symbolic links'.
    mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
    mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
    mkisofs: The option '-P' is reserved by POSIX.1-2001.
    mkisofs: The option '-P' means 'do not follow symbolic links'.
    mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-P'.
    mkisofs: Use -publisher in future to get old mkisofs behavior.
    Warning: creating filesystem that does not conform to ISO-9660.
    mkisofs 2.01 (sparc-sun-solaris2.10)
    Scanning iso
    Scanning iso/rac_stage3
    Using RAC_S000 for /rac_stage2 (rac_stage1)
    Using RAC_S001 for /rac_stage1 (rac_stage3)
    Using INSTA000.1;1 for ..
    Writing: The File(s) Start Block 48
    0.42% done, estimate finish Thu Feb 1 16:12:35 2007
    0.84% done, estimate finish Thu Feb 1 16:12:36 2007
    1.26% done, estimate finish Thu Feb 1 16:12:36 2007
    1.69% done, estimate finish Thu Feb 1 16:12:36 2007
    2.11% done, estimate finish Thu Feb 1 16:12:36 2007

    87.65% done, estimate finish Thu Feb 1 16:14:54 2007
    88.07% done, estimate finish Thu Feb 1 16:14:54 2007
    mkisofs: File too large. cannot fwrite 32768*1
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Thanks!

    does it matter "copy protection" ? for the problem that i have?
    my computer is alwyes get stuck while i trying to made a dvd or image
    i made few disks wite menu in the past & i had not problems at all

Maybe you are looking for

  • Database field won't display

    I'm new to Crystal Reports in .NET but I do have my 1st report working except for one field that I'm trying to use in a sub report.  It's in my database fields just like the other field for the sub report.  I can see data for both fields in the Brows

  • MPN on MAC OS 10.6.2

    Hello everyone, I am trying to find the MPN to register Iphoto. when I follow the instructions, which are : "if you are using a version of Mac OS X: Click Finder in the Dock. Choose "Applications" from the Go menu. A Finder window appears with a list

  • Will the iPad Mini print to / scan from the HP 7280; with USB cable?

    Will the iPad Mini print to / scan from the HP 7280; with USB CABLE? Thanks, everyone... ---sue h (Apple novice) iPad Mini

  • What is the best way to port a entire website?

    I need to elevate my test site to the production site...  Can anyone tell me if there is an "easy way to just copy the site from one remote ftp to another ftp w/ dreamweaver? This would include any subdirectories, jquery, images, PHP, etc... at one t

  • Easier Interpolation of Key Frames?

    Hey, me again. I'm animating a camera around with key frames and I was wondering if there is easier way to select Ease In and Ease Out for interpolation than using the Key Frame Editor and having to manually select each animated parameter and then cl