<?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: table maintanence in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926564#M384369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1st question : Check if the sold-to-party in any standard table has any conversion exit. If yes then you can use the same in your custom Z table. Else you can do as has been mentioned to you by other fellows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd question : as has been mentioned by someone above you can use events.&lt;/P&gt;&lt;P&gt;Do as mentioned by the other fellow and a sample code I am writing here :&lt;/P&gt;&lt;P&gt;( Please close this thread if problem is solved. I am going to delete this code in 2 days )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
" Code deleted
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Nishant Rustagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2007 18:53:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-12T18:53:54Z</dc:date>
    <item>
      <title>table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926560#M384365</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;1.i have to fetch the values in the db table based on the values in the user exit.&lt;/P&gt;&lt;P&gt;the value is the sold-to party. i have to build a table with sold-to party along with other values. the problem is that sold-to is a char and in the table maintanence if i declare it as a char , while inserting values there is a difference between '002345' and '2345'  which is going to be an extra burden on the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is NUMC a good candidate instead of char? please propose a solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. i want to make the entry of a field mandatory while inserting values thru table maintanence , what are the steps i need to follow. this field is not part of the key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please propose necessary solutions for this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 10:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926560#M384365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T10:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926561#M384366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kranthi,&lt;/P&gt;&lt;P&gt;  You can uuse the function module:CONVERSION_EXIT_MATN1_INPUT which will pad the zeroes in front.&lt;/P&gt;&lt;P&gt;or use CONVERSION_EXIT_MATN1_OUTPUT which would strip the leading zeroes if any. In either case, you can maintain a uniformity.&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>Mon, 12 Feb 2007 10:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926561#M384366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T10:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926562#M384367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kranthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the second question - you can check whether the material number (which is NOT a key field) has been entered programatically by coding within the table maintenance events available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the table maintenance generator through SE11 for the table and check the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environments -&amp;gt; Modifications -&amp;gt; Events  section, where you have a lot fo events. One you can use is event number 01 (Before saving the data in the database).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 15:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926562#M384367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926563#M384368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I checked few of the standard SAP master tables, they all have the main primary key field as CHAR only.&lt;/P&gt;&lt;P&gt;Probably you can declare the field as char itself, and use some conversion exit routine to insert zeroes before updating the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to table maintenace (SM30) in change mode, and open the screen (system -&amp;gt; status -&amp;gt;screen number dbl click).&lt;/P&gt;&lt;P&gt;Now in the layout select the properties of the field which you want as display only. update the properties, save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 15:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926563#M384368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: table maintanence</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926564#M384369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1st question : Check if the sold-to-party in any standard table has any conversion exit. If yes then you can use the same in your custom Z table. Else you can do as has been mentioned to you by other fellows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd question : as has been mentioned by someone above you can use events.&lt;/P&gt;&lt;P&gt;Do as mentioned by the other fellow and a sample code I am writing here :&lt;/P&gt;&lt;P&gt;( Please close this thread if problem is solved. I am going to delete this code in 2 days )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
" Code deleted
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Nishant Rustagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 18:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintanence/m-p/1926564#M384369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T18:53:54Z</dc:date>
    </item>
  </channel>
</rss>

