<?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: how to edit Logical Database. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047399#M1701589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried copying the standard ADA logical database but it gives me an error stating "nothing was copied since the lock could not be removed"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Oct 2012 16:15:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-27T16:15:39Z</dc:date>
    <item>
      <title>how to edit Logical Database.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047397#M1701587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi my requirement is to add a select option in screen but i got to know that the existing program is using a Logical Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So help me plss in editing the Database and creating my Select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is PRCTR which is already there but i have never worked on LDB's before so i have no clue how to proceed on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 08:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047397#M1701587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-27T08:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to edit Logical Database.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047398#M1701588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use SLDB tcode, copy to logical database to custom logical database, you can modify custom logical database as per your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 14:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047398#M1701588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-27T14:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to edit Logical Database.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047399#M1701589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried copying the standard ADA logical database but it gives me an error stating "nothing was copied since the lock could not be removed"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 16:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047399#M1701589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-27T16:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to edit Logical Database.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047400#M1701590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have observed that PRCTR(Profit center) field is not available in ADA LDB. I believe it is coming from the program to which ADA LDB is attached. So copy that program to Z and modify as per requirement if no enhancements are available for that program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing, I have copied ADA to ZADA without any issues. Pls remove the lock entries in transaction SM12 on this object and then give a try. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 20:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047400#M1701590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-27T20:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to edit Logical Database.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047401#M1701591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is not need to copy a logical database. It is much simpler to just add PRCTR as another selection in your program and apply the selection criteria using CHECK after the respective GET statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 19:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047401#M1701591</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-10-28T19:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to edit Logical Database.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047402#M1701592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the idea, I've tried out you suggestion in a test program (code below) and I've found it works well. &lt;/P&gt;&lt;P&gt;I'm concerned that it may be slow if only the 'new' select-options are used i.e. no selections are made from the existing selection screen parameters. So I will add some default values, or a variant, that will limit the data returned in the 'get' for my production version.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Brian &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;report zbme_test.&lt;/P&gt;&lt;P&gt;* This report uses Logical database AFI&lt;/P&gt;&lt;P&gt;* If you forgot to add it when creating the program add it now via&lt;/P&gt;&lt;P&gt;* the menu Goto-&amp;gt;Attributes-&amp;gt; add AFI in the Logical Database field&lt;/P&gt;&lt;P&gt;tables diaufk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_diaufk type table of diaufk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;select-options: s_aenam&amp;nbsp;&amp;nbsp; for diaufk-aenam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_mat&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for diaufk-ilart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; get diaufk.&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; remove any items that are not wanted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; check s_aenam.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; check s_mat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; append diaufk to lt_diaufk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end-of-selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* display results in ALV&lt;/P&gt;&lt;P&gt;&amp;nbsp; call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; exporting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_structure_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'DIAUFK'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t_outtab&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; lt_diaufk&lt;/P&gt;&lt;P&gt;* EXCEPTIONS&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp; PROGRAM_ERROR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp; OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&amp;nbsp; if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Implement suitable error handling here&lt;/P&gt;&lt;P&gt;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 01:45:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-edit-logical-database/m-p/9047402#M1701592</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2013-11-13T01:45:05Z</dc:date>
    </item>
  </channel>
</rss>

