<?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: Fetching data from Table cluster e.g. RFBLG in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-table-cluster-e-g-rfblg/m-p/8181810#M1624344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Fetch the data into a internal table for RFBLG.&lt;/P&gt;&lt;P&gt; 2. Now for decompressing use a FM 'RRXWS_RAW_TO_CHAR'. Now here get the char data ( converted data ) into another    field of itab.&lt;/P&gt;&lt;P&gt;3. finally ur internal table will be filled with the req value.&lt;/P&gt;&lt;P&gt;4. Filtering wrt BSEG can be done based on the converted value.&lt;/P&gt;&lt;P&gt;5. Upload the data in Transparent Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_itab.&lt;/P&gt;&lt;P&gt;       INCLUDE type RFBLG.&lt;/P&gt;&lt;P&gt;types: conv_data type string.&lt;/P&gt;&lt;P&gt;Types: end OF ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type TABLE OF ty_itab,&lt;/P&gt;&lt;P&gt;      wa_itab type ty_itab,&lt;/P&gt;&lt;P&gt;      rawitab type TABLE OF bapiconten,&lt;/P&gt;&lt;P&gt;      wa_rawitab type bapiconten,&lt;/P&gt;&lt;P&gt;      it_conv type TABLE OF w3html,&lt;/P&gt;&lt;P&gt;      wa_conv type w3html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from RFBLG into CORRESPONDING FIELDS OF TABLE itab UP TO 10 ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab INTO wa_itab.&lt;/P&gt;&lt;P&gt;  wa_rawitab-line = wa_itab-vardata .&lt;/P&gt;&lt;P&gt;  append wa_rawitab to rawitab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RRXWS_RAW_TO_CHAR'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    I_T_RAW_DATA       = rawitab&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;    E_T_HTML           = it_conv&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;  loop at it_conv INTO wa_conv.&lt;/P&gt;&lt;P&gt;    CONCATENATE wa_itab-conv_data wa_conv-line INTO wa_itab-conv_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  MODIFY itab from wa_itab TRANSPORTING conv_data.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert ztable from TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note create ztable with same fields as in the internal table ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will surely help you !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Punit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2011 11:54:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-08-25T11:54:28Z</dc:date>
    <item>
      <title>Fetching data from Table cluster e.g. RFBLG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-table-cluster-e-g-rfblg/m-p/8181809#M1624343</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;&lt;/P&gt;&lt;P&gt;I want to write a ABAP program to:&lt;/P&gt;&lt;P&gt;1. read data from Table cluster RFBLG, &lt;/P&gt;&lt;P&gt;2. filter data concerning BSEG, &lt;/P&gt;&lt;P&gt;3. decompress data from column Vardata and &lt;/P&gt;&lt;P&gt;4. fill transparent z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How this can be done. How do decompress data from Vardata column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better way to achieve the above i.e. select enteries from table cluster and populate uncompressed data to transperant table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 07:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-table-cluster-e-g-rfblg/m-p/8181809#M1624343</guid>
      <dc:creator>sunit_s</dc:creator>
      <dc:date>2011-08-23T07:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data from Table cluster e.g. RFBLG</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-table-cluster-e-g-rfblg/m-p/8181810#M1624344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Fetch the data into a internal table for RFBLG.&lt;/P&gt;&lt;P&gt; 2. Now for decompressing use a FM 'RRXWS_RAW_TO_CHAR'. Now here get the char data ( converted data ) into another    field of itab.&lt;/P&gt;&lt;P&gt;3. finally ur internal table will be filled with the req value.&lt;/P&gt;&lt;P&gt;4. Filtering wrt BSEG can be done based on the converted value.&lt;/P&gt;&lt;P&gt;5. Upload the data in Transparent Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_itab.&lt;/P&gt;&lt;P&gt;       INCLUDE type RFBLG.&lt;/P&gt;&lt;P&gt;types: conv_data type string.&lt;/P&gt;&lt;P&gt;Types: end OF ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type TABLE OF ty_itab,&lt;/P&gt;&lt;P&gt;      wa_itab type ty_itab,&lt;/P&gt;&lt;P&gt;      rawitab type TABLE OF bapiconten,&lt;/P&gt;&lt;P&gt;      wa_rawitab type bapiconten,&lt;/P&gt;&lt;P&gt;      it_conv type TABLE OF w3html,&lt;/P&gt;&lt;P&gt;      wa_conv type w3html.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from RFBLG into CORRESPONDING FIELDS OF TABLE itab UP TO 10 ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab INTO wa_itab.&lt;/P&gt;&lt;P&gt;  wa_rawitab-line = wa_itab-vardata .&lt;/P&gt;&lt;P&gt;  append wa_rawitab to rawitab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RRXWS_RAW_TO_CHAR'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    I_T_RAW_DATA       = rawitab&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;    E_T_HTML           = it_conv&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;  loop at it_conv INTO wa_conv.&lt;/P&gt;&lt;P&gt;    CONCATENATE wa_itab-conv_data wa_conv-line INTO wa_itab-conv_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  MODIFY itab from wa_itab TRANSPORTING conv_data.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert ztable from TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note create ztable with same fields as in the internal table ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will surely help you !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Punit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 11:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-from-table-cluster-e-g-rfblg/m-p/8181810#M1624344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-25T11:54:28Z</dc:date>
    </item>
  </channel>
</rss>

