<?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: Load data onto table type structure through program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976648#M949799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       Can u explain me what exactly u r trying to do ???&lt;/P&gt;&lt;P&gt;r u passing the data into the function module thru abap program or retreiving the data from the function module in the program.&lt;/P&gt;&lt;P&gt;Where exactly r u trying to use this table types???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r they acting acting as anyexport,import parameters in ur FM??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orelse just send me ur code, i may help u out.&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;Ruby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Jun 2008 04:01:07 GMT</pubDate>
    <dc:creator>former_member202474</dc:creator>
    <dc:date>2008-06-21T04:01:07Z</dc:date>
    <item>
      <title>Load data onto table type structure through program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976645#M949796</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 have a table type declared XYZ , and table structure ABC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to declare it in a ABAP program and pass it on to a function module . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;through SE37 i am able to retrive data , but through program i am not able to retrieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone based on your ecperience suggest ideas or any sample examples if you have . Please do suggest . Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 03:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976645#M949796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-21T03:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load data onto table type structure through program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976646#M949797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;         Consider the standard table type 'CRMT_PARTNER_EXTERNAL_WRKT' with the structure 'CRMT_PARTNER_EXTERNAL_WRK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data declaration :&lt;/P&gt;&lt;P&gt;data : et_partner type CRMT_PARTNER_EXTERNAL_WRKT,&lt;/P&gt;&lt;P&gt;          lw_partner type CRMT_PARTNER_EXTERNAL_WRK.&lt;/P&gt;&lt;P&gt;         or(lw_partner like line of et_partner)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so et_partner acts as the internal table and lw_partner acts as the work area.&lt;/P&gt;&lt;P&gt;To get the data use&lt;/P&gt;&lt;P&gt;loop at et_partner into lw_partner.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if you have any doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Reward if useful&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruby.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ruby Chacko on Jun 21, 2008 5:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 03:43:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976646#M949797</guid>
      <dc:creator>former_member202474</dc:creator>
      <dc:date>2008-06-21T03:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load data onto table type structure through program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976647#M949798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruby,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply, when i pass this type of declaration into a function module . it is not giving an error but not pulling any data into it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 03:51:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976647#M949798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-21T03:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load data onto table type structure through program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976648#M949799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       Can u explain me what exactly u r trying to do ???&lt;/P&gt;&lt;P&gt;r u passing the data into the function module thru abap program or retreiving the data from the function module in the program.&lt;/P&gt;&lt;P&gt;Where exactly r u trying to use this table types???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r they acting acting as anyexport,import parameters in ur FM??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orelse just send me ur code, i may help u out.&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;Ruby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 04:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976648#M949799</guid>
      <dc:creator>former_member202474</dc:creator>
      <dc:date>2008-06-21T04:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load data onto table type structure through program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976649#M949800</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;here is the code Ruby.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the program i have declared like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_xyz  type table of xyz,&lt;/P&gt;&lt;P&gt;        w_xyz like line of it_xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_abc type table of abc1.&lt;/P&gt;&lt;P&gt;      w_abc like line of it_abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i am passing these tables into the function module . its not returning any syntax error . but the table it_abc is not getting populated . where as when executed separately through SE37 it is pulling data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the function module the import parameters has xyz type xyz1.&lt;/P&gt;&lt;P&gt;the Tables section has abc type abc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 04:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976649#M949800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-21T04:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load data onto table type structure through program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976650#M949801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;        I will give my sample code plz see if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code in the report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_tab1 type CRMT_ORDERADM_H_WRKt,&lt;/P&gt;&lt;P&gt;       wa1 like line of it_tab1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa1-GUID = '132423425432534'.&lt;/P&gt;&lt;P&gt;wa1-OBJECT_ID = '1312'.&lt;/P&gt;&lt;P&gt;wa1-PROceSS_TYPE = 'adw'.&lt;/P&gt;&lt;P&gt;append wa1 to it_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Z_FUCNTION'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ET_ITAB1       = it_tab1&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;in the function module declare the &lt;STRONG&gt;importing parameters&lt;/STRONG&gt; as&lt;/P&gt;&lt;P&gt;ET_ITAB1	TYPE	CRMT_ORDERADM_H_WRKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be able to retrieve the values.I checked it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Reward if useful ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruby.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jun 2008 04:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/load-data-onto-table-type-structure-through-program/m-p/3976650#M949801</guid>
      <dc:creator>former_member202474</dc:creator>
      <dc:date>2008-06-21T04:43:24Z</dc:date>
    </item>
  </channel>
</rss>

