2012 Feb 06 11:48 AM
Hi Guru's,
When i tried to convert table entries to xstring using the below code got an error XML_CONVERSION_NO_NUMBER.
CALL TRANSFORMATION id_indent
SOURCE itab = <fs1>
RESULT XML lv_xstring2.
when i tried to convert the below table entry it is getting converted without any error
component name type length content
mandt C 3 005
object C 1
flagn C 30 dum
seq N 2 01
value C 40 dum
seq2 N 1 0
form C 30
prog C 40
par C 30
but it is throwing error for the below entry.
mandt C 3 005
flagn C 30 dum
seq N 2 01
pri N 2
filed_key C 40
kindly help me to solve this issue.
Edited by: vadiv_maha on Feb 6, 2012 12:48 PM
2012 Feb 06 3:56 PM
Hello Vadiv,
have you checked, wether the "pri"-field ist filled correctly with "00" or is it >INITIAL< - e.g. empty -?
If you specify such a field with numc-Type, you should provide the correct value for initial.
Kind regards,
Hendrik
Hi Guru's,
When i tried to convert table entries to xstring using the below code got an error XML_CONVERSION_NO_NUMBER.
CALL TRANSFORMATION id_indent
SOURCE itab = <fs1>
RESULT XML lv_xstring2.
when i tried to convert the below table entry it is getting converted without any error
component name type length content
mandt C 3 005
object C 1
flagn C 30 dum
seq N 2 01
value C 40 dum
seq2 N 1 0
form C 30
prog C 40
par C 30
but it is throwing error for the below entry.
mandt C 3 005
flagn C 30 dum
seq N 2 01
pri N 2
filed_key C 40
kindly help me to solve this issue.
Edited by: vadiv_maha on Feb 6, 2012 12:48 PM
2012 Feb 06 3:56 PM
Hello Vadiv,
have you checked, wether the "pri"-field ist filled correctly with "00" or is it >INITIAL< - e.g. empty -?
If you specify such a field with numc-Type, you should provide the correct value for initial.
Kind regards,
Hendrik
2012 Feb 07 5:45 AM
Hi Hendrik,
Thanks a lot for your reply. It worked correctly as per your suggestion. Thank you very much.