Import customs code list I0136 - how to get .xml file
The code list I0136 from ATLAS is in format .tsv.
It's possible to import the code list in transaction /SAPSLL/CUSCS_VMAINT, but you have to have a .xml file.
Does anyone know where to get the customs code list I0136 in .xml or to convert .tsv into .xml without a special program?
Hi Renate,
where do you get this file in .tsv format from?
I guess from a data provider?
First thing I would do is to ask the data provider to send the file in another GTS compatible format.
If you have no influence on the file format which is beeing delivered to you I would just convert those files.
Easiest tool to convert those files with might be Excel since almost everyone is using it.
You can import the .tsv into excel and save it as a .xml file afterwards.
If you have trouble importing the file just check google (open .tsv Excel).
You might have to tune several options during the import process but once you know the steps it should be easy for you to handle.
Best Regards
Gregor
Similar Messages
-
How to get XML file using servlets that XI sent to my J2EE appl?
Hi All!
I have a scenario like XI sends xml file to j2ee application. In my J2EE application my servlet receives this xml. Will the xml file be in my HTTPServletRequest object? if so how to get that file from Request object.
Please help me its urgent, Any code help is highly appreciated.
My xml file will be like this:
<ns0:Http_Message_Type_Demo
xmlns:ns0="http://abcdemo.com">
<Name>ABC</Name>
<RollNo>123</RollNo>
<Address>a-4</Address>
</ns0:Http_Message_Type_Demo>
somebody should help me!please
ThanksHi,
You can use HTTPServletRequest object to get the XML payload.
BufferedReader reader = request.getReader(); //gets XML payload
String line = reader.readLine(); // to read the XML payload line by line
(request is the HTTPServletRequest object)
Regards,
Uma -
Hi How to get XML file from servlet that XI sent to my J2EE appl?
Hi All!
I have a scenario like XI sends xml file to j2ee application. In my J2EE application my servlet receives this xml. Will the xml file be in my HTTPServletRequest object? if so how to get that file from Request object.
Please help me its urgent, Any code help is highly appreciated.
My xml file will be like this:
<ns0:Http_Message_Type_Demo
xmlns:ns0="http://abcdemo.com">
<Name>ABC</Name>
<RollNo>123</RollNo>
<Address>a-4</Address>
</ns0:Http_Message_Type_Demo>
somebody should help me!please
ThanksHi,
You can use HTTPServletRequest object to get the XML payload.
BufferedReader reader = request.getReader(); //gets XML payload
String line = reader.readLine(); // to read the XML payload line by line
(request is the HTTPServletRequest object)
Regards,
Uma -
How to get XML files out of activity diagrams of UML
Using Rational Rose I have developed a model now I want a way to get XML file for each activity diagram of the model built. This XML file will be the input file for Project Cleveland which instantiates the services according to the documentation in this XMl file
In the Photos mode go to the View menu and uncheck Event Titles. That will leave you with only thumbnails displayed in the Photos view. However, if you close from that mode and reopen the opening time will be slower since iPhoto has to read and render all of the thumbnails. It can get rather long.
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.≤br>
Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard. -
How to get XML file located in SAP directory for SAP XI
In my system, there is a function to create IDOC and store as a xml file in directory of SAP for example u201C/inf/ERQ/XML/u2019 .I want to use this XML file as a input for SAP XI to map and generate output as an IDOC. However, I donu2019t know how to setup integration directory for this scenario. Iu2019m not sure how to access directory in SAP using SAP XI. Any help would be grateful. Thank you.
Thank you expert,
@tomHi
Check this PDF
http://www.sap-press.com/downloads/h982_sample_chapter.pdf
search with "Mapping program in SAP XI" in the above link
http://www.sap-press.de/download/dateien/1191/sappress_exchange_infrastructure.pdf
Regards
Pavan -
Hi All,
Can anybody suggest me how to get XML file of System form.
Means i want XML file of Sales order. Where i get it ?
Thanks,Hi Harish,
Lets try this code.It will solve ur problem.
Public Class SystemForm
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private oOrderForm As SAPbouiCOM.Form
Private oNewItem As SAPbouiCOM.Item
Private oItem As SAPbouiCOM.Item
Private oFolderItem As SAPbouiCOM.Folder
Private oOptionBtn As SAPbouiCOM.OptionBtn
Private oCheckBox As SAPbouiCOM.CheckBox
Private i As Integer
Private Sub SetApplication()
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi()
sConnectionString = Command
SboGuiApi.Connect(sConnectionString)
SBO_Application = SboGuiApi.GetApplication()
End Sub
Private Sub AddItemsToOrderForm()
oOrderForm.DataSources.UserDataSources.Add("OpBtnDS", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS1", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS2", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oOrderForm.DataSources.UserDataSources.Add("CheckDS3", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
oItem = oOrderForm.Items.Item("126")
For i = 1 To 3
oNewItem = oOrderForm.Items.Add("CheckBox" & i, SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
oNewItem.Left = oItem.Left
oNewItem.Width = 100
oNewItem.Top = oItem.Top + (i - 1) * 19
oNewItem.Height = 19
oNewItem.FromPane = 5
oNewItem.ToPane = 5
oCheckBox = oNewItem.Specific
oCheckBox.Caption = "Check Box" & i '
oCheckBox.DataBind.SetBound(True, "", "CheckDS" & i)
Next i
oItem = oOrderForm.Items.Item("44")
For i = 1 To 3
oNewItem = oOrderForm.Items.Add("OpBtn" & i, SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON)
oNewItem.Left = oItem.Left
oNewItem.Width = 100
oNewItem.Top = oItem.Top + (i - 1) * 19
oNewItem.Height = 19
oNewItem.FromPane = 5
oNewItem.ToPane = 5
oOptionBtn = oNewItem.Specific
oOptionBtn.Caption = "Option Button" & i
If i > 1 Then
oOptionBtn.GroupWith("OpBtn" & i - 1)
End If
oOptionBtn.DataBind.SetBound(True, "", "OpBtnDS")
Next i
End Sub
Public Sub New()
MyBase.New()
SetApplication()
End Sub
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
If ((pVal.FormType = 139 And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And (pVal.Before_Action = True)) Then
oOrderForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD) And (pVal.Before_Action = True)) Then
oNewItem = oOrderForm.Items.Add("UserFolder", SAPbouiCOM.BoFormItemTypes.it_FOLDER)
oItem = oOrderForm.Items.Item("138")
oNewItem.Top = oItem.Top
oNewItem.Height = oItem.Height
oNewItem.Width = oItem.Width
oNewItem.Left = oItem.Left + oItem.Width
oFolderItem = oNewItem.Specific
oFolderItem.Caption = "User Folder"
oFolderItem.GroupWith("138")
AddItemsToOrderForm()
oOrderForm.PaneLevel = 1
End If
If pVal.ItemUID = "UserFolder" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.Before_Action = True Then
oOrderForm.PaneLevel = 5
End If
End If
End Sub
Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes)
Select Case EventType
Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
SBO_Application.MessageBox("A Shut Down Event has been caught" & _
vbNewLine & "Terminating 'Order Form Manipulation' Add On...")
End
End Select
End Sub
End Class
Regards
Mohana -
Customs procedure code 29 is not defined in any customs code list
Hi GTS specialists!
I'm creating export transit declarations by sending the invoice from ECC to GTS.
Normally this works fine, and in this case the export declaration is created but the transit declaration is not....
The document is stuck in the transfer log for billing document - Export/transit in GTS, with the following log:
Customs procedure code 29 is not defined in any customs code list
Message no. /SAPSLL/API_INBOUND030
I have tried to check in customizing, for custom code lists, but didn't find the key solution yet..
Any suggestions how to fix this?
I suppose some mapping between export procedure 29 (= export in Foreign Trade Data - item) and GTS customs code list is missing..?
thanks!!!
IsabelleHi Isabelle,
There is no mapping between the Customs Procedure codes in ERP and those in GTS. Instead, the code must exist in GTS in order to be transferred. That's to say; you must configure the same code list in ERP and GTS.
Usually it's better not to propose ANY Customs Procedure Codes in ERP, and instead use the Data Proposal in GTS. But if you have particular dependencies already set up in ERP, then you just need to make sure that the codes are valid for your Legal Regulation. Code '29' seems an unlikely one for Belgium. Right across the EU, the CPCs are structured in the same way - 4 digits for the main code, and 3 further characters for the additional code, if applicable. For Export, you should expect to be using (mostly) code 1000.
But in any case, the code discrepancy is not the reason that your transaction is stuck. The message is only information for the transfer log, and there must be some other reason why your billing document is not transferred to GTS.
I hope that helps.
Kind regards,
Dave -
SAP Cloud For Customer : Code List Mapping For Material or Product
Hi Experts,
I wnat some information about the SAP cloud code list mapping.
If i want to replicate Material / Product from SAP ECC / SAP CRM to SAP cloud for customer then any code list mapping entry we need to maintain in cloud side?
Or
Any Code list mapping for Material or Product in Cloud?
If yes anyone have list with SAP ECC / SAP CRM table details?
Many Thanks
MithunHi Mithun,
Code list data type is available in SAP Cloud. As of my knowledge I trying to find is code list mapping is available or not.
Yes we can replicate exactly the same values in SAP Cloud that we see in the SAP ECC / SAP CRM. For this, We need to create custom 'Code list' for the required one you want and assign that code list data type name which you created in the previous step to the required element in the BO.
For creating the code list data type: Go the Solution Explorer, Right Click on the Solution name, Click on 'Add' and Click on "New Item', then Add new item window will open with Installed templates, you will see the list of templates select the code list data type. Give the name as per your requirement starting with Z, max length is 27 only. click next, in 2/3 step, here you can add the list of values you want, add description to them. after clicking on the finish. activate the solution. Go to the BO and for the required element add the name you provided in creating the Custom code list ( ZXxxxxCode ) . Save and activate the BO as well as the solution then update the metadata in the designer part and in date model also, In data model, bind the required root element which is on the left pane to the required BO element which are in the right pane. Click Save and activate here also after the changes are made. finally activate the solution. In the solution explorer Right click on the OIF ui component and click on preview, it will open in the browser, here you will find the custom list you created, for the required one which you added code list date type name for the element in the BO.
Mithun.. Sorry if I"m confusing you more on this. let me know is this solution enough for the requirement you are searching.
Best Regards
Bandhav -
How to get the file size (in bytes) for all files in a directory?
How to get the file size (in bytes) for all files in a directory?
The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
Furthermore the size is not retrieved correctly.
How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
Thank you
Peter
java.io.File f = new java.io.File("D:/todo/");
files = f.list();
for (int i = 0; i < files.length; i++) {
System.out.println("fn=" + files);
if (new File(files[i]).isFile())
System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }pstein wrote:
...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
Here is an SSCCE.
import java.io.File;
class ListFiles {
public static void main(String[] args) {
java.io.File f = new java.io.File("/media/disk");
// provides only the file names, not the path/name!
//String[] files = f.list();
File[] files = f.listFiles();
for (int i = 0; i < files.length; i++) {
System.out.println("fn=" + files);
if (files[i].isFile()) {
System.out.println(
"file[" +
i +
"]=" +
files[i] +
" size=" +
(files[i]).length() );
}Edit 1:
Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form. It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM -
How to get the files in presentation server while uploading?
how to get the files in presentation server while uploading?
give me the function module nameHi,
PARAMETERS: P_FILE LIKE RLGRAP-FILENAME DEFAULT C_PRES. "Prsnt Srvr
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_PATH = P_FILE
MASK = ',..'
MODE = '0 '
TITLE = 'Choose File'
IMPORTING
FILENAME = P_FILE
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5. -
How can I get the PDF file that was transformed into a docx file into my filing system to be able to work on it and translate it as the customer requested?
THanks for your reply.
Well what happens is I bought the program. It gives you a button to click,
you log in and then a box opens up asking you to select the file, I go into
my filing system (in Windows explorer) select the file, and the program
converts it into docx, my choice. I can read it there and when I try to
copy and paste it into my file where the PDF version is saved, it behaves
like an "image", and I can't save it.... or it saves likes something you
save on the internet, so you have to go into internet every time you want
to see it. I have also pressed any amount of buttons to see if it will
give me the option to save it any other way, and have found nothing. What
I would need is a file in docx.format that I can edit. People send me
things in PDF and sometimes I can just copy it off the PDF file and save it
in WOrd, then I can translate it for them. But sometimes the PDF file
doesnt allow me to copy the text. If it is in image form, I cannot work on
it. It means printing it, so I can copy type it into Word... and for that
I certainly wouldnt need to buy a program. Its just double the work and
ends up that the job takes twice as long.!
Sorry if I am a bit dumb with informatics. But I simply could not find
any way whatever to copy the PDF file that was transformed into Word, in a
format that would enable me to edit it.
Kindest regards,
Margery
2013/12/2 Test Screen Name <[email protected]>
Re: How to get PDF file that has been transformed into docx into my
filing system so I can work on it???
created by Test Screen Name<http://forums.adobe.com/people/TestScreenName>in *Adobe
ExportPDF* - View the full discussion<http://forums.adobe.com/message/5890871#5890871 -
[CS3][JS] How to get the file type of current document
Hi,
How to get the file type of current opening document (e.g., tif, jpeg, png) using JavaScript with Photoshop CS3.
I am using file object the open the files one by one in the folder (the files sometimes don't have the extensions).
If the current document is in tiff format then I need to convert to 8-bit, if its an Jpg image then needs to ignore the file.
Regards,
KarthikDo you really need to know the file type? What about just checking the bit depth?
var doc = activeDocument;
if (doc.bitsPerChannel != BitsPerChannelType.EIGHT) {//Not 8 bit
doc.bitsPerChannel = BitsPerChannelType.EIGHT;
//do your save etc
}else{
//Ignore -
How to get full file path while uploading a file in flex Applications
How to get full file path while uploading a file in flex applications.
FileReference Object is giving file name and other details but not the actual path.
Is there any workaround to to get the file path?.
ThanksWhy not ask in the Flex forum; it is more likely that someone over there knows.
-
How to get Sequence File Name ?
Hello everybody !!
I'm using TestStand 3.1 and i would like to get sequence file name. I've tried to use NameOf() function, but without success.
Of course, I've searched previous posts about the same question, but nothing works.
Is there someone able to tell me how to get sequence file name ?
Thanks a lot.
MrOrangeMrOrange,
first of all, the solution i will present only works for saved sequence files.
you got all information you need within TestStand itself, just browse for RunState.SequenceFile.Path. here you can find the filename. but the path of the file is also included in the string, so this is a part you have to get rid off.
you can use statements to extract the filename from the path. just search the string for the last occurence of "\\" (searchinreverse!) and then you can retrieve the right() part of the path. beware that right() needs the number of characters you want to extract, not the startindex!!
hope this helps,
Norbert B.
NI Germany
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Mac OSX 10.9.2 - Starting Editor error 6 appears - says to reinstall - how to get .dgm file?
Before re-installing, try trashing the prefs and re-launching. Start by quitting PSE11.
Launch Finder and click the Go menu whilst holding down the Option (alt) key. Then go to Library >> Preferences and clear everything relating to PSE11 which usually means deleting the following files:
com.adobe.PhotoshopElements.plist
Adobe Photoshop Elements 11 Paths
Adobe Photoshop Elements 11 Settings
If trashing the prefs makes no difference you can download a replacement for PSE11 at the link below.
http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
Maybe you are looking for
-
Apogee Duet Firewire doesn't work in 10.8.4
Help! I use Maestro 2 (2.5.57) downloads drivers from http://apogeedigital.com/company/support.php Mac OS 10.8.4 Previously, I had no problems with the work Duet Look please my video with my computer with this problem - http://www.youtube.com/watch?v
-
http://www.boulderridgecondos.com/ does not load the css correctly, but ALL other pages in the site do load the css correctly. There is nothing different (that I can identify) between the pages. http://www.boulderridgecondos.com/news.htm I am guessin
-
Put in DVD and then no dvd action, finder problems
If I put a dvd in nothing happens and disk utility freezes. DVD wont come out, wont mount, wont spin. Eventually finder bogs down. REstart with disk in is necessary to regain normalcy. This is a fresh system reinstall a few days ago. Same problem pri
-
Can anybody help me in resolving an issue triggered while processing the message in XI server. Showing an error: Messade ID xxxxxxxxxxxxxxxxxxxx for pipe line CENTRAL version '000' already exist in system your information would be so helpful for us.
-
Black line sketch renderings printing with teal or magenta
Aloha, When I print architectural drawings with my DesignJet 110 I sometime place computer generated sketch renderings in with the architectural plans which are vector line drawings. The architectural line drawings and the sketch renders are compute