<?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: Weird problem after calling transaction... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624900#M279265</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;After splitting, I got 1468 in lv_asset_dum and 0000 in lv_assetsub_dum. But after calling transaction AW01N it says that there is no depreciation area for 1468-0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2006 08:07:40 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2006-09-15T08:07:40Z</dc:date>
    <item>
      <title>Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624897#M279262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at my code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  DATA: lv_fnam(50) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_fval(50) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_asset_dum    TYPE anla-anln1,&lt;/P&gt;&lt;P&gt;        lv_assetsub_dum TYPE anla-anln2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD lv_fnam VALUE lv_fval.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    CASE lv_fnam.&lt;/P&gt;&lt;P&gt;      WHEN 'WA_OUTPUT-ASSET_SUBNUM'.&lt;/P&gt;&lt;P&gt;        SPLIT lv_fval AT '-' INTO lv_asset_dum lv_assetsub_dum.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'BUK' FIELD wa_output-company.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'AN1' FIELD lv_asset_dum.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'AN2' FIELD lv_assetsub_dum.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'AW01N' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      WHEN 'WA_OUTPUT-EQUIP_NUM'.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'EQN' FIELD lv_fval.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'IE03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value of WA_OUTPUT-ASSET_SUBNUM is shown as asset number + asset subnumber. &lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1468-0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when we look at transaction AW01N it requires the company code, asset number and the sub number.&lt;/P&gt;&lt;P&gt;When you look at my code, I am splitting WA_OUTPUT-ASSET_SUBNUM at '-' and put them in 2 variables&lt;/P&gt;&lt;P&gt;as shown above. But when I call transaction AW01N it says that 'No depreciation areas defined for&lt;/P&gt;&lt;P&gt;asset 1468-0. It weird since when I manually enter those values it is fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would be greatly appreciated. Thanks a lot guys and take care!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 07:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624897#M279262</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-15T07:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624898#M279263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what should the values for asset no and subnumber ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it in Debugging what values are coming for both the fields ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624898#M279263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T08:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624899#M279264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There does not seem something wrong with the code..why dont you call the transaction without skipping the first screen to check if the set parameters are correct !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624899#M279264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T08:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624900#M279265</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;After splitting, I got 1468 in lv_asset_dum and 0000 in lv_assetsub_dum. But after calling transaction AW01N it says that there is no depreciation area for 1468-0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624900#M279265</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-15T08:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624901#M279266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in place  of &lt;/P&gt;&lt;P&gt;lv_assetsub_dum TYPE anla-anln2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare  like &lt;/P&gt;&lt;P&gt;lv_assetsub_dum(4) TYPE n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because lv_assetsub_dum it is  char type  and  u insert value  0000 to it  char type variable  not  contain zero value it surplus it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624901#M279266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T08:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624902#M279267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have u debugged and checked the values of asset and subasset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use these statements also after GET CURSOR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONDENSE lv_fnam.
CONDENSE lv_fval.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624902#M279267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T08:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624903#M279268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here now is my revised code. It still has the same problem which says no depreciation areas defined for asset 1468-0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After debugging it, lv_asset_dum has a value of 1468 and lv_assetsub_dum has a value of 0000. This should work fine if I enter it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  DATA: lv_fnam(50)  TYPE c,&lt;/P&gt;&lt;P&gt;        lv_fval(50)  TYPE c,&lt;/P&gt;&lt;P&gt;        lv_asset_dum TYPE anla-anln1,&lt;/P&gt;&lt;P&gt;        lv_assetsub_dum(4) TYPE n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  GET CURSOR FIELD lv_fnam VALUE lv_fval.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    CASE lv_fnam.&lt;/P&gt;&lt;P&gt;      WHEN 'WA_OUTPUT-ASSET_SUBNUM'.&lt;/P&gt;&lt;P&gt;        SPLIT lv_fval AT '-' INTO lv_asset_dum lv_assetsub_dum.&lt;/P&gt;&lt;P&gt;        CONDENSE: lv_asset_dum, lv_assetsub_dum.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'BUK' FIELD wa_output-company.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'AN1' FIELD lv_asset_dum.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'AN2' FIELD lv_assetsub_dum.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'AW01N'.&lt;/P&gt;&lt;P&gt;      WHEN 'WA_OUTPUT-EQUIP_NUM'.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'EQN' FIELD lv_fval.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'IE03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624903#M279268</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-15T08:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Weird problem after calling transaction...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624904#M279269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;once  go to transaction &amp;lt;b&amp;gt;AW01N&amp;lt;/b&amp;gt; and  c what is depreciation areas  in this transaction .i m not  able  to understand its functionality ....&lt;/P&gt;&lt;P&gt;in left side part depreciation areas  are  given..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 08:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/weird-problem-after-calling-transaction/m-p/1624904#M279269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T08:26:21Z</dc:date>
    </item>
  </channel>
</rss>

