<?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: a question about BOR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-bor/m-p/3558372#M856260</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;As per SAP Documentation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Virtual&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A virtual attribute always requires implementation in the program for the object type, since a virtual attribute has no corresponding field content in the database, its value having yet to be determined or calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on implementation and the entry of the data type reference, it is necessary to distinguish between the following combinations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Source "virtual" - data type reference " Dict. field"&lt;/P&gt;&lt;P&gt;The attribute value calculated or determined in the program for the object type has the same data type as the referenced dictionary field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Source "virtual" - data type reference " object type"&lt;/P&gt;&lt;P&gt;The attribute value calculated or determined in the program for the object type references an object of the specified object type.&lt;/P&gt;&lt;P&gt;It is generally the case that double-spaced or wider attributes and attributes which reference an object with several key fields are implemented as virtual attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Database field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indicator that the attribute value is determined directly from the content of a database field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database field which serves as the information source can generally be identified by the key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on implementation and the specified data type reference, it is necessary to distinguish between the following combinations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  Source "database field" - data type reference " Dict. field"&lt;/P&gt;&lt;P&gt;The content of the referenced field is returned as an attribute value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Source "data base field" - data type reference " object type"&lt;/P&gt;&lt;P&gt;An object reference which is composed of the content of the database field is returned as an attribute value. Both the dictionary type and the object type should be specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latter only works if the referenced object type only has one key field. In other cases the attribute should be implemented as a virtual attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2008 08:04:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-27T08:04:04Z</dc:date>
    <item>
      <title>a question about BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-bor/m-p/3558370#M856258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts:&lt;/P&gt;&lt;P&gt;when I create a new attribute of a BOR, it requires me to indicate the source -- virtual or database field, so what should I do, can anyone tell me the difference between the two? when should it be a virtual and when should it be a database field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 06:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-bor/m-p/3558370#M856258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T06:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: a question about BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-bor/m-p/3558371#M856259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on your data &lt;STRONG&gt;source&lt;/STRONG&gt; i.e. the attribute itself. If it can be mapped (corresponds) to a ABAP Dictionary field then you should choose Dictionary field or if it doesn't map to a dictionary field or it should be calculated (derived) or you are not sure of it then you should choose Virtual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Virtual means that its a derived attribute i.e. to be calculated by the associated program. E.g. Age of an employee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database Field means that the attribute value can be determined directly from the content of a database (Dictionary) field. E.g. First name of an employee maps directly to SAP database table PA0002 and field VORNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 06:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-bor/m-p/3558371#M856259</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2008-03-27T06:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: a question about BOR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-bor/m-p/3558372#M856260</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;As per SAP Documentation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Virtual&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A virtual attribute always requires implementation in the program for the object type, since a virtual attribute has no corresponding field content in the database, its value having yet to be determined or calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on implementation and the entry of the data type reference, it is necessary to distinguish between the following combinations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Source "virtual" - data type reference " Dict. field"&lt;/P&gt;&lt;P&gt;The attribute value calculated or determined in the program for the object type has the same data type as the referenced dictionary field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Source "virtual" - data type reference " object type"&lt;/P&gt;&lt;P&gt;The attribute value calculated or determined in the program for the object type references an object of the specified object type.&lt;/P&gt;&lt;P&gt;It is generally the case that double-spaced or wider attributes and attributes which reference an object with several key fields are implemented as virtual attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Database field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indicator that the attribute value is determined directly from the content of a database field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database field which serves as the information source can generally be identified by the key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on implementation and the specified data type reference, it is necessary to distinguish between the following combinations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  Source "database field" - data type reference " Dict. field"&lt;/P&gt;&lt;P&gt;The content of the referenced field is returned as an attribute value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Source "data base field" - data type reference " object type"&lt;/P&gt;&lt;P&gt;An object reference which is composed of the content of the database field is returned as an attribute value. Both the dictionary type and the object type should be specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latter only works if the referenced object type only has one key field. In other cases the attribute should be implemented as a virtual attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 08:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-question-about-bor/m-p/3558372#M856260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T08:04:04Z</dc:date>
    </item>
  </channel>
</rss>

