<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML Adding timestamp at node level in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115874#M1816499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) add the field to the table (to store the data),&lt;BR /&gt;b) add the field to the xml file (to be able to send the xml somewhere).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the requirement, that is up to you to find out where to put it. Time-stamp is just another field, it could be in multiple formats, so you need to find out, which one to use. Then find out, if the value is to be stored in the Z-table. Then either fill the gt_data-"timestamp_field" manually or by selecting the data&amp;nbsp; from your Z-table (your gt_data is filled somehow). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way you will need to look at the transformation and add the timestamp field to the correct place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 12:35:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-17T12:35:20Z</dc:date>
    <item>
      <title>XML Adding timestamp at node level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115871#M1816496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;BR /&gt;I am working on an object where the entire internal table content should be downloaded to a XML file. &lt;BR /&gt;So to achieve that my code was &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gt_data [] is of type one custome Z table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : xmltable TYPE TABLE OF xmltab,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xml_out TYPE string,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSFORMATION id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOURCE output = gt_data[]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESULT XML xml_out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; APPEND xml_out TO xmltable .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now they want "Time Stamp " to be added to the parent node like the attached screen shot.&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/389375" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me , how can i achieve it. I am quite new to XML stuffs . Hence seek your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;BR /&gt;Swarnadeepta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 10:22:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115871#M1816496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-17T10:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: XML Adding timestamp at node level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115872#M1816497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transaction code &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;STRANS &lt;/SPAN&gt;- there you can change the transformation to the way you need it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 10:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115872#M1816497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-17T10:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: XML Adding timestamp at node level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115873#M1816498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;BR /&gt;Thanks for the response, but here do i have to make any changes to the Z table ?&lt;BR /&gt;how can i add the time stamp ?&lt;BR /&gt;i still could not get it &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt; ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115873#M1816498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-17T11:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: XML Adding timestamp at node level</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115874#M1816499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) add the field to the table (to store the data),&lt;BR /&gt;b) add the field to the xml file (to be able to send the xml somewhere).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the requirement, that is up to you to find out where to put it. Time-stamp is just another field, it could be in multiple formats, so you need to find out, which one to use. Then find out, if the value is to be stored in the Z-table. Then either fill the gt_data-"timestamp_field" manually or by selecting the data&amp;nbsp; from your Z-table (your gt_data is filled somehow). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way you will need to look at the transformation and add the timestamp field to the correct place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 12:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-adding-timestamp-at-node-level/m-p/10115874#M1816499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-17T12:35:20Z</dc:date>
    </item>
  </channel>
</rss>

