on 05-26-2011 7:33 AM
Hi all,
I am trying to load data into a DSO from a flat file which has the sample data as follows.
0DOC_NUMBER 0CALDAY 0CUSTOMER 0MATERIAL 0SALESORG 0DISTR_CHAN 0DIVISION
1000 20110301 1000 MAT1 1000 10 10
I am getting below error.
Error 'The material number is longer than the length s...' at conversion exit CONVERSION_EXIT_MATN1_INPUT (field MATERIAL record 1, value MAT1)
Can anybody help me resolve the issue.
Thanks
Naren
Hi,
What infobject have you mapped the Material in datasource? is it 0MATERIAL?
You will have to use FM CONVERSION_EXIT_MATN1_OUTPUT in transformation to convert value MAT1 in accepted format.
Edited by: Parth Kulkarni on May 26, 2011 8:47 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murali,
Thanks I could see that in OMSL the length is 1, I changed it to 18. I do not have much idea about 0MSL can you point me to a resource for more information on OMSL.
Now I get one more error
Error 'Unit USD is not created in language EN...' at conversion exit CONVERSION_EXIT_CUNIT_INPUT (field UNIT record 1, value USD)
Appreciate if you can provide some inputs on this as well
Thanks,
Naren
Hi,
Sorry, I do not have any document on the setting. The length should be the same for material in ECC (if your source system is ECC, same tran OMSL there as well), in BW (tran OMSL) and length of infoobject 0MATERIAL.
For the unit error, goto source systems in the admin workbench, right click on the R/3 source system, choose transfer global settings, flag all checkboxes and choose radio button update tables and execute.
Murali,
I am trying to load data into DSO from Flat File Source system. eI hope I am correct in specifying the Source System as Flat File Source System for the Data Source. In this case of Flat File Source System how do I manage the OMSL as I think there will be no OMSL as it is Flat File Source system.
I checked OMSL in both ECC and BW and the Material No Length is 18.
One caveat is after doing the transfer global setting, I am getting the error again
Error 'The material number is longer than the length s...' at conversion exit CONVERSION_EXIT_MATN1_INPUT (field MATERIAL record 1, value MAT1)
Regards,
naren
Hi Murali,
After doing the step mentioned by you to transfer global settings, still I get the error.
Error 'Unit USD is not created in language EN...' at conversion exit CONVERSION_EXIT_CUNIT_INPUT (field UNIT record 1, value USD)
I checked the contents of T006A and I could not find USD there.
Regards,
Naren
Oh, you said dataload error right? Are u using BW 3.5? Update Rules?
If 3.5, then right below in tranfer rules.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = L_S_SELECTION-LOW
importing
output = l_temp_matnr.
Also, you can try using a custom field of CHAR 18 in the Flat File datasource. So that Conversion Exit do not come into play.
Below is gud document
saptechsolutions.com/pdf/MaterialNumberRangesAndFormatting.pdf
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.