<?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: Update not working!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523570#M240146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in which situation exactly do you expect the value to be getting updated? Does the update work for other cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice that your test mixes upper and lower case. What case does the one not working have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update (or modify) AFVU you need AFVU to hold values in the key fields:&lt;/P&gt;&lt;P&gt;AUFPL&lt;/P&gt;&lt;P&gt;APLZL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you read these already? I couldn't see that in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Aug 2006 22:59:49 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2006-08-20T22:59:49Z</dc:date>
    <item>
      <title>Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523567#M240143</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;I have a problem with this update program and I need some help with the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: proj, prps, aufk, afvc, afko, afvu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: aufnr type aufk-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: cuobj type afko-cuobj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type conf_out occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;  select-options so_date for sy-datum default sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select-options so_pspnr for prps-pspnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameters: p_aufnr type aufk-aufnr.&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;&lt;/P&gt;&lt;P&gt;*select aufnr from aufk into aufnr where pspel in so_pspnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single   cuobj from afko into cuobj where aufnr = p_aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'VC_I_GET_CONFIGURATION_IBASE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      INSTANCE                  = cuobj&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    BUSINESS_OBJECT           =&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;    IV_INVALID_POSSIBLE       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IV_NEUTRAL                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     CONFIGURATION             = itab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ET_CONF_WITH_AUTHOR       =&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;    INSTANCE_NOT_FOUND        = 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;  loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; if   itab-atnam = 'pst_appn'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*	afvu-zz_aodfield25 = itab-atbez.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'SG_APPS'.&lt;/P&gt;&lt;P&gt;       itab-atbez = afvu-zz_aodfield25.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_appn_vrsn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield26 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_appn_spck'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield27 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_tool_vrsn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield28 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_tool_plvl'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield29 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_soln_type'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield30 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_prps'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield31 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_fctn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield32 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_clfn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield33 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_host_name'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield34 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_modl'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield35 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_srvr_cpu'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield36 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_srvr-ram'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield37 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_srvr-cnfg'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield38 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_os'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield39 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_db'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield40 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_san_storage'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield41 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_san_strg_1'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield42 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_clustered'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield43 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_load_blnr'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield44 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_hba'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield45 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_nic'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield46 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_inet'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield47 = itab-atbez.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify afvu .&lt;/P&gt;&lt;P&gt;&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;       message 'Update unsuccessful.' type 'E'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;	commit work.&lt;/P&gt;&lt;P&gt;       message 'Update successful.' type 'I'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&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;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 22:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523567#M240143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-20T22:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523568#M240144</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;I tried debugging it.&lt;/P&gt;&lt;P&gt;...the value of itab-atbez, does not get into afvu-zz_aodfield25. I tried changing the places. Both the fields have the same data type.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 22:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523568#M240144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-20T22:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523569#M240145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whether  both are of same data type..whatz ur exact problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 22:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523569#M240145</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-08-20T22:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523570#M240146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in which situation exactly do you expect the value to be getting updated? Does the update work for other cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice that your test mixes upper and lower case. What case does the one not working have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update (or modify) AFVU you need AFVU to hold values in the key fields:&lt;/P&gt;&lt;P&gt;AUFPL&lt;/P&gt;&lt;P&gt;APLZL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you read these already? I couldn't see that in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 22:59:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523570#M240146</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-08-20T22:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523571#M240147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to let you know,  directly updating a standard SAP table is strongly discouraged.  You should find another way via standard function module, API, BAPI, or a standard tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523571#M240147</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-20T23:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523572#M240148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now that I see they are Z fields, this is ok.  I think Neil is right,  You need to check for the values as upper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if itab-atnam = &amp;lt;b&amp;gt;'pst_appn_vrsn'&amp;lt;/b&amp;gt;.
afvu-zz_aodfield26 = itab-atbez.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you need to change the value in BOLD to uppercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if itab-atnam = &amp;lt;b&amp;gt;'PST_APPN_VRSN'&amp;lt;/b&amp;gt;.
afvu-zz_aodfield26 = itab-atbez.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523572#M240148</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-20T23:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523573#M240149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt; I tried this,&lt;/P&gt;&lt;P&gt; if   itab-atnam = 'SG_APPS'.&lt;/P&gt;&lt;P&gt;       afvu-zz_aodfield25 = itab-atbez.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt; still it does not work.&lt;/P&gt;&lt;P&gt; the value exits in itab-atbez, but it doesnot get into  afvu-zz_aodfield25. The data type is the same in both the fields too. Im really confused.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523573#M240149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-20T23:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523574#M240150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm showing the ATBEZ field as a character field with a length of 30.  This correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:36:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523574#M240150</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-20T23:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523575#M240151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523575#M240151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-20T23:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523576#M240152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that you have fixed this code in your original post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if itab-atnam = 'SG_APPS'.
*itab-atbez = afvu-zz_aodfield25.
afvu-zz_aodfield25 = itab-atbez.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that the characterisitc name is SG_APPS? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523576#M240152</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-20T23:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523577#M240153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you see this program, you can see that the value does move to the other field.  Can you see this happening?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report  zrich_0004.

data: afvu-zz_aodfield25(30) type c.
data: itab-atbez(30) type c value '                             1'.


afvu-zz_aodfield25 = itab-atbez.

check sy-subrc = 0.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523577#M240153</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-20T23:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523578#M240154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;I have defined the z fields to ave the same data type (atbez) as itab the value does not move , but then sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523578#M240154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-20T23:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523579#M240155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To update (or modify) AFVU you need AFVU to hold values in the key fields:&lt;/P&gt;&lt;P&gt;AUFPL&lt;/P&gt;&lt;P&gt;APLZL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Aug 2006 23:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523579#M240155</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-08-20T23:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523580#M240156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Now the value seems to be moving into the z field, but the table doesnot get updated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sukumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 00:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523580#M240156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T00:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523581#M240157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The code is here for the reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: proj, prps, aufk, afvc, afko, afvu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: aufnr type aufk-aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: cuobj type afko-cuobj,&lt;/P&gt;&lt;P&gt;      aufpl type afko-aufpl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type conf_out occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;  select-options so_date for sy-datum default sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select-options so_pspnr for prps-pspnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  parameters: p_aufnr type aufk-aufnr.&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;&lt;/P&gt;&lt;P&gt;*select aufnr from aufk into aufnr where pspel in so_pspnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single   cuobj from afko into cuobj where aufnr = p_aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single   aufpl from afko into aufpl where aufnr = p_aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'VC_I_GET_CONFIGURATION_IBASE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      INSTANCE                  = cuobj&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    BUSINESS_OBJECT           =&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;    IV_INVALID_POSSIBLE       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    IV_NEUTRAL                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     CONFIGURATION             = itab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ET_CONF_WITH_AUTHOR       =&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;    INSTANCE_NOT_FOUND        = 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;  loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; if   itab-atnam = 'pst_appn'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*	afvu-zz_aodfield25 = itab-atbez.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'SG_APPS'.&lt;/P&gt;&lt;P&gt;       afvu-zz_aodfield25 = itab-atbez.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_appn_vrsn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield26 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_appn_spck'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield27 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_tool_vrsn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield28 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_tool_plvl'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield29 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_soln_type'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield30 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_prps'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield31 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_fctn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield32 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_clfn'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield33 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_host_name'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield34 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if   itab-atnam = 'pst_srvr_modl'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield35 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_srvr_cpu'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield36 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_srvr-ram'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield37 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_srvr-cnfg'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield38 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if     itab-atnam = 'pst_os'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield39 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_db'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield40 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_san_storage'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield41 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_san_strg_1'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield42 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_clustered'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield43 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_load_blnr'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield44 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_hba'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield45 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_nic'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield46 = itab-atbez.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;   if  itab-atnam = 'pst_inet'.&lt;/P&gt;&lt;P&gt;	afvu-zz_aodfield47 = itab-atbez.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if afvu-aufpl = aufpl.&lt;/P&gt;&lt;P&gt;modify afvu .&lt;/P&gt;&lt;P&gt;&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;       message 'Update unsuccessful.' type 'E'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;	commit work.&lt;/P&gt;&lt;P&gt;       message 'Update successful.' type 'I'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 00:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523581#M240157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T00:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523582#M240158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neil is right, you need to be accessing a record in the AFVU database, you need to select a line from AFVU before move values to the z fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


select single cuobj aufpl into (cuobj, aufpl)
        from afko  
             where aufnr = p_aufnr.


select single *
         from afvu 
             where aufpl = aufpl.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 00:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523582#M240158</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-21T00:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update not working!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523583#M240159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rich and Neil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 00:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-not-working/m-p/1523583#M240159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T00:29:27Z</dc:date>
    </item>
  </channel>
</rss>

