Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call transformation

Former Member
0 Likes
985

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

1 ACCEPTED SOLUTION
Read only

hendrik_brandes
Contributor
0 Likes
768

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

2 REPLIES 2
Read only

hendrik_brandes
Contributor
0 Likes
769

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

Read only

0 Likes
768

Hi Hendrik,

Thanks a lot for your reply. It worked correctly as per your suggestion. Thank you very much.