<?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: Getting error when coding in BADI.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880835#M676543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; remember u are using OOPS in BADI and all the intenal tables that you declare are with out header line and is so ur problem..&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Declare a structure of type IM_T_XADRC and say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table IM_T_XADRC into strucrure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF structure-NAME3 IS INITIAL.&lt;/P&gt;&lt;P&gt;structure-NAME3 = structure-NAME1.&lt;/P&gt;&lt;P&gt;modify im_t_xadrc from strucure index sy-tabix.&lt;/P&gt;&lt;P&gt;ENDIF.&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2007 17:54:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-19T17:54:52Z</dc:date>
    <item>
      <title>Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880834#M676542</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 am working on a BADI called  "ADDRESS_UPDATE". Now there is a importing paramater called IM_T_XADRC defined as IM_T_XADRC TYPE ADRC_TAB for interface IF_EX_ADDRESS_UPDATE by SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to code below inside the method &amp;lt;b&amp;gt;IF_EX_ADDRESS_UPDATE~ADDRESS1_SAVED&amp;lt;/b&amp;gt;: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF IM_T_XADRC-NAME3 IS INITIAL.
IM_T_XADRC-NAME3 = IM_T_XADRC-NAME1.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"IM_T_XADRC" is a table without header line and therefore has no component called "NAME3".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I solve this error ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 17:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880834#M676542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T17:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880835#M676543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; remember u are using OOPS in BADI and all the intenal tables that you declare are with out header line and is so ur problem..&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Declare a structure of type IM_T_XADRC and say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table IM_T_XADRC into strucrure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF structure-NAME3 IS INITIAL.&lt;/P&gt;&lt;P&gt;structure-NAME3 = structure-NAME1.&lt;/P&gt;&lt;P&gt;modify im_t_xadrc from strucure index sy-tabix.&lt;/P&gt;&lt;P&gt;ENDIF.&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 17:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880835#M676543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T17:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880836#M676544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh Thomas &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IM_T_XADRC is typing a table type of ADRC_TAB, you can not handle its field directly, please loop IM_T_XADRC into a WA and move the field of WA to other data objects.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;DATA: wa type VADRC.&lt;/P&gt;&lt;P&gt;LOOP im_t_xadrc INTO WA.&lt;/P&gt;&lt;P&gt;wa-name3 = wa_name1.&lt;/P&gt;&lt;P&gt;MODIFY im_t_xadrc FROM wa.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 17:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880836#M676544</guid>
      <dc:creator>former_member249594</dc:creator>
      <dc:date>2007-09-19T17:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880837#M676545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: IM_T_XADRC TYPE ADRC_TAB with hader line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 17:55:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880837#M676545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T17:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880838#M676546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its giving an error saying, "The field "IM_T_XADRC cannot be changed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajesh...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 18:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880838#M676546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T18:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880839#M676547</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; Check with the paramter IM_T_YADRC.. i think this contains the old address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u do the processing for this table and say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at im_t_yadrc into structure.&lt;/P&gt;&lt;P&gt;structrure-name3 = structure-nam1.&lt;/P&gt;&lt;P&gt;append strucute to im_t_xadrc.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 18:24:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880839#M676547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T18:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880840#M676548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same error, But can we actually change it because its a import parameter of and not the changing parameter !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 18:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880840#M676548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T18:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when coding in BADI....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880841#M676549</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;  try with the field symbols and see if it works. something like this am not sure many need some changes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols : &amp;lt;fs&amp;gt; type any,&lt;/P&gt;&lt;P&gt;                      &amp;lt;name1&amp;gt; type any,&lt;/P&gt;&lt;P&gt;                      &amp;lt;name3&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at im_t_xadrc assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign elemnet 'NAME1'  of &amp;lt;fs&amp;gt; to &amp;lt;name1&amp;gt;.&lt;/P&gt;&lt;P&gt;assign element 'NAME3' of &amp;lt;fs&amp;gt; to &amp;lt;name3&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign &amp;lt;name1&amp;gt; to &amp;lt;name3&amp;gt;&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&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 18:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-error-when-coding-in-badi/m-p/2880841#M676549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T18:41:53Z</dc:date>
    </item>
  </channel>
</rss>

