How manage XML files
HI,
i am working in a big game ,for each section of this i need to load three or four XML files.
can i store this XML files once it loaded ? this method will effect server memory and speed..?
how manage xml files ( good oops methods)..?
load each xml file once. use different xml instances for each xml file. you can reference you xml instances any time after loading is complete.
Similar Messages
-
How to xml file load in actionscript 3.0
Hi surfers,
How to xml file load in actionscript 3.0, How to get xml data.
Thanks in Advance.
Pls give me ASAP, i'm struggle here.Search Google using "AS3 XML tutorial".
-
How Export XML file to Adobe After effects
how export XML file from FCP X and how i open in adobe aftereffects and also export from AF and how it will oper in Final cut pro X
Premiere and AE use Dynamic Link to interact.
After Effects Help | Dynamic Link and After Effects -
How create XML file using HTML / JavaScript. Please small example.
Mykle.Various tools are available generate an XML document from a DTD.
http://www.eclipse.org/webtools/community/tutorials/XMLWizards/XMLWizards.html
http://www.altova.com/products/xmlspy/dtd_editor.html
http://www.stylusstudio.com/xml_generator.html -
Hi Everyone.
This is a brand new implementation. The implementation consists of ERP 6 EHP5 and SolMan 7.1.
I was able to install the SolMan and completed initial and Basic configuration. I am also connected to sap.service market place.
My question is, I have not installed my ERP EHP5 system yet and how do I generate the XML file for a system that has not been installed? Also I am not sure what is the best way to define the system in SolMan so I have a error free definition. Therefore I can generate the xml file for the support pack and EHP5.
This is what I have done:
Client copy of 000 to 100
initial config
Basic config
I need to connect to SAP to download support packs for SolMan to upgrade to SP27.
Please provide links to the documents.
RegardsSo you need to upgrade to 7.1? Or You need to install SP27?
See this link below:
https://websmp102.sap-ag.de/~form/sapnet?_SCENARIO=01100035870000000202&_SHORTKEY=00200797470000065932
And in this select what relaease and what activity you are looking to perform after you select the release (install or upgrade)
I could not provide direct links because I do not understand what is it that you are trying to do.
You need to start with the MOPZ setup though, if you are looking to download support packs et all from the Service Marketplace -
EHP4 solution manager xml file not supporting
Hi Support Team,
Here we are in middle of installing ehp4 installtion struck with an
error : "Error reading stack info . freturn code=-1,Reason = "the stack
configuration is not valid for the system HDC,inst no. 0020592069."
Here our HDC is ERP system where the EHP4 installation is
undergoing.Please find the screenshot attached.
SApehpiconsole log : (last 200 lines)
A trouble ticket and an archive with all relevant log files have been
generated.
Trouble ticket: "/oracle/EHPI/abap/log/SAPehpi_troubleticket.log"
Log archive: "/oracle/EHPI/abap/log/SAPehpi_troubleticket_logs.sar"
01) * Repeat phase SPAM_CHK_INI to continue at the point it stopped
02) - Restart the current module from the beginning
03) - Exit this program
Choose action: Repeat phase SPAM_CHK_INI to continue at the point it stopped
>> 2010/03/15 11:45:53 START OF PHASE PREP_CONFIGURATION/SPAM_CHK_INI
>> 2010/03/15 11:45:56 END OF PHASE PREP_CONFIGURATION/SPAM_CHK_INI
>> 2010/03/15 11:45:56 START OF PHASE PREP_CONFIGURATION/RUN_RSUPGSLI
Starting of Configure selective-language-import option in batch (job RSUPGSLI)
working ...
>> 2010/03/15 11:46:00 END OF PHASE PREP_CONFIGURATION/RUN_RSUPGSLI
Execution of PREPARE module "Configuration and language selection" ends at 20100315114600
Execution of PREPARE module "Extension module for start release >= 40B" begins at 20100315114600
>> 2010/03/15 11:46:00 START OF PHASE PREP_EXTENSION/UPLOAD_REQUEST
Uploading data ...
>> 2010/03/15 11:46:07 END OF PHASE PREP_EXTENSION/UPLOAD_REQUEST
>> 2010/03/15 11:46:07 START OF PHASE PREP_EXTENSION/SELSTACKXML
>>>> Stack configuration <<<<
Please specify a valid Enhancement Package stack configuration. The ADD-ON and
Support Package selection in the BIND_PATCH phase is taken from there. For
more information, see SAP Note 1022704 .
You need to include an Enhancement Package into the procedure. Please refer to
the manual for further information.
01) * Provide stack configuration file in input field below
Select configuration:: Provide stack configuration file in input field below
STACKFILE: /sapcd/SMSDXML_HDC_20100308092914.238.xml
>>>> Stack configuration <<<<
Please specify a valid Enhancement Package stack configuration. The ADD-ON and
Support Package selection in the BIND_PATCH phase is taken from there. For
more information, see SAP Note 1022704 .
You need to include an Enhancement Package into the procedure. Please refer to
the manual for further information.
01) * Provide stack configuration file in input field below
Select configuration:: Provide stack configuration file in input field below
STACKFILE: /sapcd/SMSDXML_HDC_20100308092914.238.xml
>>>> Stack configuration <<<<
Please specify a valid Enhancement Package stack configuration. The ADD-ON and
Support Package selection in the BIND_PATCH phase is taken from there. For
more information, see SAP Note 1022704 .
You need to include an Enhancement Package into the procedure. Please refer to
the manual for further information.
01) * Provide stack configuration file in input field below
Select configuration:: Provide stack configuration file in input field below
STACKFILE: /opt/SMSDXML_HDC_20100315065507.342.xml
Please guide us accordingly.
Regards
sap123Hi Gurus
I am facing the same issue in configuration phase.
The error is "Error reading stack info.
Return Code = -1, Reason = "No vendor specified"
Our Solution manager is on EHP1 now and we are facing this error after ehp1 upgrade, earlier we did one ehp4 upgrade test successfully with solution manager 7.0 before. But after upgrading solution manager to EHP1 we are facing this issue.
Can anyone help me on this....
Waiting for your response.
Thanks
Khalid -
How to update XML file through UCCX script ?
Hi,
I have an UCCX script with MENU step. One of the step is for technical support team. When caller chose this step, information about date and time of the call and calling number should be recorded on a XML file located on the web server.
This XML is uploaded into the web server , but I don't know how to update it through UCCX script.
Here is how the XML file looks like:
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>CALL LOG</title>
<link></link>
<description>Support Call log</description>
<ttl>1</ttl>
<item>
<title>2011-08-24 14:56:39 - 00044 123 123 123</title>
<link></link>
<description></description>
</item
</channel>
</rss>
Any idea?
Thanks,
OHi
The 'keyword transform' step uses the template XML file to generate the actual XML file you want to post... the template would be a plain text file uploaded to the repository, and would look like so:
<?xml version="1.0" ?>
CALL LOG
Support Call log
1
%%calldatetime%% - %%clinumber%%
Now - if you had that bit of XML, with correct time/number in it - have you verified know that you can definately just post that XML to a certain URL to get it on the server? Check with whoever manages that server exactly what you need to do to get it to appear - then worry about how you do that from UCCX. It may not be a matter of posting up that XML, you may need it in a different format or something..
Aaron -
Repeated retrieval and parsing of XML file causes IE to display an error message
I have a flash application that makes a HTTP call every 120
seconds to retrieve a xml file. This file is being generated with
fresh data every few minutes or so and pushed to the apache web
root with a unix mv command.
I'm using the standard Flash XML object. The HTTP request is
NOT over SSL (I know there is a bug related to this). Here is the
code to make the retrieval:
xmlData = null;
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = xmlTraverse;
xmlData.load("
http://domain/dir/somefile.xml");
The "xmlTraverse" method was written by my team. There is no
known bug in the parsing logic.
Intermittently and unpredictably, IE will display the
following dialogue box:
"A script in this movie is causing Macromedia Flash Player 8
to run slowly. If it continues to run, your computer may become
unresponive. Do you want to abort the script?"
I originally leaned toward an infinite loop causing this
problem. The timeline jumps back and forth between two frames,
checking in the latter frame if the xml has been loaded and parsed
before allowing execution to move to the next frame. I hardcoded
the loop check to always be false, but this did not produce the
message above (although it pegged my CPU).
The only scenario where I've managed to reproduce the message
above is by making a huge (50 MB) xml file. This consistently
produces the message. But I don't realistically see how our xml
file could ever be over 1 MB.
First, can anyone cite another cause for this message? I'm
starting to lean towards the issue lying in our parsing logic such
as infinite recursion on a badly formed XML file. Second, does
anyone know of a solid xml SAX parsing actionscript utility where
you can assign callbacks to XML nodes? If the problem is in the
parsing, we may have to replace our homegrown solution with
something more robust and proven.Is it a recursive parsing function? I'm not sure about this,
but I think this message pops up when there are more than 256
iterations in a loop (I've read something about this 256 limit,
that will end while loops if they exceed this, but with another
error message... but again, I'm not totally sure about that).
The message is typically for loops, but I don't know when it
fires. Sometimes it appears for really 'small' loops when you're
using the debugger (e.g. a for loop with 100 iterations), so maybe
it is connected to the time a loop is running. You could place some
trace statements in the xmlTraverse method, to see where the
function was when the message occurs, or take the time the function
needs and check if this might be related to the error.
That's all I can come up with, guess there are people here
with more insight to this...
cheers,
blemmo -
Hi everyone!
Is there a way in ABAP to output XML files? Pls. send code/ function module if any.
From ABAP programs, we are sure that we can output TEXT files, but how about XML files?
The significance of this question is related
Currently we are using XI to interface SAP and AMS, this question for ABAP to produce XML file arose, if for example, the XI server is down and we have to still send data from one system to another. IDocs can also produce XML files, pls confirm. Earlier however, we have preferred XI rather than IDocs to do this. Anyway, any idea regarding this scenario will be greatly appreciated.
Thanks and God bless!
CelesteHi,
Please check this sample codes from other thread.
1. itab --- > xml
xml ---> itab.
2. This program will do both.
(just copy paste in new program)
3.
REPORT abc.
*-------------- DATA
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
DATA : BEGIN OF itab OCCURS 0,
a(100) TYPE c,
END OF itab.
DATA: xml_out TYPE string .
DATA : BEGIN OF upl OCCURS 0,
f(255) TYPE c,
END OF upl.
DATA: xmlupl TYPE string .
******************************* FIRST PHASE
******************************* FIRST PHASE
******************************* FIRST PHASE
*------------------ Fetch Data
SELECT * FROM t001 INTO TABLE t001.
*------------------- XML
CALL TRANSFORMATION ('ID')
SOURCE tab = t001[]
RESULT XML xml_out.
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
TEXT = xml_out
* IMPORTING
* LENGTH =
TABLES
FTEXT_TAB = itab.
*-------------- Download
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filetype = 'BIN'
filename = 'd:xx.xml'
TABLES
data_tab = itab.
******************************* SECOND PHASE
******************************* SECOND PHASE
******************************* SECOND PHASE
BREAK-POINT.
REFRESH t001.
CLEAR t001.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'D:XX.XML'
filetype = 'BIN'
TABLES
data_tab = upl.
LOOP AT upl.
CONCATENATE xmlupl upl-f INTO xmlupl.
ENDLOOP.
*------------------- XML
CALL TRANSFORMATION ('ID')
SOURCE XML xmlupl
RESULT tab = t001[]
BREAK-POINT.
Regards,
Ferry Lianto -
Loading xml file into oracle table
Please guide as to how can xml file be loaded into corresponding oracle table.
check out this :
http://blogs.oracle.com/warehousebuilder/2007/09/leveraging_xdb.html
Cheers
Nawneet -
hi all,
i am using Forms [32 Bit] Version 6.0.8.24.1 (Production)
can any body tell me, how two xml files can be compared.
for example
i have file 1(standard)
<Message-Header>
<Message-Id>1234</Message-Id>
<Sender-Company-ID>4569</Sender-Company-ID>
<Sender-Company-Name>abc company</Sender-Company-Name>
<Sender-User-ID>AA</Sender-User-ID>
<Recv-Company-ID>050</Recv-Company-ID>
<Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
<Creation-Time>20101019 15:59:39</Creation-Time>
<cons>
<con>
<con_number>xsu667</con_number>
</con>
</cons>
</Message-Header>
i have file 2(came from user)
<Message-Header>
<Message-Id>1234</Message-Id>
<Sender-Company-ID>4569</Sender-Company-ID>
<Sender-Company-Name>abc company</Sender-Company-Name>
<Sender-User-ID>AA</Sender-User-ID>
<Recv-Company-ID>050</Recv-Company-ID>
<Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
<Creation-Time>20101019 15:59:39</Creation-Time>
<cons>
<con>
<con_number>xsu667</con_number>
</con>
<con>
<con_number>xsu669</con_number>
</con>
</cons>
</Message-Header>how to map two files. do we have to compare line by line?
the file2 have to match with respect to structure and also data.
any suggestions are welcome.
Edited by: user13329002 on Oct 24, 2010 5:48 AMuser13329002 wrote:
hi,
i am not aware of these things(merge file).
can u tell me,what is the ultimate result of this merging.
and can u tell the stepts to acheive this..
Thanks..a) write files down to temporary directory by using text_io
b) call an external program you installed on the client like winmerge, windiff or about 100000 other programs out ther that can show you the differences of two files
this programs you pass the two files you wrote to disk at step a -
XML file format for Captivate 5 Quiz Result Analyzer
I need to know how the XML files and folders created by Adobe's php files are structured so I can try to duplicate the proces in Coldfusion.
We're a Microsoft shop so there's no way I'd be able to set up a WAMP server.
Is there documentation anywhere or would somebody be willing to post an example?
Many thanks in advance...One of Adobe's Tech folks on the forum mentioned writing something like this for ColdFusion a few months back. He never got back to me and told me when he did write it it wouldn't be supported.
Susan Wright (Equilady)
Remember, the mighty oak was just a nut that held its ground.
http://www.equilady.com -
Hi,
I have to process a XLM file data from the application server. Could anyone give me any idea how to put the XML file from application server into an internal table in a proper way? I know there is a class CL_XML_DOCUMENT, but I have never handled a XML file before.If anyone could give me a sample code (my id is [email protected]), that would be very helpful.check out this weblog where in the code sample i am showing how a xml file can be converted to itab using XSLT (XSLT code is also given)
/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
Usefule linkg for learning XSLT
http://www.w3schools.com/xsl/
http://help.sap.com/saphelp_erp2005/helpdata/en/a8/824c3c66177414e10000000a114084/frameset.htm
also check out these packages from txn se80
SXSLT
SXSLT_APP
SXSLT_COMP
SXSLT_COMPMSG
SXSLT_DEBUGGER
SXSLT_DEMO
SXSLT_TEST
SXSLT_TOOL
SXSLT_TRAINING
Regards
Raja
Reward the helpful answers by clicking the radiobutton and if you question is answered mark it as answered -
Will I need a crossdomain.xml file?
I have been working on my first Flex application and it
builds several menu structures based on data received from external
XML files. Everything works fine when running the project within
Flex Builder but when I move the build directory (/bin) to another
location it does not load my menus. I have since found out this is
because of the security setting the projects build directory gets
and to get my files to work elsewhere I will need a crossdomain.xml
file.
After researching how crossdomain.xml files work I'm
wondering if in my case I should even need one because the files my
SWF are loading will already be placed on the local machine - not a
server. Still, the application is not working so I have tried a
crossdomain.xml anyways using the following code:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="192.168.*" secure="false"/>
</cross-domain-policy>
The file seems to have no effect (althought the "192.168.*"
string I used may not be what I want) and I'm looking for other
options. Also, I was originally getting my XML from an HTTPRequest
but am now using a URLRequest() which then converts the content to
XML which I find cleaner in the code.
Any ideas keeping in mind this application will have all its
content loaded from CD onto the users local drive?This is always a little confusing. Here's how it works. The
Flash Player is aware of which domain is referenced when the first
SWF is loaded. The "domain" could be www.adobe.com or
labs.adobe.com or 192.168.0.100. The Flash Player thinks of this as
its home domain. Any reference to any other domain is a security
concern. Even if that happens to be "localhost".
Things work from Flex Builder because Flex Builder registers
its directories with the Flash Player and makes everything have the
security level of "local-trusted". This means your Flex app can
load files from anywhere - the local file system (via HTTPService
for example, not a direct read of the file) or from the network.
When you move your SWF to another place, such as a web
server, that server's domain becomes the home, trusted domain for
the Flash Player when it loads a SWF from there. If your data file
is in the same domain as the SWF (eg, in the same directory or a
sub-directory), then the Flash Player won't have a problem loading
it.
HTTPService url="mydata/myfile.xml" or
url="/flex/mydata/myfile.xml" work because they are relative paths
to where the SWF is located and thus, in the same domain. However,
if you do: url="
http://localhost/mydata/myfile.xml"
and the SWF is now coming from a web server in a different domain
(foreign domain), then its a security problem.
In order for the Flash Player to be allowed to load data from
outside the home domain, there must be something that authorizes
it. That's the crossdomain.xml file. When the Flash Player sees
that you are going to load a file from a different domain, it asks
that domain for its crossdomain.xml file. The Player then looks to
see if its home domain is among those allowed to access files. If
not, security error. If the home domain is present, then the file
is requested.
The crossdomain.xml file should list the home domain of the
SWF, not your machine's domain or IP address. For example, suppose
the SWF is now on adobe.com and is launched like this:
http://www.adobe.com/flex/YourApp.html.
The Flash Player will assume that www.adobe.com is its home domain.
Even if you are in the abcxyz.com domain.
Now your Flex app wants to load
http://localhost/mydata/myfile.xml.
The Player will ask for
http://localhost/crossdomain.xml
and look to see if www.adobe.com is allowed access.
To recap:
The domain of the first SWF loaded
into the Player is the home domain.
Any access to data outside of the
home domain requires a crossdomain.xml file.
The crossdomain.xml file should be at
the context root of the domain (eg,
http://www.adobe.com/crossdomain.xml
or
http://localhost/crossdomain.xml).
The home domain must be granted access to load any resources from
the foreign domain.
If you are using Flex Data Services and you have
useProxy="true" on your data service request, then some different
security rules apply. Let us know if that's the case. -
Hello Guru,
could you please help with my issue with Fiori Installation.
We want to install SAP Fiori Front-End (GW+UI) on the Sandbox system with SAP Netweaver 7.3.1. (SP14)
Gateway component (SAP GW CORE 200 SP10) was installed without any problems.
But I need to install UI-add-on (NW UI Extensions v1.0) and when I try to install it via SAINT, transaction said me that I need to generate xml-file for it (as in General notes for UI add-on mentioned).
But I have Solution Manager 7.0.1 and in MOPZ for this version I do not have option "install Add-on" as it written in Guide for ui add-on installation.
Could you please help me with advice how to generate xml-file for UI add-on installation on SolMan v.7.0.1?
If where is no way, but only to upgrade Solution Manager, maybe somebody could give me xml-file for your system (for NW 731) and I will change it to my needs, I will be very grateful!
Thanks in advance for any help!!!
Bets regards,
Natalia.Hello Guru,
could you please help with my issue with Fiori Installation.
We want to install SAP Fiori Front-End (GW+UI) on the Sandbox system with SAP Netweaver 7.3.1. (SP14)
Gateway component (SAP GW CORE 200 SP10) was installed without any problems.
But I need to install UI-add-on (NW UI Extensions v1.0) and when I try to install it via SAINT, transaction said me that I need to generate xml-file for it (as in General notes for UI add-on mentioned).
But I have Solution Manager 7.0.1 and in MOPZ for this version I do not have option "install Add-on" as it written in Guide for ui add-on installation.
Could you please help me with advice how to generate xml-file for UI add-on installation on SolMan v.7.0.1?
If where is no way, but only to upgrade Solution Manager, maybe somebody could give me xml-file for your system (for NW 731) and I will change it to my needs, I will be very grateful!
Thanks in advance for any help!!!
Bets regards,
Natalia.
Maybe you are looking for
-
Upgrade Fails at step RDDCP4TB (SQL Server 2005)
During the process of upgrading to ECC 6.0 from 4.6c, you may also encounter the following error during the SAPUP step RDDCP4TB: <b>BATCH JOB RDDCP4TB FAILED SEVERE ERROR: Batch job "RDDCP4TB", job count "timestamp" aborted</b> If you log into the sy
-
AE + Premiere +Media Encoder CC startup crash
Has anyone started getting MAC crashes on application startup? I have recently started getting this on splash screen. It doesnt go any further from there! I'm adobeless :-( I've trashed the prefs as per forum results but still no luck ;-( However pho
-
Mail slow down and can't moving mail to folders
OSX 10.6 +, all software upto date. Mail suddenly had difficulty downloading, spinning beachball forever, difficulty getting mail to open and when downloaded could not move to other mail boxes with out error message. Single file may move at times but
-
Hi, I have a SD card in my Q10 and I encrypted it. A few days ago, there was a message after the Q10 was restarted "your media card was encrypted on another device. To usethe media card in this device, go to your Storage and Access settings and form
-
Report sel. screen checkbox unchecked problem
Hello, I have writen a report and on its selection screen, the logic is if checkbox is checked, one parameter field should be made as "required". I did it at selection screen output and using screen-required field as '1'. It works. But if user un-che