<?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 internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511503#M235853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am working on customer master extract,writing a simple report program to download the data into a file.I have to check if the partner function(parvw) is ship to and then check if the customer number of business partner(kunn2) is same as that of customer no(kunnr).If both the conditions are true then output the ship to address also in the file ow keep the place blank.I appreciate if anyone can suggest me the simple way of doing this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2006 15:48:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-31T15:48:40Z</dc:date>
    <item>
      <title>internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511503#M235853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am working on customer master extract,writing a simple report program to download the data into a file.I have to check if the partner function(parvw) is ship to and then check if the customer number of business partner(kunn2) is same as that of customer no(kunnr).If both the conditions are true then output the ship to address also in the file ow keep the place blank.I appreciate if anyone can suggest me the simple way of doing this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 15:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511503#M235853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511504#M235854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;   use knvp table parvw = 'WE' for ship o&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;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 15:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511504#M235854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T15:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511505#M235855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which part are you struggling with?  If you need to know the tables, please check KNVP field PARVW = 'WE'(SH is the enternal format).&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>Thu, 31 Aug 2006 15:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511505#M235855</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-31T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511506#M235856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   select kunnr from knvp into table lv_kunnr &lt;/P&gt;&lt;P&gt;             where kunn2 = kunnr&lt;/P&gt;&lt;P&gt;             and parvw = 'WE'&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;         select adrnr from kna1 where kunnr = lv_kunnr.&lt;/P&gt;&lt;P&gt;    adrnr = ship to address &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 15:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511506#M235856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T15:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511507#M235857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;IF ITAB-PARVW = 'WE' AND ITAB-KUNN2 &amp;lt;&amp;gt; ITAB-KUNNR.&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INTO WA WITH KEY KUNNR = ITAB-KUNN2.&lt;/P&gt;&lt;P&gt;ITAB-SNAME1 = WA-NAME1.&lt;/P&gt;&lt;P&gt;ITAB-SNAME2 = WA-NAME2.&lt;/P&gt;&lt;P&gt;ITAB-SORT01 = WA-ORT01.&lt;/P&gt;&lt;P&gt;ITAB-SPSTLZ = WA-PSTLZ.&lt;/P&gt;&lt;P&gt;ITAB-SREGIO = WA-REGIO.&lt;/P&gt;&lt;P&gt;ITAB-SSTRAS = WA-STRAS.&lt;/P&gt;&lt;P&gt;ITAB-STELBX = WA-TELBX.&lt;/P&gt;&lt;P&gt;ITAB-STELF1 = WA-TELF1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;ITAB-SNAME1 = ' '.&lt;/P&gt;&lt;P&gt;ITAB-SNAME2 = ' '.&lt;/P&gt;&lt;P&gt;ITAB-SORT01 = ' '.&lt;/P&gt;&lt;P&gt;ITAB-SPSTLZ = ' '.&lt;/P&gt;&lt;P&gt;ITAB-SREGIO = ' '.&lt;/P&gt;&lt;P&gt;ITAB-SSTRAS = ' '.&lt;/P&gt;&lt;P&gt;ITAB-STELBX = ' '.&lt;/P&gt;&lt;P&gt;ITAB-STELF1 = ' '.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 17:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511507#M235857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T17:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511508#M235858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i download the file with a comma delimiter, i am working on 3.1h and using the function download .I appreciate your response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 17:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511508#M235858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T17:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511509#M235859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can declare a flat structured internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of itabout occurs 0,
       rec(1000) type c,
      end of itabout.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can loop your internal table and build the ITABOUT using the data from the first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab.
   concatenate itab-kunnr itab-parvw itab-kunn2
                into itabout separated by ','.
   append itabout.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the ITABOUT in your function module.&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>Thu, 31 Aug 2006 17:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511509#M235859</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-31T17:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511510#M235860</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;I don't remember which tools are in 3.1h, but you can use the options to elaborate a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF T_DATA_FILE OCCURS 0,&lt;/P&gt;&lt;P&gt;        RECORD(1000),&lt;/P&gt;&lt;P&gt;      END   OF T_DATA_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.............................&lt;/P&gt;&lt;P&gt;CLEAR T_DATA_FILE-RECORD.&lt;/P&gt;&lt;P&gt;PERFORM MOVE_FIELD: &amp;lt;FIELD1&amp;gt;,&lt;/P&gt;&lt;P&gt;                    &amp;lt;FIELD2&amp;gt;,&lt;/P&gt;&lt;P&gt;                    &amp;lt;FIELD3&amp;gt;,&lt;/P&gt;&lt;P&gt;                    ........&lt;/P&gt;&lt;P&gt;                    &amp;lt;FIELDN&amp;gt;.&lt;/P&gt;&lt;P&gt;APPEND T_DATA_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR T_DATA_FILE-RECORD.&lt;/P&gt;&lt;P&gt;.............................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MOVE_FIELD USING FIELD.&lt;/P&gt;&lt;P&gt; DATA: V_LEN TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; V_LEN = STRLEN( T_DATA_FILE-RECORD ).&lt;/P&gt;&lt;P&gt; MOVE FIELD TO T_DATA_FILE-RECORD+V_LEN.&lt;/P&gt;&lt;P&gt; V_LEN = STRLEN( T_DATA_FILE-RECORD ).&lt;/P&gt;&lt;P&gt; MOVE ','   TO T_DATA_FILE-RECORD+V_LEN. &lt;/P&gt;&lt;P&gt;ENDFORM.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 17:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511510#M235860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T17:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511511#M235861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there are about 50 fields , is there any other way of using the same concatenate statement or do i need to mention all those fields in the concatenate statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 18:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1511511#M235861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T18:23:02Z</dc:date>
    </item>
  </channel>
</rss>

