Skip to Content

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

XML file generation?

hi all,

I want to generate XML file from webdynpro, i tried this..

lv_data = '<?xml version="1.0" encoding="utf-8"?> <CUSTOMERS> <PERSON>' &

'<first_name>Jan</first_name>' &

'<last_name>Koran</last_name>' &

' </PERSON>' &

' <PERSON> <customer_id>2</customer_id>' &

' <first_name>James</first_name> ' &

' <last_name>Kirk</last_name> ' &

' </PERSON></CUSTOMERS>'.

This works fine.

Now I need to pass the values in variable form in place of the black colored values. The values that are to be passed is in internal table, that are fetched from the screen.

thanks,

venkat.

Former Member
Not what you were looking for? View more on this topic or Ask a question