<?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 I need RFC to insert the RAWSTRING data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-rfc-to-insert-the-rawstring-data/m-p/2121520#M444716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need RFC to insert the input data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Table details&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Name :ZEMP_Content&lt;/P&gt;&lt;P&gt;Fields:  EMP_ID    ZEMP_ID    ZEMP_ID   CHAR&lt;/P&gt;&lt;P&gt;Fields:  EMP_Content  ZEMP_Content   ZEMP_Content  RAWSTRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RFC Name:&amp;lt;/b&amp;gt; ZINSERT_EMP_PHOTO&lt;/P&gt;&lt;P&gt;Import :  EMP_ID   TYPE  ZEMP_MASTER-EMP_ID  &lt;/P&gt;&lt;P&gt;	  DATA     TYPE  ZEMP_MASTER-EMP_Content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Table  :  ZEMP_Content1   LIKE   ZEMP_Content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION ZINSERT_EMP_PHOTO.
*"----------------------------------------------------------------------
*"*"Local interface:
*"  IMPORTING
*"     VALUE(EMP_ID) TYPE  ZEMP_MASTER-EMP_ID OPTIONAL
*"     VALUE(PHOTO) TYPE  ZEMP_PHOTOS-EMP_PHOTO OPTIONAL
*"  TABLES
*"      ZEMP_PHOTOS1 STRUCTURE  ZEMP_PHOTOS
*"----------------------------------------------------------------------


  ZEMP_PHOTOS1-EMP_ID    = EMP_ID.
  ZEMP_PHOTOS1-EMP_PHOTO = PHOTO.

insert ZEMP_PHOTOS from ZEMP_PHOTOS1 .

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting Error Like&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ZEMP_Content must be a flat structure. you cannto user internal tables, strings, references or structures as componnets.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give any sloution to this problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2007 12:00:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-29T12:00:05Z</dc:date>
    <item>
      <title>I need RFC to insert the RAWSTRING data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-rfc-to-insert-the-rawstring-data/m-p/2121520#M444716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need RFC to insert the input data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Table details&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Name :ZEMP_Content&lt;/P&gt;&lt;P&gt;Fields:  EMP_ID    ZEMP_ID    ZEMP_ID   CHAR&lt;/P&gt;&lt;P&gt;Fields:  EMP_Content  ZEMP_Content   ZEMP_Content  RAWSTRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RFC Name:&amp;lt;/b&amp;gt; ZINSERT_EMP_PHOTO&lt;/P&gt;&lt;P&gt;Import :  EMP_ID   TYPE  ZEMP_MASTER-EMP_ID  &lt;/P&gt;&lt;P&gt;	  DATA     TYPE  ZEMP_MASTER-EMP_Content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Table  :  ZEMP_Content1   LIKE   ZEMP_Content&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source Code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION ZINSERT_EMP_PHOTO.
*"----------------------------------------------------------------------
*"*"Local interface:
*"  IMPORTING
*"     VALUE(EMP_ID) TYPE  ZEMP_MASTER-EMP_ID OPTIONAL
*"     VALUE(PHOTO) TYPE  ZEMP_PHOTOS-EMP_PHOTO OPTIONAL
*"  TABLES
*"      ZEMP_PHOTOS1 STRUCTURE  ZEMP_PHOTOS
*"----------------------------------------------------------------------


  ZEMP_PHOTOS1-EMP_ID    = EMP_ID.
  ZEMP_PHOTOS1-EMP_PHOTO = PHOTO.

insert ZEMP_PHOTOS from ZEMP_PHOTOS1 .

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting Error Like&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ZEMP_Content must be a flat structure. you cannto user internal tables, strings, references or structures as componnets.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give any sloution to this problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 12:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-rfc-to-insert-the-rawstring-data/m-p/2121520#M444716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T12:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: I need RFC to insert the RAWSTRING data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-rfc-to-insert-the-rawstring-data/m-p/2121521#M444717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did this issue a fews week ago and it worked fine. I have submitted a input table into a BAPI. &lt;/P&gt;&lt;P&gt;1) You have to confige your table to multiple in the selection mode&lt;/P&gt;&lt;P&gt;2) Data mapping: In the connection line between table and bapi you have to configure "All data rows" in the mapping scoope ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the Visual Composer WIKI:&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/VC/Selecting" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/VC/Selecting&lt;/A&gt;&lt;EM&gt;multiple&lt;/EM&gt;values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sunil kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 12:03:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/i-need-rfc-to-insert-the-rawstring-data/m-p/2121521#M444717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T12:03:30Z</dc:date>
    </item>
  </channel>
</rss>

