<?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: Internal Tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190336#M128340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define MY_TEXT like this:&lt;/P&gt;&lt;P&gt;data: MY_TEXT type table of TTEXT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2006 15:09:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-28T15:09:50Z</dc:date>
    <item>
      <title>Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190334#M128338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must say that I did try to solve it, but I lack the correct focus for this. I have this code but I can't get the commented part to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNCTION Z_SAP_GET_CREDIT.
*"----------------------------------------------------------------------
*"*"Interfase local
*"  IMPORTING
*"     VALUE(CLIENT_ID) TYPE  Z_CLIENT_ID OPTIONAL
*"  EXPORTING
*"     VALUE(CREDIT_LIMIT) TYPE  KNB1-WEBTR
*"     VALUE(CONDITIONS) TYPE  KNB1-ZTERM
*"  EXCEPTIONS
*"      USER_DOES_NOT_EXIST
*"----------------------------------------------------------------------

TYPES: BEGIN OF credit_eq_type,
         WEBTR  LIKE KNB1-WEBTR,
         ZTERM  LIKE KNB1-ZTERM,
       END OF credit_eq_type.

DATA: credit_eq TYPE  credit_eq_type.


CONSTANTS BU LIKE KNB1-BUKRS value 'FSMX'.
CONSTANTS LANGUAGE LIKE T005T-SPRAS value 'S'.

call function 'CONVERSION_EXIT_ALPHA_INPUT'
     EXPORTING
      INPUT = CLIENT_ID
     IMPORTING
      OUTPUT = CLIENT_ID.

SELECT SINGLE WEBTR ZTERM
FROM KNB1
INTO credit_eq
WHERE KUNNR = CLIENT_ID.

CREDIT_LIMIT = credit_eq-WEBTR.
CONDITIONS = credit_eq-ZTERM.

*CALL FUNCTION 'FI_PRINT_ZTERM'
*EXPORTING
*I_ZTERM = credit_eq-ZTERM
*I_LANGU = LANGUAGE
*I_XT052U = 'X'
*TABLES
*T_ZTEXT = MY_TEXT.

ENDFUNCTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I define the MY_TEXT table for me to be able to retrieve the results of the 'FI_PRINT_ZTERM' function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190334#M128338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190335#M128339</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;declare like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF MY_TEXT OCCURS 5,&lt;/P&gt;&lt;P&gt;         LINE(50),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      END OF MY_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190335#M128339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:08: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/1190336#M128340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define MY_TEXT like this:&lt;/P&gt;&lt;P&gt;data: MY_TEXT type table of TTEXT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190336#M128340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190337#M128341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data :MY_TEXT  type TTEXT .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190337#M128341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190338#M128342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: my_text type table of ttext.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190338#M128342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190339#M128343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define table like this:&lt;/P&gt;&lt;P&gt;data: T_ZTEXT TYPE STANDARD TABLE OF TTEXT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you need, create a work area to proccess data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: WA_ZTEXT LIKE LINE OF T_ZTEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190339#M128343</guid>
      <dc:creator>alejandro_lpez</dc:creator>
      <dc:date>2006-02-28T15:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190340#M128344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0003.

&amp;lt;b&amp;gt;
data: itext type table of ttext.
data: xtext type ttext.&amp;lt;/b&amp;gt;
call function 'FI_PRINT_ZTERM'
* EXPORTING
*   I_ZTERM               =
*   I_LANGU               = SY-LANGU
*   I_XT052U              = ' '
*   I_T052                =
  tables
    t_ztext               = itext
 exceptions
   zterm_not_found       = 1
   others                = 2.


&amp;lt;b&amp;gt;loop at itext into xtext.

  write:/ xtext.
endloop.&amp;lt;/b&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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>Tue, 28 Feb 2006 15:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190340#M128344</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-28T15:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190341#M128345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys. Exactly what I wanted....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-tables/m-p/1190341#M128345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-28T15:25:56Z</dc:date>
    </item>
  </channel>
</rss>

