<?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 with junk characters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340044#M1539333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the character cannot be identified then we can go by the characters which will be allowed for that field.&lt;/P&gt;&lt;P&gt;I hope your company codes will contain only Alphanumeric values. So we can check if that field contains only Alphabets and numerics. You can further filter by the pattern used for company codes in your organisation. In my organisation only numerics are used. So I can check only if BKPF-BUKRS contains numerics. Something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF bkpf-bukrs CO '0123456789'.

* Your Logic *

ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the source for this BKPF-BUKRS. If you are getting this value from external sources then you can validate like above. But if you are fetching somewhere from within SAP itself then better check the fetching logic first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps :).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Immanuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 06:30:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-22T06:30:38Z</dc:date>
    <item>
      <title>Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340032#M1539321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im facing a problem with a junk characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF flg_xwia = 'X' AND NOT bkpf-bukrs IS initial.&lt;/P&gt;&lt;P&gt;    PERFORM read_t001 USING bkpf-bukrs.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above condition the bkpf-bukrs is getting "####' value..hence the perform is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that perform a select query is written to fetch some data from t001, with bkpf-bukrs in where condition. As it fails(bcause bkpf-bukrs has junk value), the system displays a error message, which does not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have changed the code like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF flg_xwia = 'X' AND bkpf-bukrs NE '####'.&lt;/P&gt;&lt;P&gt;    PERFORM read_t001 USING bkpf-bukrs.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is the system still executing the perform statement...It means its not comparing the bkpf-bukrs value with '####'.&lt;/P&gt;&lt;P&gt;(but bkpf-bukrs still has the value '####')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So again changed the code like below:&lt;/P&gt;&lt;P&gt;   DATA: w_flag type C.&lt;/P&gt;&lt;P&gt;   Clear w_flag.&lt;/P&gt;&lt;P&gt;   IF bkpf-bukrs = '####'.&lt;/P&gt;&lt;P&gt;      w_flag = 'X'.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;   IF w_flag is INITIAL.&lt;/P&gt;&lt;P&gt;   IF flg_xwia = 'X' AND NOT bkpf-bukrs IS initial.&lt;/P&gt;&lt;P&gt;    PERFORM read_t001 USING bkpf-bukrs.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still the same problem...the IF condition above isnt executed and flag never set to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me..hw to validate this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 05:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340032#M1539321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T05:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340033#M1539322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in the debug mode what is the hex-value for '####'? I think these are some garbled characters &amp;amp; not mere '#'s. &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, 22 Oct 2010 05:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340033#M1539322</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-10-22T05:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340034#M1539323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I believe that..the value of bkpf-bukrs is not just '#(Ash)', its getting some garbled value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier in 4.7 version, it was written like below:&lt;/P&gt;&lt;P&gt;IF flg_xwia = 'X' AND bkpf-bukrs NE hex00&lt;/P&gt;&lt;P&gt;    PERFORM read_t001 USING bkpf-bukrs.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of hex00 was also '####', so the perform statement was never executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the system got upgraded to ECC6, and in unicode checks its got modified to :&lt;/P&gt;&lt;P&gt;  IF flg_xwia = 'X' AND NOT bkpf-bukrs IS initial.&lt;/P&gt;&lt;P&gt;    PERFORM read_t001 USING bkpf-bukrs.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I chkd the Hex value here...it has '00000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me how to resolve the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 05:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340034#M1539323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T05:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340035#M1539324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF flg_xwia = 'X' AND NOT bkpf-bukrs IS initial.&lt;/P&gt;&lt;P&gt;PERFORM read_t001 USING bkpf-bukrs.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear the work area before loop and also you can try using.&lt;/P&gt;&lt;P&gt; IF flg_xwia = 'X' .&lt;/P&gt;&lt;P&gt;if bkpf-bukrs is not initial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 05:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340035#M1539324</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-10-22T05:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340036#M1539325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That doesnt work out..since bkpf-bukrs was not initial( it has some garbage value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone pls help me how to validate the junk value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement: Suppose the value of bkpf-bukrs has some junk value then it should not execute the following statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340036#M1539325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T06:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340037#M1539326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to simulate back your question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How did you query your BKPF-BUKRS? Or how was it fill up in the first place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Did you clear BKPF before you do a SELECT or query on it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cos in my test, even if i unable to query a value out, my BKPF-BUKRS stays blank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340037#M1539326</guid>
      <dc:creator>Wil_Wilstroth</dc:creator>
      <dc:date>2010-10-22T06:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340038#M1539327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the reverse. Check if BKPF-BUKRS contains only A-Z or Numbers. If yes then proceed with your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Immanuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340038#M1539327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T06:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340039#M1539328</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;What are the junk values you are getting.. if it is onl;y # then you can use "CA" contains any '#' then don't execute. something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340039#M1539328</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2010-10-22T06:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340040#M1539329</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;CHECK THAT GARBAGE VALUE WITH &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check from where you are getting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bkpf-bukrs '####' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or check data type   .&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;Deepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepak Dhamat on Oct 22, 2010 8:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340040#M1539329</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2010-10-22T06:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340041#M1539330</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;If you are pretty sure that BUKRS will not have any special characters other than numbers and Lower and upper case letters, you can use the below condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIND REGEX '^[:alnum:]' IN BUKRS.
IF sy-subrc EQ 0.
* Something which is not a letter oder number was found
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Want to find out more type REGEX and press F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavankumar Adiraju on Oct 22, 2010 8:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340041#M1539330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T06:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340042#M1539331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Immanuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks interesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you pls provide me an example to check the if conditon, like you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnks,&lt;/P&gt;&lt;P&gt;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340042#M1539331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T06:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340043#M1539332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Priya ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First try to find the root Cause  , then find solution  .&lt;/P&gt;&lt;P&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;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340043#M1539332</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2010-10-22T06:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340044#M1539333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the character cannot be identified then we can go by the characters which will be allowed for that field.&lt;/P&gt;&lt;P&gt;I hope your company codes will contain only Alphanumeric values. So we can check if that field contains only Alphabets and numerics. You can further filter by the pattern used for company codes in your organisation. In my organisation only numerics are used. So I can check only if BKPF-BUKRS contains numerics. Something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF bkpf-bukrs CO '0123456789'.

* Your Logic *

ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the source for this BKPF-BUKRS. If you are getting this value from external sources then you can validate like above. But if you are fetching somewhere from within SAP itself then better check the fetching logic first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps :).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Immanuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340044#M1539333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T06:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340045#M1539334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Immanuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my company the company code is always an alpha-numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest hw to check with CO. ( need to keep all alphabets or what?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 06:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340045#M1539334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T06:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340046#M1539335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you use the other approach which i suggested. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your question yes you have to check alphabets as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 07:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340046#M1539335</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2010-10-22T07:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340047#M1539336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have the system variable SY-ABCDE. You can make use of it. If your company codes are alphanumeric then need to check if BKPF-BUKRS contains only combination of SY-ABCDE and '012456789'. I am not familiar with the REGEX technique mentioned by Pavan. IF using CO is tedious then can try the REGEX technique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Immanuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 07:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340047#M1539336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T07:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340048#M1539337</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;Have chkd lyk that earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it not considering '#'  as Ash in our keyboard. Hope it is some junk value which looks similar to '#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 07:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340048#M1539337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340049#M1539338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like someone else already mentioned: find out what is causing this error, where do the junk characters come from. Once you know that you can solve it. Now you just have people spamming &lt;EM&gt;solutions&lt;/EM&gt; and they all don't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 07:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340049#M1539338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T07:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340050#M1539339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Have you checked from where ur getting the BUKRS before the perform, check with a watchpoint and also do check in the table BKPF for tat document what BUKRS you have . Do check this first .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the existing logic if it is not a performance issue then u can do add this logic b4 the perform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select from T001 with BUKRS = BKPF-BUKRS &lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;   PERFORM read_t001 USING bkpf-bukrs.&lt;/P&gt;&lt;P&gt;endif.&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;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 07:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340050#M1539339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T07:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with junk characters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340051#M1539340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Maen. If you check BKPF-BUKRS has T001 as a check table. I'm sure you don't have any CoCd defined as '####' (hex value '00000000'). How are you getting the value in BKPF-BUKRS? Any select query, input file, idoc etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you check why the input to BKPF-BUKRS rather than trying to implement some 'crappy' solution based on some assumption. &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, 22 Oct 2010 09:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-junk-characters/m-p/7340051#M1539340</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-10-22T09:00:01Z</dc:date>
    </item>
  </channel>
</rss>

