<?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: Modifying an append structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815796#M1681667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think since you used XFELD as data type,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to select all records with C = 'No'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write like as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM mara WHERE c NE 'X'.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2012 13:51:02 GMT</pubDate>
    <dc:creator>venkateswaran_k</dc:creator>
    <dc:date>2012-06-04T13:51:02Z</dc:date>
    <item>
      <title>Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815793#M1681664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have recently add an extra field "C" to the append structure of the database table MARA. It has 3 extra fields: A, B and C. The, I adjust the table MARA using transaction SE14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter "C" has a domain XFELD (Yes/No), so when I was testing the correct adjustment of the indexes, I noticed that if I made a query with this field it also takes into consideration the registers created after the modification. I would expected to return all the registers that have field C in blanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;SELECT * FROM mara WHERE c = ' '.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that correct or I am forgetting to execute any other adjust?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lots of thanks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815793#M1681664</guid>
      <dc:creator>javier_rodruez</dc:creator>
      <dc:date>2012-06-04T13:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815794#M1681665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Registers? &lt;/P&gt;&lt;P&gt;If you are talking of selecting data from MARA where C = space, then the query is correct.&lt;/P&gt;&lt;P&gt;Can you explain ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815794#M1681665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-04T13:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815795#M1681666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm confused by your formulation, normally the unexpected effect is that entries created &lt;EM&gt;before&lt;/EM&gt; the adjustment are &lt;EM&gt;not&lt;/EM&gt; found by a query like the one you listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case the reason usually is that flag "initial values" has not been set in SE11 for the new columns, so all existing entries have a NULL (hex 00) value, as opposed to initial value (space, hex 20, for character fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case you can try to set this flag for "C", adjust the entries again, and see if this changes anything.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I hope "C" is just a placeholder for the actual name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815795#M1681666</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-06-04T13:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815796#M1681667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think since you used XFELD as data type,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to select all records with C = 'No'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write like as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM mara WHERE c NE 'X'.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815796#M1681667</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2012-06-04T13:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815797#M1681668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, Thomas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside the append structure, it is not possible to set the column "Initial values". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, which solution are you suggesting? Maybe combine in the WHERE condition the expression with "NOT NULL" for the old records and another with " = ' ' for the new ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lots of thanks for your help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Exactly, "C" is just a placeholder to simplify the explanation here in the forum &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/777/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 14:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815797#M1681668</guid>
      <dc:creator>javier_rodruez</dc:creator>
      <dc:date>2012-06-04T14:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815798#M1681669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point, when you are maintaining your append fields, the check box is not available, when you are back in the main (standard) table, the check box is there, but you cannot change it without an access key (which we don't want). What are we missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think changing code to cater for this is not a good approach. Did you try the option "Extras -&amp;gt; Force Conversion" in SE14 for MARA already? Speak to your system administrator first.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 14:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815798#M1681669</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-06-04T14:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815799#M1681670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should activate the flag "initial value"at included structure level as this is not possible at subfield level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call SE11 on the table, navigate to append structure, there in the menu navigate to : Extras, DB Attributes, Initialization Flag On/Off. Activate again append structure and table, and then adjust database if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 14:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815799#M1681670</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-06-04T14:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an append structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815800#M1681671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly, Raymond. Problem solved!!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all of you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 14:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-an-append-structure/m-p/8815800#M1681671</guid>
      <dc:creator>javier_rodruez</dc:creator>
      <dc:date>2012-06-04T14:56:40Z</dc:date>
    </item>
  </channel>
</rss>

