EAN code with 25 characters - HIBC Supplier Labeling

Hello,
My client is requiring to populate the EAN code in the material master data (Basic data1 view) with 25 characters.
But, the EAN/UPC field (MARA-EAN11) is only allowing 18 characters.
Then, he sent me the table where the 25 char are required for the HIBC Supplier Labeling:
+     1     F     HIBC Supplier Labeling Flag Character u201C+u201D
I     4     F     Labeler Identification Code (LIC) an alphanumeric number
P     1-18     V     Labelers Product or Catalog Number (PCN).
U     1     F     Unit of Measure ID, Numeric value only, 0 through 9
C     1     F     Check Character calculated
I suppose that the Catalog Number (PCN) is the EAN/UPC field, but, where can be populated the rest of the fields showed above?
Could you help me in order to understand more about EAN code in SAP?
Thanks!
Kind regards,
Sandra Palomo

Pls chk SAP note# 880520 for customer specific functions.
Also check the doc in below link for complete EAN functionality
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60d5cf7e-8890-2b10-88b6-a9b03832009a?quicklink=index&overridelayout=true
BR,
Krishna

Similar Messages

  • Compiling Java code with Japanese characters

    I have a Java code with some Japanese characters. My compiler doesn't recognise these characters and gives me error messages.
    Please help me.

    Obviously it's not the copmiler's fault. You need to fix your code.
    Here is a link to the Java Language Specification.
    The link is to section 3.8 - Identifiers.
    It describes the acceptable naming:
    http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#40625
    Perhaps your editor is not saving the text file in an appropriate format.
    What editor are you using?
    Try vim http://www.vim.org
    or SciTE http://www.scintilla.org/SciTE.html

  • EAN code  with verifier digit

    Dear friends !
    How could I configure EAN number to  propose  the EAN code as follow
    789420011111111 , in automatic way ? when material master created.
    where:
    789 = Brazil
    1200=Company code
    1111111=Material number
    1 - Verifier Digit
    thanks a lot
    Ale

    Hello,
      You can configure automatic check digit algorithm for EAN/UPC category using transaction W4ES. You have the following choices:
    1  Standard EAN check digit algorithm                         
    2  Check digit alg. for fresh produce EANs with indl art. no. 
    3  Check digit algorithm for fresh produce EANs with SAN      
    4  Ck digit alg. for fresh produce EANs w/ indl art. no. 5-fig.
    5  Ck digit algorithm for FP EANs with SAN + trading unit digit
    6  Check digit algorithm for UPC version E (UPC contraction)  
    Thanks,
    Venu

  • BAPI_GOODSMVT_CREATE with EAN code

    hello APABERs,
    what is the best solution to read EAN code "using handheld scanner" and convert it to material number to use it in the
    Function module BAPI_GOODSMVT_CREATE.
    thanks in advance.

    Hi,
    Most of the organizations don't use EAN/UPC and material number combination.
    Though if you are using EAN/UPC then perhaps you can select material number from table MARA for EAN/UPC number (EAN11 field).
    And use it in BAPI_GOODSMVT_CREATE.
    Thanks,
    Zuber

  • Slideshow: label with asian characters

    I just installed Fw CS3 french edition.
    When using the create sldeshow command from the menu I get 5
    tabs on the right side of the window.
    The last one appear with asian characters and a pop-up as
    well when clicking the create button.
    How to resolve it ?
    Best regards

    Hello.
    How are you doing?
    Good Day.
    I think I have the concepts down some, I'm just gonna
    ask some questions for confirmation. First I'll list a
    statement then I'll as the question about the
    statement.
    If the statement is correct answer yes, on the other
    hand if the statement is false. Answer no to the
    question and explain.
    My purpose for asking you questions. Is to get a better understanding of JavaMail and to clear up any doubt. That, I may have on this subject that is related to the statements and questions.
    By having some one like you respond to my questions with answers.
    Here we go!
    The content of the Part Interface and Message class are not attributes at all.
    If this statement is correct or not correct please explian why.
    Is this statement correct?
    A DataHandler is the class called DataHandler and the
    object of the DataHandler class, which programmers
    would call the DataHandler object; which is (normally
    created by using the DataHandler class constructor). The DataHandler class, wraps the data into the DataHandler object which is called DataHandler; by you or I using the DataHandler class constructor.
    This statement is correct right?
    The DataHandler class takes the data you pass to it's
    constructor and wraps it into the DataHandler's object
    as one entity called an email message.
    Is this statement correct?
    Thanks in advance.
    Please email me as soon as possible;
    at [email protected]
    Peace out, have a good day.
    -Leroy

  • OBIEE 11.1.1.6.2 Go Url pass filter with latin characters

    Hi all,
    I'm facing the following situation with obiee go url. It seems that obiee does not accept column names with latin characters (in this example the column name "Instalação"). The report simple ignores the filter and shows the output.
    I tried with another column without special characters and filter works correctly.
    Here is the example:
    http://localhost:9704/analytics/saw.dll?Go&Path=/Shared/Temp/Instalações&NQUser=weblogic&NQPassword=welcome&Action=Navigate&P0=1&P1=eq&P2=Contador.Instalação&P3=1+TESTE
    I also tryied the following with no sucess
    http://localhost:9704/analytics/saw.dll?Go&Path=/Shared/Temp/Instalações&NQUser=weblogic&NQPassword=welcome&Action=Navigate&P0=1&P1=eq&P2=Contador."Instalação"&P3=1+TESTE
    Can anyone help me?

    Hi Srini
    The file localechraractersetlist.xml already has the setting <characterSet name="utf-8" />
    My localecharactersetlists.xml looks like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- Preferred Character Sets for Languages and/or locales. -->
    <!-- Contents of this file are Copyright (C) 2001-2003 by Siebel Software, inc.
    and may not be in anyway used for any other product or purpose other than those
    of nQuire Software, inc. So there. -->
    <!-- Use the "language" attribute when referring to a group of locales (en, az, be)
    and the "locale" attribute when referring to a specific locale (en-US, fr-CA, cn-TW) -->
    <!-- The "title" attribute is for readability purposes only -->
    <!-- Character sets are listed in order of preference. -->
    <!-- Each character set label must be present in the "CharacterSetDefinitions.xml" file -->
    <sawl:localeCharacterSetLists xmlns:sawl="com.siebel.analytics.web.locale/v1" xmlns="com.siebel.analytics.web.locale/v1">
    <characterSetList name="locale:ar" title="Arabic">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-6" />
         <characterSet name="Windows-1256" />
         <characterSet name="ASMO-708" />
         <characterSet name="x-mac-arabic" />
    </characterSetList>
    <characterSetList name="locale:az" title="Azeri">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-5" />
         <characterSet name="Windows-1251" />
    </characterSetList>
    <characterSetList name="locale:be" title="Belarusian">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-5" />
         <characterSet name="Windows-1251" />
    </characterSetList>
    <characterSetList name="locale:bg" title="Bulgarian">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-5" />
         <characterSet name="Windows-1251" />
    </characterSetList>
    <characterSetList name="locale:ca" title="Catalan">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:cs" title="Czech">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-2" />
         <characterSet name="Windows-1250" />
    </characterSetList>
    <characterSetList name="locale:da" title="Danish">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
         <characterSet name="x-EBCDIC-DenmarkNorway" />
    </characterSetList>
    <characterSetList name="locale:de" title="German">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:el" title="Greek">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-7" />
         <characterSet name="Windows-1253" />
         <characterSet name="x-mac-greek" />
    </characterSetList>
    <characterSetList name="locale:en-us" title="English (United States)">
    <!--     <characterSet name="us-ascii" />-->
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" /> <!-- prefer the windows encoding as iso-8859-1 is less complete -->
         <characterSet name="iso-8859-1-ie" />
         <characterSet name="iso-8859-1" />
         <characterSet name="iso-8859-15" />
    </characterSetList>
    <characterSetList name="locale:en" title="English">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" /> <!-- prefer the windows encoding as iso-8859-1 is less complete -->
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
         <characterSet name="Windows-1252" />
    </characterSetList>
    <characterSetList name="locale:es" title="Spanish">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" /> <!-- prefer the windows encoding as iso-8859-1 is less complete -->
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:et" title="Estonian">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-4" />
         <characterSet name="Windows-1257" />
    </characterSetList>
    <characterSetList name="locale:eu" title="Basque">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:fa" title="Farsi">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1256" />
         <characterSet name="iso-8859-6" />
    </characterSetList>
    <characterSetList name="locale:fi" title="Finnish">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:fo" title="Faeroese">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:fr" title="French">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:hi" title="Hindi">
         <characterSet name="utf-8" />
    </characterSetList>
    <characterSetList name="locale:hr" title="Croatian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:hu" title="Hungarian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:hy" title="Armenian">
         <characterSet name="utf-8" />
    </characterSetList>
    <characterSetList name="locale:id" title="Indonesian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:is" title="Icelandic">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
         <characterSet name="x-mac-icelandic" />
    </characterSetList>
    <characterSetList name="locale:it" title="Italian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <!-- Note that Analytics does not support the visually ordered Hebrew code page iso-8859-8 (but does support the logically ordered iso-8859-8-i). -->
    <characterSetList name="locale:he" title="Hebrew">
         <characterSet name="utf-8" />
         <characterSet name="iso-8859-8-i" />
         <characterSet name="x-mac-hebrew" />
    </characterSetList>
    <characterSetList name="locale:ja" title="Japanese">
         <characterSet name="utf-8" />
         <characterSet name="shift_jis" />
         <characterSet name="euc-jp" />
         <characterSet name="csISO2022JP" />
         <characterSet name="x-mac-japanese" />
         <characterSet name="x-EBCDIC-JapaneseAndJapaneseLatin" />
    <characterSet name="x-EBCDIC-JapaneseAndKana" />
    <characterSet name="x-EBCDIC-JapaneseAndUSCanada" />
    <characterSet name="x-EBCDIC-JapaneseKatakana" />
    </characterSetList>
    <characterSetList name="locale:ka" title="Georgian">
         <characterSet name="utf-8" />
    </characterSetList>
    <characterSetList name="locale:kk" title="Kazakh">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1251" />
         <characterSet name="iso-8859-5" />
    </characterSetList>
    <characterSetList name="locale:ko" title="Korean">
         <characterSet name="utf-8" />
         <characterSet name="euc-kr" />
         <characterSet name="ks_c_5601-1987" />
         <characterSet name="x-EBCDIC-KoreanAndKoreanExtended" />
         <characterSet name="x-EBCDIC-KoreanAndKoreanExtended" />
         <characterSet name="x-EBCDIC-KoreanExtended" />
         <characterSet name="x-mac-korean" />
         <characterSet name="Johab" />
    </characterSetList>
    <characterSetList name="locale:lt" title="Lithuanian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1257" />
         <characterSet name="iso-8859-4" />
    </characterSetList>
    <characterSetList name="locale:lv" title="Latvian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1257" />
         <characterSet name="iso-8859-4" />
    </characterSetList>
    <characterSetList name="locale:mk" title="Macedonian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1251" />
         <characterSet name="iso-8859-5" />
    </characterSetList>
    <characterSetList name="locale:mr" title="Marathi">
         <characterSet name="utf-8" />
    </characterSetList>
    <characterSetList name="locale:ms" title="Malay">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:nl" title="Dutch">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:no" title="Norwegian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:pl" title="Polish">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:pt" title="Portuguese">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:pt-br" title="Portuguese (Brasil)">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:ro" title="Romanian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:ru" title="Russian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1251" />
         <characterSet name="iso-8859-5" />
         <characterSet name="x-mac-cyrillic" />
    </characterSetList>
    <characterSetList name="locale:sa" title="Sanskrit">
         <characterSet name="utf-8" />
    </characterSetList>
    <characterSetList name="locale:sk" title="Slovak">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:sl" title="Slovenian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:sq" title="Albanian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:sr" title="Serbian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1250" />
         <characterSet name="iso-8859-2" />
    </characterSetList>
    <characterSetList name="locale:sv" title="Swedish">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-15" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:sw" title="Swahili">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1252" />
         <characterSet name="iso-8859-1" />
    </characterSetList>
    <characterSetList name="locale:ta" title="Tamil">
         <characterSet name="utf-8" />
    </characterSetList>
    <characterSetList name="locale:th" title="Thai">
         <characterSet name="utf-8" />
         <characterSet name="x-EBCDIC-Thai" />
    </characterSetList>
    <characterSetList name="locale:tr" title="Turkish">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1254" />
         <characterSet name="iso-8859-3" />
         <characterSet name="iso-8859-9" />
         <characterSet name="x-mac-turkish" />
    </characterSetList>
    <characterSetList name="locale:tt" title="Tatar">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1251" />
         <characterSet name="iso-8859-5" />
    </characterSetList>
    <characterSetList name="locale:uk" title="Ukrainian">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1251" />
         <characterSet name="iso-8859-5" />
    </characterSetList>
    <characterSetList name="locale:ur" title="Urdu">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1256" />
         <characterSet name="iso-8859-6" />
    </characterSetList>
    <characterSetList name="locale:uz" title="Uzbek">
         <characterSet name="utf-8" />
         <characterSet name="Windows-1251" />
         <characterSet name="iso-8859-5" />
    </characterSetList>
    <characterSetList name="locale:vi" title="Vietnamese">
         <characterSet name="utf-8" />
    </characterSetList>
    <characterSetList name="locale:zh-tw" title="Chinese (Traditional / Taiwan)">
         <characterSet name="utf-8" />
         <characterSet name="big5" />
         <characterSet name="EUC-CN" />
         <characterSet name="gb2312" />
         <characterSet name="hz-gb-2312" />
         <characterSet name="x-mac-chinesetrad" />
    </characterSetList>
    <characterSetList name="locale:zh" title="Chinese (Simplified)">
         <characterSet name="utf-8" />
         <characterSet name="gb2312" />
         <characterSet name="hz-gb-2312" />
         <characterSet name="iso-2022-cn" />
         <characterSet name="EUC-CN" />
         <characterSet name="big5" />
         <characterSet name="x-mac-chinesesimp" />
    </characterSetList>
    </sawl:localeCharacterSetLists>

  • Generating Bar-code with barcode no.

    Hi Experts,
              my requirement is to generate bar-code for data from certain fields like material no,batch no, expiry date etc. Well i am
              able to generate the bar-code with the help of smart style but i am not getting any no below the generated bar-code as
              bar-code no. As i have come across that there are basically 2 types of bar-code no. 1) UPC   and   2) EAN
              Please help me in generation of bar-code with its no below (either in UPC   or   EAN )  type.
    Thanks.
    Praveen Kumar.

    Hi, Praveen,
    I am more a barcode expart than SAP expert.  Here is a link to an article that may be helpful:
    [Printing barcodes from SAP|http://www.makebarcode.com/info/appnote/app_024.html]
    You mentioned using UPC-A or EAN-13.  I recommend that you do not use these symbologies for general-purpose fields like material no,batch no, expiry date etc.  Both of these codes are fixed length, numeric only.  It will be much better if you use a variable-length, alpha-numeric symbol like Code 39 or Code 128.  Code 39 is the easiest to work with; Code 128 requires a little more work to set up your software, but it supports a wider range of characters (lower case, symbols, etc.). 
    Here is a link to a barcode comparison chart.  From there you can find details about these codes.
    [Barcode comparison chart|http://www.makebarcode.com/specs/barcodechart.html]
    Bob

  • EAN code problem

    All All,
    Recently I have found out strange problem on the EAN code. Some of materials have been assigned a EAN category with Internal number range, but their EAN code numbers are fall into other External number range.
    Could anyone please tell me why this happen?! why system allows this happen?
    Thank for your time
    Alvin

    Hi All,
    Thanks for your response. The query is resloved.  Below is the final code that has been used.  Code set  C:     value is   '>;' and  FNC1  Value is   '>8' and code switch c to b is  '>6'.
    DATA:  c_start_code_c(2)     TYPE c         VALUE '>;',
                 c_fnc1(2)             TYPE c         VALUE '>8'.      
                 c_ai1(5)              TYPE c         VALUE '(421)',
                 c_ai2(4)              TYPE c         VALUE '(90)',
                 c_ai3(4)              TYPE c         VALUE '(00)',
                 c_au_code(3)          TYPE c         VALUE '036',
                 C_SWITCH_C_TO_B(2)    TYPE c               VALUE '>6'.
      CONCATENATE:
                  c_start_code_c
                  c_fnc1
                  c_ai1+1(3)
                  c_au_code
                  wa_adrc_to-post_code1
                  c_fnc1
                  c_ai2+1(2)
                  wa_delivery-store_num+0(2)
                  c_switch_c_to_b
                  wa_delivery-store_num+2(2) INTO v_barcode1 .
      CONDENSE :v_barcode1.
    Create a style with a specified barcode specifications and assign it to a text label in smartform for printing......
    Hope this one useful for all....
    Thx...
    Srinivas

  • Need help in using replace function with special characters

    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK&#39;S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, '&#39;', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    George

    george91 wrote:
    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK'S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, ''', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    GeorgeHa! The codes you specified rendered in the HTML, but showed properly when I listed your original posting above. I didn't understand what you meant initially because the 5-character string represenation got rendered as the quote that you said you weren't able to get - a display problem.
    You're getting prompted for the substituon variable because of the ampersand; you appear to be doing this in SQL*PLUS. The first thing I would try is to SET DEFINE OFF when using the ampersands to see if that works. If That doesn't work check the docs to delmit the ampersand (I think its a backslash before it but can't remember offhand). Another, harder option might be to use the TRANSLATE function replacing the literal character instead of using REPLACE (though replacing a quote will be a little tricky). If you're on 10g also consider using the advanced quoting
    Good luck!
    Edited by: riedelme on May 22, 2009 12:45 PM

  • LoadUserProfile() creates a profile with Chinese characters on a remote system

    Hi,
    I'm working on an application where LoadUserProfile() is being used to remotely load a user profile on a machine. The token being passed to LoadUserProfile() is obtained from LogonUser(). 
    When doing this only with a Domain Admin user which is added in Active Directory, it creates a profile with Chinese characters in the C:\Users\ folder of the remote machine. Note that this happens only when logging in for the first time with
    this Domain Admin account remotely on that machine.
         // code:
          PROFILEINFO pi;
          memset((void *) &pi, 0, sizeof(PROFILEINFO));
          pi.dwSize = sizeof(PROFILEINFO);
          pi.dwFlags = PI_NOUI;
          pi.lpUserName = (TCHAR *)strUser;   //strUser is the User name, and it shows correctly here when debugging
          if (LoadUserProfile(hToken, &pi))
    //It is actually successful, and comes here when debugging.
    Although the name shows up correctly when debugging (remotely), why is it creating a profile with Chinese characters on the remote machine? 
    TIA,
    Jy

    CreateProfile won't load the profile.  You need to use LoadUserProfile to load the profile, and you need to query for a roaming profile path to put in the lpProfileInfo parameter if you want to include that as well.  You need a token for a
    user to call LoadUserProfile, but not a profile handle.  LoadUserProfile will populate that for you before it returns if it was successful.  See this excerpt from
    https://msdn.microsoft.com/en-us/library/windows/desktop/bb762281%28v=vs.85%29.aspx:
    Upon successful return, the hProfile member
    of PROFILEINFO is
    a registry key handle opened to the root of the user's hive. It has been opened with full access (KEY_ALL_ACCESS). If a service that is impersonating a user needs to read or write to the user's registry file, use this handle instead of HKEY_CURRENT_USER.
    Do not close thehProfile handle.
    Instead, pass it to the UnloadUserProfile function.
    This function closes the handle. You should ensure that all handles to keys in the user's registry hive are closed. If you do not close all open registry handles, the user's profile fails to unload. For more information, see Registry
    Key Security and Access Rights and Registry
    Hives.
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • Profit Centers(CEPCT) selection with Wild Characters(*) condition

    HI, I'm trying to select Profit centers from CEPCT table for the given profit center parameter. here I'm trying with wild characters.
    for example: 1.
    * check if wild character exists
        FIND c_st IN p_i_profit_ctr.
        IF sy-subrc EQ 0.
    * replace * with %
          REPLACE ALL OCCURRENCES OF c_st IN p_i_profit_ctr WITH c_pr.
    * get profit center list for given pattern
          SELECT prctr  "Profit Center
                 ktext  "General Name
              FROM cepct INTO TABLE t_profit_ctr
            WHERE spras = c_en              "english language
            AND   prctr LIKE p_i_profit_ctr.   "profit center
    CEPCT table data is:
    Profit Center
    0000001000  
    0000002000  
    CORPORATE   
    (1) when I try with C*, i'm getting properly.
    (2)when I try with 1, I'm getting it properly.
    (3) when I try with 1*, not getting data even if 1000 is available. this is beacuse leading zeores in the table.
    Could anyone please help me out how do I write a qeury to rectrive the above. (Note: we may not be sure how many zeroes to be included, I hope this is not good practive to include zeroes because in case of 200/2000 which will not work and for chars which will not be good code)
    thanks in advance.

    Hi,
    Its better to specify a range for profit center in the selection screen and he use in your query as follows:
    Example :
    ranges r_profcent FOR GLPCA-RPRCTR.
    Query to fetch Range:
    SELECT PRCTR INTO R_PROFCENT-LOW
      FROM CEPC
      WHERE ( PRCTR BETWEEN '0000001111' AND '0000009999'
        OR PRCTR = 'DUMMY' )
        AND KOKRS = '1000'.
        R_PROFCENT-SIGN = 'I'.
        R_PROFCENT-OPTION = 'EQ'.
        APPEND R_PROFCENT.
    Use of range in Query:
      SELECT  REFDOCNR RPRCTR BLDAT  BUDAT
      FROM GLPCA CLIENT SPECIFIED
      APPENDING CORRESPONDING FIELDS OF TABLE ITAB1
      WHERE RCLNT = SY-MANDT
        AND RPRCTR IN R_PROFCENT
        AND RACCT IN GLACNO
    Hope it could help you out.
    Regds,
    Anil

  • ITunes crashes on attempt to play media with foreign characters

    Recently, over the last few versions I have been unable to play any of my media that includes foreign characters, be it Asian characters or accented Roman characters. The fact of the matter is that upon attempting to play a song / audiobook / movie with a foreign character iTunes crashes.
    I am using iTunes 10.6.1.7 on Windows 7 64-bit in English (UK) with non-unicode set to Japanese.
    Windows crash report:
    Problem signature:
      Problem Event Name:          BEX
      Application Name:          iTunes.exe
      Application Version:          10.6.1.7
      Application Timestamp:          4f71aced
      Fault Module Name:          amip.dll
      Fault Module Version:          2.6.7.0
      Fault Module Timestamp:          4b63548c
      Exception Offset:          000b5954
      Exception Code:          c000000d
      Exception Data:          00000000
      OS Version:          6.1.7601.2.1.0.256.48
      Locale ID:          2057
      Additional Information 1:          3191
      Additional Information 2:          319160cfbcc1295d9ca9b4d448d8f7e3
      Additional Information 3:          62c3
      Additional Information 4:          62c3b5fb8ab287fc898b342b661d3806
    The media with foreign characters syncs with my iPhone okay, and will play without issue on it; just iTunes is unable to play said media on my computer, which is highly frustrating.
    I would be appreciative if someone has found and would share any work-around to this problem. Thanks.

    I still have no thorough concept on how I have solved this but I suppose if anyone else has encountered this issue I can share how I worked around it:
    I changed my windows system non-unicode locale back to its default (English UK).
    I then installed Microsoft AppLocale to handle the programs that would be affected.
    For experimental reasons I then set my iTunes executable to have Japanese locale through the AppLocale program.
    It now operates fine and will play files with foreign characters.
    Try it if you experience the problem's I've been having.

  • GUI Download Issue with Chinese characters

    Hello,
    Currently we are upgrading from 4.7 to ECC. I'm using GUI_DOWNLOAD
    function module to download the data from SAP to desktop. I do have an
    issue with Chinese characters while downloading the file from SAP to ECC.
    In 4.7 the Chinese characters are being downloaded (I haven't used any
    code page) perfectly, but where as in ECC the downloaded file has junk
    characters instead of Chinese.
    Is there any change in the GUI_UPLOAD FM.
    For your reference below is the code present in the program
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
        EXPORTING
          FILENAME             = Z_FILENAME
    *****DCDK900543 - Begin of fixing for Unicode conversion ****
         FILETYPE             = 'WK1'
          FILETYPE             = 'ASC'
          WRITE_FIELD_SEPARATOR = ABAP_TRUE
    *****DCDK900543 - End of fixing for Unicode conversion ****
        CHANGING
          DATA_TAB             = I_TAB_TMP
        EXCEPTIONS
          FILE_WRITE_ERROR     = 1
          NO_BATCH             = 2
          INVALID_TYPE         = 3
          UNKNOWN_ERROR        = 4
          OTHERS               = 5.
    Regards,
    Bharath.

    Hi bharat,
    please check whether you ecc 6.0 is uni coded or not (as you upgraded).
    If it is not uni coded then you will not be able to print the Chinese characters.
    You can see whether it is uni coded or not by the following
    in your app toolbar under system click on status.
    There you can see whether your ecc6.0 is uni coded or not.
    Regards,
    koolspy.

  • How to display G/L Account code with separation symbol

    Hi, there
    I got a problem that I want to show formated account code in one column in grid, which formated with separation symbol, and i'd like to binding this column to one user defined field in UDT, user can input Acount code in this column. who knows if there is a simple way to show the formated Account code. I am using SBO 2004 and VB .Net.
    I did not find any function about it in SBO 2004 SDK, the "FormatCode" property in ChartOfAcctounts object only show Account code with out separator, so am I need find out the segment and separator information and format using code?
    Thanks for any help.
    Kathy

    Hi Kathy
    Not sure what you asking.
    The one part you asking "how can I show the link button in the Account code column". The answer to this is if you are using the xml form made by the screen painter you must open the xml file outside of screen painter and make that column of type 116 instead of 16. Obviously you still need to do the usual like bind the column and set LinkedObject = APbouiCOM.BoLinkedObject.lf_GLAccounts
    Then to the second part of your question
    A linked button for a gl account with dashes which are "-" should pull the chart of accounts window open. The format code with the dashes is CORRECT! You must make sure there is no unwanted spaces or any funny characters. Also i did the linked button in Screen Painter. Make your arrow, link it to a edit box.Then set linkedObject value to 1.
    Just for testing purposes make a edit text with the linked button linked to it. Type a gl account manualy in the box with dashes and then press the orange arrow. You'll see that it works with the dashes.
    Hope this helps

  • Problem in Controlling Area created with 3 characters long

    Hi:
    I have a "small" problem, perhaps you could help me.
    We have created a new Controlling Area, but it is created only with 3 characters, instead of four. We have been working with no problem until me have to create a Purchase Order with some profiles. They cannot create any PO. If we go to SU53 transaction we got the message in object K_PCA. There is a blank in string Responsibility Area, and the system cannot recognize that. This string concatenate CO Area code (and a blank) and Profit Center, but keeps a blank between them.
    Do you know how to solve it? We cannot delete CO Area because we have many data created in it.
    Thanks in advance.
    Best regards.

    Hi:
    I have to try it, but it does not work. In SU53 I have this message:
    The following authorization object was checked:
    =================
    Objeto K_PCA      EC-PCA: Responsibility Area, Profit Centrer
    Área de responsabilidad CO-OM
               PCGLAB0101         
    Available authorizations for the object in the master record:                                                                               
    Object   K_PCA      EC-PCA: Responsibility Area, Profit Center 
    Área de responsabilidad CO-OM    
              PCGLA B0101
    ============
    There is a blank PCGLA B0101, and not in PCGLAB0101.
    I need to delete it in master record or add it in authorization object.
    Does anybody how I can change it?
    Thanks in advance.
    Regards.

Maybe you are looking for