Upload of Customs Duty Rates (xml file) without transport request creation
Hi All
Can we upload the Customs Duty Rates (xml file) without transport request directly in the system.
Thanks & Best Regards
Kiran
Hi Kiran,
Please check transaction & program /SAPSLL/TLC_CUSB_UPL in GTS.
This allows you to upload the XML from a local source or an application server path.
I do not think a transport request is required in this scenario.
Best Regards,
Eoin
Similar Messages
-
Hi All,
Is there any way to upload Tariff Code (with multiple XML files) from application server?. Its urgent.
Regards,
JatinHi Jatin,
Yes, of course you can upload multiple files for tariff codes.
This can be done by the below path:-
SAP GTS Cockpit(tcode-/sapsll/menu_legal)-->Customs Management-->Classification-->Classification Master Data-->Upload Tariff Code Numbers from XML file(tocde- /SAPSLL/LLNS_UPL101).
In the above area after browsing and choosing the first file, please select multiple check box to choose more files as well. Then you can further select your application server and upload all those files in one go.
PS:- Although, we have an option to upload multiple such files but actually we should avoid multiple file uploads due to various reasons. Hence, please take utmost care during such procedure.
Regards,
Aman -
Reload web-inf/web.xml file without restarting tomcat
Please help me if any one have a solution .
I am doing development in jsp, servlet. I am using tomcat5 as a webserver.
i want to reload web-inf/web.xml file without restarting tomcat.From the tomcat admin page you can stop/start and refresh individual applications. See the tomcat documentation. Which, when you have a question about tomcat, you should always do first.
-
I am wondering if there is a way to validate XML file without using the <!DOCTYPE... but pass in the location of the schema/DTD file as a parameter to a validating method?
thanksNone that I know of. The only thing close is to use the EntityResolver interface where you can modify the location of the DTD file before it's being loaded and parsed, but that requires a <!DOCTYPE ...> in the XML file.
Good luck. -
Error when adding EPA file to transport request via CTS
I have a rather strange problem. Sometimes when attempting to add an EPA file to a Transport Request via CTS I get the following error in my logs with a corresponding short dump. This does not happen all the time.
#000255D36E8F005B00015391000003DC00046C0470FF1359#1244666238275#com.sap.portal.pcdadmintools#sap.com/irj#com.sap.portal.pcdadmintools#MOROZOWSKIJO#24750##rp1.conair.com_RP1_2406850#MOROZOWSKIJO#28167c7055fe11dea0f1000255d36e8f#SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#/System/Server#Java### [com.sapportals.portal.pcd.admintools.export.ExportCTSHandling] Could not attach epa file to transport request
[EXCEPTION]
{0}#1#com.sap.tc.di.draft.ts.TsExecutionException: Error executing function (check stacktrace for details):CTS_FILE_APPEND_TO_REQUEST, (service=com.sap.tms)
at java.lang.Throwable.<init>(Throwable.java:216)
at java.lang.Exception.<init>(Exception.java:59)
at com.sap.tc.di.draft.ts.TsException.<init>(TsException.java:19)
at com.sap.tc.di.draft.ts.TsServiceException.<init>(TsServiceException.java:16)
at com.sap.tc.di.draft.ts.TsExecutionException.<init>(TsExecutionException.java:16)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoExceptions.throwTsServiceException(TmsJCoExceptions.java:74)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoExceptions.throwTsException(TmsJCoExceptions.java:35)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.addFileToRequest(TmsJCoAdapter.java:536)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsTransportService.handOverAsStream(TmsTransportService.java:253)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsTransportService.requestUpdate(TmsTransportService.java:202)
at com.sap.tc.di.draft.ts.impl.TransportRequestImpl.transmit(TransportRequestImpl.java:97)
at com.sap.tc.di.draft.ts.impl.TransmissionPackageImpl.transmit(TransmissionPackageImpl.java:49)
at com.sapportals.portal.pcd.admintools.export.ExportCTSHandling.attachFileToPackage(ExportCTSHandling.java:209)
at com.sapportals.portal.pcd.admintools.export.pages.ExportStatusPage.prepareGenericPageSettings(ExportStatusPage.java:417)
at com.sapportals.portal.pcd.admintools.export.pages.ExportStatusPage.dispatchPageRequest(ExportStatusPage.java:241)
at com.sapportals.portal.pcd.admintools.export.ExportMain.doContent(ExportMain.java:89)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:166)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:111)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:200)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:177)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:438)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:404)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:332)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:0)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:335)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:963)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:249)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:0)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:92)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:103)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump.
at java.lang.Throwable.<init>(Throwable.java:194)
at java.lang.Exception.<init>(Exception.java:41)
at java.lang.RuntimeException.<init>(RuntimeException.java:43)
at com.sap.mw.jco.JCO$Exception.<init>(JCO.java:1117)
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)
at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1224)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3909)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3417)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.executeFunction(TmsJCoAdapter.java:112)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.executeFunction(TmsJCoAdapter.java:133)
at com.sap.tc.di.draft.cts.impl.adapters.jco.TmsJCoAdapter.addFileToRequest(TmsJCoAdapter.java:531)
... 38 more
Edited by: Jon Morozowski on Jun 10, 2009 10:57 PMHere is the short dump in the ABAP system.
Short text of error message:
INTERNAL ERROR UPDATING REQUEST DESC OF RP1K900690
Long text of error message:
Technical information about the message:
Message class....... "PU"
Number.............. 601
Variable 1.......... "INTERNAL ERROR UPDATING REQUEST DESC OF"
Variable 2.......... "RP1K900690"
Variable 3.......... " "
Variable 4.......... " "
I have checked the RFC destination in the J2EE Admin and that works OK. This has me kind of stumped. -
Error when creating files for transport request SAPK-700BGINPLMWUI
Hello experts,
We're upgrading our 46c System to ERP 6.0 EHP4.
In Phase EHP_INCLUSION we get the following error Message: Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"
We've already checked the SAINT version; Upgrade Fix, SAPCAR version. We've checked our TMS as well and everything seems O.K.
Any help would be really appreciated!!!
Complete Error message:
EhP component PLMWUI, 700
Looking for SAINT package for 'PLMWUI' ...
R3upReadNewPackages:
patchType='U', langVect='DEC'
RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"
RFC Login succeeded
Calling function module "spda_read_new_packages" by RFC
ismovesVersion='0'
R3upReadNewPackages: exit: rc=0
... No matching package found.
R3upReadNewPackages:
patchType='I', langVect='DEC'
RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"
RFC Login succeeded
Calling function module "spda_read_new_packages" by RFC
ismovesVersion='0'
R3upReadNewPackages: exit: rc=0
Found: name = 'PLMWUI', release = '700', package = 'SAPK-700BGINPLMWUI', type = 'AOI'
... Matching package found: 'PLMWUI','700','SAPK-700BGINPLMWUI'
(trc) R3upPatchDisassembleQueue: 1 package queue entries
(trc) R3upPatchDisassembleQueue: force=YES
(trc) R3upPatchDisassembleQueue: 1 packages will be disassembled
Starting disassembling package queue
Date & Time: 20100319133139
Starting RFC Login to: System = "X05", GwHost = "sxt ", GwService = "sapgw00"
RFC Login to: System="X05", Nr="00", GwHost="sxt ", GwService="sapgw00"
RFC Login succeeded
Calling function module "SPDA_DISASSEMBLE_QUEUE" by RFC
Input table IT_PATQ:
"SAPK-700BGINPLMWUI","000","AOI","PLMWUI","700","SAP PLM Web UI","00"
Call of function module "SPDA_DISASSEMBLE_QUEUE" by RFC succeeded
Logging off from SAP system
Date & Time: 20100319133139
Disassembling package queue failed, rc = "2", reason = "Error when creating files for transport request SAPK-700BGINPLMWUI"Hello Anthes,
Please Check the things in following sequence :
1.Use latest SAPehpi, R3trans and tp versions.
2. users/group authorization issue and/or ownersip limitations (set 777) .Reboot the server to make sure, that the authorisations are updated and there is no lock on a file in the EHPI dir.Repeat the phase.
Folders where permissions should be 777 are Upgrade directory, Data Directory, Cofile directory and .../EPS/in.
3. Source file corruption can be ruled out by execution
R3trans -l /usr/sap/<SID>/..../abap/data/R-700BGINPLMWUI.SAP (The data file corresponding to the Package which is giving error). Check if this ends fine.
Note 2050
4. Confirm that your transport tool is 'healthy' by testing it in STMS. In SPAM in client 000 use the function Disassemble package and enter the package <Package name>.
5. Try to update the kernel if it not helps.
Best Regards
Niraj -
Include attachments in a xml file without using mail adapter
Hello Experts,
Is there a way to include attachments like pdf or excel in a xml file?
It is a file to file scenario in which i have to include the attachment in the output file.
Thanks and regards,
MerrillyHi,
Check this links,
PDF
SAP Network Blog: XI: Read data from PDF file in Sender Adapter
/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
SAP Network Blog: XI: Generate PDF file out of file adapter
/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter
EXCEL FILES
SAP Network Blog: XI: Generating Excel files without the Java nor the Conversion agent not possible?
/people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
SAP Network Blog: Read Excel instead of XML through FileAdapter
/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
Regards,
Phani
Reward points if Helpful -
How to include xml file without embedding in flex web application?
Hi
I have a big XML file around 11 mb. I want to include this xml in my web application without embedding.
So anyone have idea to include.
Please suggest me any idea.
ThanksIf you don't want to embed the XML file into a SWF, then the SWF can download the XML file from the server at runtime when it needs it. But there will be a delay while that happens. Maybe it would be better to put the data in the XML file into a database and then access only the parts of it that you need.
Gordon Smith
Adobe Flex SDK Team -
Different between upload an image and a XML file??
To uploading an image file then to database, i use the following function:
" .getLoader().setOrdHttpUploadFile "
but if I want to upload an XML file, is it work?? If not, how can I do??Hi,
You mention the getLoader() method: are you using BC4J? If so, then you have to write the code yourself. BC4J is integrated with the interMedia database object types, and knows how to handle upload requests to these types. If you want to write a simple BLOB or CLOB column, then you can do so, but you have to write the code. See my reply to your other post below.
Simon
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>
Hi,
When you say: 'i find the class of "intermedia" that it is just use to
upload image, audio, or video file.', are you referring to interMedia
Java Classes for Servlets and JSP? If so, you can use these classes to
upload any document to a BLOB column. Simply select the column from
the database (using FOR UPDATE), call the OrdHttpUploadFile.loadLob(
BLOB blob ) method to write the data to the BLOB, then update the BLOB
column in the database. To write an uploaded document to any other
data type, such as a CLOB, you would need to read the data from the
InputStream returned by the OrdHttpUploadFile.getInputStream() method,
then write it to the data type using whatever mechanism is
appropriate, taking in to account such things as character set
conversion.
Hope that helps,
Simon
<HR></BLOCKQUOTE>
null -
Insert a xml file without assigning the tablename in the xmldb
hi guys,
here comes a interesting question,
after I registed a xml schema in oracle xml db, oracle create several tables depending on the schema, then I want to insert a xml file that is valided with the register schema and this xml file point to the "schemaurl" .
If its possible to insert this xml file to oracle xmldb without point out the exact table name in the java program ( in oci driver or thin driver ).
BTW, I can copy this xml file to oracle xml db repository, oracle insert it to xml table automatically.
Mark, would you please give me some advice ;-)
ThanksYou can call it from JDBC using thin or thick. Thick is preferred...
package com.oracle.st.xmldb.pm.examples;
import com.oracle.st.xmldb.pm.common.baseApp.BaseApplication;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import oracle.jdbc.OracleCallableStatement;
import oracle.jdbc.OracleResultSet;
import oracle.jdbc.OracleTypes;
import oracle.xdb.XMLType;
public class CreateResource extends BaseApplication {
public CreateResource() {
public void doSomething(String[] Args) throws Exception
OracleCallableStatement statement = null;
String statementText;
statementText =
"declare" +
" res varchar2(5);" +
"begin " +
" if (dbms_xdb.createResource(:1,:2)) then " +
" res := 'TRUE';" +
" else" +
" res := 'FALSE';" +
" end if;" +
" :3 := res;" +
"end;";
XMLType xml;
// In the real world we would get an InputStream from something more interesting that
// an in memeory String
String xmlText = "<Root><Element Attr=\"AttrValue\">A text Node</Element></Root>";
byte[] byteBuffer = xmlText.getBytes();
InputStream is = new ByteArrayInputStream(byteBuffer);
xml = XMLType.createXML(this.getConnection(),is);
statement = (OracleCallableStatement) getConnection().prepareCall(statementText);
statement.registerOutParameter(3,OracleTypes.VARCHAR);
statement.setString(1,"/public/test1.xml");
statement.setObject(2,xml);
boolean res = statement.execute();
String plsqlResult = statement.getString(3);
System.out.println("The result is " + plsqlResult);
statement.close();
getConnection().commit();
getConnection().close();
public static void main (String[] args)
try
CreateResource example = new CreateResource();
example.initializeConnection();
example.doSomething(args);
catch (Exception e)
e.printStackTrace();
} -
I am in hurry,how to save the xml file without attributes
i have the following xml file with attributes,
<?xml version="1.0"?>
<Ve2.Configuration>
<Ve2.Displaymanager>
<type type="combobox">eVeDisplayStandardType</type>
<setCounter type="bool">false</setCounter>
<frames type="textfield">20</frames>
</Ve2.Displaymanager>
</Ve2.Configuration>
but i want to save it without attributes, that means, my saved xml file look like this.:
<?xml version="1.0"?>
<Ve2.Configuration>
<Ve2.Displaymanager>
<type >eVeDisplayStandardType</type>
<setCounter >false</setCounter>
<frames20</frames>
</Ve2.Displaymanager>
</Ve2.Configuration>
how can i do it with java.If you know the format of the XML file, then you can write a straight forward XSL file to transform it.
Paul
www.codetelligence.com -
Xml file without namespace with file adapter
Hi,
Please can you assist. We will be receiving a XML file from an application without the namespace in the file.
As I tested thusfar PI requires a namespace as part of the xml file.
How would it be possible to you handle this with the file adapter.
Ex.
<?xml version="1.0" encoding="UTF-8"?>
<applicatrion>
<orders>
<order>
<action>I</action>
<orderId>4261A92485</orderId>
</order>
</orders>
</application>
Regards
Willie HugoHi Hugo,
Please see if this link could clear some doubts http://www.w3schools.com/XML/xml_namespaces.asp
We generally get an idoc xml in the below format without any issues:
<?xml version="1.0" encoding="UTF-8" ?>
- <ORDERS05>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>510</MANDT>
<DOCNUM>0000000000127051</DOCNUM>
<DOCREL>700</DOCREL>
<DIRECT>1</DIRECT>
<IDOCTYP>ORDERS05</IDOCTYP>
</EDI_DC40>
Thanks,
Sudhansu -
End of XML file without root element
how can i know when the end of a XML file is reached if there is no root element, im using kxml.
<element id="12" nom="dan"/>
<element id="32" nom="eco"/>
<element id="34" nom="juar"/>i can parse it without no problem but when it reaches the last element it throws an exception when calling to nextTag() method, how can i knwo when stoping reading...
while(???????????)
code....
}Read the document with DOM, and append the new children, then use an empty transformer to write ti out.
-
Adding EOF to XML file without using FCC
Hello Experts,
I have a simple File to File scenario with source and target files being XML and simple mapping (No content conversion necessary). The issue which I face is described below:
File is written by receiver File Adapter on the unix system, a third party Unix script tries to read the file and faces problems which they report is because the file is not ended correctly. When we try to open the files using vi editor, we also get a warning: [Last line is not complete].
As a temporary solution the script is making sure the line is ended correctly. Can you advice me how from PI side I can make sure that the file ends properly. I was thinking to write a shell script and add it as a OS post processing command but I am not sure whether that will work and whether that is the best solution.
Also the file name is generated dynamically using time stamps in the receiver side. Version of PI is 7.0 SP16
Best Regards,
PratikHi,
When PI sends target file to file,it definely wellformed XML,anyway you are sending XML file.
If you are nor using any mapping,,just copying file from one to other,then problem with test data,may be source data doesnot have EOF tag.
check/test in message mapping,it gives valid xml structures in out put,then problem with your data.
Regards,
Raj -
XSL gives a XML file without data
I am using XSL to create a new XML file from a given XML file. The resulting XML file created contains no data!! Pls. tell me what is wrong or if I have omitted something.
I am using XSL to create a new XML file from a given XML file. The resulting XML file created contains no data!! Pls. tell me what is wrong or if I have omitted something.
Maybe you are looking for
-
How to get sharepoint document library metadata details from sql?
I am creating a windows form application , in which user selects document library and after clicking on button I am creating an excel file which displays all document name with its metadata information. The select query which I am querying to SQL Ser
-
Acrobat 7.1.0 tries to reinstall
I changed my video card yesterday and ever since I have had the problem that Acrobat 7.1.0 tries to update itself. When the computer boots into windows I get a message that 7.1.0 is updating, and when I open any program. I get a window that says "ple
-
GTT helps performance - one day to be several minute
I have a a case like this: for rec (select * from gl.interface where accounting_date between... order by c1, c2) loop -- concate some columns of rec -- do update gl_interface end loop;it takes about a day to generate notepad report from this qu
-
HT201229 Number blocking in iO7: Wild card?
I like the new number blocking, but I would like to be able to block known sources of spam calls without waiting to get called by every one. I have no reason to want calls from Pacific Telecom, for instance, so I'd like to block entire ranges like "(
-
Help with CUA and modifying user "own profile".
Hey guys, We just implemented CUA in our enviornemnt, and have run into the system. I understand why all accounts now get modified in the central system, however, our users are asking to be able to still modify thier account defaults (i.e. hour forma