Can i download whole WD Abap scenario into XML File ?

Hi,
Experts,
I want to download the WD( Web Dynpro ) Abap scenario into Xml file from one SAP server. by upload this xml file into another server(uploaded server) to create the WD abap scenario as it is in downloaded server. As like we download the report into xml using                              '  cl_gui_frontend_services ' class.
through Transporting the request into that upload server i can do that but the thing is there is not communication between these systems. for that i am searching in this way.
Thank you,
Shabeer ahmed

Hi Shabeer,
This feature is not currently in the standard system. However there is a beta version of a plugin for exporting and importing Web Dynpro ABAP components.You would have to use the SAPLink program (ZSAPLINK) to export and import objects. Please go through this link to download the necessary stuff.
[http://code.google.com/p/saplink/|http://code.google.com/p/saplink/]
For any problems while uploading these nuggets into SAP you can post your queries [here|www.saplink.org].  Also refer to Thomas Jung's comments in [here|How to install the SAPlink plugins;.
Regards,
Uday

Similar Messages

  • Error while downloading data from internal table into XML file

    hi all,
    i developed a program to download data from into internal table to xml file like this.
    tables: mara.
    parameters: p_matnr like mara-matnr.
    data: begin of itab_mara occurs 0,
                matnr like mara-matnr,
                ernam like mara-ernam,
                aenam like mara-aenam,
                vpsta like mara-vpsta,
          end of itab_mara.
    data: lv_field_seperator type c,     " value 'X',
          lv_xml_doc_name(30) type c,    " string value ‘my xml file’,
          lv_result type i.
          lv_field_seperator = 'x'.
          lv_xml_doc_name = 'my xml file'.
    types: begin of truxs_xml_line,
              data(256) type x,
          end of truxs_xml_line.
    types:truxs_xml_table type table of truxs_xml_line.
    data:lv_tab_converted_data type truxs_xml_line,
         lt_tab_converted_data type truxs_xml_table.
    data: lv_xml_file type rlgrap-filename value 'c:\simp.xml'.
    select matnr ernam aenam vpsta from mara into table itab_mara up to 5
           rows where matnr = p_matnr.
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
       I_FIELD_SEPERATOR          = lv_field_seperator
      I_LINE_HEADER              =
      I_FILENAME                 =
      I_APPL_KEEP                = ' '
       I_XML_DOC_NAME             = lv_xml_doc_name
    IMPORTING
       PE_BIN_FILESIZE            = lv_result
      TABLES
        I_TAB_SAP_DATA             = itab_mara
    CHANGING
       I_TAB_CONVERTED_DATA       = lt_tab_converted_data
    EXCEPTIONS
      CONVERSION_FAILED          = 1
      OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    open dataset lv_xml_file for output in binary mode.
    loop at lt_tab_converted_data into lv_tab_converted_data.
    transfer lv_tab_converted_data to lv_xml_file.
    endloop.
    close dataset lv_xml_file.
    this program is syntactically correct and getting executed, but when i open the target xml file it is showing the following error.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'file:///C:/simp.xml'.
    will anyone show me the possible solution to rectify this error
    thanks and regards,
    anil.

    Hi,
    Here is a small sample program to convert data in an internal table into XML format and display it.
    DATA: itab  TYPE TABLE OF spfli,
          l_xml TYPE REF TO cl_xml_document.
    * Read data into a ITAB
    SELECT * FROM spfli INTO TABLE itab.
    * Create the XML Object
    CREATE OBJECT l_xml.
    * Convert data in ITAB to XML
    CALL METHOD l_xml->create_with_data( name = 'Test1'
                                         dataobject = t_goal[] ).
    * Display XML Document
    CALL METHOD l_xml->display.
    Here are some other sample SAP programs to handle XML in ABAP:
    BCCIIXMLT1, BCCIIXMLT2, and BCCIIXMLT3.
    Hope this helps,
    Sumant.

  • Is there any way through which I can stop download of my ABAP programs???

    Dear all,
    I want to know is there any way through which I can stop download of my ABAP programs so that no one can download or copy my programs without my permission.
    Thanks in Advance
    Sachin Gautam

    Hi again,
    1. In that case we cannot do much.
    2. However,
       we can use
       the exit
       SEUED001
      (fm is EXIT_SAPLS38E_001)
      to restrict the program
      in edit mode,display mode
      etc etc.
      depending upon the PROGRAM NAME.
    I hope that serves your purpose.
    regards,
    amit m.

  • Can't download photos from my iPhone4 into computer

    I don't know what is the problem? I can't download photos from my iPhone4 into computer. Because last week I could download it. Today I've got the error message "Microsoft Office Document Scanning does not support this type of device". How can I solve this problem and this problem is related to my iPhone or my computer?
    Thank you.

    Photos should be downloaded using the scanner and camera wizard and not Office. That will copy pictures into your pictures folder in the My documents folder. This is one of the options that should pop up when you connect the USB cable to your Iphone.

  • I can't download the Adobe Edge Reflow. The file's downloading is successfull but the file doesn't go to my Creative Cloud so I can't install the programme. I have already install the Photoshop CC and the Reflow Plug-in for Photoshop. May I ask help? :) T

    I can't download the Adobe Edge Reflow. The file's downloading is successfull but the file doesn't go to my Creative Cloud so I can't install the programme. I have already install the Photoshop CC and the Reflow Plug-in for Photoshop.

    Hello
    1. I am running on Windows 8.1
    2. When running the installer file from https://creative.adobe.com/products/download/reflow I get the following choice
    I click "OK" which doesn't do anything for me (CC is off).
    I turn CC on and run the installer again. I get the following window that within few settings disappears:
    Then - just for half a second it says "Launching Creative Cloud desktop" and then it brings CC to front, and that's all.
    RF still not there.
    3. I spoke ta support agent on the Adobe chat on Friday. He looked into my computer for an hour. Uninstalled After Effects (after failing to update it). For some reason all apps disappeared from the list. They then reappeared after he opened PS.
    This morning After Effects is still showing up in my system and is operational.
    Weird.
    4. At the end the agent suggested maybe Firewall is the problem here. Trying that out now.

  • How can i download mp3,mp4,flv,vedio,all tape file.

    how can i download mp3,mp4,flv,vedio,all tape file.

    If I understand the question correctly, you want to download certain file types and not play them. See
    [[Set how Firefox handles different types of files]]

  • Where can I download the SOA Order Booking Application Zip files

    the URL of Zip files is http://www.oracle.com/technology/soa/,which is descriped in SOA suite developer's guide,but I can not find it.where can I download the SOA Order Booking Application Zip files,thanks

    The doc:
    http://download-uk.oracle.com/docs/cd/B31017_01/core.1013/b28937/toc.htm
    the zip:
    http://www.oracle.com/technology/software/tech/webservices/index.html
    SOA Overview
    http://orasoa.blogspot.com/2007/05/newbie-getting-started-with-oracle-soa.html

  • How can convert HTML file into xml file?

    Hi,
    I am receving one HTML file as an input and i want to convert that receiving(html file) into .xml file.Is there any converter (tools)to do this.Pls if any give me the details with regard.
    Regards,
    mahesh.

    Use the HTMLEditorKit to parse the html file.
    this kit is having the callback methods which
    are called wenever the tag appears in the HTML
    stream.

  • ABAP Data to XML file

    Hi,
    I have read this weblog
    /people/patrick.baer/blog/2005/02/24/abap-serialization--part-i-quick-n-easy and tried to serialize ABAP data into XML format.
    In fact, I have copied the exact code from this weblog, but somehow this file is not visible in my pc.
    DATA example_data TYPE spfli.
    select single * from spfli into example_data.
    DATA xml_utils TYPE REF TO if_ixml.
    xml_utils = cl_ixml=>create( ).
    DATA xml_stream_factory TYPE REF TO if_ixml_stream_factory.
    xml_stream_factory = xml_utils->create_stream_factory( ).
    DATA xml_output_stream TYPE REF TO if_ixml_ostream.
    xml_output_stream = xml_stream_factory->create_ostream_uri( system_id =
    'file://c:test.xml' ).
    try.
    CALL TRANSFORMATION id
    SOURCE data_node = example_data
    RESULT XML xml_output_stream.
    catch cx_sy_conversion_base64 CX_SY_CONV_ILLEGAL_DATE_TIME.
    write 'there is an exception'.
    endtry.
    This part of the code, I have also changed to :
    xml_stream_factory->create_ostream_uri( system_id =
    'file://test.xml' ).
    and still the file is not visible.
    I presume three reasons:
    a) Looking in the wrong place
    b) Some configuration, I am not doing properly
    c) Something else has to be done, to write a file to system
    Any help on this regard, is highly appreciated.
    Next issue being, how robust is the approach of serializing ABAP data into XML format, so that a third party system can pick up this data and do a comparison ?
    Some parameters that I am looking for in this regards are:
    a) Error Validation (can XML data be incorrectly written into a file/while transmitting this data some errors can creep in. If so, how do I rectify it. As far as I know, this data can only be written to Presentation Server or using FTP ,transported to required destination. Is there any other approach ? )
    b) Security
    Would be great if you could drop some hints for the above procedure.
    Regards,
    Subramanian V.

    I think you are perhaps overestimating the capabilities of the osteam object.  If you want to write the XML to a file the easiest thing to do is render it an ostream_itable (internal ABAP table).  Then you can download it your PC with the GUI_DOWNLOAD function:
    parameter: ifile type file_table-filename obligatory
               default 'c:issue.xml'.
    ****Temp File name for function module call.
    data: ifilename type string.
      move ifile to ifilename.
      create object issue
         exporting
           id     = id
           create_mode = abap_false.
      data: g_ixml type ref to if_ixml,
             g_stream_factory type ref to if_ixml_stream_factory,
             xslt_err type ref to cx_xslt_exception,
             g_encoding type ref to if_ixml_encoding,
             ostream type ref to if_ixml_ostream.
      constants:  line_length type i value 4096.
      types:      line_t(line_length) type x,
                  table_t type standard table of line_t.
      data: restab type table_t.
      constants:
    * encoding for download of XML files
        encoding     type string value 'utf-8'.
      data: ressize type i.
      try.
          g_ixml = cl_ixml=>create( ).
          g_stream_factory = g_ixml->create_stream_factory( ).
          g_encoding = g_ixml->create_encoding( character_set = encoding
            byte_order = 0 ).
          refresh restab.
          ostream =
            g_stream_factory->create_ostream_itable( table = restab ).
          ostream->set_encoding( encoding = g_encoding ).
          call transformation id_indent
            source     asap_issue = issue
            result xml restab
            options
            data_refs = 'embedded'.
          ressize = ostream->get_num_written_raw( ).
        catch cx_xslt_exception into xslt_err.
          data: s type string.
          s = xslt_err->get_text( ).
      endtry.
      call function 'GUI_DOWNLOAD'
        exporting
          bin_filesize = ressize
          filename     = ifilename
          filetype     = 'BIN'
        tables
          data_tab     = restab
        exceptions
          others       = 1.
      call method cl_gui_frontend_services=>execute
         exporting
           document               = ifilename
    *    APPLICATION            =
    *    PARAMETER              =
    *    DEFAULT_DIRECTORY      =
    *    MAXIMIZED              =
    *    MINIMIZED              =
    *    SYNCHRONOUS            =
        exceptions
          cntl_error             = 1
          error_no_gui           = 2
          bad_parameter          = 3
          file_not_found         = 4
          path_not_found         = 5
          file_extension_unknown = 6
          error_execute_failed   = 7
          others                 = 8.
    As far as a different system, once you have the data serialized into a string or internal table you have lots of possibilites.  If the other system is an SAP system you could send the data via RFC.  You could always write the XML string to the server file system (via open dataset, transfer to dataset).  You can then FTP the file (using built in SAP FTP functionality) just about anywhere.
    What are you looking for as far as robust and secure.  The XML serializer is built in the ABAP Kernel and quite robust.  As far as secure- the data isn't secure at all.  The data is written into a simple string (if written into the file system or your pc - it is a text or binary file that can easily be read by just about anything).  Serializing to XML in and of itself isn't going to provide any security.

  • How can I delete only one part of my xml file?

    Hello,
    I stored more than 100 users in only one xmltype column. For instance
    Create table agro(users XMLTYPE);
    ... and I inserted all users inside
    INSERT INTO agro values(XMLTYPE
    ('<?xml version="1.0" encoding="ISO-8859-1"?>
    <authentication><users><user>
    <name>cocoon</name>
    <password>cocoon</password>
    <role>admin</role>
    <title>Mr.</title>
    <firstname>Walter</firstname>
    <lastname>Cocoon</lastname>
    <company />
    <street />
    <zipcode />
    <city />
    <country>DE</country>
    <phone />
    <fax />
    <email />
    <bankid />
    <bankname />
    <accountid />
    </user>
    ... another user, etc.
    </users></authentication>'));
    Now I tried to delete only one part of this file. For example all persons with the name"cocoon".
    I used for this target the following statement:
    DELETE FROM agro agro
    WHERE agro.users.extract('authentication/users/user/text()').getStringVal()= 'cocoon';
    When I execute this statement, Oracle DB delete all users and not only with the name "Cocoon".
    How can I delete only one part of my xml file?
    Kind Regards
    M R

    This the expected behavoir. You uploaded a document containing multiple users and then asked XML DB to delete any documnet that contained a user with the name in question. The problem here is that you are creating a mega document that contains an aggregation of user documents but then trying to work with individual user documents. This is a bad idea.
    In general XML does not understand the concept of a collection of documents. It can only operate on one document at a time. Hence the tendancy to aggregate individual documents into a single larger document. Once you have an XML database, you can perform operations on collections of document, as easily as you can perform operations on individual documents, so the need to aggregate the individual documents together disappears.
    If you store each user document as a seperate document then your delete will work as expected.

  • Why we need to conver Context  Node data into XML file----Export to Excel

    Hi All,
    Let me clarify my dought........today i have gone through the concept of  "Exporting Context Data Using the Webdynpro Binary cache" in SAP Online Help.
    From the SAP Online Help pdf document, i have found that, the context node data has been converted first in to XML file,after that file had been stored in the web dynpor binary cache...bla....bla.........
    Here my qtn is why they had converted context node data into XML file. With out doing that can not we export context node data to excel file..?
    Regards
    Seshu
    Edited by: Sesshanna D on Dec 19, 2007 7:25 AM

    Hi Sesshanna,
    it is not neccessary to do that but xml has the advantage, that it can be easily transformed into every output format that might occur in later project stages.
    If it's simply about blowing out some Excel, I suggest using an OSS library such as jexcelAPI or Jakarta POI and building the Excel how you need it.
    regards,
    Christian

  • How to convert Xls file into Xml file

    Hi,
    I am trying to convert Xls file into Xml  but there  is no any direct procedure for it
    Pls help me out to convert Xls file into Xml file
    Thanks
    Anushree

    you will require to write a module in your file adapter for the same.
    ref: /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter as mentioned in the earlier post.
    Else you can also use Conversion Agent to read the same.
    Ref: http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm

  • How to convert database table into xml file

    Hi.
    How to convert database table into XML file in Oracle HTML DB.
    Please let me know.
    Thanks.

    This not really a specific APEX question... but I search the database forum and found this thread which I think will help
    Exporting Oracle table to XML
    If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
    http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
    Hope this helps
    Chris

  • Can I restore MY RATINGS from the library.xml file alone?

    That's the question - Can I restore MY RATINGS from the library.xml file alone?
    Some facts to consider before replying:
    1. I do not have the ITL file, so that solution is out.
    2. My ipod was restored so NO ratings there either.
    3. So far I have only seen programs to use BEFORE losing your itunes library. IF YOU KNOW a third party's program can help me AFTER THE FACT then tell me about it.
    4. I HAVE searched these forums for previous threads. (a) searching engine needs big help and (b) among the 2 dozen finds, no solution for "only XML" found. If you got THAT threads url, post it!
    So, using an old library.xml file, is there a way to get this info into itunes.
    thanks
    Gc
    p4 3Ghz box   Windows XP Pro   only the ipod can lock it up
    p4 3Ghz box   Windows XP Pro   if you can give me $10K in replacement software, I'll be glad to switch to MAC

    there is mention of a hta
    script, SaveRatings.hta , that saves and restores
    the xml data.
    The save button worked just fine. ..........
    Turns out the restore button works just fine too when I dont toss in my homemade ratings.xml before clicking restore;-)
    more explained at http://discussions.apple.com/thread.jspa?threadID=587586&tstart=0
    anyway Otto's saveratings is a excellent tool to have on your drive. Unless you like re-rating 1400 or 1500 rated songs...........
    Gc
    p4 3Ghz box   Windows XP Pro   only the ipod can lock it up

  • Can anyone get LPX to actually read FCPX XML files properly?

    Can anyone get LPX to actually read FCPX XML files properly?  I'm in the latest versions of FCPX, LPX, and OS X Mavericks, and it simply doesn't work at all.  Total failure.  Can anyone get this to work properly?

    I haven't used it on a current project, but I did test it, and it worked fine. I was able to save an XML file, render a proxy video, and import them both into LPX. I was able to make some tweaks and export it all back to FCPX.
    While Roles are not addressed as elegantly as the app X2Pro does for Pro Tools, the process works.
    I'm running Mavericks on a MBP and a "CustoMac".

Maybe you are looking for