<?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: string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425893#M1050955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Search for '.' in the string and than you take sy-fdpos, which will give the character position and from that take 3 position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : l_temp_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_string : c:\new\temp\create.doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search for '.' in the string l_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_temp_string = l_string+sy-fdpos(3).&lt;/P&gt;&lt;P&gt;I think this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2008 04:05:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-09T04:05:29Z</dc:date>
    <item>
      <title>string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425890#M1050952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  need a piece of code for finding out the last three character in a string.&lt;/P&gt;&lt;P&gt;The string contains the path with file name. i need to fetch the file name extension only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest me the code for the above&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 03:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425890#M1050952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T03:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425891#M1050953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use split statement to achieve it  will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT File AT .  INTO fil ext.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 04:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425891#M1050953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T04:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425892#M1050954</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;&lt;/P&gt;&lt;P&gt;first u need to find out length of the string &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n = strlen(string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;n =  n - 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now by using offset lengths u can get it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file =  string+n(3).&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 04:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425892#M1050954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T04:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425893#M1050955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Search for '.' in the string and than you take sy-fdpos, which will give the character position and from that take 3 position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : l_temp_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_string : c:\new\temp\create.doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search for '.' in the string l_string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_temp_string = l_string+sy-fdpos(3).&lt;/P&gt;&lt;P&gt;I think this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 04:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425893#M1050955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T04:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425894#M1050956</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;RIGHT(@SHORT_TEXT,3)&lt;/P&gt;&lt;P&gt;Displays the last three characters of the string. For example, a value of FINALCOST would be displayed as OST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 04:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425894#M1050956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T04:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425895#M1050957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_strlen = strlen( w_str1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_offset = w_strlen - 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_str2  = w_str1+ w_offset(3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / w_str2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 04:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425895#M1050957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T04:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425896#M1050958</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;You can split the string at a delimiter here '.' (dot). eg is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: string(60) TYPE c,&lt;/P&gt;&lt;P&gt;      p1(20) TYPE c,&lt;/P&gt;&lt;P&gt;      p2(20) TYPE c,&lt;/P&gt;&lt;P&gt;      del(1) TYPE c VALUE '.'.  (delimiter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string = ' filename.ext'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPLIT string AT del INTO p1 p2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will split the string. put your filename into p1 and your extension into p2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can read p2 and know your file extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Natasha Garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 04:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425896#M1050958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T04:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425897#M1050959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello sai, here im sending a code with this u can get the extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: PATH TYPE STRING VALUE 'C:\Documents and Settings\prakashreddys\Desktop\VA01.TXT'.&lt;/P&gt;&lt;P&gt;DATA: LENGTH TYPE I.&lt;/P&gt;&lt;P&gt;DATA: EXTEN(3) TYPE C.&lt;/P&gt;&lt;P&gt;DATA: COUNT TYPE STRING.&lt;/P&gt;&lt;P&gt;LENGTH = STRLEN( PATH ).&lt;/P&gt;&lt;P&gt;WRITE: LENGTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT = LENGTH - 3.&lt;/P&gt;&lt;P&gt;EXTEN = PATH+COUNT(3).&lt;/P&gt;&lt;P&gt;WRITE: / EXTEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 04:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425897#M1050959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T04:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425898#M1050960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am working in SAP BI and i have a very similar problem. The point is that i have never programmed in ABAP so I hope someone can help me in that matter. In the SAP Source-Sytem from where I am extracting the data there is a field with the name ZZFILE_NAME. The content of this field is for example the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Example 1:&lt;/STRONG&gt;&lt;/U&gt; u201C/home_dev/x11/Electricidad/0024/Alta/A1/0024_A1_01_01_20080522_ES0031406938784737AY0F_200800000001.xmlu201D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;*Example 2:&lt;/U&gt;*u201C/home_dev/x11/Gas/No_GND/0230/A1_SCTD_GC_0031_0230_02_20080526_100721.xmlu201D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need to import into the Business Warehouse System the content of the data after the last slash. So in the case of the example I need just:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 1: &lt;/P&gt;&lt;P&gt;u201C0024_A1_01_01_20080522_ES0031406938784737AY0F_200800000001.xmlu201D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 2:&lt;/P&gt;&lt;P&gt;u201CA1_SCTD_GC_0031_0230_02_20080526_100721.xmlu201D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transfer-Routine actually is like the following code. What do I have to change there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM trans_routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS routine DEFINITION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_transform DEFINITION.&lt;/P&gt;&lt;P&gt;  PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Attributs&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    DATA:&lt;/P&gt;&lt;P&gt;      p_check_master_data_exist&lt;/P&gt;&lt;P&gt;            TYPE RSODSOCHECKONLY READ-ONLY,&lt;/P&gt;&lt;P&gt;*-    Instance for getting request runtime attributs;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Available information: Refer to methods of&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    interface 'if_rsbk_request_admintab_view'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      p_r_request&lt;/P&gt;&lt;P&gt;            TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    TYPE-POOLS: rsd, rstr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Rule specific types&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TYPES:&lt;/P&gt;&lt;P&gt;      BEGIN OF &lt;U&gt;ty&lt;/U&gt;s_SC_1,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     Field: ZZFILE_NAME File URL.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        ZZFILE_NAME           TYPE C LENGTH 255,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     Field: RECORD.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        RECORD           TYPE RSARECORD,&lt;/P&gt;&lt;P&gt;      END   OF &lt;U&gt;ty&lt;/U&gt;s_SC_1.&lt;/P&gt;&lt;P&gt;    TYPES:&lt;/P&gt;&lt;P&gt;      BEGIN OF &lt;U&gt;ty&lt;/U&gt;s_TG_1,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     InfoObject: ZCSWFILEN NOMBRE FICHERO XML MENSAJE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        /BIC/ZCSWFILEN           TYPE /BIC/OIZCSWFILEN,&lt;/P&gt;&lt;P&gt;      END   OF &lt;U&gt;ty&lt;/U&gt;s_TG_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$ begin of global - insert your declaration only below this line  &lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;... "insert your code here&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$ end of global - insert your declaration only before this line   &lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    METHODS&lt;/P&gt;&lt;P&gt;      compute_ZCSWFILEN&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          request                  type rsrequest&lt;/P&gt;&lt;P&gt;          datapackid               type rsdatapid&lt;/P&gt;&lt;P&gt;          SOURCE_FIELDS              type &lt;U&gt;ty&lt;/U&gt;s_SC_1&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          RESULT                   type &lt;U&gt;ty&lt;/U&gt;s_TG_1-/BIC/ZCSWFILEN&lt;/P&gt;&lt;P&gt;          monitor                  type rstr_ty_t_monitor&lt;/P&gt;&lt;P&gt;        RAISING&lt;/P&gt;&lt;P&gt;          cx_rsrout_abort&lt;/P&gt;&lt;P&gt;          cx_rsrout_skip_record&lt;/P&gt;&lt;P&gt;          cx_rsrout_skip_val.&lt;/P&gt;&lt;P&gt;    METHODS&lt;/P&gt;&lt;P&gt;      invert_ZCSWFILEN&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          i_th_fields_outbound         TYPE rstran_t_field_inv&lt;/P&gt;&lt;P&gt;          i_r_selset_outbound          TYPE REF TO cl_rsmds_set&lt;/P&gt;&lt;P&gt;          i_is_main_selection          TYPE rs_bool&lt;/P&gt;&lt;P&gt;          i_r_selset_outbound_complete TYPE REF TO cl_rsmds_set&lt;/P&gt;&lt;P&gt;          i_r_universe_inbound         TYPE REF TO cl_rsmds_universe&lt;/P&gt;&lt;P&gt;        CHANGING&lt;/P&gt;&lt;P&gt;          c_th_fields_inbound          TYPE rstran_t_field_inv&lt;/P&gt;&lt;P&gt;          c_r_selset_inbound           TYPE REF TO cl_rsmds_set&lt;/P&gt;&lt;P&gt;          c_exact                      TYPE rs_bool.&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "routine DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$ begin of 2nd part global - insert your code only below this line  *&lt;/P&gt;&lt;P&gt;... "insert your code here&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$ end of 2nd part global - insert your code only before this line   *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS routine IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS lcl_transform IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  METHOD compute_ZCSWFILEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    request     type rsrequest&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    datapackid  type rsdatapid&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SOURCE_FIELDS-ZZFILE_NAME TYPE C LENGTH 000255&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     RESULT type &lt;U&gt;ty&lt;/U&gt;s_TG_1-/BIC/ZCSWFILEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA:&lt;/P&gt;&lt;P&gt;      MONITOR_REC    TYPE rsmonitor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*$*$ begin of routine - insert your code only below this line        *-*&lt;/P&gt;&lt;P&gt;... "insert your code here&lt;/P&gt;&lt;P&gt;*--  fill table "MONITOR" with values of structure "MONITOR_REC"&lt;/P&gt;&lt;P&gt;*-   to make monitor entries&lt;/P&gt;&lt;P&gt;... "to cancel the update process&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   raise exception type CX_RSROUT_ABORT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;... "to skip a record&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   raise exception type CX_RSROUT_SKIP_RECORD.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;... "to clear target fields&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   raise exception type CX_RSROUT_SKIP_VAL.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     RESULT = .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$ end of routine - insert your code only before this line         &lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                    "compute_ZCSWFILEN&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Method invert_ZCSWFILEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      This subroutine needs to be implemented only for direct access&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      (for better performance) and for the Report/Report Interface&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      (drill through).&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      The inverse routine should transform a projection and&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      a selection for the target to a projection and a selection&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      for the source, respectively.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      If the implementation remains empty all fields are filled and&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      all values are selected.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  METHOD invert_ZCSWFILEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$ begin of inverse routine - insert your code only below this line&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;... "insert your code here&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;$ end of inverse routine - insert your code only before this line &lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDMETHOD.                    "invert_ZCSWFILEN&lt;/P&gt;&lt;P&gt;ENDCLASS.                    "routine IMPLEMENTATION&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 16:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string/m-p/4425898#M1050960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T16:23:46Z</dc:date>
    </item>
  </channel>
</rss>

