2012 Dec 19 2:26 PM
Hi All,
my requirement is to convert the internal table data into xml formatt.
but iam unable to pass the node vlaue .please suggest me.
my requirement:
- -<Header>
</Credential>
</From>
how can we move the node value with in <> and ends with </Credential> only.
<Credential domain="VendorId">
</Credential>
iam using this method
CLEAR : fs_output.
fs_output = 'Domain="VendorId"'.
CALL METHOD lr_xmldoc->create_simple_element_ns
EXPORTING
name = 'Credential'
parent = from_node
* PREFIX = 'Domain'
my output is
-<HEADER>
</Credential>
</From>
please help me how to pass the domian (credential) value with in <> and close with </credential>.
2012 Dec 19 2:53 PM
Hi,
Check this out...
try this as well
http://help.sap.com/abapdocu_70/en/ABENABAP_ST.htm
I hope these helps.
HAPPY ABAPing
2012 Dec 19 2:58 PM