<?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: Case issue in database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244894#M1013235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Welcome to SDN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Acceptance of lower/upper case value is defined at domain level. If upper/lower case was set at domain for the data element of the field in that table, it willl different case values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even you can use that field on selection screen and it will accept lower values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In production you have to delete unwanted entries manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishnendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2008 07:31:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-07T07:31:18Z</dc:date>
    <item>
      <title>Case issue in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244889#M1013230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a customized table which is updated by utility using a flat file..&lt;/P&gt;&lt;P&gt;the flat files used previously had lower/upper case letters (mix of them), hence, there are different and unwanted entries in the table with wrong names...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, we are going to change the utility to update the database table only with upper case letters but we are having issues with already existing unwanted entries..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since this is a one time activity sending a report to production is not advisable...so, please tell me how to delete these unwanted entries (mixed cases) in the database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or is there any way by which we can accept lowercase letters at input screen itself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 06:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244889#M1013230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T06:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Case issue in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244890#M1013231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) clean your entries with a program in dev-system&lt;/P&gt;&lt;P&gt;2) transport cleaned table to production with se09 (obj=tabu)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 06:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244890#M1013231</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2008-08-07T06:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Case issue in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244891#M1013232</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;set the table maintainance generator for that table with authorization group  then go to SM30  give the table name  and press maintain and select the entries ehat u want to delete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 06:52:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244891#M1013232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T06:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Case issue in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244892#M1013233</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;To clean up your table, select all entries in internal table.&lt;/P&gt;&lt;P&gt;loop at internal table&lt;/P&gt;&lt;P&gt;TRANSLATE &amp;lt;tabname-fieldname&amp;gt; to UPPER CASE.&lt;/P&gt;&lt;P&gt;modify internal table&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT BY fields you have translated.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM table comparing fields. (sequence should be same as sort).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete all entries in DB TABLE&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;rollback work.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;update DB table with internal table with clean data.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;rollback work.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For forcing to accept lowercase on screen. you have to validate it in AT SELECTION SCREEN OUTPUT (or PBO in case of screen).&lt;/P&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P&gt;l_var = tabname-fieldname&lt;/P&gt;&lt;P&gt;TRANSLATE l_var to LOWER CASE.&lt;/P&gt;&lt;P&gt;if l_var = tabname-fieldname&lt;/P&gt;&lt;P&gt;*NO ERROR message&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;*error/warning message&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you are referring to store value as entered by user on screen, use LOWERCASE while defining parameter&lt;/P&gt;&lt;P&gt;example : PARAMETERS : p_var type CHAR10 LOWERCASE.&lt;/P&gt;&lt;P&gt;If you enter LoWerCasE in p_var on screen it preserve Case as it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mohaiyuddin Soniwala on Aug 7, 2008 12:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 07:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244892#M1013233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T07:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Case issue in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244893#M1013234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Write an ABAP Program from below idea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ZTABLE into table it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at it_data into wa_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SWA_STRING_TO_UPPERCASE'&lt;/P&gt;&lt;P&gt;Move-corresponding wa_data to it_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INPUT_EXPRESSION                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    INPUT_STRING                     = wa_data-text&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PRESERVE_EXISTING_CAPITALS       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CAPITALIZE_AFTER_SPACE           = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE                         = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    OUTPUT_STRING                    = it_final-text &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_EXPRESSION                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  EXPRESSION_TRUNCATED             = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                           = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete ZTABLE from wa_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear wa_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort it_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM it_final COMPARING ALL FIELDS.&lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at it_final into wa_final.&lt;/P&gt;&lt;P&gt;insert into ZTABLE from wa_final.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 07:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244893#M1013234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T07:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Case issue in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244894#M1013235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Welcome to SDN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Acceptance of lower/upper case value is defined at domain level. If upper/lower case was set at domain for the data element of the field in that table, it willl different case values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even you can use that field on selection screen and it will accept lower values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In production you have to delete unwanted entries manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishnendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 07:31:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244894#M1013235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T07:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Case issue in database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244895#M1013236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the help.....:)&lt;/P&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;I cannot transport the cleaned table from development box to production box....since the amount of data differs in both system....for me it is possible to either&lt;/P&gt;&lt;P&gt;1. Delete the entries directly in production box.&lt;/P&gt;&lt;P&gt;2. Change the utility to delete the unwanted entries in database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second option looks good because it will take care of the problem if it occurs in future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Yogesh Sharma on Aug 7, 2008 11:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 18:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-issue-in-database-table/m-p/4244895#M1013236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T18:21:46Z</dc:date>
    </item>
  </channel>
</rss>

