<?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: Basic DOUBTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350076#M175652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the fm is: DATE_CHECK_PLAUSIBILITY.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2006 14:36:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-01T14:36:52Z</dc:date>
    <item>
      <title>Basic DOUBTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350074#M175650</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;Please give me answers for the below mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.what is physical &amp;amp; logical lock ? why we had two kind of locks and what's the actual usage? ( i think by se11 what we create is logical lock)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.How can we check versions of SAP script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.how can we check a particular date whether that is valid date r not ( assume this field in flatfile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350074#M175650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DOUBTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350075#M175651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module date_check_plausibility is used to check if the date is a valid one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350075#M175651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DOUBTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350076#M175652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the fm is: DATE_CHECK_PLAUSIBILITY.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 14:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350076#M175652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T14:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DOUBTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350077#M175653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. The concept of locking in SAP is based on lock objects that combine one or more database tables into one application object. The locks that are created by using these lock objects are logical locks, because you are not creating a database lock at this stage. All such locks are held in a lock table. So when you change a material using MM02, an entry is made into this lock table so that if another person tries to change the same material, system will first check this lock table to see if there is any entry and if there is, then it will not allow that second user to change the same material. At this point, the database locks are not made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you make your changes and hit the save button, a commit is issued and that is when system will request database locks. These are the physical locks. These have very little lifespan because these are requested at commit during the update process. The reason for creating another layer of locking mechanism is to avoid burdening the underlying database with lock requests and also there is cost for doing so. Hope this clarifies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For checking the version of a SAP script, go to SE71, enter the SAPscript name, select the radiobutton for 'Header'. In the subsequent screen, in the menu, 'Utilities--&amp;gt;Versions' will show you all the versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Even though the function module mentioned by others here will help you, your program and the application that is creating flat file should have an understanding of how the date should be sent. If the flat file has date in all different formats that are possible, there is no way of checking it. So the most important thing to remember is to have this understanding in place before even trying to validate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 16:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350077#M175653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T16:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DOUBTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350078#M175654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Physical locks:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System&lt;/P&gt;&lt;P&gt;A database sets the physical locks.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Logical lock:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;SAP lock mechanism sets a logical lock also called as &amp;lt;b&amp;gt;SAP lock&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;  A locked database entry is not physically locked in the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lock entry is merely entered as a lock argument in the central lock table. The lock argument is made up of the primary key field values for the tables in the lock object. These are import parameters of the enqueue function module. The lock is independent of database LUWs. It is released either implicitly when the database update or the SAP transaction ends, or explicitly, using the corresponding dequeue function module. You can use a special parameter in the update function module to set the exact point at which the lock is released during the database update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   A locked entry does not necessarily have to exist in a database table.&lt;/P&gt;&lt;P&gt;You can, for example, set a lock as a precaution for a database entry that is not written to the database until the update at the end of the SAP LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The effectiveness of the locks depends on cooperative application programming.&lt;/P&gt;&lt;P&gt;Since there are no physical locks in the database tables themselves, all programs that use the same application objects must look in the central table themselves for any locks. There is no mechanism that automatically prevents a program from ignoring the locks in the lock table.&lt;/P&gt;&lt;P&gt;Lock Types&lt;/P&gt;&lt;P&gt;There are four types of locks in the SAP System:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Shared lock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Exclusive lock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Exclusive but not cumulative lock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Optimistic lock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 16:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350078#M175654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T16:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DOUBTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350079#M175655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;1.what is physical &amp;amp; logical lock ? why we had two kind of locks and what's the actual usage? ( i think by se11 what we create is logical lock)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;physical lock is the lock provided by your database manufacturer for eg Oracle.This lock is not suitable for SAP Transaction because of the internal commit which occurs whenever there is a screen change in SAP Transactions which in turn will release the physical lock of your database so there is a need in SAP to have a logical lock which wont get released until the COMMIT WORK has been issued externally....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;How can we check versions of SAP script?&lt;/P&gt;&lt;P&gt;use the path goto-&amp;gt;version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;how can we check a particular date whether that is valid date r not &lt;/P&gt;&lt;P&gt;there are many wayz thru which you can achieve this.one way is  convert your external date format into SAP format using the fm CONVERT_DATE_TO_INTERNAL and compare it with the system date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark useful answers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 16:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-doubts/m-p/1350079#M175655</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-01T16:11:38Z</dc:date>
    </item>
  </channel>
</rss>

