Interpret xml metadata
Objective:
u2022 Get the Metadata from SAP BW system into XML file
u2022 Modify the data in XML file using .NET interface / re-engineering tool
u2022 Upload the modified data from XML file to target BW System (BI 7.0)
Requirement:
1. Interprating the extracted Meta Data XML
2. Create an Interface tool/ Re-engineering tool which should be able to extract the Meta data from Source BW Server (using RSO_REPOSITORY_EXCHANGE_XML)
3. The interface tool should change the XML file based on some parameters or may be through manual change
4. Changed Meta Data XML file should be imported to Target BW server automatically (using RSO_REPOSITORY_EXCHANGE_XML)
Hi
for Get the Metadata from SAP BW system into XML file
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/60/2edd3b8f1b127de10000000a114084/frameset.htm
Regards
Abhishek
Similar Messages
-
My project involves storing various types of spatial data in Oracle 8i. There is also going to be metadata collected for each project. The purpose of the metadata will be for discovery and retrieval of the spatial data. I would like to store the metadata entries (using WebDB to create entry form) as XML documents. What is the best way to create XML metadata from a HTML form? It appears that the new Xforms from W3C may accomplish this, although it's not really a standard yet. Also, it there a way to send the spatial data from a form created by WebDB? Would the XML metadata be stored in the spatial DB with the data or in a separate "metadata repository"? How would the metadata be attached to the data for query and discovery/retrieval? I appreciate any feedback. Thanks.
Jonrka1,
Spatial already uses a metadata table called user_sdo_geom_metadata where you need to store metadata for all of your spatial tables. Oracle spatial currently does not support metadata in XML format although it is being actively investigated in conjunction with Oracle 8i Spatial XML server. With the XML server you will be able to retrive spatial (and attribute) data as well as update the spatial table using XML.
Check OTN often for announcemnets on the XML server and related products.
For your customized XML spatial metadata you can store it anywhere (with a spatial db or in a separate repository), and you will have to maintain the link between the metadat and the real data yourself.
LJ
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jonrka1 ():
My project involves storing various types of spatial data in Oracle 8i. There is also going to be metadata collected for each project. The purpose of the metadata will be for discovery and retrieval of the spatial data. I would like to store the metadata entries (using WebDB to create entry form) as XML documents. What is the best way to create XML metadata from a HTML form? It appears that the new Xforms from W3C may accomplish this, although it's not really a standard yet. Also, it there a way to send the spatial data from a form created by WebDB? Would the XML metadata be stored in the spatial DB with the data or in a separate "metadata repository"? How would the metadata be attached to the data for query and discovery/retrieval? I appreciate any feedback. Thanks.<HR></BLOCKQUOTE>
null -
Hi guys,
I believe this is just a bug in Premiere Pro CC 2014 (and other versions in the past), but I wanted to make sure it was on the PP team's plate for the next update, since it's detrimental to a workflow that include more than one computer or more than one editor on a project.
My team shoots a lot of footage in slow-motion (for instance, 59.94 for 23.976). Premiere's process to conform this footage is great. Modify -> Interpret Footage -> Assume this frame rate: "23.976".
Unfortunately, when we move this project file to another system, even if we are using a hard-drive that is synced to have the exact same source media files with the exact same file structure, we lose the footage interpretation metadata. Premiere Pro CC thinks this footage is 59.94 again, and our sequences are in shambles. All clips where the interpretation metadata is lost have "zebra pin stripes" on them wherever they exist in our sequences.
We have to manually re-interpret the footage, and then sometimes manually re-select in and out points. This is a work-around that enables us to push forward, but it's a barrier that makes collaborative editing extremely challenging and opens up rampant possibility for error. It's hard to locate every clip we need to re-interpret in some of our more complex projects, and even harder to avoid re-interpreting the wrong clips.
Looking forward to a resolution to this problem.
Daniel Lichtenberg
[ad/link removed by moderator]Guys I solved my own problem - thought I'd share with you how in case anyone else is having this problem -
I came across this thread
Premiere Pro CC error message and crash
which had the suggestion -
"Do tou have after effects installed? If yes, please try to import the main sequence into it and then export it as premier pro project from file/export ootion and then try to open that in premiere pro."
This didn't work for me too but I did try and import my existing project into a new project and copy all the files over. Works fine now.
I don't know if I will have the same issue again tomorrow so I'm going to render out a super high res video before I close premiere just in case -
XML Metadata import - Memory Problem
I am trying to import metadata through "extras->XML Import\Export" Option giving the path to XML file (file:D:\RSAD_C07.xml). It has parsed the file and saved some objects but half-way it stopped with the error that I pasted below. Its an 8GB RAM server and we are not running any other processed. CPU utilization is around 15%. I am not able to understand why this is happening. Please advise me on what to do.
ERROR DETAILS
Memory low. Leave the transaction before taking a break!
Message no. 00072
Diagnosis
The memory on your application server is running low.
System Response
You are exclusively using one of the few work processes running on the application server. So that this does not hinder the other users too much, the work process is released if you do not work with it for a few minutes. The system terminates the transaction, causing you to lose data that you previously entered.
Procedure
Continue to work as normal and exit the transaction before you take a long break.Hi Ankush,
i am not too familiar with the XML part, but anyway this does not appear to be the problem. What i understand is that you are using a frontend dialog process for uploading the XML stuff. in this case it actually does not matter how much RAM you have installed in total, because the single dialog work process has only a fraction of total RAM assigned as working memory. hence my recommendation is to cut the XML file into smaller packets for import.
maybe you can tell us details once you are successfully done with the case?
THX & regards,
Harry -
Swing component to interpret XML - This is urgent friends
Hi friends,
I am using JEditorPane and it can only interpret HTML. But i want it to interpret even XML.
Do anyone know some other pane which can interpret both HTML and XML?
Thanks,
ur friendhi,
Thanks a lot for replying to me.
Actually the problem is : we have been copying and pasting HTML code generated by Word into the JEditorPane. The problem is that recent versions of Word generate XML code, and the widget we are using seems to choke on it (stack exception).
If you know any solution for this problem, please let me know.
Thanks
--kalps -
Objective:
u2022 Get the Metadata from SAP BW system into XML file
u2022 Modify the data in XML file using .NET interface / re-engineering tool
u2022 Upload the modified data from XML file to target BW System (BI 7.0)
Requirement:
1. Interprating the extracted Meta Data XML
2. Create an Interface tool/ Re-engineering tool which should be able to extract the Meta data from Source BW Server (using RSO_REPOSITORY_EXCHANGE_XML)
3. The interface tool should change the XML file based on some parameters or may be through manual change
4. Changed Meta Data XML file should be imported to Target BW server automatically (using RSO_REPOSITORY_EXCHANGE_XML)Hi Yuriy,
Web Dynpro components and applications are normal development objects. This means, you can transport them to any system using the change and transport system. There is no need to work with a separare xml representation.
Best regards,
Thomas -
XML metadata conversion to embedded metadata
For several years we have run a specific set of audio files as an rss feed. All the audio files were described in a single xml file. We are scrapping that system and moving everything to iTunes University but since all the metadata is in a single document I am not sure how I get that information connected to each audio file I am uploading to iTunesU. Is there a way to continue to use my xml file to describe my audio files or a way to take that information and convert all the xml data into embedded data?
See my reply to your post in the iSync forum:
http://discussions.apple.com/message.jspa?messageID=9618578#9618578 -
How can I add XML metadata to simulate my application?
I have a client application I support and I'm trying to use Dreamweaver as a tool to customize pages within the application. Each page, or report, consists of a HTM file with supporting CSS and Jscript used to render a view of data from the server that comes in the form of an XML file. The HTM file is viewed file with the CSS / Jscript working as is, but i'm trying to determine how to get the XML payload from the server to populate the elements in the HTM file. below is a sample of the supporting files, the first shot is the XML payload the server sends, the second shot is the client files used to create the report. All i need to do is 'attach' the XML to the htm file in dreamweaver so i can apply changes and see how effects of my work in the design view. Is this possible? All these files will be client side...
The solution from dvohra09 will output a file outXml that uses the format rules from stylesheet.
But how can I write out the following 2 lines to outXml? contextHandler.startDocument() will only write out the first line, but not the second line...
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="mytest.xsl"?>
Thanks for all pointers!
Philip -
ITunes library.xml Metadata storage issues
Hi all,
I've had this problem for quite a while. My .xml file corrupts and changes to "read only", preventing any further writing. iTunes automatically creates temp files. My solution thus far has been to trash the .xml file after a restart, and trash the temp files once a new .xml file has been created, however, this only seems to be a short term solution as the problem consistently returns. Any suggestions for a permanant library.xml fix?no it doesnt, so for whatever reason it is not updating propely.
here is the extract from my file:
<plist version="1.0">
<dict>
<key>Major Version</key>
<integer>1</integer>
<key>Minor Version</key>
<integer>1</integer>
<key>Date</key>
<date>2012-11-12T02:50:28Z</date>
<key>Application Version</key>
<string>10.7</string>
<key>Features</key>
<integer>5</integer>
<key>Show Content Ratings</key>
<true/>
<key>Music Folder</key>
<string>
file://localhost/Users/trevans/Music/New/iTunes%20Media/
</string>
<key>Library Persistent ID</key>
<string>97C5AF902333D873</string>
<key>Tracks</key>
<dict></dict>
<key>Playlists</key>
<array>
<dict>
<key>Name</key>
<string>Library</string>
<key>Master</key>
<true/>
<key>Playlist ID</key>
<integer>70</integer>
<key>Playlist Persistent ID</key>
<string>CE8150AF7533F59F</string>
<key>Visible</key>
<false/>
<key>All Items</key>
<true/>
</dict> -
Convert/Interpret XML to Character/ABAP
Hi,
I am consuming a web-Service via client-proxy method. for this I've created the client proxy and called one of the methods in the class in the program.
After passing the input values (country Code) to the web-service I am receiving the result (country Name) in a varliable (string format) but, the format of the returned data is XML.
example:
<NewDataSet> <Table> <countrycode>in</countrycode> <name>India</name> </Table> <Table> <countrycode>in</countrycode> <name>India</name> </Table> </NewDataSet>
How can I get the vaule mentioned in variable <name> in the output ??
Is there a way to convert this XML into character format and read the value in the variable <name> or parse every field from the output in the internal table what can be the approch and solution to do this ?
/MikeTry using the code below for xml parsing...
TYPE-POOLS: ixml.
TYPE-POOLS : abap.
FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
<dyn_table1> TYPE STANDARD TABLE,
<dyn_wa>,
<dyn_fieldvalue>,
<dyn_wa1>,
<dyn_field>,
<dyn_field1>,
<fs_1> TYPE table,
<fs_2> TYPE ANY,
<fs_3> TYPE ANY,
<fs_5> TYPE ANY.
FIELD-SYMBOLS: <fs_fields>.
DATA: dy_table TYPE REF TO data,
dy_line TYPE REF TO data,
dy_datatype TYPE REF TO data,
dy_table1 TYPE REF TO data,
dy_line1 TYPE REF TO data,
new_line TYPE REF TO data,
xfc TYPE lvc_s_fcat,
ifc TYPE lvc_t_fcat.
TYPES: BEGIN OF t_xml_line,
data(256) TYPE x,
END OF t_xml_line.
TYPES: BEGIN OF gs_elem_value,
element(30) TYPE c,
value(30) TYPE c,
recordid TYPE i,
END OF gs_elem_value.
DATA: gi_elem_value TYPE TABLE OF gs_elem_value ,
gw_elem_value TYPE gs_elem_value.
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.
DATA : gv_projectdetails TYPE string .
DATA : xref TYPE REF TO cx_dynamic_check .
PERFORM get_complete_path USING p_path2 p_file2 CHANGING gv_complete_path .
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.
SKIP 2.
WRITE : 'The input xml ' , p_file , ' is invalid and does not conform to the inset DTD. '.
EXIT.
ENDIF.
Process the document if there are no errors
ELSEIF 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 = p_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.
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.
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( ).
gw_elem_value-element = name.
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( ).
ENDDO.
ENDIF.
WHEN if_ixml_node=>co_node_text OR
if_ixml_node=>co_node_cdata_section.
text node
value = node->get_value( ).
TRANSLATE value TO UPPER CASE.
gw_elem_value-value = value.
IF gw_elem_value-element = 'table_name'.
gv_id = gv_id + 1.
ENDIF.
gw_elem_value-recordid = gv_id.
APPEND gw_elem_value TO gi_elem_value.
CLEAR gw_elem_value.
ENDCASE.
advance to next node
node = iterator->get_next( ).
ENDWHILE.
ENDFORM. "process_dom -
Loading xml metadata into a clob column
Hi,
how can i load metadata for a custom report(OIM) into rep_xml_meta column (clob type) of rep table?
can the metadata be taken in the form of simple text file?Listen ! !
It for sure gives you entire meta data content, I ran it 50 times at least. By the way, how are you trying to run that query. Use some standard tool like SQL Developer. It directly shows you the data without any query. Here is your meta data, modify it accordingly:
<Report layout="Tabular">
<StoredProcedure>
<InputParameters>
<InputParameter name="reportDateRange" parameterType="varchar2" order="1" fieldType="DateRange" fieldLabel="report.usersDisabled.label.reportDateRange" required="false">
<InputStartDate name="dtstartdate_in" parameterType="varchar2" order="1" defaultValue="01/01/1900" format="reports.generic.message.internalDateFormat"/>
<InputEndDate name="dtenddate_in" parameterType="varchar2" order="2" defaultValue="12/31/2049" format="reports.generic.message.internalDateFormat"/>
</InputParameter>
</InputParameters>
</StoredProcedure>
<ReturnColumns>
<ReturnColumn name="FirstName" label="report.usersDisabled.label.firstName" display="true" position="Table" primarySort="false" filterColumn="false"/>
<ReturnColumn name="LastName" label="report.usersDisabled.label.lastName" display="true" position="Table" primarySort="false" filterColumn="false"/>
<ReturnColumn name="UserId" label="report.usersDisabled.label.userId" display="true" position="Table" primarySort="true" filterColumn="false"
clickable="false">
<Link href="manageUser.do" />
<RequestParameters>
<RequestParameter name="entityKey" column="User_Key" />
<RequestParameter name="method" value="viewUserDetails" />
</RequestParameters>
</ReturnColumn>
<ReturnColumn name="OrganizationName" label="report.usersDisabled.label.organizationName" display="true" position="Table" primarySort="false"
filterColumn="true" filterColumnName="act.act_name" clickable="true" >
<Link href="manageOrganization.do" />
<RequestParameters>
<RequestParameter name="entityKey" column="Org_Key" />
<RequestParameter name="method" value="viewOrganizationDetails" />
</RequestParameters>
</ReturnColumn>
<ReturnColumn name="Users.Status" label="report.usersDisabled.label.userStatus" display="true" position="Table" primarySort="false" filterColumn="false"
filterColumnName="usr.usr_status" filterType="Combobox" filterLookupKey="Lookup.WebClient.Users.Status"/>
<ReturnColumn name="Users.Role" label="report.usersDisabled.label.employeeType" display="true" position="Table" primarySort="false" filterColumn="false"
filterColumnName="usr.usr_emp_type" filterType="Combobox" filterLookupKey="Lookup.Users.Role"/>
<ReturnColumn name="ManagerId" label="report.usersDisabled.label.managerId" display="true" position="Table" primarySort="false" filterColumn="false" clickable="true">
<Link href="manageUser.do" />
<RequestParameters>
<RequestParameter name="entityKey" column="Manager_Key" />
<RequestParameter name="method" value="viewUserDetails" />
</RequestParameters>
</ReturnColumn>
<ReturnColumn name="UsersGroups" label="report.usersDisabled.label.usersGroups" display="true" position="Table" primarySort="false" filterColumn="false"/>
<ReturnColumn name="Resources" label="report.usersDisabled.label.resources" display="true" position="Table" primarySort="false" filterColumn="false"/>
<ReturnColumn name="UserCreationSource" label="report.usersDisabled.label.userCreationSource" display="true" position="Table" primarySort="false" filterColumn="false"/>
<ReturnColumn name="DisabledOn" label="report.usersDisabled.label.DisabledOn" display="true" position="Table" primarySort="false" filterColumn="false"/>
</ReturnColumns>
</Report>
And for inserting again I will say use the tool SQL Developer Its pretty simple.
Thanks
Sunny -
Error while exporting metadata file /iam-features-ldap-sync/LDAPUser.xml
Hi All,
i am trying to export /iam-features-ldap-sync/LDAPUser.xml metadata file with the weblogic properties mentioned below
# Weblogic Server Name on which OIM application is running
wls_servername=oim_server1
# If you are importing or exporting any out of box event handlers, value is oim.
# For rest of the out of box metadata, value is OIMMetadata.
# If you are importing or exporting any custom data, always use application name as OIMMetadata.
application_name=OIMMetadata
# Directory location from which XML file should be imported.
# Lets say I want to import User.xml and it is in the location /scratc/asmaram/temp/oim/file/User.xml,
# I should give from location value as /scratc/asmaram/temp/oim. Make sure no other files exist
# in this folder or in its sub folders. Import utility tries to recursively import all the files under the
# from location folder. This property is only used by weblogicImportMetadata.sh
metadata_from_loc=@metadata_from_loc
# Directory location to which XML file should be exported to
metadata_to_loc=D:/MDS
# For example /file/User.xml to export user entity definition. You can specify multiple xml files as comma separated values.
# This property is only used by weblogicExportMetadata.sh and weblogicDeleteMetadata.sh scripts
metadata_files=/metadata/iam-features-ldap-sync/LDAPUser.xml
# Application version
application_version=11.1.1.3.0
i get the following error
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Starting export metadata script ....
Please enter your username [weblogic] :weblogic
Please enter your password [welcome1] :
Please enter your server URL [t3://localhost:7001] :t3://hostname:7001
Connecting to t3://hostname:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'OIMDOMAIN'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Location changed to domainRuntime tree. This is a read-only tree with DomainMBea
n as the root.
For more help, use help(domainRuntime)
Problem invoking WLST - Traceback (innermost last):
File "C:\Oracle\Middleware\Oracle_IDM1\server\bin\weblogicExportMetadata.py";,
line 22, in ?
File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py";, line 134, i
n exportMetadata
File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py";, line 568, i
n executeAppRuntimeMBeanOperation
File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py";, line 538, i
n getMDSAppRuntimeMBean
UserWarning: MDS-91002: MDS Application runtime MBean for "OIMMetadata" is not available. "exportMetadata" operation failure.
i have exported these files multiple times, it never gave an errror, but this time i see this error, please help.
Thanks in advanceGlad that worked.
Working with MDS, another way is to use the EM console for exporting/importing data from/to MDS. This I find lot easier rather than working with the OOTB script.
Steps are:
http://ADMINSTRATION_SERVER/em
Navigate to Identity and Access, oim. Right-click and navigate to System MBean Browser.
Under Application Defined MBeans, navigate to oracle.mds.lcm, Server:oim_server1, Application:oim, MDSAppRuntime.
To export the configuration files:
• Click the Operations tab, and then click exportMetaData.
• In the toLocation field, enter /tmp or the name of another directory.
• Select createSubDir as false.
• In the docs field, enter the complete file location as the Element.
• Also select false for excludeAllCust, excludeBaseDocs, and excludeExtendedMetadata. Then, click Invoke.
This exports the file specified in the docs field to the directory specified in the toLocation field.
To import the configuration files:
• Click importMetaData
• In the fromLocation field, enter /tmp or the name of the directory in which you have the configuration files.
• Select createSubDir as false.
• In the docs field, enter the complete file location as the Element. For example, /db/oim-config.xml.
• Also select false for excludeAllCust, excludeBaseDocs, and excludeExtendedMetadata. Then, click Invoke.
This imports the file specified in the docs field to MDS in the toLocation field.
HTH -
Options for XML parsing in WAS 6.20 ABAP and higher
Hello Experts,
What options are available to me for working with XML documents in SAP R/3 4.7? I am working on SAP WAS 6.20 ABAP and was wondering which tools/techniques I can use for parsing XML files?
I am developing an ABAP program and primarily need to be able to parse XML documents. I need to be able to traverse up and down their data structures (trees/nodes/elements/etc.).
In SAP R/3 4.6 I used to use the iXML library but it seems that there are many advanced and powerful features included in SAP WAS 6.20 ABAP and up.
Could someone please give me a summary of and their opinions on some these "newer" options?
Thanks,
- Vik.Hi Vik,
There are two ways you can parse/interpret XML documents in ABAP -
1. iXML - Which you have already used in 46 release. It wasn't easy to use set of functions but still it was possible to parse documents using iXML library. In WAS 6.20 you can now use class CL_XML_DOCUMENT which is much more easier to use than iXML library. It is bilt on top of iXML using the same DOM model.
2. XSLT - Useing XSLT_TOOLS or XSLT transaction you can create XSLT programs to transform XML to ABAP data objects and then work with ABAP data objects. In this case you have the option of using some other tool like XMLSPY to write the XSLT and then copy that to SAP.
From your post it looks like you will probably have to traverse the tree in unpridictable way, probably DOM based parsing using CL_XML_DOCUMENT is more suitable for you.
Cheers,
Sanjeev -
Writing IPTC Metadata to Masters
I know some of this has been discussed, but I've got a few more questions on the topic. To ensure my captions, keywords, and location information is always available no matter what cataloging software I use, I wish to write my IPTC metadata to the master images. Here are my concerns:
1) I have altered the Creator, Headline, Source, Caption, Keywords, Location, City, State/Province, and Country fields - I assume all of these will be written to the masters since they're IPTC standard? Are there length limits for these fields (that is, is there a risk that some will be truncated)? Are there any drawbacks to writing these tags to the masters? (I know many people here don't want their originals touched, but as long as it doesn't affect the quality of my jpegs, I'm fine with it.) Most of my recent photos have GPS metadata - I have not altered these, nor have I added location data to photos that didn't originally have them, so I'm assuming those fields wouldn't be affected?
2) Is there no IPTC-standard field for people shown in a photo? (I know Aperture/iPhoto's Faces is proprietary, and I'm guessing so is Adobe's People field in their XML metadata.) Should I then just assign people's names as keywords, or is there a better way? (This wouldn't be a problem, as relatively few of my photos have human subjects.)
3) I have a library of about 45,000 pictures, all of which (except for about 1400 movies) have had some piece of metadata altered. I've noticed Aperture starts to get slow after I've been working in it for a while - so, should I write the tags in stages, or should I just highlight all of them at one time and let it work? About how long should it take?
4) Finally, I've tested writing the tags to the masters on a few of them, and I've noticed the "date created" shown in the Finder gets changed to the current date and time - Does this mean the entire file was re-created? Would Time Machine have to then re-copy all of them? (My masters total 153 GB, so that might take a while to back up.)
I know this is a lot at once, but it was a fair amount of work to migrate from iPhoto to Aperture (even with Aperture's convenient import feature) since iPhoto's cataloging tools are different from the IPTC standard. I'm contemplating another migration, and I don't want to have to go through all that again.
Thanks in advance.Thanks all... as I've been digging into this digital asset management concept for a few years now, and there's more to it than I could have imagined!
viskwal: That's about what I figured. Actually, tagging Faces as keywords will be easy for me since I already have a smart album for each person in Faces. (They're in folders by context - that is, classmate, coworker, family member, etc. - just in case, years down the road, I see a name and don't remember how I know that person.)
As for locations, I could go back and locate all my photos from before I had the GPS-equipped camera, but I haven't bothered, so I don't know how you'd save that data. I've also been shooting exclusively jpeg since it's got built-in metadata (and I don't do any post-processing), so I have no experience with RAW.
Michael Hobi: Thanks for the link - I think I'm ok as far as those lengths are concerned. (I have a few long names in the Location field, but that wasn't mentioned there.) As for the write time, that's actually about what I figured - it won't be instantaneous, but at least I'm reasonably sure it won't go on for days. (My original import from iPhoto took 17 hours!) -
XML Parser for PL/SQL and related issues
I need to have further information about some of the following
issues and XML features and make a determination useful for
evaluation and recommendation:
ISSUES
1) Is there a maximum size for an XML document to provide data
for PL/SQL(or SQL) across tables, provided that no CLOB are used?
2) How about from Oracle to an XML document ?
3) Is there a ratio between XML document size and main memory and
SGA size. What are Oracle's recommendations /
4) Can the Oracle Application Server run on a DHCP NT server when
using XML parsing ? Is it NT Service Pack 3 and 4 compatible ?
5) How parsers can interact with one another or related tools ?
For example, how the XML parser for c/c++ could be useful when
using Pro*C/C++ (programmer 2000) or OCI interfaces ? In other
words, what is the business logic in using these tools ?
nullAnthony D. Noriega (guest) wrote:
: I need to have further information about some of the following
: issues and XML features and make a determination useful for
: evaluation and recommendation:
: ISSUES
: 1) Is there a maximum size for an XML document to provide data
: for PL/SQL(or SQL) across tables, provided that no CLOB are
used?
The limit should be what can be inserted into an object view.
: 2) How about from Oracle to an XML document ?
The limit should be what can be retrieved from an object view.
: 3) Is there a ratio between XML document size and main memory
:and SGA size. What are Oracle's recommendations /
Not directly due to the relationship between XML metadata and
data not being constrained.
: 4) Can the Oracle Application Server run on a DHCP NT server
: when using XML parsing ?
If it can run a JavaVM with the correct permissions there are no
other special requirements.
:Is it NT Service Pack 3 and 4 compatible ?
No special requirements here.
: 5) How parsers can interact with one another or related tools ?
: For example, how the XML parser for c/c++ could be useful when
: using Pro*C/C++ (programmer 2000) or OCI interfaces ? In
other
: words, what is the business logic in using these tools ?
Not really sure of your question. The XML components are useful
in any application where I am processing documents or data with
an XML structure. The choice to use XML can be based on quite a
range of requirements due to its declarative syntax and open
standards. If you give me a specific application, I can perhaps
be more helpful.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null
Maybe you are looking for
-
I have a Macbook with OS 10.6.8 using Itunes 10.4.1 to sync my Iphone4. The itunes do not sync my contacts ... No error messages .... nothing ... just do not work ... However, It is working for apps, calendar and email. Does anybody have a clue what
-
Hard Drive Icon Not Showing Up on Desktop
Hey folks, this might be a very very noobish question, but I guess I'm fairly new to OSX... My Hard Disk Drive icon is not showing up on my desktop for some reason...if I open a New Finder Window, I can't see it on the upper left hand quadrant in col
-
Sun RI 1.1_01 Won't Run on Tomcat 4.1.29
I'm having problems getting a JSF application built using Sun RI 1.1_01 on a Tomcat server running on Linux. After deploying the application to the server, it won't start. A check of the server's localhost log reveals the following stack trace: 2006-
-
Facing Issue while Installing SOA server for setting up BPM11g working environment
Hi All, I have been able to install Database and Weblogic Server but I am facing issue in installing SOA server. I am trying to install it for running BPM 11g application. I saw the same problem has already been answered but available solutions are n
-
Dynamically obtain CSV name in Export output as CSV section
Hi, In the report export section i like to export the report in CSV format where in the Filename section i want to get as itemvalue.csv where the itemvalue is a tablename obtain from item.Say my item is p1_x as text field now when i press export butt