BODI XML File Format - Runtime error
Hi Friends:
I am able to import xsd file in the designer and validate the job. However when I run the job, I get the following runtime error:
XML-240308 XML parser failed: Error: <An exception occurred! Type:RuntimeException, Message:The primary document entity could not be
opened. Id=D:\DI Install\Business Objects\Data Integrator 11.7\bin///usohcol1nas9k01/Etl/SkipRobot/DataFiles/ XML_Data/XMLFiles/CCD_14817356337494.man> at line <0>, char <0> in file <>.
|Dataflow New_DataFlow4|Reader READ MESSAGE xml_test2 OUTPUT(xml_test2)
XML parser failed: See previously displayed error message.
Please note that I am using vnc path for the XML files. However, If I use a directory local to the job server, the job runs fine.
Can any one tell me what the issue is?
Thanks
Raj
Hi Raj,
That's funny that you are using 11.7.2.2 -- this problem was reported in bug ADAPT00777107 which was reported in 11.7.0.x. 11.7.2.2 contained a fix for this issue. It is also resolved in version 11.7.3.x and 12.x. (In the "doc" directory of the 11.7.2.2 installer, you will find a PDF called FixPack_ReleaseNotes which mentions that ADAPT00777107 was resolved.)
Maybe your jobserver is version 11.7.0.x and your Designer is version 11.7.2.2? Let me know.
Thanks,
~Scott
Similar Messages
-
How to export table contents in xml file format through SQL queries
hi,
i need to export the table data in to xml file format. i got it through the GUI what they given.
i'm using Oracle 10g XE.
but i need to send the table name from Java programs. so, how to call the export commands from programming languages through. is there any sql commands to export the table contents in xml format.
and one more problem is i created each transaction in two tables. for example if we have a transaction 'sales' , that will be saved in db as
sales1 table and sales2 table. here i maintained and ID field in sales1 as PK. and id as FK in sales2.
i get the combined data with this query,
select * from sales1 s1, sales2 s2 where s1.id=s2.id order by s1.id;
it given all the records, but i'm getting two ID fields (one from each table). how to avoid this. here i dont know how many fields will be there in each table. that will be known at runtime only.
the static information is sales1 have one ID field with PK and sales2 will have one ID filed with FK.
i need ur valuable suggestions.
regards
pavan.You can use DBMS_XMLGEN.getXML('your Query') for generating data in tables to XML format and you can use DBMS_XMLGEN.SETROWSETTAG to change the parent element name other wise it will give rowset as well as DBMS_XMLGEN.SETROWTAG for row name.
Check this otherwise XMLELEMENT and XMLFOREST function are also there to convert data in XML format. -
File Adapter -- File Format (Mapping Error)
Hi All, am using a file adapter to pick up file using content conversion , but i can see it happens to be mapping error, i have set all in right format but below one thing i cud not understand how to change, as shown bellow.
Test XML format in mapping:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_DMS_FINAL xmlns:ns0="http://dms:scenario">
<Record>
<Row>
<FirstName/>
</Row>
</Record>
</ns0:MT_DMS_FINAL>
actual XML picked up by Sender File Adapter:
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_DMS_FINAL xmlns:ns="http://dms:scenario">
<Record>
<Row>
<FirstName>296501_000_00</FirstName>
</Row>
</Record>
</ns:MT_DMS_FINAL>
The difference between both is the "ns0" and "ns" , how to make it equal , which part is to be modified to make it equal, kindly revert back with solution.
With regards
SrinivasHi ,
Thx for replies , i followed as shown in above blog and went fine but there is mapping error as shown below,
xml format after pick by sender file adapter
<?xml version="1.0" encoding="utf-8" ?>
<MT_DMS_FINAL>
<Record>
<Row>
<FirstName>296501_000_00</FirstName>
</Row>
</Record>
</MT_DMS_FINAL>
xml file format from test tab in Message mapping
<?xml version="1.0" encoding="UTF-8"?>
<MT_DMS_FINAL>
<Record>
<Row>
<FirstName>296501_000_00</FirstName>
</Row>
</Record>
</MT_DMS_FINAL>
See above xml first statment is different , how to make it equal
Help
Srini -
Presently calling a webservice to search for customer which generates a XML file. Requirement is to check the XML file format in case of success move to next step and in case of error exit from the application.
The file generated can have multiple formats as per input supplied.
Please advise how the file format can be checked.
Thanks
anyahi anya,
Try to use FM IDOC_XML_FROM_FILE.
or check the below code
data: temp_str type string.
concatenate '>' cl_abap_char_utilities=>cr_lf '<'><' in XML_STRING with temp_str.
xml_string is the straing variable to hold the xml .
now use xml_string to show it in texteditor.
-Thanks
Saurabh Goel -
ABAP to XML file - Formatting problem and UTF-8 requirement
Hi Everyone,
Could you please guide us on the ABAP coding required to get the proper XML file format. We have prepared the code for downloading SAP transaction data into an XML file format. However, we are stuck with an improper format as per Example 1.
The file format we get is this:
Example 1:
<?xml version="1.0"?><FDXLMDOrd><FXNHdrLp><CrtDtTm>20070613094517</CrtDtTm><MsgID>319304155</MsgID><MsgTyp>850</MsgTyp><MsgSubTyp>SALES_A</MsgSubTyp><Pr
<RcvTP>FSCS</RcvTP><SndSrc>FXN</SndSrc><RcvSrc>EIB</RcvSrc><UsrID>VAR</UsrID></FXNHdrLp><OrdHdrLp><OrdNbr>319304155</OrdNbr><OrdActnCD>9</OrdActnCD><Ord
teCarrReq>FDE</RteCarrReq><RteTptSvcReq>FEIP</RteTptSvcReq></DprtRteLp><SpecInstrLp><SpecInstrTyp>SHIP</SpecInstrTyp><SpecInstr>Example Packing Instruct
les Order</RefDesc></RefLp><RefLp><RefIDQual>CPO</RefIDQual><RefID>test 1 line 1 pc - s</RefID><RefDesc>Customers Customer Purchase Order</RefDesc></Ref
Typ><EntIDQual>91</EntIDQual><EntID>H00092</EntID><EntNm>VLAD BOBES</EntNm><Cty>MONTREAL</Cty><PstlCD>H3X 2N5</PstlCD><RgnalCD>QC</RgnalCD><CtryISOCD>CA
></AdrLnLp><ConLp><ConTypCD>IC</ConTypCD><ConNm>VLAD BOBES</ConNm><CommLp><CommNbrQual>TE</CommNbrQual><CommNbr>514-731-8361</CommNbr></CommLp></ConLp><
<Cty>MONTREAL</Cty><PstlCD>H3X 2N5</PstlCD><RgnalCD>QC</RgnalCD><CtryISOCD>CA</CtryISOCD><AddlNmLp><AddlNm1>VLAD BOBES</AddlNm1></AddlNmLp><AdrLnLp><Str
However, the format need to look like this as in Example 2 below.
We also need help in how to get " encoding="UTF-8"?> " as part of the file format.
Example 2:
<?xml version="1.0" encoding="UTF-8"?>
<FDXLMDProdRcpt>
<FXNHdrLp>
<CrtDtTm>20070612151817</CrtDtTm>
<SessID>26796</SessID>
<MsgTyp>861</MsgTyp>
<MsgSubTyp>WRE_A</MsgSubTyp>
<PrcsingPrty>5</PrcsingPrty>
<SndTPQualCD>ZZ</SndTPQualCD>
<SndTP>FSCS</SndTP>
<RcvTPQualCD>ZZ</RcvTPQualCD>
<RcvTP>EIB</RcvTP>
<SndSrc>YANTRA</SndSrc>
<RcvSrc>EIB</RcvSrc>
<UsrID>VAR</UsrID>
</FXNHdrLp>
<ProdRcptHdrLp>
<ShpID>VAR20070612NCHIC1</ShpID>
<ShpTyp> </ShpTyp>
<ShpActnCD>00</ShpActnCD>
<InTransMrgTyp> </InTransMrgTyp>
<ShpVolUOM>CI</ShpVolUOM>
<ShpWgtUOM>LB</ShpWgtUOM>
<ShpTotVol>310022.00</ShpTotVol>
<ShpTotWgt>861.00</ShpTotWgt>
<DtTmLp>
<DtTyp>050</DtTyp>
<DtTmQual>501</DtTmQual>
<DtTm>2007-06-12T15:07:41-04:00</DtTm>
</DtTmLp>
<AdrLp>
<EntTyp>RC</EntTyp>
<EntIDQual>93</EntIDQual>
<EntID>NCHIC</EntID>
<EntNm>NCHIC</EntNm>
<AutoCrtTrdPar>0</AutoCrtTrdPar>
<AutoCrtTrdParRole>0</AutoCrtTrdParRole>
<AutoUpdtTrdPar>0</AutoUpdtTrdPar>
</AdrLp>
<ProdRcptTptLp>
<TptIDQual>BOL</TptIDQual>
<TptSCAC> </TptSCAC>
<TptID> </TptID>
Thanks and Best Regards
SitaramanYou could try to use the following coding:
*& Report ZUS_SDN_UC_XML_TO_UTF8_TRANSF
REPORT zus_sdn_uc_xml_to_utf8_transf.
define local data
CONSTANTS:
gc_encoding TYPE string VALUE 'UTF-8'.
DATA:
gd_result type string,
go_ixml TYPE REF TO if_ixml,
go_stream_factory TYPE REF TO if_ixml_stream_factory,
go_encoding TYPE REF TO if_ixml_encoding,
go_resstream TYPE REF TO if_ixml_ostream.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1,
gd_xml TYPE string,
gt_xml TYPE TABLE OF string.
START-OF-SELECTION.
SELECT * FROM knb1 INTO TABLE gt_knb1 UP TO 10 ROWS
WHERE bukrs = '1000'.
go_ixml = cl_ixml=>create( ).
go_stream_factory = go_ixml->create_stream_factory( ).
go_encoding = go_ixml->create_encoding( character_set = gc_encoding
byte_order = 0 ).
go_resstream =
go_stream_factory->create_ostream_cstring( gd_result ).
CALL METHOD go_resstream->set_encoding
EXPORTING
encoding = go_encoding.
XML Transformieren
CALL TRANSFORMATION id_indent
SOURCE itab = gt_knb1
RESULT XML go_resstream.
APPEND gd_result TO gt_xml.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
BIN_FILESIZE =
filename = 'C:\temp\xml_to_utf8.txt'
FILETYPE = 'ASC'
APPEND = SPACE
WRITE_FIELD_SEPARATOR = SPACE
HEADER = '00'
TRUNC_TRAILING_BLANKS = SPACE
WRITE_LF = 'X'
COL_SELECT = SPACE
COL_SELECT_MASK = SPACE
DAT_MODE = SPACE
CONFIRM_OVERWRITE = SPACE
NO_AUTH_CHECK = SPACE
CODEPAGE = SPACE
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = SPACE
TRUNC_TRAILING_BLANKS_EOL = 'X'
IMPORTING
FILELENGTH =
CHANGING
data_tab = gt_xml
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
not_supported_by_gui = 22
error_no_gui = 23
OTHERS = 24.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END-OF-SELECTION.
However, I like to mention that the file created from out ECC 5.0 (6.40, non-Unicode) contains a special character between the XML header and the data part (when displayed using NotePad Editor):
...xml version="1.0" encoding="utf-8"?>[special character]<asx:abap xmlns:asx="http://www.sap.com/a...
Using a HexEditor the special character (0x0A) is displayed as a dot.
Also Check with FM - TREX_TEXT_TO_UTF8
Reward Points if it is helpful
Thanks
Seshu -
Convert the Database records to a standard XML file format?
Hai,
i want to convert the Database records to a standard XML file
format which includes the schema name, table name, field name
and field value. i am using Oracle 8.1.7. Is there any option
please help me
Thanks in advance.You could put the files somewhere and I can export them as QuickTime. Or you could find anyone you know who has Director. Or do the 30 day trial download
Another approach would be to play the DCR in a browser window, and do a screen recording. But that’s unlikely to give the perfect frame rate that you would get by exporting from Director. -
How to make OMS try to re-load XML files marked as error
Hello,
we have a lot of XML files marked as errors due to the OMS had been unable to load them becouse a full TS.
Now that de TS has been extended, how can we force the OMS loader to retry loading all those XML files???. Is there any method to do it??.
Thanks in advance.Hi,
>>>
Now, after the form has been open for several weeks and I have collected a number of responsed (hence, made a number of assignments) I've been asked to get 2 volunteers for most assignments (I was only getting 1 volunteer per assignment initally). I now need to reopen/re-display all of the assignments that I marked as an error but they are no longer visable on my form.
Can I bring them back? If so, how?
You can go back to "Design" Tab and add the options back to your choice fields. For example, if your choice field options are "Blue", "Yellow", "Red", and you deleted "Red", you can add "Red" back to the choice field options (you should be able to add additional new options as well). In "View Responses" Tab you should not see the error mark anymore.
Hope this helps,
Thanks,
Lucia -
SCOT error "File format conversion error"
Dear All,
When a PDF file is sent as a FAX, the SCOT throws the following error with message XS 812:
No delivery to <fax_number>
Message no. XS812
Diagnosis
The message could not be delivered to recipient <fax_number>. The node gave the following reason (in the language of the node):
File format conversion error
Can anybody suggest what could be the problem?
Note that the normal PCL and RAW data are being sent to the same FAX number without any problem.
Thanks
SagarHello,
You need to specify the correct formats:
Check this link:
http://help.sap.com/saphelp_nw70/helpdata/EN/b0/f8ef3aabdfb20de10000000a11402f/frameset.htm
Regards,
Siddhesh -
Help! Urgent !- Mapping error - XML file format ?
Hello,
I can't load this xml file (by http adapter):
<?xml version="1.0" encoding="UTF-8"?>
<ZVG_GetOrderList_requ>
<Orders>
<Order MessageType="GETORDERLIST" DecimalSeparator="POINT" Currency="EUR">
<CustomerCode type="AG">0330029839</CustomerCode>
<Plant>1141</Plant>
<SalesOrganisation>1141</SalesOrganisation>
<DocType>1</DocType>
<DistributionChannel>01</DistributionChannel>
<Division>99</Division>
<BeginDate>20040926</BeginDate>
<EndDate>20041026</EndDate>
<TransactionGroup>0</TransactionGroup>
<CustomerOrderNumber />
<ERPOrderNumber />
</Order>
</Orders>
</ZVG_GetOrderList_requ>
is there any problem in this file ?
The message mapping seem to be correct
do we have to add some tags in the file ?
Thanks for your help
Message was edited by: Fabrice Petetin
Message was edited by: Fabrice PetetinI obtain the following error message :
<?xml version="1.0" encoding="iso-8859-1" ?>
- <Top>
<First>BeginTrace</First>
<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
<Trace level="2" type="T">......attachment XI_Context not found</Trace>
<Trace level="1" type="T">Interface Mapping http://ZVGEPOWER_TRANSACTIONS ZVG_GetOrderList</Trace>
<Trace level="3" type="T">Object ID of Interface Mapping A6AE36BEA38F36198AF80ECE75E2F905</Trace>
<Trace level="3" type="T">Version ID of Interface Mapping 1AADFDF03E2611D9CF65DA19C0A82AA1</Trace>
<Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_ZVG_GetOrderList_request_</Trace>
<Trace level="2" type="T">Mode 3</Trace>
<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_ZVG_GetOrderList_request_.</Trace>
<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._ZVG_GetOrderList_request_</Trace>
<Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
<Trace level="3" type="T">Document start</Trace>
<Trace level="3" type="T">Start tag [ns0:BAPI_SALESORDER_GETLIST]</Trace>
<Trace level="3" type="T">Add raw attribute [ xmlns:ns0="urn:sap-com:document:sap:rfc:functions"]</Trace>
<Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_ZVG_GetOrderList_request_</Trace>
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:296) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:68) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:236) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:63) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy22.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</Trace>
<Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_ZVG_GetOrderList_request_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd</Trace>
<Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_ZVG_GetOrderList_request_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:72) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy22.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:BAPI_SALESORDER_GETLIST/CUSTOMER_NUMBER. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:296) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:68) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:236) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:63) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:77) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:88) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:63) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:80) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy22.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:95) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:171) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</Trace>
<Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
</Top> -
Backing up using Export/Import & ITL, XML file formats
Using Windows XP I have reset my default Itunes folder to c:\Itunes (too big for MY Documents\...). then copied everything from c:\itunes to an external hard drive. (I didn't realize the ITL file doesn't move and therefore I may not have a good backup of it.
Starting with a new computer, installed Itunes, then did a 'File, Add folder to library (with copy option)' from the external hard drive. This restored all my songs but I lost playlists, play count & my ratings.
I then did an import from library.xml, this restored the playlists, but still no play count or ratings.
My question is
1) IS there a better way to backup from Hard Drive to Hard drive? (Maybe all I really needed was the ITL file also?)
2) what is the format of the ITL file (I am a systems programmer, would appreciate a URL that has detail), what (hopefully free) utility would edit it?
3) a high level view of the XML file (I know XML)
4) Where is there complete documentation on Itunes ( a detailed description of export/import would be appreciated)
AMD Sempron, Duron, Athlon, Celeron Windows XP Pro
AMD Sempron, Duron, Athlon, Celeron Windows XP ProHere's my old standard answer for this topic - hope you can find something useful from it ...
iTunes Music Library.itl & iTunes Music Library.xml must stay where you found them.
To move your music files, use iTunes to do the work. Don't manually drag them around yourself.
• change the library location in iTunes Advanced Preferences tab, the new location does not need to exist; iTunes will create it. The new location should be empty of music files. This just sets the location for any new files brought into iTunes; it does not affect any existing files in the iTunes library.
• Select iTunes Advanced menu, Consolidate Library command. This copies all iTunes music files to the new library location. Playlist & Ratings data is preserved!
• After it completes (assuming no errors), quit iTunes and get rid of the original files from your previous location. The xml & itl files must remain in the old location, the library location setting does not control the location of these two critical files. -
RELAX NG or Schematron schemas for Pages XML file format?
Hey, I have been following with interest for over a year - more like two years - the whole "where are the XML schemas" for Keynote 1, and then Pages and Keynote 2.
Apparently there is some difficulty obtaining them and I would guess that means defining them. Because if Apple had their hands on them, they would be out - and up to date - by now.
XML Schema (.xsd) files are pretty painful to generate. There is a much simpler and and yet even more powerful schema format called "Relax NG". Assuming someone knows what the grammar is that Pages will willingly/successfully slurp up - they could probably create a .rnc file from scratch pretty quickly. The learning curve is pretty short for basic stuff and the amount of typing required is at least 40% less than when you create a .xsd file.
Some things do not lend themselves to grammar based schemas like XSD, RNG, or RNC.
Instead, a rule based schema language works better. Schematron is very good for this. The suffix for this file type is ".sch". The web site is easy to get to - just type schematron in your web browser's address field and press enter. Specs are all there.
There is a program called Examplotron that creates a Schematron schema for you, given an XML file that is a sample. Of course, making rules from one example is not the same as knowing all the rules. The more different kinds of stuff you have in the file though, the better your chances are of getting a decent start going. Examplotron lives on the web at examplotron.org in case you are curious.
OxygenXML is a very, very good XML editor and schema development environment. I have used it and a bunch of others. It is my favorite, by far.
Someone at Apple should get on this. If it is too hard to create an XML Schema file - then please, please - try to create an RNG, RNC, or SCH file.
If Apple cannot do it, then perhaps the user community could take a crack at it. However, it is a little bit like trying to document the laws of a country by watching what the government people do, what people do who do not get arrested, and what people do who do get arrested.
You are not certain to see an example of every law being broken - for starters, so you will miss some. (One hopes you will not see every law that exists broken!)
You are also not going to be able to tell what laws have influenced behavior that is lawful.
So, for both reasons, you might unwittingly "break the laws" of this hypothetical land. In that case, you might be executed, fined, imprisoned, or as is the case still in some countries - have your hand chopped off!
In the case of feeding a file based on mistaken assuptions to Pages, it certainly will not do what you want it do do. In theory, it might even crash, lose some data, pop up an error - or worse maybe not pop up an error, or corrupt its internal structures and become unstable. Or seem to work but fail to write the whole file out again. Or write out something that it cannot read in again - or does not reconstitute into the document that you used to have.
Granted, there is a brute force technique that can be employed. You can write an AppleScript that gets pages to create a document that exercises every possible style and feature and logical ordering and nesting of things.
Then you can study the XML that generates, or even feed to to Examplotron or a DTD generator.
Doing so would probably be a way to get a good start going.
Without any schema, there is no way to know if a complex program-generated Pages document will work right with pages.
Granted, such program-generated documents can be generated with Applescripts. But if one already has some XML that one wants to blend in, for example - then it would be better to do it with XSLT. Or Java. Or whatever.
Unfortunately, you really have to know what XML is legal in pages - and you have to know the grammar or rules for what Pages expects.
So, any XSD coming from Apple in the near future - or any interest at Apple in completing a .rnc or .rng schema if it gets mostly done by customer(s) and then handed off to Apple to finish?XML converter (an add on to Inbound Refinery) could be used to display the contents with your XSLT choices but analyzing the file to prevent checkin would take data validation that would be custom. The CS does not care the file format or file type for checkin. Others have looked for analysis of file extension to stop checkin of certain extensions. This has been custom. I think there may be enhancement requests from customers for this kind of validation for the CS but it does not exist in the core yet.
-
XML iView Portal Runtime Error
Hallo,
I am trying to fetch RSS feeds through XML iView. The contents displayed, but the bottom of the page gives an error:
Portal Runtime Error
An exception occurred while processing your request
Exception id: 04:02_30/10/08_0069_9080150
See the details for the exception ID in the log file.
Any suggestions on this?>
Portal Runtime Error
> An exception occurred while processing your request
> Exception id: 04:02_30/10/08_0069_9080150
> See the details for the exception ID in the log file.
>
> Any suggestions on this?
Could you also check the log file on your portal server and let us know the error in detail?
Regards,
Anagha -
Hi Guys,
I have an xml file that says something like below:
<?xml version ="1.0">
<!DOCTYPE test SYSTEM "/dtd/tester.dtd">
<test>
<testing>hello world</testing>
<test>
Thr problem is that my dtd folder inside the same place as my test.class file. but I'm calling my test.class from the root directory using java -cp . It keeps failing with error FileNotFoud:/dtd/tester.dtd. As I understood its looking for dtd folder in the root dir. But it cannot find it there so its failing. Any solution to this problem?????
ThanksAny example would be geart, I'm using a DOM parser to validate see below:
String parsed = null;
DocumentBuilderFactory dbf = null;
try {
dbf =
DocumentBuilderFactory.newInstance();
dbf.setValidating(true);
dbf.setNamespaceAware(true);
dbf.setIgnoringElementContentWhitespace(true);
} catch (Exception e) {
// Parse the input to produce a parse tree with its root
// in the form of a Document object
try {
DocumentBuilder builder = dbf.newDocumentBuilder();
builder.setErrorHandler(new XmlErrorHandler());
Reader readFile = new StringReader(xmlDocument);
InputSource is = new InputSource(readFile);
doc = builder.parse(is);
DOMParse((Node) doc, "");
parsed = constants.XMLSUCESS;
} catch (SAXException e) {
xmlLogging.setServereLog("SAXExceptoin @DeviceHandlerXmlParser82 " +
e);
parsed = constants.XMLFAIL; -
Simple transformation XML to ABAP, runtime error: CX_ST_REF_ACCESS
Hi, all experts,
I got a runtime error CX_ST_REF_ACCESS, while I tried to use Simple Transformation to transfer XML-String to ABAP internal table.
Can anybody help me to fix the problem? Thanks very much. It's urgent.
The code of transformation like this:
<tt:root name="DATA"/>
<tt:template>
<node>
<tt:deserialize>
<tt:loop ref=".DATA" name="mdr_data">
<tt:attribute name="type">
<tt:value ref="$mdr_data.lf_type"/>
</tt:attribute>
<tt:attribute name="objid">
<tt:value ref="$mdr_data.lf_objid"/>
</tt:attribute>
<tt:attribute name="name" value-ref="$mdr_data.lf_name"/>
<tt:attribute name="short" value-ref="$mdr_data.lf_short"/>
</tt:loop>
</tt:deserialize>
</node>
</tt:template>
The Data-structure in my Report:
DATA: BEGIN OF ls_mdr_data,
lf_type TYPE /ehr/ct_dt_bo_type,
lf_objid TYPE realo,
lf_name TYPE stext,
lf_short TYPE short_d,
END OF ls_mdr_data,
lt_result_data like TABLE OF ls_mdr_data.
If I call the transformation use the XML-String like:
<node type="MDRFOLDER" objid="50016122" name="MDR Root Folder" short="MDR Root"/>
I got the error CX_ST_REF_ACCESS:
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_ST_REF_ACCESS', was not caught and
therefore caused a runtime error.
The reason for the exception is:
The goal was to access variable "LF_TYPE". However, this access was not
possible.Hi, all experts,
I got a runtime error CX_ST_REF_ACCESS, while I tried to use Simple Transformation to transfer XML-String to ABAP internal table.
Can anybody help me to fix the problem? Thanks very much. It's urgent.
The code of transformation like this:
<tt:root name="DATA"/>
<tt:template>
<node>
<tt:deserialize>
<tt:loop ref=".DATA" name="mdr_data">
<tt:attribute name="type">
<tt:value ref="$mdr_data.lf_type"/>
</tt:attribute>
<tt:attribute name="objid">
<tt:value ref="$mdr_data.lf_objid"/>
</tt:attribute>
<tt:attribute name="name" value-ref="$mdr_data.lf_name"/>
<tt:attribute name="short" value-ref="$mdr_data.lf_short"/>
</tt:loop>
</tt:deserialize>
</node>
</tt:template>
The Data-structure in my Report:
DATA: BEGIN OF ls_mdr_data,
lf_type TYPE /ehr/ct_dt_bo_type,
lf_objid TYPE realo,
lf_name TYPE stext,
lf_short TYPE short_d,
END OF ls_mdr_data,
lt_result_data like TABLE OF ls_mdr_data.
If I call the transformation use the XML-String like:
<node type="MDRFOLDER" objid="50016122" name="MDR Root Folder" short="MDR Root"/>
I got the error CX_ST_REF_ACCESS:
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_ST_REF_ACCESS', was not caught and
therefore caused a runtime error.
The reason for the exception is:
The goal was to access variable "LF_TYPE". However, this access was not
possible. -
How to send XI a record from GDS which is either a Flat or XML file format.
Dear All,
I am working on a GDS scenario. I have created a GTIN manually in GDS and now want to register it to a data pool. As this is an internal project, I do not have connection to any pilot client and hence we are using a dummy destination data pool number of 1Sync.
As per my basic understanding of this Scenario, It is still possible for me to "Register" a GTIN and an XML file will be generated with the GTIN details.
However, when I do "Register" a GTIN, I get a Register error "Failed to send message, reason" Exception in method gDSDPOut"
I have a few Queries:
1. Is any XML generated on clicking the Register Button?
2. What is the functionality of the " Register" Button? Does it send the XML to XI system directly.If the XML is created, how and where should I locate it to see the content.
Can any of the experts who have worked on this scenario please validate my understanding.Can anybody please share some details on how to proceed.
Thanks & Regards.
Sumit KhanduriHi Sumit/SDNer's
1. Is any XML generated on clicking the Register Button?
2. What is the functionality of the " Register" Button? Does it send the XML to XI system directly.If the XML is created, how and where should I locate it to see the content.
I am also having the same problem. How do I see the XML file.
Please answer ASAP.
BR
Deepak
Maybe you are looking for
-
I've just purchased a new 2014 15" MacBookPro to replace my much missed 17" MBP. I got the works: OS 10.9.4, 2.8GHz Intel i7, 16GB memory and a 1 TB SSD, but despite the expense, I still don't have a computer that works... The problem is that every t
-
Case Insensitive Search for the Dashboard Prompt Filter
Hi, Can anyone help me, how to make dashboard propmt filter to be case insensitive, as of now dashboard propmts are case sensitive by default. How can we achieve this? Any help on this will be appreciated. TIA
-
When two tables are joined and there is a where predicate, what is done first ? 1) the WHERE in order to filter the records being joined. 2) the JOIN and after both tables are together with all their records Oracle filters according to the where pred
-
Hi experts, I hope u can Resolve this query.......My requirement is in 'XD02' by giving the customer no and the division type. in the next screen in sales document screen and in the billing document tab it will dispaly the payment term tat maintained
-
Visible property in ItemRenderer
Hi there, I have a very basic question. I'm trying to hide a canvas in the itemrender of a list <mx:List dataProvider="{currentCollection}" width="100%" height="100%"> <mx:itemRenderer> <mx:Component> <mx:Canvas visible="false" includeInLayo