<?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: Manipulating fields in a view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561945#M584306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to include an extra field to the view that is not a part of any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 21:06:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T21:06:11Z</dc:date>
    <item>
      <title>Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561942#M584303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with a date and a time and I really need that data in a datetimestamp format.  I'm trying to avoid creating a custom table and a custom program to get this information that already exists in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put the data in a view, is there any way to perform calculations on the fields and show that as another field in the view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a view partially set up, but I just don't see a way to manipulate the fields to that degree?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or any other way to do this without creating a custom table with the right field type and a program that converts the data from one to the other?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 19:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561942#M584303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T19:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561943#M584304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try with creating table maintenance generator for the table and use EVENTS to write your code to manipluate the data and display in differnet column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 20:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561943#M584304</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-01T20:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561944#M584305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I add the extra field to the view to hold the data?  Is there a way to put a field in a view that doesn't come from a table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 20:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561944#M584305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T20:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561945#M584306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to include an extra field to the view that is not a part of any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561945#M584306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561946#M584307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How then can I implement the previous suggestion without adding a new field to the view?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561946#M584307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561947#M584308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use edit mask statement to display the date and time which ever format you like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Data time type t value '154633'.&lt;/P&gt;&lt;P&gt;write (8) time using edit mask '_:_:_'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output will be 14:46:33&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srinivasa Bhanuprasad Moningi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561947#M584308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561948#M584309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within the view?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me restate my question, because I think we're all confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking at the table PEVSH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use a few fields from this table, including the date and time, but I need that together in a timestamp format, not in two seperate date and time fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to create a view of PEVSH that displays those two fields together into a timestamp field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not seeing how I can use a maintenace generator to do that if I don't have the field.  The same with the edit mask, there's no field to put the edit mask on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can't do it in a view, is there a way, if I create a custom table, to have lines inserted into it everytime PEVSH is updated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm happy to award points for helpful answers, but please consider my total problem when answering.  Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561948#M584309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561949#M584310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure of what time stamp format you are looking for.&lt;/P&gt;&lt;P&gt;But for example, the below lines can be used in a sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data time type t value '154633'.&lt;/P&gt;&lt;P&gt;write (8) time using edit mask '__:__:__'.&lt;/P&gt;&lt;P&gt;write sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output will be:&lt;/P&gt;&lt;P&gt;15:46:33 08/01/2007  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, depending on this you can change to the format you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561949#M584310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561950#M584311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I'm not trying to write the data out, I'm trying to store it in a table or view where it can be accessed by a BW extractor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I don't think using an edit mask is at all helpful?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561950#M584311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561951#M584312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to create a custom table. &lt;/P&gt;&lt;P&gt;Else it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561951#M584312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Manipulating fields in a view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561952#M584313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I'm back to thinking that as well, thanks for everyone who tried to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/manipulating-fields-in-a-view/m-p/2561952#M584313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T21:40:26Z</dc:date>
    </item>
  </channel>
</rss>

