Hello,
See if this helps.
Loading Commodity Codes and Import Code Numbers
Use
This procedure describes how to load an external file containing commodity codes or import code numbers for use in your system.
Prerequisites
The external file must be in ASCII format
You need to know the structure of the file which columns (positions) the codes, the text descriptions and the units of measure occupy.
Procedure
From the SAP standard menu, choose Logistics - Materials Management (or Sales and Distribution) - Foreign Trade/Customs - Service - Load/Comparison - the appropriate region European Union, Asia - Japan or Country-independent - Load commodity codes or Load import code numbers.
Enter the selection criteria and the file specifications.
Entries in the following fields are mandatory:
Country key
File name
Drive
Subdirectory
Initial position goods number
Final position goods number
Initial position goods text
Final position goods text
See the field help (F1) for detailed information about each of the fields in this procedure.
You can determine the actual positions of the columns for the data record structure entries by opening the ASCII file and counting the spaces used for the digits and the text characters. For this you need to identify the beginning and end positions of the codes, their texts and units of measure (when applicable) and enter them in the corresponding fields.
For example, for a commodity code file with the contents "12345678 Sample text" (with no unit of measure), you should make the following entries in the data record structure section:
Data Record Structure
Field
Entry
Initial pos. goods no.
1
Final pos. goods no.
8
Initial pos. goods text
10
Final pos. goods text
21
If there is no unit of measure (optional entry), the last position for the goods text can be a number that is much greater than the actual final position for the goods text (for example, 200).
If you want to use this set of codes as the basis for maintaining the codes in the system, select Carry out preparations and enter an identification code in the Key for upload field. You will need this key to access this set of codes during maintenance.
If you are installing codes from floppy disks or several files
For the first disk or file, select First data carrier
For additional disks or files, select Further data carriers
Execute the function.
Results
The system uploads the file contents to the SAP System.
Potential Errors
When you execute this report, the system issues an error message if
The values for the beginning and end positions overlap
You enter an incorrect length for a commodity code or import code number
The length for the codes has not been maintained for the country you enter on the selection screen.
You assign commodity code and import code lengths for each country in Table T609S in Customizing (see Sales and Distribution ® Foreign Trade/Customs ® Basic Data for Foreign Trade ® Length of Commodity Code/Import Code Number).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.