Webdynpro file to parfile

Hi,
  i created one webdynpro application and now i want to convert into par file.what is the process to get the par file.Waiting for the positive reply.

Hi,
Chech with this links
http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/c3e741c588c517e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/772240da03e569e10000000a155106/frameset.htm
Regards,
Vijayakhanna Raman

Similar Messages

  • Importing .ear webdynpro file in NWDS.

    Hello,
    I don't see any "General>Archive File" under "File> Import-->". I am trying to create a webdynpro project from a .ear file that I got from the "SDM->Program->temp" folder on the server.
    Here are the details of NWDS:
    Version: 7.0.10
    Build id: 200610212349
    Is there a specific perspective, that I should be using to import a .ear file, I tried J2EE, but the import window still doesn't have a General option.
    Thanks
    Srinivas.

    Hi Srinvas,
    You cannot re-create a project from .ear file like it used to be with .par file.
    If you have the .sca file (Software component) in which this .ear file (development component) is present, you can import it with NWDI.
    But if you have some complex logic embedded in the WD which you want to retrieve, you can unzip the ear file, dig for the class files and decompile it.
    -Aarthi

  • File Upload UI Element

    Hi,
      We are using the Standard Webdynpro File upload element in the screens. When the user clicks on the 'Browse' button the File Selector popuop is thrown using which the user can select the file.
      Can we have on specific type of files be displayed in the 'File Selector' popup. currently ALL the files are displayed, though we have the option of '.html' files in 'Files of Type' dropdown.
      How can we add custom file types say .csv file selection.
    Regards,
    S.Divakar

    Baskaran,
    The key here is "ACCEPT" attribute of file upload. Even if SAP add it later, we have to wait for MS to fix IE (make it true HTML 4.0 browser) -- IE docs even does not mention ACCEPT attribute on <input type="file" />
    Compare
    http://www.htmlhelp.com/reference/html40/forms/input.html
    and
    http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/input_file.asp
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Lost the webdynpro application source code

    Hi Experts,
    We have some webdynpro applications. Presently running in Portal server.  One of the application is giving the error. we need to fix that issue. Since we don't have any NWDI system, One of  the application source code got corrupted, Kindly let me know is there any we can retrieve the  source from the deployed application or .ear file from Portal.
    Regards
    Vijay

    Hi Guru,
    I think it is not possible to get the whole project structure.
    But you can get the java files of your local DC project by logging into your portal using the url http://host_name:5000/nwa.
    Navigate to Analysis ->Configuration ->J2EE Configuration Browser . Click on Local System Node ->apps->sap.com. Under sap.com(or the domain you have defined namespace) you can find a u2018src.zipu2019 file. In this u2018srcu2019 folder you can find the java files.
    If the error has occurred in your project while modifying particular webdynpro file, then you can get the previous version of the file(file before the error occurred) by navigating to C:\Documents\SAP\workspace\.metadata\.plugins\org.eclipse.core.resources\.history location in you local system. In history folder you can find all the versions of the webdynpro file which you were modifying till now.
    Thanks,
    Shilpa

  • Create a Login Screen in NWDS

    Hai All,
    I am trying to create a one login screen. So, any body plz guide me which type of BAPIS are required . The following are the fields for log in screen.
    User Name;
    Password:
    Submitt
    Once user submitt the  fields he received conformation message through mail.
    Note: Points will be revert back.
    Thanks,
    Sumanth

    Hi Sumanth,
                     to create a login screen , you need not a BAPI, instead you can
    create two views in a single application  in which the first view contains ui elements  like username , password and a button like submit. The thing is that
    when you creating the button itself , you specify the target view i.e second view.
    In the second view you can write the response like "this is second view" as
    default text view.
    Navigation: 1)openperspective as webdynpro-FILE-NEW -OPEN WEBDYNPRO PROJECT-specify proj name and package.
    2)expand project-expand webdynpro components-create component(once the
    component is created one window and one default view will be created).
    3)double click on default view  - go to context - right click on context -new value
    attribute-specify attibute name as username and one more value attribute as
    password.
    4)go to view controller part of digram part - right click on view controller -select
    apply template - select action button - specify name as Submit(here you need to select 2nd view ).
    5)in the view controller part only you may get symbols for creating inbound plug and out bound plug , embed a view. select embed view as second view .
    Then create outbound plug in view 1 and inboundplug view 2 and create a navigation link b/w them.
    save all  metadata.
    6)go to applications under project-right click on it - create application as app1
    and package as xxx.
    7)expand applications -right click on our application i.e app1- select deploy and run
    archive file.
              wait for the response (if everything is goes fine it will displays login page
    with emty fields)
              If you have any dought send me reply.
    bye take care.
    Regards,
    Sanjeev.kunta

  • How to let user download multi files at the same time in WebDynpro ABAP?

    hi all:
    As you know, WeyDynpor has provided upload/download UI element, but it seems that it only support one file upload/downlaod at the same time.The following is the API method to download one file in Webdynpro:
        cl_wd_runtime_services=>attach_file_to_response(
         EXPORTING
           i_filename      = lv_filename
           i_content       = lv_content
           i_mime_type     = lv_mine_type
           i_in_new_window = abap_true
           i_inplace       = abap_false
    *      EXCEPTIONS
    *        others          = 1
    but if when use click one button, we want to provide user a html file plus 2 icons files which are used as this html file's resource file, then how to let user download these 3 files together at the same time?
    one simple way is calling the download api (cl_wd_runtime_services=>attach_file_to_response) 3 times,
    but it is very ugly that three popup windows are shown to let user select every file's download path, which is unaccepted.
    So anyone know more convienient way to handle it?
    thanks.

    Hi,
    I suggest you to zip the files and attach it to the response. Do the add file part for each of your files
         "References
         DATA lr_zip TYPE REF TO cl_abap_zip.
         "Variables
         DATA lv_zip_xstring TYPE xstring.
         DATA lv_zip_name TYPE string.
         DATA lv_file_content TYPE xstring.
         DATA lv_file_name  TYPE string.
         "Create instance
         CREATE OBJECT lr_zip.
         "Add file
         lr_zip_attachments->add(
           EXPORTING name = lv_file_name
                  content = lv_file_content ).
         lr_zip_attachments->save( RECEIVING zip = lv_zip_xstring ).
         "Attach zip file to response
         cl_wd_runtime_services=>attach_file_to_response(
           EXPORTING i_filename      = lv_zip_name
                     i_mime_type     = 'ZIP/APPLICATION'
                     i_content       = lv_zip_xstring ).

  • Not able to open pdf file ( smart form from webdynpro )

    Dear friends,
    while trying to download pdf file from webdynpro i am getting the following error ( pls check the screen shot and also my  code )
    could any one please let me know what's the issue
    Thanks
    Vijaya
    data    v_bin_filesize           TYPE i,
               st_job_output_info       TYPE ssfcrescl,
                bin_pdfx TYPE xstring,
    data  : it_docs     TYPE STANDARD TABLE OF docs,
              it_lines    TYPE STANDARD TABLE OF tline.
    data : lv_file_name type string.
              lv_file_name = 'PDFSMARTFORM.PDF'.
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    * EXPORTING
    *   USE_OTF_MC_CMD               = 'X'
    *   ARCHIVE_INDEX                =
         IMPORTING
           bin_filesize           = v_bin_filesize
         TABLES
           otf                    = st_job_output_info-otfdata
           doctab_archive         = it_docs
           lines                  = it_lines
         EXCEPTIONS
           err_conv_not_possible  = 1
           err_otf_mc_noendmarker = 2
           OTHERS                 = 3.
       cl_wd_runtime_services=>attach_file_to_response(
       i_filename = lv_file_name
       i_content = bin_pdfx
       i_mime_type = 'application/pdf'
       i_in_new_window = abap_false
       i_inplace       = abap_false ).

    Hi,
    I think the binary file conversion was not done properly( you haven't filled bin_pdfx, its the otf_data ). OR, Use CONVERT_OTF FM and pass format as PDF. Check this document for reference: Opening a Smartform in Web Dynpro ABAP
    Hope this helps u,
    Regards,
    Kiran

  • How to upload a file in R/3 system through RFC using WebDynpro Java

    Hi There,
    we need to pass a file(mostly xml) using file upload feature in Webdynpro and then need to pass the file in R/3 system using RFC. What should be importing parameters for RFC and how should i implement the fileUploadUi in this case.
    I have already seen example of how to add this in a table input form.
    Any pointers will be great help.
    Regards,
    Sudhir

    Use this code to convert the file content to bytes in WDJ:
    Apart from the resource context attribute create a context attribute of type binary.
    get the data from resource & convert it to binary & pass that to RFC. U can use this code for conversion
    byte fileData[] = null;
    try{
    InputStream fileIs = wdContext.currentAttachCVElement().getFileData().read(false);
    ByteArrayOutputStream bOut = new ByteArrayOutputStream();
    int length;
    byte[] part = new byte10 * 1024;
    while ((length = fileIs.read(part)) != -1) {
    bOut.write(part, 0, length);
    fileIs.close();
    fileData = bOut.toByteArray();
    bOut.close();
    } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportSuccess(e.toString());
    Here getFileData reffers to the attribute of type resource. rest of the code u can use directly.
    Use this code in your R/3 function module to convert the data.
    *" VALUE(XCONTENT) TYPE XSTRING OPTIONAL
    OUTSTRING TYPE STRING,
    CONV TYPE REF TO CL_ABAP_CONV_IN_CE.
    Convert data passed from WD Application.
    CONV = CL_ABAP_CONV_IN_CE=>CREATE( INPUT = XCONTENT ).
    CONV->READ( IMPORTING DATA = OUTSTRING ).
    SPLIT OUTSTRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF INTO TABLE IT_DATA.
    DELETE ADJACENT DUPLICATES FROM IT_DATA.
    Let me know if you run into issues, please award points accordingly.

  • How to Download a PDF file from Webdynpro ABAP Screen

    Hi,
    I have developed a input form in webdynpro - ABAP(Not Adobe),
    As I am not using above services here, but would like to download the information I am capturing into a PDF file.
    can I do it without using adobe interactive forms ?
    thanks
    Siddharth

    Hi siddharth,
    My suggestion would be to create your output as a Smartform and call your Smartform in your View.
    For more Click this link.
    [HOW TO DISPLAY A SMARTFORM AS PDF DOCUMENT IN WEB DYNPRO FOR ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]
    Regards
    Bulent

  • How can i display a pdf file stored in my KM from webdynpro link ?

    Hi experts,
    i try to open my pdf file stored in km, in the same window of my webdynpro java who has the fire link ?
    i user tow  iviews with inBound and outBound plug, the first one has the fire link and the seconde an iframe witch i set source parameter to my km link where my PDF is stored. Unfortunately, the iFrame don't work correctly, and my PDF is not be displayed
    Can you give some advices ?

    Hi
    Recently in my project I came across a scenario where my Web Dynpro Project had to pick the image from KM. The images to be displayed will be placed in KM. This will avoid loading the images into the Web DynPro project. More over when you have KM installed on your EP server, one can use it for storing backend data and resources. The KM Admin will be undertaking this task of uploading the images to predefined folder structures. Through the application path to the image will be provided dynamically giving you the flexibility to decide which image to be displayed according to the business logic.
    Getting an image from KM Documents to be used in Web Dynpro
    Uploading files to KM repository using Webdynpro APIs
    KM with WebDynpro
    thanks
    Suresh

  • How to add the property file..ie(default.properties) to a webdynpro project

    Hi All,
    How to add the property file..ie(default.properties) to a webdynpro project.
    I urgently require the solution. Kindly get it for me.
    Regards
    DK

    Hi DK,
    this is described in the second Web Dynpro Java Tutorial
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b1a3e990-0201-0010-aeb2-a2ef5bc3da8e">creating an Extended Web Dynpro Application</a>
    Regards, Bertram

  • Is it possible to search the client for a file in WebDynpro?

    Hi,
    I need to check inside a WebDynpro application wether a
    file exists on a client or not, befor showing or listing it.
    I have a UNC-Name for the location (e.g.
    servername\dirname\filename.extension).
    Another task would be to browse this directory for all other existing files and dirs and list them.
    Is this at all possible with WebDynpro?
    Or would this only be possible by using the filesystem of
    the applicationserver (e.g. mount the dir on the filesys)?
    Is it possible to launch a client-located script (like VB-Script or such) in WebDynpro?
    (e.g. to search the dir, create a text-file and read this text-file).
    Or are these concepts totally against the security-policies
    of web-based applications?
    Thanks in advance.
    Alf

    Hi Alfred,
    generally web applications run in a sandbox on the client.
    That means that they have no access to the file system.
    To get access you need to install a certificate on the client:
    You create a key with the Java-Tool "Keytool" and sign the application (or the applet) with the Java-Tool "Jarsigner".
    That generates a *.cert file wich you now have to export from the parent system and import onto the client (with Keytool).
    You will find many detilled instructions for this procedure in the internet.
    Unfortunately I don`t know how it works with Web Dynpro.
    Karsten

  • How to implement a view or access implementation file in webDynpro?

    Hello,
    I'm actually working on developping a simple component with webDynpro, enabling user to fill two inputfields and send the answers by clicking on a button. The problem is when i'm trying to open the view with java editor, i get the error:
    "The implementation file for ...View was not found and the implementation editor could not be opened" plus possible explanations for the problem not very helpful. I thought that when i'm adding methods and events, there is a file that is generated. And if not, how will i implement my methods?
    Cheers.

    Hi,
    Assuming your installation of the NWDS was successfull.
    You can right click on your project and select repair class path and project structure.
    If this doesnt help, try to create a new project in different workspace.
    Regards
    Ayyapparaj

  • How to open a pdf file in Acrobat Reader from a webdynpro application

    Hi,
    I need to open a pdf file stored in the server from a web dynpro application. The pdf needs to be opened in the stand alone reader at the client and not in a reader embedded in the browser.
    Cheers,
    Krish

    Hello,
    I'm fairly new to webdynpro and am trying to  render a pdf via webdynpro.
    The webdynpro application runs but I see only a blank screen with the title.Is there any specific setting I need to do in order to view this pdf?I have used the FileDownload-UIElement.
    Thanks in advance
    Biraj

  • How to Consume a WSDL file in Webdynpro JAVA Application 7.30

    Hi Experts,
    My requirement is,I have a wsdl file(Provided by the SAP PI) which i need to consume in Webdynpro Java 7.3(NWDS 7.30).
    I has been tried in the follwing way
    1.First click on the Model --> Adaptive Web Service Model -->Model Name--Package Name
    2.Choose Remote Location/File System.
    3.After that choose the WSDL file from my project which i added earlier.
    4.After that I get the node in the context menu.But I am uneble to set some data into the node and also uneble to get data data from the node
    After deploying my project I get the following error.
    Error ::
    The initial exception that caused the request to fail, was:
    com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: Configuration not found for service reference with ID: c73e38ff-a4d8-4e4c-89c2-827fd5cf17ac from application demo.sap.com/mwebsrvc. Either you have not assigned the Service Group to a Provider System or the generation of the configuration has failed. Check the configuration details from SAP NetWeaver Administrator -> Application Communication. --> Details about the Service Reference: {urn://TestSOAPtoRFCSender}SI_TestSOAPtoRFCSender_OB; Service Group: com.tsecl.SITestSOAPtoRFCSender_OB.pidev_nerapdrp_gov_in; Service Group Software Component: demo.sap.com/mwebsrvc; Service Group Application: demo.sap.com/mwebsrvc; Configuration state: Not configured
        at com.sap.esi.esp.service.server.dynamic.DIIServiceRefConfigContextImpl.prepareContext(DIIServiceRefConfigContextImpl.java:275)
        at com.sap.esi.esp.service.server.dynamic.DIIServiceRefConfigContextImpl.<init>(DIIServiceRefConfigContextImpl.java:59)
        at com.sap.esi.esp.service.server.dynamic.DIIContextCreatorImpl.createDIIServiceRefConfigContext(DIIContextCreatorImpl.java:18)
        at com.sap.engine.services.webservices.espbase.client.dynamic.configuration.DIIContextFactory.createDIIConfigurationsContext(DIIContextFactory.java:12)
        at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:368)
        ... 67 more
    Please help me about this.
    Thanks and Regards,
    Amit Basak

    Hi Amit,
    Create provider system in NWA -> SOA management -> System Connections. After ping is successful go to NWA -> Application Communication and select your DC and assign the provide system for your service configuration group.
    I hope it will works fine as we also did the same.
    - Pradeep

Maybe you are looking for

  • Enhancement in CRM UI

    Hi, I want to add a custom field to the Service Contract transaction in CRM UI and do some validations based on the data entered in the custom field. I have created the field in CUSTOMER_H using EEWB and added the field to UI by BSP_WD_CMPWB transact

  • Need help with finding picture size

    ok here is  my problem i have this sphere and it works great except when you click the thumbnails to display the picture, depending on the size of the picture, the pictures can get pushed to far over, and i understand why. the x and y coord never cha

  • Prepayment Claim error

    Hello all, I am trying to create a prepayment claim and getting two error's - 1. Prepaid amount is missing  2. Fund is not allowed according to fund determination settings. This inspite of entering the prepaid amount and having the standard fund dete

  • Fed up!

    I was a very loyal and happy Alltel customer then comes Verizon with promises of being better and treating us, the customers, better. All I have had is awful phones and horrible customer service!!! I am still under a contract but I want out so bad!!!

  • Blackberry Z30

    Hi there. I recently purchased a Blackberry Z30 with OS version 10.2.0.1521. I am unable to download an APP to support printing from my phone. When will Blackberry have this available? I find it difficult to understand that HP does not support the la