Unnecessary modules in serverindex.xml file - Websphere

Hello, I'm Italian so excuse me for my bad English
I have a lot of .ear files in my serverindex.xml file... Do I need they?
There are these files
Web_Portlets_PA_dlvx0o3.ear/deployments/Web_Portlets_PA_dlvx0o3
Bookmarks_PA_dlwwvnb.ear/deployments/Bookmarks_PA_dlwwvnb
SQL_Query_Portlet_PA_dlwwrsn.ear/deployments/SQL_Query_Portlet_PA_dlwwrsn
XSLT_Portlet_PA_dlvx59j.ear/deployments/XSLT_Portlet_PA_dlvx59j
Document_V_er_Portlet_PA_dlwyog0.ear/deployments/Document_V_er_Portlet_PA_dlwyog0
Reminder_PA_dlwwi46.ear/deployments/Reminder_PA_dlwwi46
wps.ear/deployments/wps
dmdesktop.ear/deployments/dmdesktop
content_j2ee.ear/deployments/content_j2ee
odc.ear/deployments/odc
icmjcrear.ear/deployments/icmjcrear
pznscheduler.ear/deployments/pznscheduler
pznpublish.ear/deployments/pznpublish
PZN_Utilities.ear/deployments/PZN_Utilities
Personalization Workspace 6.ear/deployments/Personalization Workspace 6
Personalization Lists 6.ear/deployments/Personalization Lists 6
wcm.ear/deployments/wcm
ilwwcm-wcmsearchseed.ear/deployments/ilwwcm-wcmsearchseed
SyncMLServer.ear/deployments/SyncMLServer
LWP_Designer_Runtime.ear/deployments/LWP_Designer_Runtime
wmmApp.ear/deployments/wmmApp
IEHS_war.ear/deployments/IEHS_war
WebResourceServlet.ear/deployments/WebResourceServlet
LWP_Mail_Servlets.ear/deployments/LWP_Mail_Servlets
LWP_People.ear/deployments/LWP_People
LWP_Scheduler_Resource.ear/deployments/LWP_Scheduler_Resource
LWP_Security_Ext.ear/deployments/LWP_Security_Ext
LWP_TAI.ear/deployments/LWP_TAI
TemplateLibrary_Servlets.ear/deployments/TemplateLibrary_Servlets
WSPolicyManager.ear/deployments/WSPolicyManager
LWP_CAI.ear/deployments/LWP_CAI
TplApp_PA_dlw078o.ear/deployments/TplApp_PA_dlw078o
DynamicUIApp_PA_dlw0dts.ear/deployments/DynamicUIApp_PA_dlw0dts
Palette_Po_pplication_PA_dlvy9kr.ear/deployments/Palette_Po_pplication_PA_dlvy9kr
ParamConfig_PA_dlvylg2.ear/deployments/ParamConfig_PA_dlvylg2
Properties_pplication_PA_dlvyrjf.ear/deployments/Properties_pplication_PA_dlvyrjf
Roles_PA_dlvyy1i.ear/deployments/Roles_PA_dlvyy1i
Community_pplication_PA_dlvz42z.ear/deployments/Community_pplication_PA_dlvz42z
Application_Catalog_PA_dlvzaci.ear/deployments/Application_Catalog_PA_dlvzaci
BlurbPortlet_PA_dlvwv6a.ear/deployments/BlurbPortlet_PA_dlvwv6a
Login_Port_pplication_PA_dlvxk11.ear/deployments/Login_Port_pplication_PA_dlvxk11
WPS_Welcome_Portlet_PA_dlvv4ep.ear/deployments/WPS_Welcome_Portlet_PA_dlvv4ep
Selfcare_P_pplication_PA_dlvxo22.ear/deployments/Selfcare_P_pplication_PA_dlvxo22
Tracing_PA_dlvwfj0.ear/deployments/Tracing_PA_dlvwfj0
Manage_Pag_Favorites_PA_dlvuw6u.ear/deployments/Manage_Pag_Favorites_PA_dlvuw6u
Principals_Manager_PA_dlvwaym.ear/deployments/Principals_Manager_PA_dlvwaym
ResourceView_web_app_PA_dlvvrv9.ear/deployments/ResourceView_web_app_PA_dlvvrv9
Portlet_Manager_PA_dlvu625.ear/deployments/Portlet_Manager_PA_dlvu625
Properties_web_app_PA_dlvur51.ear/deployments/Properties_web_app_PA_dlvur51
ThemesAndS_er_web_app_PA_dlvuix2.ear/deployments/ThemesAndS_er_web_app_PA_dlvuix2
UniqueNames_PA_dlvwmxm.ear/deployments/UniqueNames_PA_dlvwmxm
Manage_Vir_al_Portals_PA_dlvxeqc.ear/deployments/Manage_Vir_al_Portals_PA_dlvxeqc
Microsoft_change2000_PA_dlwxdt2.ear/deployments/Microsoft_change2000_PA_dlwxdt
WPSPortlet_arketWatch_PA_dlwyxxi.ear/deployments/WPSPortlet_arketWatch_PA_dlwyxxi
MyList_PA_dlwwdea.ear/deployments/MyList_PA_dlwwdea
QuickLinks_PA_dlwy8rb.ear/deployments/QuickLinks_PA_dlwy8rb
SpellCheck_icePortlet_PA_dlx30au.ear/deployments/SpellCheck_icePortlet_PA_dlx30au
Lotus_Document_Viewer_PA_dlwnwg2.ear/deployments/Lotus_Document_Viewer_PA_dlwnwg2
My_QuickPlaces_PA_dlwowqp.ear/deployments/My_QuickPlaces_PA_dlwowqp
Lotus_Web_nferencing_PA_dlwp5d1.ear/deployments/Lotus_Web_nferencing_PA_dlwp5d1
LotusNotesPortlets_PA_dlwo95d.ear/deployments/LotusNotesPortlets_PA_dlwo95d
Sametime_Contact_List_PA_dlwoopk.ear/deployments/Sametime_Contact_List_PA_dlwoopk
Sametime_Who_Is_Here_PA_dlwpfio.ear/deployments/Sametime_Who_Is_Here_PA_dlwpfio
Domino_Web_s_Servlet_PA_dlwnpgv.ear/deployments/Domino_Web_s_Servlet_PA_dlwnpgv
QuickPlacePortlet_PA_dlwohwu.ear/deployments/QuickPlacePortlet_PA_dlwohwu
Template_C_pplication_PA_dlvyeaz.ear/deployments/Template_C_pplication_PA_dlvyeaz
Domino_PA_dlwo2bd.ear/deployments/Domino_PA_dlwo2bd
WebScanner_PA_dlvxsci.ear/deployments/WebScanner_PA_dlvxsci
PznTransformationApp_PA_dlxai1p.ear/deployments/PznTransformationApp_PA_dlxai1p
WCM_Local_ng_Portlet_PA_dm010y1.ear/deployments/WCM_Local_ng_Portlet_PA_dm010y1
WCM_Administration_PA_dm01j5p.ear/deployments/WCM_Administration_PA_dm01j5p
Groups_Vie_pplication_PA_dlwm8y6.ear/deployments/Groups_Vie_pplication_PA_dlwm8y6
IBM_Common_pplication_PA_dlwl3uo.ear/deployments/IBM_Common_pplication_PA_dlwl3uo
IBM_Common_pplication_PA_dlwlqn5.ear/deployments/IBM_Common_pplication_PA_dlwlqn5
People_Finder_Portlet_PA_dlwmolm.ear/deployments/People_Finder_Portlet_PA_dlwmolm
Document_Manager_PA_dlx1pdp.ear/deployments/Document_Manager_PA_dlx1pdp
Edit_page_and_layout_PA_dlvumqv.ear/deployments/Edit_page_and_layout_PA_dlvumqv
portletWiring_web_app_PA_dlvttcc.ear/deployments/portletWiring_web_app_PA_dlvttcc
StrutsPortlet_PA_dlwwm4i.ear/deployments/StrutsPortlet_PA_dlwwm4i
PolicyEditor_web_app_PA_dlvw56i.ear/deployments/PolicyEditor_web_app_PA_dlvw56i
PolicyExplorer_PA_dlvvyc1.ear/deployments/PolicyExplorer_PA_dlvvyc1
SrchCntr_PA_dlwqh73.ear/deployments/SrchCntr_PA_dlwqh73
People_Pic_pplication_PA_dlwndkx.ear/deployments/People_Pic_pplication_PA_dlwndkx
SIAPIPortlet_PA_dlvy4no.ear/deployments/SIAPIPortlet_PA_dlvy4no
Settings_PA_dlvvc1w.ear/deployments/Settings_PA_dlvvc1w
Markups_Manager_PA_dlvvfu4.ear/deployments/Markups_Manager_PA_dlvvfu4
Clients_Manager_PA_dlvwj61.ear/deployments/Clients_Manager_PA_dlvwj61
Import_XML_PA_dlvx93a.ear/deployments/Import_XML_PA_dlvx93a
Manage_Webservices_PA_dlvucxs.ear/deployments/Manage_Webservices_PA_dlvucxs
Credential_nistration_PA_dlvv867.ear/deployments/Credential_nistration_PA_dlvv867
URL_mapping_web_app_PA_dlvwqvz.ear/deployments/URL_mapping_web_app_PA_dlvwqvz
ServletInvoker_PA_dlwycm1.ear/deployments/ServletInvoker_PA_dlwycm1
JSPServer_PA_dlwygqa.ear/deployments/JSPServer_PA_dlwygqa
FileServer_PA_dlwykpo.ear/deployments/FileServer_PA_dlwykpo
CSV_File_Viewer_PA_dlwytae.ear/deployments/CSV_File_Viewer_PA_dlwytae
dynamicpersontag_PA_dlwn3bk.ear/deployments/dynamicpersontag_PA_dlwn3bk
Search_Sit_ap_Portlet_PA_dlvy0ch.ear/deployments/Search_Sit_ap_Portlet_PA_dlvy0ch
appearance_web_app_PA_dlvvk0q.ear/deployments/appearance_web_app_PA_dlvvk0q
Set_Permis_s_Portlets_PA_dlvvnrl.ear/deployments/Set_Permis_s_Portlets_PA_dlvvnrl
FrequentUsers_web_app_PA_dlvv0yx.ear/deployments/FrequentUsers_web_app_PA_dlvv0yx
PolicyEdit_CA_web_app_wqhtbvl.ear/deployments/PolicyEdit_CA_web_app_wqhtbvl
Policy_Status_wqhtncd.ear/deployments/Policy_Status_wqhtncd
Add_to_Sam_st_Portlet_wqhsqlq.ear/deployments/Add_to_Sam_st_Portlet_wqhsqlq
WCM_Authoring_UI_1jqz9oid.ear/deployments/WCM_Authoring_UI_1jqz9oid
what do they do?
Can I remove any of these files?
Thank you

We were deploying Win 8.1 for a couple of months without an answer file but that doesn't help when you want certain things configured that an answer file will handle. My first answer file had too much going on and Win 8.1 didn't like it much.
My new answer file now sets our support information and registered user/org. Works like a charm.
EULA is being accepted, local admin is enabled, partitioning is being done correctly; all without the answer file handling it.

Similar Messages

  • Function module to read XML file in ABAP

    Hey guys
    is there any function module which can read an XML file into an ABAP code?
    we are getting some file on the application server in XML format and we need to read this file in ABAP code,how can i achieve this ?
    thanz
    ahmad

    Hi Ahmad,
      These are few functions to work with XML in ABAP.
      SDIXML_DATA_TO_DOM: Convert SAP data (elementary/structured/table types) into DOM (XML)       
    SDIXML_DOM_TO_XML: Convert DOM (XML) into string of bytes that can be downloaded to PC or application server
    SDIXML_DOM_TO_SCREEN: Display DOM (XML)
    SDIXML_DOM_TO_DATA
    Example of using these:
    eport z.
    data: it_table like t001 occurs 0.
    data: l_dom      TYPE REF TO IF_IXML_ELEMENT,
          m_document TYPE REF TO IF_IXML_DOCUMENT,
          g_ixml     TYPE REF TO IF_IXML,
          w_string   TYPE XSTRING,
          w_size     TYPE I,
          w_result   TYPE I,
          w_line     TYPE STRING,
          it_xml     TYPE DCXMLLINES,
          s_xml      like line of it_xml,
          w_rc       like sy-subrc.
    start-of-selection.
      select * from t001 into table it_table.
    end-of-selection.
    initialize iXML-Framework          ****
      write: / 'initialiazing iXML:'.
      class cl_ixml definition load.
      g_ixml = cl_ixml=>create( ).
      check not g_ixml is initial.
      write: 'ok'.
    create DOM from SAP data           ****
      write: / 'creating iXML doc:'.
      m_document = g_ixml->create_document( ).
      check not m_document is initial.
      write: 'ok'.
      write: / 'converting DATA TO DOM 1:'.
      CALL FUNCTION 'SDIXML_DATA_TO_DOM'
        EXPORTING
          NAME               = 'IT_TABLE'
          DATAOBJECT         = it_table[]
        IMPORTING
          DATA_AS_DOM        = l_dom
        CHANGING
          DOCUMENT           = m_document
        EXCEPTIONS
          ILLEGAL_NAME       = 1
          OTHERS             = 2.
      if sy-subrc = 0.  write  'ok'.
      else.             write: 'Err =', sy-subrc.
      endif.
      check not l_dom is initial.
      write: / 'appending DOM to iXML doc:'.
      w_rc = m_document->append_child( new_child = l_dom ).
      if w_rc is initial.  write  'ok'.
      else.                write: 'Err =', w_rc.
      endif.
    visualize iXML (DOM)               ****
      write: / 'displaying DOM:'.
      CALL FUNCTION 'SDIXML_DOM_TO_SCREEN'
        EXPORTING
          DOCUMENT          = m_document
        EXCEPTIONS
          NO_DOCUMENT       = 1
          OTHERS            = 2.
      if sy-subrc = 0.  write  'ok'.
      else.             write: 'Err =', sy-subrc.
      endif.
    convert DOM to XML doc (table)     ****
      write: / 'converting DOM TO XML:'.
      CALL FUNCTION 'SDIXML_DOM_TO_XML'
        EXPORTING
          DOCUMENT            = m_document
        PRETTY_PRINT        = ' '
        IMPORTING
          XML_AS_STRING       = w_string
          SIZE                = w_size
        TABLES
          XML_AS_TABLE        = it_xml
        EXCEPTIONS
          NO_DOCUMENT         = 1
          OTHERS              = 2.
      if sy-subrc = 0.   write  'ok'.
      else.              write: 'Err =', sy-subrc.
      endif.
      write: / 'XML as string of size:', w_size, / w_string.
      describe table it_xml lines w_result.
      write: / 'XML as table of', w_result, 'lines:'..
      loop at it_xml into s_xml.
        write s_xml.
      endloop.
      write: / 'end of processing'.
    end of code
    Let me know if you have further questions..
    BR
    Rakesh

  • Function module to read xml file

    Hi
    Can anyone help me with using function module to read the xml file into SAP. Any ideas! Any help!
    Thanks

    Found a note, but not very helpful
    Note 877328 - SE37: Error when generating the test frame

  • Function module to download XML file to local file

    Hello Friends,
    I have an XML string,is there a function module,which helps me in
    downloading this XML string as an XML file ,to local disk.
    regards
    kaushik

    Hello Kaushik
    Define an itab of TYPE string, append your single XML string and download the itab using method GUI_DOWNLOAD of class CL_GUI_FRONTEND_SERVICES.
    DATA:
      lt_xml  TYPE TABLE OF string.
      APPEND ld_xml TO lt_xml.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
        EXPORTING
    Regards,
      Uwe

  • Function module to read xml files from application server

    Hi experts,
            I need to read  xml files from application server to sap. Is the any siutable function moldule for that?

    Hi Cenosure,
    Donno about FM which will upload data directly to SAP, I think you have to do some mapping for it so that it will suit the SAP format. Again it depends on your requirement..
    Please elaborate more about your requirement.
    Please have a look on below FM
    TEXT_CONVERT_XML_TO_SAP
    Also search on SCN there are many threads on the same topic available.
    http://abapreports.blogspot.com/2008/09/upload-xml-file-from-application-server.html
    This is the link which will give you the Code
    http://www.geocities.com/rmtiwari/Resources/MySolutions/Dev/Codes/Report/Z_RMTIWARI_XML_TO_ABAP_46C.html
    Use this XML file to Upload the same, this Program will work for your XML file also,
    http://www.geocities.com/rmtiwari/Resources/MySolutions/Dev/Codes/Report/input_xml.xml
    See the below thread also
    Upload XML to internal table and vice versa in SAP 4.6C
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • FM to read XML files from Application server in ECC5.0

    Hi All,
    We need to pick up an XML file from Application server/FTP server. The requirement is to parse the XML file and process it to create material master. SAP provides standard function modules to read XML files.
    Now we need to read the XML file contents of MM01 and upload into SAP Data Base through BAPI
    I need to know about the Function modules to read XML files from Application Server and also about the FM's that will update the Date base tables with the data obtained form XML files.
    Regards
    Prathima

    Parsing XML data:
    http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/frameset.htm
    or alternatively check out ABAP online help for "CALL TRANSFORMATION".
    For creating the material master look at BAPI_STANDARDMATERIAL_CREATE.
    Thomas

  • Error when Uploading _fmb.xml files

    Hi...
    I'm a newbie in Apex. I'm trying to create a migration project (ie migrating Oracle Forms 6i/10g to xml via Apex). I've converted the *.fmb files to _fmb.xml using frmf2xml.bat utility. My problem is when I tried to upload the _fmb.xml, this error appears:
    +1 error has occurred+
    +•Select the Forms File you want to upload. For Forms Modules, upload the XML file which is generated by the Forms2XML conversion tool, containing the information of your Forms Module. (Go to error)+
    the error message is - javascript:apex.jQuery('#P3_FORMS_XML_FILE').focus();void(0)
    the url returns: http://localhost:8080/apex/wwv_flow.accept
    I've also tried to upload any type of file but it still returns the same error message. Please, anyone can help me...
    Thanks.

    when i tried the online workspace as in http://apex.oracle.com/pls/apex/, i successfully created the migration project. But still failed to do it locally. Obviosly my locally setup Apex is having problem uploading the _fmb.xml files. Where have i gone wrong? Could anyone please help me?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Help regarding uploading an xml file

    Hi All
    I have to upload data from an xml file.
    I guess the function module SMUM_XML_PARSE can be used for achieving this. But can anybody please tell me the exact procedure to use this function module.
    The program is going for a dump showing a CALL_FUNCTION_CONFLICT_TYPE error.
    The code is as follows
    data: stab like smum_xmltb occurs 0 with header line.
    data: ret1 like bapiret2 occurs 0.
          call function 'SMUM_XML_PARSE'
            exporting
              xml_input       = 'C:TEST.XML'
            tables
              xml_table       = stab
              return          = ret1
    loop at stab.
      write:/ stab-hier,stab-type.
    endloop.
    Thanks in advance
    Sree Ramya

    hii
    as for fm
    CALL FUNCTION 'SMUM_XML_PARSE'
    EXPORTING
    XML_INPUT = inputstring
    TABLES
    XML_TABLE = xmltab
    RETURN = ZBAPIRET2.
    This function module converts yr xml file i.e. in inputstring into zmltab table. Then U can loop on table to check the content.
    go thru this link
    http://www.geocities.com/victorav15/sapr3/abapfun.html#xml
    and also refer the example
    check this code
    1. Convert internal table to XML.
    Here is a sample program to convert internal table to XML
    *& Report ZTESTXML *
    Report ZPRUEBA_MML_13 *
    Export an internal table to XML document *
    NO BORRAR ESTE CODIGO *
    report zprueba_mml_13.
    PANTALLA SELECCION *
    parameters: gk_ruta type rlgrap-filename.
    PANTALLA SELECCION *
    TYPE TURNOS *
    types: begin of turnos,
    lu like t552a-tpr01,
    ma like t552a-tpr01,
    mi like t552a-tpr01,
    ju like t552a-tpr01,
    vi like t552a-tpr01,
    sa like t552a-tpr01,
    do like t552a-tpr01,
    end of turnos.
    TYPE TURNOS *
    TYPE SOCIO *
    types: begin of socio,
    numero like pernr-pernr,
    reposicion like pa0050-zauve,
    nombre like pa0002-vorna,
    turnos type turnos,
    end of socio.
    TYPE SOCIO *
    ESTRUCTURA ACCESOS *
    data: begin of accesos occurs 0,
    socio type socio,
    end of accesos.
    ESTRUCTURA ACCESOS *
    START OF SELECTION *
    start-of-selection.
    perform llena_accesos.
    perform descarga_xml.
    end-of-selection.
    END OF SELECTION *
    FORM LLENA_ACCESOS *
    form llena_accesos.
    refresh accesos.
    clear accesos.
    move: '45050' to accesos-socio-numero,
    'MOISES MORENO' to accesos-socio-nombre,
    '0' to accesos-socio-reposicion,
    'T1' to accesos-socio-turnos-lu,
    'T2' to accesos-socio-turnos-ma,
    'T3' to accesos-socio-turnos-mi,
    'T4' to accesos-socio-turnos-ju,
    'T5' to accesos-socio-turnos-vi,
    'T6' to accesos-socio-turnos-sa,
    'T7' to accesos-socio-turnos-do.
    append accesos.
    clear accesos.
    move: '45051' to accesos-socio-numero,
    'RUTH PEÑA' to accesos-socio-nombre,
    '0' to accesos-socio-reposicion,
    'T1' to accesos-socio-turnos-lu,
    'T2' to accesos-socio-turnos-ma,
    'T3' to accesos-socio-turnos-mi,
    'T4' to accesos-socio-turnos-ju,
    'T5' to accesos-socio-turnos-vi,
    'T6' to accesos-socio-turnos-sa,
    'T7' to accesos-socio-turnos-do.
    append accesos.
    endform. "LLENA_ACCESOS
    FORM LLENA_ACCESOS *
    FORM DESCARGA_XML *
    form descarga_xml.
    data: l_dom type ref to if_ixml_element,
    m_document type ref to if_ixml_document,
    g_ixml type ref to if_ixml,
    w_string type xstring,
    w_size type i,
    w_result type i,
    w_line type string,
    it_xml type dcxmllines,
    s_xml like line of it_xml,
    w_rc like sy-subrc.
    data: xml type dcxmllines.
    data: rc type sy-subrc,
    begin of xml_tab occurs 0,
    d like line of xml,
    end of xml_tab.
    class cl_ixml definition load.
    g_ixml = cl_ixml=>create( ).
    check not g_ixml is initial.
    m_document = g_ixml->create_document( ).
    check not m_document is initial.
    write: / 'Converting DATA TO DOM 1:'.
    call function 'SDIXML_DATA_TO_DOM'
    exporting
    name = 'ACCESOS'
    dataobject = accesos[]
    importing
    data_as_dom = l_dom
    changing
    document = m_document
    exceptions
    illegal_name = 1
    others = 2.
    if sy-subrc = 0.
    write 'Ok'.
    else.
    write: 'Err =',
    sy-subrc.
    endif.
    check not l_dom is initial.
    w_rc = m_document->append_child( new_child = l_dom ).
    if w_rc is initial.
    write 'Ok'.
    else.
    write: 'Err =',
    w_rc.
    endif.
    call function 'SDIXML_DOM_TO_XML'
    exporting
    document = m_document
    importing
    xml_as_string = w_string
    size = w_size
    tables
    xml_as_table = it_xml
    exceptions
    no_document = 1
    others = 2.
    if sy-subrc = 0.
    write 'Ok'.
    else.
    write: 'Err =',
    sy-subrc.
    endif.
    loop at it_xml into xml_tab-d.
    append xml_tab.
    endloop.
    call function 'WS_DOWNLOAD'
    exporting
    bin_filesize = w_size
    filename = gk_ruta
    filetype = 'BIN'
    tables
    data_tab = xml_tab
    exceptions
    others = 10.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    endform. "DESCARGA_XML
    FORM DESCARGA_XML *
    2. To convert XML to internal table.
    You can use these function modules
    TEXT_CONVERT_XML_TO_SAP or
    SDIXML_DOM_TO_XML Convert DOM (XML) into string of bytes that can be downloaded to PC or application server
    or
    SMUM_XML_PARSE (Parse XML docment into a table structure)
    You can also refer to these:
    SMUM_XML_CREATE (Create XML document from internal table)
    SMUM_XML_CREATE_X (Create XSTRING xml doc)
    Check this code, it converts an XML data into a string internal table.
    REPORT Z_XML_TO_TABLE.
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF t_xml_line,
    data(256) TYPE x,
    END OF t_xml_line.
    DATA: l_ixml TYPE REF TO if_ixml,
    l_streamfactory TYPE REF TO if_ixml_stream_factory,
    l_parser TYPE REF TO if_ixml_parser,
    l_istream TYPE REF TO if_ixml_istream,
    l_document TYPE REF TO if_ixml_document,
    l_node TYPE REF TO if_ixml_node,
    l_xmldata TYPE string.
    DATA: l_elem TYPE REF TO if_ixml_element,
    l_root_node TYPE REF TO if_ixml_node,
    l_next_node TYPE REF TO if_ixml_node,
    l_name TYPE string,
    l_iterator TYPE REF TO if_ixml_node_iterator.
    DATA: l_xml_table TYPE TABLE OF t_xml_line,
    l_xml_line TYPE t_xml_line,
    l_xml_table_size TYPE i.
    DATA: l_filename TYPE string.
    PARAMETERS: pa_file TYPE char1024 DEFAULT 'c:     emporders_dtd.xml'.
    Validation of XML file: Only DTD included in xml document is supported
    PARAMETERS: pa_val TYPE char1 AS CHECKBOX.
    START-OF-SELECTION.
    Creating the main iXML factory
    l_ixml = cl_ixml=>create( ).
    Creating a stream factory
    l_streamfactory = l_ixml->create_stream_factory( ).
    PERFORM get_xml_table CHANGING l_xml_table_size l_xml_table.
    wrap the table containing the file into a stream
    l_istream = l_streamfactory->create_istream_itable( table =
    l_xml_table
    size =
    l_xml_table_size ).
    Creating a document
    l_document = l_ixml->create_document( ).
    Create a Parser
    l_parser = l_ixml->create_parser( stream_factory = l_streamfactory
    istream = l_istream
    document = l_document ).
    Validate a document
    IF pa_val EQ 'X'.
    l_parser->set_validating( mode = if_ixml_parser=>co_validate ).
    ENDIF.
    Parse the stream
    IF l_parser->parse( ) NE 0.
    IF l_parser->num_errors( ) NE 0.
    DATA: parseerror TYPE REF TO if_ixml_parse_error,
    str TYPE string,
    i TYPE i,
    count TYPE i,
    index TYPE i.
    count = l_parser->num_errors( ).
    WRITE: count, ' parse errors have occured:'.
    index = 0.
    WHILE index < count.
    parseerror = l_parser->get_error( index = index ).
    i = parseerror->get_line( ).
    WRITE: 'line: ', i.
    i = parseerror->get_column( ).
    WRITE: 'column: ', i.
    str = parseerror->get_reason( ).
    WRITE: str.
    index = index + 1.
    ENDWHILE.
    ENDIF.
    ENDIF.
    Process the document
    IF l_parser->is_dom_generating( ) EQ 'X'.
    PERFORM process_dom USING l_document.
    ENDIF.
    *& Form get_xml_table
    FORM get_xml_table CHANGING l_xml_table_size TYPE i
    l_xml_table TYPE STANDARD TABLE.
    Local variable declaration
    DATA: l_len TYPE i,
    l_len2 TYPE i,
    l_tab TYPE tsfixml,
    l_content TYPE string,
    l_str1 TYPE string,
    c_conv TYPE REF TO cl_abap_conv_in_ce,
    l_itab TYPE TABLE OF string.
    l_filename = pa_file.
    upload a file from the client's workstation
    CALL METHOD cl_gui_frontend_services=>gui_upload
    EXPORTING
    filename = l_filename
    filetype = 'BIN'
    IMPORTING
    filelength = l_xml_table_size
    CHANGING
    data_tab = l_xml_table
    EXCEPTIONS
    OTHERS = 19.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Writing the XML document to the screen
    CLEAR l_str1.
    LOOP AT l_xml_table INTO l_xml_line.
    c_conv = cl_abap_conv_in_ce=>create( input = l_xml_line-data
    replacement = space ).
    c_conv->read( IMPORTING data = l_content len = l_len ).
    CONCATENATE l_str1 l_content INTO l_str1.
    ENDLOOP.
    l_str1 = l_str1+0(l_xml_table_size).
    SPLIT l_str1 AT cl_abap_char_utilities=>cr_lf INTO TABLE l_itab.
    WRITE: /.
    WRITE: /' XML File'.
    WRITE: /.
    LOOP AT l_itab INTO l_str1.
    REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab
    IN
    l_str1 WITH space.
    WRITE: / l_str1.
    ENDLOOP.
    WRITE: /.
    ENDFORM. "get_xml_table
    *& Form process_dom
    FORM process_dom USING document TYPE REF TO if_ixml_document.
    DATA: node TYPE REF TO if_ixml_node,
    iterator TYPE REF TO if_ixml_node_iterator,
    nodemap TYPE REF TO if_ixml_named_node_map,
    attr TYPE REF TO if_ixml_node,
    name TYPE string,
    prefix TYPE string,
    value TYPE string,
    indent TYPE i,
    count TYPE i,
    index TYPE i.
    node ?= document.
    CHECK NOT node IS INITIAL.
    ULINE.
    WRITE: /.
    WRITE: /' DOM-TREE'.
    WRITE: /.
    IF node IS INITIAL. EXIT. ENDIF.
    create a node iterator
    iterator = node->create_iterator( ).
    get current node
    node = iterator->get_next( ).
    loop over all nodes
    WHILE NOT node IS INITIAL.
    indent = node->get_height( ) * 2.
    indent = indent + 20.
    CASE node->get_type( ).
    WHEN if_ixml_node=>co_node_element.
    element node
    name = node->get_name( ).
    nodemap = node->get_attributes( ).
    WRITE: / 'ELEMENT :'.
    WRITE: AT indent name COLOR COL_POSITIVE INVERSE.
    IF NOT nodemap IS INITIAL.
    attributes
    count = nodemap->get_length( ).
    DO count TIMES.
    index = sy-index - 1.
    attr = nodemap->get_item( index ).
    name = attr->get_name( ).
    prefix = attr->get_namespace_prefix( ).
    value = attr->get_value( ).
    WRITE: / 'ATTRIBUTE:'.
    WRITE: AT indent name COLOR COL_HEADING INVERSE, '=',
    value COLOR COL_TOTAL INVERSE.
    ENDDO.
    ENDIF.
    WHEN if_ixml_node=>co_node_text OR
    if_ixml_node=>co_node_cdata_section.
    text node
    value = node->get_value( ).
    WRITE: / 'VALUE :'.
    WRITE: AT indent value COLOR COL_GROUP INVERSE.
    ENDCASE.
    advance to next node
    node = iterator->get_next( ).
    ENDWHILE.
    ENDFORM. "process_dom
    Regards
    Naresh

  • Need some logic on xml file

    hello guys,
    i am a old member of this forum but my stream is c but meanwhile i give some time to this fascinating language....
    guys i need ur comment on this problem how it can be solved .. i am hoping ur answers (plz don't say i didn't try it just give me direction)
    problem is as:
    find below a detailed scenario of transferring data from the client to the server.
    The data is transferred using XML A sample xml format for transferring employee data is
    shown below
    <first name>xyz</first name>
    <surname>abc</surname>
    <mobile>12345 67890</mobile>
    To transfer the data , we first write this xml as a file with a predefined name on the client
    pc's temp folder. Covert the file into a string and send it to the server and re-convert the
    string into an XML FILE and read it. We have four modules namely Module 1, Module
    2, Module 3, Module 4 in the application.
    Problems faced:
    1) Currently for every set of information passed, we write an xml file and this sometimes
    hogs memory space. At the same time we cannot delete these files since we need to
    understand any data related errors.
    2) All the files are written with the name in the format "project_abc_<time stamp>".
    However this file name is quite long and prevents us from legibly understanding when
    the file was created and why. Moreover we have just deployed the application to a new
    operating system, which prevents us from creating a file with a file name whose length is
    more than 18.
    3) Moreover there is no way currently to identify which module created the xml file and a
    facility to do that would be helpful for the support team.
    4) I also would like to inform the server side function whether the data I am passing is to
    be inserted or updated. Currently I inform the server side by hardcoding the string
    ?INSERT? or ?UPDATE? in my xml. This needs to be changed

    To transfer the data , we first write this xml as a file with a predefined name on the client
    pc's temp folder. Covert the file into a string and send it to the server
    [B]
    seems like a waste to me. Why not just write the xml directly to a String, using a StringWriter.

  • Passing an XML file from WebDynpro app to ABAP function module

    Hi all,
    I'm stuck with a problem, and am hoping one of you could let me know how to proceed:
    I need to pass an XML file (or at least the entire content of the XML) from my WebDynpro application to a backend ABAP function module. What I tried was this:
    In my WebDynpro app, I read the XML and convert the content into one long string (using java.io.FileReader and java.io.BufferedReader). In my ABAP function module I created an import parameter of type String. I then imported the ABAP Function module into my WebDynpro app as a model. I then tried to pass the XML string to the ABAP module. What happens is this:
    If the size of the string (XML) happens to be less than 255 characters, then it works. That is, the string is passed to the ABAP function module and I can see the contents. However, if the XML string happens to be greater than 255 characters, then it does not work. The string at the ABAP side is empty. Surprisingly, the ABAP module does not throw an error either. It just displays an empty string.
    Could you please tell me what the problem is?
    Thanks & Regards,
    Biju

    Hi Biju ,
    Welcome to SDN.
    If the import parameter is defined as type string it should work, however did you check whether your application pass it properly?
    I have applications using strings as import parameters working fine. (webapplications (BSP) to RFC)
    Regards
    Raja

  • Share persistence.xml file between two EJB modules in EAR

    Hello, everybody!
    First of all, I would like to say that I already posted this question in another forum:
    [http://community.jboss.org/thread/154128?tstart=0]
    But as I haven't got any answer from there and this issue is very crucial to me I'm posting it here too in the hope that I get an answer. So, here it goes:
    I have two EJB modules in an EAR module. I would like to know how to share a single persistence.xml file with these two EJB modules. If I replicate the persistence.xml file in the two EJB modules, the EAR project deploys ok, but of course that's not what we want. If I remove the persistence.xml file from any of the EJB projects, the EAR doesn't deploy properly. I'm stuck with this. I've already tried many kind of configurations but none worked. I really would like to have some help with this issue to proceed working. This is my EAR structure:
    solicitacoes-ejb.jar       (EJB session beans)
    solicitacoes-dao.jar       (EJB interfaces)
    solicitacoes-dao-jpa.jar   (EJB session beans)
    solicitacoes-ejbClient.jar (entities and EJB interfaces)
    solicitacoes-web.war
    META-INF/This is my application.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <application
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
    version="5">
        <display-name>solicitacoes-ear</display-name>
        <module>
            <ejb>solicitacoes-ejb.jar</ejb>
        </module>
        <module>
            <ejb>solicitacoes-dao-jpa.jar</ejb>
        </module>
        <module>
            <web>
                <web-uri>solicitacoes-web.war</web-uri>
                <context-root>solicitacoes</context-root>
            </web>
        </module>
    </application>If I remove the persistence.xml file from one of the EJB modules, let's say solicitacoes-dao-jpa.jar, I get this error when deploying the EAR file:
    ... 39 more
    Caused by: java.lang.IllegalArgumentException: Can't find a persistence unit named 'null' in AbstractVFSDeploymentContext@28359170{vfs:///C:/jboss-6.0.0.20100429-M3/server/default/deploy/solicitacoes-ear.ear/solicitacoes-dao-jpa.jar/}
    at org.jboss.jpa.resolvers.BasePersistenceUnitDependencyResolver.resolvePersistenceUnitSupplier(BasePersistenceUnitDependencyResolver.java:107) [:1.0.2-alpha-1]
    at org.jboss.ejb3.Ejb3Deployment.resolvePersistenceUnitSupplier(Ejb3Deployment.java:778) [:1.3.1]
    at org.jboss.ejb3.EJBContainer.resolvePersistenceUnitSupplier(EJBContainer.java:1517) [:1.3.1]
    at org.jboss.injection.PersistenceUnitHandler.addPUDependency(PersistenceUnitHandler.java:130) [:1.3.1]
    ... 43 moreI need help with this issue. As you could see, the EJB container doesn't like to see an EJB module without a persistence.xml file. This is clearly a dumb decision though. I agree with it if there was only one EJB module in an EAR. But the container should have been smart enough to require only one persistence.xml file in an EAR module with more than one EJB module, and share that persistece context with the whole EAR.
    Acting the way it is acting now, the container forces us to duplicate the persistece.xml file and kill our application modularity. This is clearly wrong. I've already tried to put the entity classes and persistence.xml file in the lib directory of the EAR, but it didn't work either. The container needs to have the persistence.xml file in both EJB modules.
    I don't know if this is a JBoss implementation decision or if it comes from the Java EE 6 specification. Whatever it is, it goes against all good modular and good design decision. Please if some of you know how to solve this, took a little time to tell me how. I would be very grateful.
    Thank you in advance.
    Marcos

    Dear Mr. gimbal2,
    In another occasion I would not reply to such a 'helpful' answer like the one you gave me (yes, it is undoubtedly an answer because that's how you classified it in the beginning of your reply), but as today I have plenty of time here in my job, for this week we're not working full time as usual, I decided to reply to it.
    You have to completely overhaul your attitude.I really didn't know I was taking so personal on this issue to have to 'completely overhaul my attitude'. Thank you for pointing that out.
    In stead of calling the technology dumb, admit to yourself that perhaps you don't understand it properly and that your ideas of what is correct design perhaps is a little lacking. I didn't call the technology dumb because I stated very clearly that I don't know for sure if it is working this way. I said in the last paragraph:
    +"I don't know if this is a JBoss implementation decision or if it comes from the Java EE 6 specification. Whatever it is, it goes against all good modular and good design decision."+
    So, I let implicit the fact that the technology or the implementation of the technology is dumb only if it doesn't allow this possibility. Regarding the fact that your said that I should
    admit to myself that perhaps I don't understand it properly, where did I stated in my question that I understand it completely? It's clear in the last paragraph that I don't. If I'm asking that's because I have doubts. Maybe my ideas of what is correct is wrong, and that's why I'm here in this forum. But everyone with a good sense knows that what I propose in this discussion is by no means a wrong design decision. Where is it a sin to have more than one EJB module in a EAR and a persisntece.xml file shared for the whole EAR? Does everyone that has more than one EJB module in an EAR module need to connect to more than one database? Is it wrong to want to have your DAO implementation in a separate EJB module in order to make deployment easy and also changes, if you later want to replace that implementation with another one without affecting
    the other modules? I don't think that a design decision that seeks this is lacking. I don't think that Java EE today is a dumb technoloby, but everyone knows that before it gets to the present level, it was a technology known to have made big dumb decisions that the community latter corrected, with ideas like O/R mapping (Hibernate), dependency injection (Spring), Struts and lots of other examples that we all know. No one can deny this and lots of wrong things will continue to be fixed in later releases.
    Maybe when you rise yourself back to that level, you open yourself up again to thinking in correct solutions in stead of trying to hammer through your own poorly chosen one.To be sincere, I see you took very personal about this issue. You really shows to be someone that has no respect to other people and you judge them too. I must say that I got surprised by the way you answered my post. I didn't expect to get such sarcastic answer to what I asked. I personally don't act this way. If I can't help a person, I also don't try to ridicularize him.
    Marcos

  • [svn:osmf:] 17548: Remove left-over event handler, which could trigger an unnecessary event if a player loaded plugins through the config XML file and manually  (e.g.

    Revision: 17548
    Revision: 17548
    Author:   [email protected]
    Date:     2010-09-01 14:09:14 -0700 (Wed, 01 Sep 2010)
    Log Message:
    Remove left-over event handler, which could trigger an unnecessary event if a player loaded plugins through the config XML file and manually (e.g. for static plugins).
    Modified Paths:
        osmf/trunk/libs/samples/ChromeLibrary/org/osmf/chrome/configuration/PluginsParser.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Help: Problems accessing XML file in WebSphere 3.5 Fix Pack 4 on Solaris

    We are having an emergent issue with WebSphere 3. 5 Fix Pack 4 on Solaris 2.6: The WAR file we deployed fails with runtime exception due to the inability
    to access a local resource(XML file) in the converted WAR file's web directory.
    The way we access this XML file is as follows:
    ServletContext theCon = getServletContext();
    URL u = theCon.getResource ("/web/test.xml");
    String newPath = u.toExternalForm ();
    InputStream is = new URL (newPath).openStream();
    The InputStream returned from the URL object is NULL.
    After checked the URL's externalForm string, we noticed that its protocol part is "classloader", e.g. the whole URL string is like "classloader:/opt/...../web/test.xml". However, if we replaced "classloader" with "file", the problem disappeared and the XML file can be read without error.
    Anybody know why "classloader:" in the URL string cause this problem, and what is the solution without changing the URL string?
    Thanks a lot!

    Hi,
    Can you try to replace the two last lines with:InputStream is = new FileInputStream (u.getFile());Hope this helps,
    Kurt.

  • How to write multiple ejb-jar.xml file in an ejb module

    i am developing an ejb project. I hav a number of entity beans and session beans and their mapping in ejb-jar.xml. As the number of beans increases the entry of beans and mapping is also increasing. So i want to ask u that is there any mechanism so that i can divide the ejb-jar.xml file so that it will be easy to maintain it.

    ejb-jar is the smallest composable unit for related EJB components. Your best bet is to create multiple ejb-jars and package them within the same enterprise application (.ear).

  • Creating XML file from ABAP internal table data....

    Hello,
    I am fethcing data froma  custom table and I have to write data in XMl format. Following is the XML format in which I want data. Is there any function module iN SAP which will help me in writing data from internal table to XML file ?
    <batch>
      <invoice>
        <StatusCode>10</StatusCode>
        <paymentamount>122.00</paymentamount>
         <ReferenceNumber>70980934</ReferenceNumber>
      </invoice>
      <invoice>
         <StatusCode>90</StatusCode>
        <paymentamount>122.00</paymentamount>
         <ReferenceNumber>70980934</ReferenceNumber>
      </invoice>
      <control>
        <InvoiceCount>2</InvoiceCount>
      </control>
    </batch>
    Please help.
    Regards,
    Jainam.

    I suggest you look into "simple transformations". That's SAP's most recent technology for such purposes, as far as I know.
    http://help.sap.com/abapdocu_70/en/ABENABAP_ST.htm
    Thomas

Maybe you are looking for

  • Why can't i log into icloud on my iphone

    I DROPPED MY PHONE AND THE SCREEN IS CRACKED AND HALF THE SCREEN IS BLACK AND RAINBOW. SO I'M TRYING TO BACKUP MY WHATSAPP CHATS ON ICLOUD BUT I CAN'T EVEN DO THAT BECAUSE STUPID ICLOUD IS TELLING ME THAT I NEED AN APPLE ID WHEN I TRY TO SIGN IN ON M

  • DV6 2113SA Tv out via vga?

    Is it possible to connect a DV6 2113SA to a SD TV via the vga port and a vga to svideo adaptor? I've tried the ATI and HP website and can't find an answer.

  • How to create new database with rman backup

    hi, i took a rman backup with nocatelog. can i make a new database with that rman backup. if yes then how ? i m using oracle 9i. thxs

  • Skype mobile running in back ground

    How do I prevent Skype mobile from activating?  I tried doing the force stop in applications and everytime I turn the phone off and then back on it it starts up again.  I do not use the service, and never gave them permission to access information fr

  • Language Conversion & related Calculations.

    Greetings, 1) If the data is Arabic can we perform the calculation on Arabic numbers & generate charts too, how well OBIEE supports this. 2) Unlike english, arabic is right to left.. Any possibility of doing this too, any documents/blogs for help? Re