Error in Loading data to 0Material
I am facing problem in uploading the data for 0MATERIAL from its DataSource.
For few materials i am getting this error:
0MATERIAL : Data record 22324 (' A46203A0079 '): Version ' A46203A0079 ' is not valid
Data record 22324 & with the key ' A46203A0079 &' is invalid in value
' A46203A0079 &' of the attribute/characteristic 0MATERIAL &.
The system has recognized that the value mentioned above is invalid, and
has processed this general error message. A subsequent message may give
you more information on the error. This message refers to the same
value, even though it does not state this explicitly.
not getting where the problem is, i have maintined all the special characters in RSKC, written a routine to remove the leading & trailing blanks in transformation.
If i look up in the datasource for this material there is no problem in there no special characters, its just A46203A0079 and same in r/3.
Cany anybody please help, its urgent!!
the below code works in bi 7
RESULT = comm_structure-/BIC/ZCONTRTD.
while RESULT ca '#'.
RESULT+sy-fdpos(1) = ' '.
if RESULT(1) = '!'.
RESULT(1) = ' '.
TRANSLATE RESULT TO upper case.
IF G_ALLOWED_CHAR IS INITIAL.
CALL FUNCTION 'RSKC_ALLOWED_CHAR_GET'
E_ALLOWED_CHAR = G_ALLOWED_CHAR.
CHECK G_ALLOWED_CHAR NE 'ALL_CAPITAL'.
if not RESULT co g_allowed_char.
shift RESULT+sy-fdpos left.