<?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: How to decalre the variable. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545319#M1073568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What was your syntactically error meassage ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 18:05:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-06T18:05:22Z</dc:date>
    <item>
      <title>How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545316#M1073565</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;&lt;/P&gt;&lt;P&gt;I have decalred a variable mard-LABST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: v_labst type mard-lasbst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i check syntactical check it was showing syntactically wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body please tell me how to decalre.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 17:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545316#M1073565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T17:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545317#M1073566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it suppoused to be Data: v_labst type mard-labst.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 17:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545317#M1073566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T17:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545318#M1073567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no wrong..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body please..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545318#M1073567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545319#M1073568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What was your syntactically error meassage ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545319#M1073568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545320#M1073569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give this ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables : mard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :v_labst type mard-labst.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545320#M1073569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545321#M1073570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to check the code around the line of syntax error to see if you missed any periods..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_labst type mard-labst should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545321#M1073570</guid>
      <dc:creator>SG141</dc:creator>
      <dc:date>2008-10-06T18:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545322#M1073571</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;&lt;/P&gt;&lt;P&gt;This is my code. can you please check in u r editors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: mard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of ty_NTGEW,&lt;/P&gt;&lt;P&gt;        Matnr type matnr,&lt;/P&gt;&lt;P&gt;        labst type labst,&lt;/P&gt;&lt;P&gt;        lgort type LGORT_D,&lt;/P&gt;&lt;P&gt;      end of ty_NTGEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_ntgew type standard table of ty_ntgew,&lt;/P&gt;&lt;P&gt;      wa_ntgew type ty_ntgew.&lt;/P&gt;&lt;P&gt;data: v_ntgew1 type standard table of ty_ntgew,&lt;/P&gt;&lt;P&gt;      wa_ntgew1 type ty_ntgew,&lt;/P&gt;&lt;P&gt;      v_open like wa_ntgew.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_test type mard-labst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select MATNR&lt;/P&gt;&lt;P&gt;       labst&lt;/P&gt;&lt;P&gt;       lgort&lt;/P&gt;&lt;P&gt;  From MARd up to 10 rows&lt;/P&gt;&lt;P&gt;  Into corresponding fields of table V_NTGEW&lt;/P&gt;&lt;P&gt;  where labst NE '0.000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at v_ntgew into wa_ntgew.&lt;/P&gt;&lt;P&gt;  v_open = wa_ntgew.&lt;/P&gt;&lt;P&gt;  move v_open-labst to v_test.&lt;/P&gt;&lt;P&gt;  Replace all occurrences of '-' in v_test with ''.&lt;/P&gt;&lt;P&gt;  Replace all occurrences of CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF in V_test with ''.&lt;/P&gt;&lt;P&gt;  write:/ v_test.&lt;/P&gt;&lt;P&gt;  move v_test to v_open-labst.&lt;/P&gt;&lt;P&gt;  write:/ v_open-labst.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545322#M1073571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545323#M1073572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data: v_labst type mard-lasbst.  "it is wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because in mard there is no field with lasbst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data: v_labst type mard-labst. "correct&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545323#M1073572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545324#M1073573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: v_test TYPE mard-labst.
DATA: lv_test(18).  "char field


SELECT matnr
labst
lgort
FROM mard UP TO 10 ROWS
INTO CORRESPONDING FIELDS OF TABLE v_ntgew
WHERE labst NE '0.000'.

LOOP AT v_ntgew INTO wa_ntgew.
  v_open = wa_ntgew.
  MOVE v_open-labst TO v_test.
  WRITE v_test TO lv_test.
 "error is from qty field
  REPLACE ALL OCCURRENCES OF '-' IN lv_test WITH ''.
REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=&amp;gt;cr_lf IN lv_test WITH
''.
  WRITE:/ v_test.
  MOVE v_test TO v_open-labst.
  WRITE:/ v_open-labst.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545324#M1073573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545325#M1073574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i have typed here wrong . But in my pgm i have typed correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please check my above pgm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545325#M1073574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545326#M1073575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have an structure of type ty_mard and while declaring an internal table you can declare it as&lt;/P&gt;&lt;P&gt;data: t_mard type table of ty_mard,&lt;/P&gt;&lt;P&gt;wa_mard like line of t_mard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no problem with the declaration of the variable v_open.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545326#M1073575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545327#M1073576</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 this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare V_TEST as string...In the replace statement the V_TEST should be given as a character data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: v_test type string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 18:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545327#M1073576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T18:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545328#M1073577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MARD-LABST is a quantity field. You can not use REPLACE on a quantity field (and there wouldn't be any '-' in there anyways).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 19:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545328#M1073577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T19:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to decalre the variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545329#M1073578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 14:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-decalre-the-variable/m-p/4545329#M1073578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T14:34:12Z</dc:date>
    </item>
  </channel>
</rss>

