<?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: Table type values in Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480833#M1744726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, u r&amp;nbsp; correct i did like that only, i created 3 tables for each field with key fields of main table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 06:42:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-10T06:42:26Z</dc:date>
    <item>
      <title>Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480826#M1744719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have a requirement like this.&lt;/P&gt;&lt;P&gt;In function module am getting one importing parameter as structure&lt;/P&gt;&lt;P&gt;in that structure one field (account) having&amp;nbsp; Table type(data type string),because this account field containg 1..N records.&lt;/P&gt;&lt;P&gt;&amp;nbsp; My requirement is i need to pass all the values(1..N) of the field(account) into table field,like this i have totally 5 fields in structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp; So,in table what can i give for table type? and how can i insert multiple &lt;/P&gt;&lt;P&gt;values for each field in table?&lt;/P&gt;&lt;P&gt;&amp;nbsp; I already try with loop statement but its not yet good,because in some cases the fields having lot of records .&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;Please help me on this ASAP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator Message:&lt;SPAN style="font-size: 9pt; font-family: Tahoma, sans-serif; border-width: 1pt; border-color: windowtext; border-style: none;"&gt;Formulations like "ASAP"&amp;nbsp; , “Urgent “ and "Please send step by step" are easily interpreted as orders to people&lt;/SPAN&gt;&lt;SPAN style="font-family: Tahoma, sans-serif; border-width: 1pt; border-color: windowtext; border-style: none;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Tahoma, sans-serif; border-width: 1pt; border-color: windowtext; border-style: none;"&gt;who offer help for nothing more but the satisfaction to being helpful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 9pt; border-style: none; border-color: windowtext; font-family: Tahoma, sans-serif; border-width: 1pt;"&gt;Compose your question precisely that everybody understands it well.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: Tahoma, sans-serif; font-size: 12px;"&gt;Thank you for taking more time to understand community help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kesavadas Thekkillath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 05:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480826#M1744719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-14T05:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480827#M1744720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;"My requirement is i need to pass all the values(1..N) of the field(account) into table field,like this i have totally 5 fields in structure."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not clear what you mean by the above statement. Can you provide more clarity?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 05:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480827#M1744720</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-05-14T05:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480828#M1744721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;structure:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1) account type zfxx_acc_tt (Table type) ( zfxx_acc_tt is predefined type 'string') &lt;/P&gt;&lt;P&gt;2) Recipts type zfxx_rec_tt (Table type) ( zfxx_rec_tt is predefined type 'string') &lt;/P&gt;&lt;P&gt;3) ledgers type zfxx_led_tt (Table type) ( zfxx_led_tt is predefined type 'string') &lt;/P&gt;&lt;P&gt;&amp;nbsp; like this i hav totally five fields &lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt; account field having (1..N) values i.e, (121345,12346,12347...N)&lt;/P&gt;&lt;P&gt; recipts field having (1..N) values i.e, (121345,12346,12347...N)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;mandt&amp;nbsp;&amp;nbsp; type mandt&lt;/P&gt;&lt;P&gt;date&amp;nbsp;&amp;nbsp;&amp;nbsp; type sydatum&lt;/P&gt;&lt;P&gt;account type ???????&lt;/P&gt;&lt;P&gt;recipts type ???????&lt;/P&gt;&lt;P&gt;ledgers type ??????? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to pass those values in table fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 06:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480828#M1744721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-14T06:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480829#M1744722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so you can define your internal table (which you mention would contain the fields MANDT, DATE, ACCOUNT_TYPE, RECEIPT_TYPE, LEDGER_TYPE) to refer to a structure that is composed of table types for account type, receipt type and ledger type. If you can ensure that the table types in your internal table have the same structure as the table types in the structure used in the function module's interface, then you can simply assign ( = ) the source and target tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g, let's say the structure used in your function module interface is S_SOURCE and it has a table called ACCOUNT_TYPES containing account types. And, let's say that your internal table is called T_TARGET and has a table type called ACCOUNT_TYPES. Now, you need to declare a structure, say S_TARGET in your code having the same structure as T_TARGET. Then, you can simply do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TARGET-ACCOUNT_TYPES = S_SOURCE-ACCOUNT_TYPES&lt;/P&gt;&lt;P&gt;APPEND S_TARGET TO T_TARGET.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 06:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480829#M1744722</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-05-14T06:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480830#M1744723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt; thats not an internal table.that is data base table,there i need to insert data for each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FM:&lt;/P&gt;&lt;P&gt;Importing&lt;/P&gt;&lt;P&gt;i_struc&amp;nbsp; type zstrcuture&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move: i_struc-account to wa_zxx_t22-account&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_struc-recipts&amp;nbsp; to wa_zxx_t22-recipts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_struc-ledgers to wa_zxx_t22-ledgers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert zxx_t22 from wa_zxx_t22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like that i want to insert data into data base table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 07:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480830#M1744723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-14T07:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480831#M1744724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible to insert a table in a database table. If in your case, you have multiple records related to another one, you would need to create a separate database table having some common key with the parent table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 07:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480831#M1744724</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-05-14T07:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480832#M1744725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you need to found a relation for account recipts and ledgers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say you have 3 account values , 3 recipts, 3 ledgers..&lt;BR /&gt;now do the 1st account value 1st receipt value 1st ledger will go into table as one record ?..&lt;/P&gt;&lt;P&gt;or it would be decided on other conditions...&lt;BR /&gt;once you know this then just create an internal table&lt;BR /&gt;mandt keyof DB(whatever) account recipt ledger &lt;/P&gt;&lt;P&gt;and based on the above conditions that you should know , fill this table and save it to DB...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 09:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480832#M1744725</guid>
      <dc:creator>former_member193464</dc:creator>
      <dc:date>2013-05-14T09:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table type values in Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480833#M1744726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, u r&amp;nbsp; correct i did like that only, i created 3 tables for each field with key fields of main table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 06:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-values-in-table/m-p/9480833#M1744726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-10T06:42:26Z</dc:date>
    </item>
  </channel>
</rss>

