<?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: problem in structure start with charecter type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085721#M1506615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much sadra for your help  &amp;amp; i hope u could me help in solving my unicode problems  &amp;amp; u can also give me any information reg this unicode problems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jul 2010 11:23:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-02T11:23:30Z</dc:date>
    <item>
      <title>problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085713#M1506607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am doing a upgrade of an abap program which is written in 4.6 to  ecc 6.0 i am facing a unicode error problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the old program there is  a sap standrad structure called arc_buffer  so in this program they have used the structure  as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM read_file USING handle_tab_wa-offset record_len&lt;/P&gt;&lt;P&gt;                      CHANGING arc_buffer(record_len)&lt;/P&gt;&lt;P&gt;                               error_handling&lt;/P&gt;&lt;P&gt;                               p_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when it is used as arc_buffer(record_len)   system is giving unicode error like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'' the structure arc_bufffer(record_len) does not start with a charecter type field'  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the structure is sap standard  i think i cannot change the stadard structure so what should be done to get out of this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 08:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085713#M1506607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T08:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085714#M1506608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can convert arc_buffer to char string before passing it to subroutine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 08:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085714#M1506608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T08:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085715#M1506609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi manish  thanks for ur replie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; can u tell me how can you convert the standard sap structure to char  &lt;/P&gt;&lt;P&gt;i will be waiting for ur replie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 10:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085715#M1506609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T10:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085716#M1506610</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;Try something like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: begin of lv_buffer,
         RCSZK(2) type c,
        RNAME type RKZ_DBNA,
        CHECKSUM(4) type c,
        FLAGS type CHAR08,
        SEGMENT type MAX_SEGM,
        end of lv_buffer.

move-corresponding arc_buffer to lv_buffer. 

* Use SCMS_BIN_TO_TEXT to convert arc_buffer-RCSZK and CHECKSUM to char type 

PERFORM read_file USING handle_tab_wa-offset record_len
CHANGING arc_buffer(record_len)
error_handling
p_message.

move-corresponding lv_buffer to arc_buffer. 

* Use SCMS_TEXT_TO_BIN again  to convert arc_buffer-RCSZK and CHECKSUM to raw type 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vikranth.Reddy on Jul 1, 2010 4:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 11:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085716#M1506610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T11:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085717#M1506611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you get the structure of &lt;STRONG&gt;arc_buffer&lt;/STRONG&gt; ? The  OP has not provided the details in his post !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 11:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085717#M1506611</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-01T11:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085718#M1506612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello vikranth  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried to change the data type to Charecter type using fm  but it doesnt change&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SCMS_BIN_TO_TEXT'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     bin_line        = arc_buffer-rcszk&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;  TEXT_LINE       = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FAILED          = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   OTHERS          = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           .&lt;/P&gt;&lt;P&gt; IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   write: 'successful'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 13:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085718#M1506612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-01T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085719#M1506613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;elinuk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you see Suhas remark/question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, you should have a look at documentations how to migrate programs to unicode: [SAP library - ABAP and Unicode|http://help.sap.com/saphelp_nw2004s/helpdata/en/62/3f2cadb35311d5993800508b6b8b11/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help you a little bit, I think this one might help you more: &lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/79/c554d3b3dc11d5993800508b6b8b11/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/79/c554d3b3dc11d5993800508b6b8b11/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 21:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085719#M1506613</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-07-01T21:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085720#M1506614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi suhas &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i didnot understand your question properly can u explain  me in detail &amp;amp;  i hope u solve my problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 11:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085720#M1506614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T11:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085721#M1506615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much sadra for your help  &amp;amp; i hope u could me help in solving my unicode problems  &amp;amp; u can also give me any information reg this unicode problems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 11:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085721#M1506615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-02T11:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085722#M1506616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You  should provide the structure details of the &lt;STRONG&gt;arc_buffer&lt;/STRONG&gt; for better analysis of your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Non-UC systems you could use offsets on structures ( like you do on character / string variables ). Although this is not a good programming practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In UC systems you cannot use offsets on non-character variables b'coz of which you are getting this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no standard solution to this problem &amp;amp; needs to be handled on a case-to-case basis. Debug the code in the non-UC system &amp;amp; check what the code is doing with the offset on the structure &amp;amp; try to replicate the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 11:34:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085722#M1506616</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-02T11:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure start with charecter type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085723#M1506617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the structure arc_buffer has following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RCSZK&lt;/P&gt;&lt;P&gt;RNAME&lt;/P&gt;&lt;P&gt;CHECKSUM&lt;/P&gt;&lt;P&gt;FLAGS&lt;/P&gt;&lt;P&gt;SEGMENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in the routine&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM read_file USING handle_tab_wa-offset record_len
CHANGING arc_buffer(record_len)  "here just use it like arc_buffer-&amp;lt;field_name&amp;gt;(record_len) 
error_handling
p_message.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or before calling the perform statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:lv_string type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method cl_abap_container_utilities=&amp;gt;fill_container_c&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;im_value = arc_buffer&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;ex_container = lv_string&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;illegal_parameter_type = 1&lt;/P&gt;&lt;P&gt;others = 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PERFORM read_file USING handle_tab_wa-offset record_len
CHANGING lv_string(record_len)  "here just use it like arc_buffer-&amp;lt;field_name&amp;gt;(record_len) 
error_handling
p_message.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 12:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure-start-with-charecter-type/m-p/7085723#M1506617</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-02T12:24:41Z</dc:date>
    </item>
  </channel>
</rss>

