Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in Loading data to 0Material

Hi Experts,

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

Diagnosis

Data record 22324 & with the key '  A46203A0079 &' is invalid in value

'  A46203A0079 &' of the attribute/characteristic 0MATERIAL &.

System Response

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!!

Former Member
Former Member replied

the below code works in bi 7

RESULT = comm_structure-/BIC/ZCONTRTD.

while RESULT ca '#'.

RESULT+sy-fdpos(1) = ' '.

endwhile.

if RESULT(1) = '!'.

RESULT(1) = ' '.

endif.

TRANSLATE RESULT TO upper case.

IF G_ALLOWED_CHAR IS INITIAL.

CALL FUNCTION 'RSKC_ALLOWED_CHAR_GET'

IMPORTING

E_ALLOWED_CHAR = G_ALLOWED_CHAR.

ENDIF.

CHECK G_ALLOWED_CHAR NE 'ALL_CAPITAL'.

do.

if not RESULT co g_allowed_char.

shift RESULT+sy-fdpos left.

else.

exit.

endif.

enddo.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question