<?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: Dump while passing internal table to FM RFC enabled in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419450#M1049721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay , it seems like this will solve my problem .. can u pls send across usage of this FM ..\&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Sep 2008 09:34:57 GMT</pubDate>
    <dc:creator>former_member40112</dc:creator>
    <dc:date>2008-09-06T09:34:57Z</dc:date>
    <item>
      <title>Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419442#M1049713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am passing dynamic internal table to FM RFC enabled .. for that matter i am passing these values into String and then using this string in FM .. correct me if this is wrong way to do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code is giving dump ...for Unicode conversion from &amp;lt;l_struct&amp;gt; to lt_string not possible. some special conversion needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lt_string TYPE sxms_str_t. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;lt_data&amp;gt; INTO &amp;lt;l_struct&amp;gt;.&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;l_struct&amp;gt; TO lt_string.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggets me if there is any other way to pass dynamic internal table  to FM RFC enabled .&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 05:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419442#M1049713</guid>
      <dc:creator>former_member40112</dc:creator>
      <dc:date>2008-09-06T05:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419443#M1049714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT &amp;lt;lt_data&amp;gt; assigning &amp;lt;l_struct&amp;gt;.
APPEND &amp;lt;l_struct&amp;gt; TO lt_string.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 05:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419443#M1049714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T05:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419444#M1049715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no luck &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem is in  APPEND &amp;lt;l_struct&amp;gt; TO lt_string. statement .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be there is some type mismatch .. but tell is this is the right way to pass internal table toRFC FM ? or there is some other good method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 05:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419444#M1049715</guid>
      <dc:creator>former_member40112</dc:creator>
      <dc:date>2008-09-06T05:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419445#M1049716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are you passing exactly in the dynamic internal table..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give some more details on what you are doing..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 06:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419445#M1049716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T06:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419446#M1049717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am supposed to pass database table data from BW to table in R3 &lt;/P&gt;&lt;P&gt;and user will enter BW table name at run time so i can not restrict the internal table structure .. for that matter i am creating dynamic internal table ..im using flollowing code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lt_data  TYPE REF TO data,&lt;/P&gt;&lt;P&gt;              l_struct  TYPE REF TO data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FIELD-SYMBOLS:  &amp;lt;lt_data&amp;gt; TYPE STANDARD TABLE,&lt;/P&gt;&lt;P&gt;  &amp;lt;l_struct&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Initialize p_table variable with database table name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM get_structure.&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form get_strucutre .&lt;/P&gt;&lt;P&gt;  CREATE DATA lt_data TYPE STANDARD TABLE OF (p_table). " this is your table&lt;/P&gt;&lt;P&gt;  ASSIGN   lt_data-&amp;gt;* TO &amp;lt;lt_data&amp;gt;.&lt;/P&gt;&lt;P&gt;  CREATE DATA l_struct TYPE (p_table). " this is your structure&lt;/P&gt;&lt;P&gt;  ASSIGN l_struct-&amp;gt;* TO &amp;lt;l_struct&amp;gt;.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from (p_table) into table &amp;lt;lt_data&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at this time i having data in internal table in BW .. now i will make a call to RFC FM and pass this internal table data . &lt;/P&gt;&lt;P&gt;now ques is how this can be done ? coz RFC FM supports parameter values to be passed as VALUE not reference ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i am able to explain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 06:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419446#M1049717</guid>
      <dc:creator>former_member40112</dc:creator>
      <dc:date>2008-09-06T06:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419447#M1049718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this link it may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5584310"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 06:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419447#M1049718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T06:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419448#M1049719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it would work in case where the table strucutre is known ...whereas in my case its dynamic &lt;/P&gt;&lt;P&gt;at receiving server how would i know decide *like parameter name * in Function module RFC .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 06:46:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419448#M1049719</guid>
      <dc:creator>former_member40112</dc:creator>
      <dc:date>2008-09-06T06:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419449#M1049720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;now ques is how this can be done ? coz RFC FM supports parameter values to be passed as VALUE not &amp;gt;reference &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your table data is small(512chars) then you can try this approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just imitating the function RFC_READ_TABLE, here the data will be read to internal table of type  TAB512.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also try the same way..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 08:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419449#M1049720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T08:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419450#M1049721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay , it seems like this will solve my problem .. can u pls send across usage of this FM ..\&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 09:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419450#M1049721</guid>
      <dc:creator>former_member40112</dc:creator>
      <dc:date>2008-09-06T09:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419451#M1049722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try out this approach...using RFC_READ_TABLE function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: lt_options type table of rfc_db_opt,
        lt_fields  type table of rfc_db_fld,
        lt_data    type table of tab512,
        l_offset   type i,
        l_len      type i,
        ls_flight  type sflight.

  field-symbols: &amp;lt;ls_fields&amp;gt; type rfc_db_fld,
                 &amp;lt;ls_data&amp;gt;   type tab512,
                 &amp;lt;l_field&amp;gt;   type any.


options-text = ' '. " Where condtions you can pass to the options parameter
append options to lt_options.

  call function 'RFC_READ_TABLE'
           destination bwsystem-rfcdest
    exporting
      query_table                = 'SFLIGHT'
    tables
      options                    = lt_options
      fields                     = lt_fields
      data                       = lt_data
    exceptions
      table_not_available        = 1
      table_without_data         = 2
      option_not_valid           = 3
      field_not_valid            = 4
      not_authorized             = 5
      data_buffer_exceeded       = 6
      others                     = 7
            .
  if sy-subrc &amp;lt;&amp;gt; 0.
* function not possible try RFC_FUNCTION_SEARCH
    exit.
  endif.
  loop at lt_data assigning &amp;lt;ls_data&amp;gt;.

    loop at lt_fields assigning &amp;lt;ls_fields&amp;gt;.
      l_offset = &amp;lt;ls_fields&amp;gt;-offset.
      l_len = &amp;lt;ls_fields&amp;gt;-length.

      assign component &amp;lt;ls_fields&amp;gt;-fieldname of structure
                                ls_flight to &amp;lt;l_field&amp;gt;.

      if sy-subrc eq 0.
        &amp;lt;l_field&amp;gt; = &amp;lt;ls_data&amp;gt;+l_offset(l_len).
        "Reading the columns one by one...here
      endif.

    endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 09:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419451#M1049722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-06T09:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419452#M1049723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks , in my case i have to trigger program from BW , read BW table data and send it to R3.&lt;/P&gt;&lt;P&gt;and user will enter BW table name at run time.&lt;/P&gt;&lt;P&gt;In BW i am maintaing customizing table where there exist BW table name , RFC destination name and TArget table name .&lt;/P&gt;&lt;P&gt;and i am maintaing target table striucture in R3 and this structure is as of BW table.&lt;/P&gt;&lt;P&gt;i am able to send the data from BW but i need a placeholder at receiver end R3 , it could be any table depending upon the user selection.&lt;/P&gt;&lt;P&gt;so this FM is not going to solve my purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help i am running out of ideas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 10:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419452#M1049723</guid>
      <dc:creator>former_member40112</dc:creator>
      <dc:date>2008-09-06T10:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419453#M1049724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brijesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you problem is to move a structured record to an unstructured C-container (e.g. string) then you should use the static methods of &lt;STRONG&gt;CL_ABAP_CONTAINER_UTILITIES&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details please refer to:&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="406905"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="430673"&gt;&lt;/SPAN&gt;&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 19:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419453#M1049724</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-09-06T19:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dump while passing internal table to FM RFC enabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419454#M1049725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks  Vijay !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 16:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-while-passing-internal-table-to-fm-rfc-enabled/m-p/4419454#M1049725</guid>
      <dc:creator>former_member40112</dc:creator>
      <dc:date>2008-09-08T16:11:32Z</dc:date>
    </item>
  </channel>
</rss>

