How Do I declare hexadecimal characters in ECC 6.0?

Hi,
We r upgrading from ECC5.0 to ECC 6.0 i have the following declaration in ECC 5.0  system
v1(16) TYPE X VALUE '000102030405060708090A0B0C0D0E0F' which is a hexdecimal declaration.In ECC 6.0 this declaration is throwing a syntax error.
I have the following doubts.
1) How would i declare it ECC 6.0 system?
2)What are the correponding ASCII characters for the above declation?
Please let me know if there is any tool for find out this.
Regards
Kiran

Hello,
Use the FM SCMS_BIN_TO_TEXT to convert the hex value to a variable of type c.
data: v1(16) TYPE X VALUE '000102030405060708090A0B0C0D0E0F',
      v2(16) type c.
CALL FUNCTION 'SCMS_BIN_TO_TEXT'
  EXPORTING
    BIN_LINE        = v1
IMPORTING
   TEXT_LINE       = v2
EXCEPTIONS
   FAILED          = 1
   OTHERS          = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Now use V2 in the place of V1.
Vikranth

Similar Messages

  • How to remove the hexadecimal error in ECC 6.0

    REPORT  Z_KA51151_TEST.
    DATA: BEGIN OF gt_temse OCCURS 0,
             line(100),
           END OF gt_temse.
    DATA: chr TYPE x VALUE '0A',
          x_string(255) TYPE X,
          last_chars(128),
          blank(128) VALUE space.
    LOOP AT gt_temse.
      WRITE gt_temse TO x_string.
    ENDLOOP.
    The Error i/m getting is  X_STRING must be a charectar type field (data type C,N,D or T)
    my question is what is alternate to code the logic to have the same finctionality ?

    Hi Avinash,
    It is recommended you convert your fields in the CHAR format, also for TAB, End of line characters use the CL_ABAP_CHAR_UTILITIES.
    Regards,
    Atish

  • We would like to use cyrilic language characters in ECC system with custome

    We would like to use cyrilic language characters in ECC system with "customer reserve" language (Z1).
    We have positive experience on  one system for certain business partner in Macedonia (there is no Macedonian language to install as SAP standard) by using "customer reserve" language (Z1).
    Now we are about to introduce other system with same approach. The trouble is that after entering Macedonian language on an cost center with language Z1 on first language  and transfering it via idoc we get hashes("#") instead of characters on second language
    What could be the reason? I suplemented with english (as on the first system where everything is ok)  the "Customer reserve"(Z1)  language normaly(with default settings).
    On first system this was not done by me.
    Should supplementation be done specificly?.(how to find settings for supplemention on first system?)
    Please give me a hint

    Hi,
    To check supplement language go to T-code, SMLT ->Language ->Special actions->Supplementaion
    you can get more information from below SDN thread.
    Cyrilic char not coming properly
    Below SAP help document gives you how to find supplement language & installation of languaes.
    http://help.sap.com/saphelp_nw70/helpdata/en/a3/30ad5296b511d384bb0060975b04f3/content.htm
    Regards
    Nagaraju

  • How do I declare the extra variable?

    List the customer number, name, (first and last), order number, order date, employee number, employee, name (first and last), product number, product name, and order cost, (orderline.qty*prodprice) for products ordered on January 23, 2009
    I have no column called order cost in any tables. How do I declare a new variable called order cost in the query? And to date line is missing a right parenthesis. The exact line worked with a different question but accept that I have added on the date in this line.
    SELECT C.CUSTNO, C.CUSTFIRSTNAME, C.CUSTLASTNAME, O.ORNO, O.ORDDATE, E.EMPNO, E.EMPFIRSTNAME, E.EMPLASTNAME, P.PRODNO, P.PRODNAME, L.PRODNO, L.QTY, Order_cost
    From Customer c, Orders o, ORDERLINE L, Employee e, Product P
    where(C.CUSTNO=O.CUSTNO) and(O.EMPNO = E.EMPNO) and (O.ORDNO = L.ORDNO) and (P.PRODNO = L.PRODNO) and Order_cost= (L.QTY*ProdPrice)
    and (o.OrdDate >= to_date('23/01/2009', 'dd/'mm/yyyy') and o.OrdDate <= add_months(to_date('23/01/2009','dd/'mm/yyyy'),+1)-1);
    Thanks.

    Hi,
    user9164240 wrote:
    List the customer number, name, (first and last), order number, order date, employee number, employee, name (first and last), product number, product name, and order cost, (orderline.qty*prodprice) for products ordered on January 23, 2009
    I have no column called order cost in any tables. How do I declare a new variable called order cost in the query? And to date line is missing a right parenthesis. The exact line worked with a different question but accept that I have added on the date in this line.
    SELECT C.CUSTNO, C.CUSTFIRSTNAME, C.CUSTLASTNAME, O.ORNO, O.ORDDATE, E.EMPNO, E.EMPFIRSTNAME, E.EMPLASTNAME, P.PRODNO, P.PRODNAME, L.PRODNO, L.QTY, Order_cost
    From Customer c, Orders o, ORDERLINE L, Employee e, Product P
    where(C.CUSTNO=O.CUSTNO) and(O.EMPNO = E.EMPNO) and (O.ORDNO = L.ORDNO) and (P.PRODNO = L.PRODNO) and Order_cost= (L.QTY*ProdPrice)
    and (o.OrdDate >= to_date('23/01/2009', 'dd/'mm/yyyy') and o.OrdDate <= add_months(to_date('23/01/2009','dd/'mm/yyyy'),+1)-1);Never write, let alone post, unformatted code.
    Format your code so that it's easy to see (among other things) that
    (1) the arguments to TO_DATE match each other, and
    (2) parentheses are balanced.
    For example:
    SELECT      C.CUSTNO
    ,      C.CUSTFIRSTNAME
    ,      C.CUSTLASTNAME
    ,      O.ORNO
    ,      O.ORDDATE
    ,      E.EMPNO
    ,     E.EMPFIRSTNAME
    ,     E.EMPLASTNAME
    ,     P.PRODNO
    ,     P.PRODNAME
    ,     L.PRODNO
    ,     L.QTY
    ,     L.QTY * ProdPrice     AS Order_cost
    From      Customer     c
    ,     Orders           o
    ,     ORDERLINE     L
    ,     Employee     e
    ,     Product          P
    where     (C.CUSTNO     = O.CUSTNO)
    and     (O.EMPNO      = E.EMPNO)
    and      (O.ORDNO      = L.ORDNO)
    and      (P.PRODNO      = L.PRODNO)
    and      (o.OrdDate      >= to_date ( '23/01/2009'
                           , 'dd/'mm/yyyy'          -- WRONG!  Look at alignment
    and      o.OrdDate      <= add_months ( to_date ( '23/01/2009'
                                  , 'dd/'mm/yyyy'     -- WRONG!  Look at alignment
                              , +1
                              ) -1
    )                    -- Extra right parentheses
    ;When you post formatted text on this site, type these 6 characters
    \(all small letters, inside curly brackets) before and after each section of formatted text.  If you don't, this site will not show all the extra spaces.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How Do You Place  ( and ) Characters in Code?

    How Do You Place( and )characters in Code? Example (302). THANKS.

    What do you mean?
    "(" and ")" are used in expressions much the same way they are used in algebraic expressions. They are also used to enclose a type name to form a cast specifier, to enclose the expression that defines the condition of an if, for, while or switch statement and they are use to enclose the formal argument list in a method declaration and the actual argument list in a method invocation. They can also appear in string constants. I probably left out a couple...

  • How can I display special characters of NonEuropean languages (French, Italian, Spanish, German and Portuguese.) using import string mechanism

    I would like to translate the User Interface of my application to French, Italian, Spanish, German and Portuguese.
    When I put special characters in the import string file they showed up as ? (question mark)
    The import strings file includes the following parameters for each string: font, text, size and style. (but no field for script)
    In order to use a unicode font such as Arial I need to select a french script. But this option is not supported bu LabView (As far as I saw)
    A) Is there a font which is directly German/ French etc and not regula font + script parameter?
    B) Are there another required step
    s for special characters support? (When I put speciual characters in the import string file the showed up as ? question mark)

    This was discussed last week in this group- read the previous messages.
    Look for the thread "Foreign Languages in Labview"
    And recite the mantra
    ActiveX is good
    ActiveX is holy
    All Hail Bill
    Those who claim otherwise are heretics and not to be trusted
    Actually, in this case the non-ActiveX suggestions may be good.
    talia wrote in message
    news:[email protected]..
    > How can I display special characters of NonEuropean languages (French,
    > Italian, Spanish, German and Portuguese.) using import string
    > mechanism

  • How can I distinguish special characters or signs in Doc through VBA?

    How can I distinguish special characters or signs in Doc through VBA?
    I have a few large documents written in word 2003 format and now I work on them under word 2007.
    Such large documents containing lots of special characters.  I want to change them into Microsoft 3.0 equation form(It is required by the team). I find no way but using function AddOLEObject and  Sendkeys through VBA. Common characters can be added
    to equation by function Sendkeys, but the return value of Asc() or AscW() for "double arrow", "in" , " not greater than " such special characters or signs, to name but a few are the same ,i.e., 40 And I cannot distinguish them.
    I found the link http://msdn.itags.org/word/44333/ may be of use to me, and the title is:
    How to read symbols from a DOC documents! (Microsoft Word)
     the original question is
    Using function "InsertSymbol", I can insert a symbol into a document. But
    how can I read a symbol from a document?
    Using "Characters(i).range.text", I can read a char. But when meeting a
    symbol, the value of "Characters(i).range.text" is always '('.How can I get the CharacterNumber of the symbol.
    And the final answer is :
    Hi chenfeng,
    Word protects symbols from symbol fonts if you insert them from the "Insert
    > Symbol" dialog.
    This is done so they aren't changed when you change the font or style. But
    it also results in Word reporting AscW( ) = 40 on all of them.
    I've posted a macro to "unprotect" them (or to protect them again if you
    want) ... just today again in
    Newsgroups: microsoft.public.word.vba.customization
    Subject: Symbol Characters
    Date: Mon, 3 May 2004 11:00:46 -0700
    Message-ID: <09f401c43138$8f92f900$[email protected]>
    It isn't archived on Google yet, but tomorrow you should be able to simply
    copy the message ID into http://www.google.com/advanced_group_search.
    Regards,
    Klaus
    But the link for the macro in the final answer is missing.
    Can anyone with kindness help me? Thaks a lot.

    Following Cindy Meister's Advice ,I use MathType SDK.
    The sample in MathType SDK in the following may be meaningful,but I do not know how the MTEF for cos^^2Theta, MTEF for sin^^2Theta and MTEF for 1 are generated .
    It looks much complicated,and I searched the docs in MathType SDK to get a explanation.Is there any function to generate them? I want to use this method to change commaon text mathematical signs( in special character table) and  Greek letters and characters
    with subscripts and superscripts to Microsoft 3.0 equation form.
    Can anyone with kindness help me?
    Sub MTEFTextSubstitution()
        Dim MTEFStr1$, MTEFStr2$, MTEFStr3$
        Dim stat
        'MTEF for cos^^2Theta
        MTEFStr1$ = "% MathType!MTEF!2!1!+-" + _
            " % feaaeaart1ev0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn" + _
            " % hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr" + _
            " % 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9" + _
            " % vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x" + _
            " % fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaci4yaiaac+" + _
            " % gacaGGZbWaaWbaaSqabeaacaaIYaaaaOGaeqiUdehaaa!3B65!"
        'MTEF for sin^^2Theta
        MTEFStr2$ = "% MathType!MTEF!2!1!+-" + _
            " % feaaeaart1ev0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn" + _
            " % hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr" + _
            " % 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9" + _
            " % vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x" + _
            " % fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaci4CaiaacM" + _
            " % gacaGGUbWaaWbaaSqabeaacaaIYaaaaOGaeqiUdehaaa!3B6A!"
        'MTEF for 1
        MTEFStr3$ = "% MathType!MTEF!2!1!+-" + _
            " % feaaeaart1ev0aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn" + _
            " % hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr" + _
            " % 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9" + _
            " % vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x" + _
            " % fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbaGaaGymaaaa!36A4!"
        Selection.Copy
        'Init API, reset transform
    '    If MTUtil.CheckMTDLLVersion = 0 Then Exit Sub
        If Not IsDLLVersionOK() Then Exit Sub
        MTXFormReset
        'first substitution
        stat = MTXFormAddVarSub( _
            mtxfmSUBST_ONE, _
            mtxfmVAR_SUB_PLAIN_TEXT, "<v1>", 0, _
            mtxfmVAR_SUB_MTEF_TEXT, MTEFStr1$, Len(MTEFStr1$), 0)
        If stat <> 0 Then
            MsgBox "1st MTXFormAddVarSub returned: " + Str(stat)
            Exit Sub
        End If
        'second substitution
        stat = MTXFormAddVarSub( _
            mtxfmSUBST_ONE, _
            mtxfmVAR_SUB_PLAIN_TEXT, "<v2>", 0, _
            mtxfmVAR_SUB_MTEF_TEXT, MTEFStr2$, Len(MTEFStr2$), 0)
        If stat <> 0 Then
            MsgBox "2nd MTXFormAddVarSub returned: " + Str(stat)
            Exit Sub
        End If
        'third substitution
        stat = MTXFormAddVarSub( _
            mtxfmSUBST_ONE, _
            mtxfmVAR_SUB_PLAIN_TEXT, "<v3>", 0, _
            mtxfmVAR_SUB_MTEF_TEXT, MTEFStr3$, Len(MTEFStr3$), 0)
        If stat <> 0 Then
            MsgBox "3rd MTXFormAddVarSub returned: " + Str(stat)
            Exit Sub
        End If
        'do the substitution
        stat = TransformGraphicEquation
        If stat <> 0 Then
            MsgBox "TransformGraphicEquation returned: " + Str(stat)
            Exit Sub
        End If
        MTTermAPI
        'Paste new equation
        Selection.Collapse Direction:=wdCollapseEnd
        Selection.PasteSpecial Placement:=wdInLine
    End Sub

  • How to activate the IS-Retail in ECC 6.0 R/3 system

    Dear Guru's...........
    Can any one tell me how to activate the IS-Retail in ECC 6.0 R/3 system.
    I have IDES system in my home I donu2019t know how to activate retail settings.
    Please suggest me how to do that.
    Regards
    dnr

    Dear DNR,
    SPRO --> IMG --> Activate SAP ECC Extensions (Or, T. Code: SFW5)
    Go to Tab: Industry Business Function
    Select Business Function Set: ISR_RETAIL - SAP Retail
    A new line will be appeared below.
    Current Status will be OFF. Click within Field: Current Status. It will pop-up a list. Select "X - ON".
    Important: I've read somewhere - Once Activated, cannot Roll-back.
    Best Regards,
    Amit
    Note: For more, go to - http://help.sap.com
    Follow the menu tree: SAP for Industries/SAP for Retail
    Click on the link for "SAP industry Specific Components"
    Choose the document "Business Function Set Retail"
    Also,
    Check https://websmp103.sap-ag.de/erp-upgrade --> mySAP ERP 2005: Updated upgrade FAQs, there you will find the list of Industry solutions which are supported by mySAP ERP.
    https://websmp103.sap-ag.de/~sapidb/011000358700006168472006/
    You must this thread in to [Forum: SAP Enhancement Packages|/community [original link is broken]; OR [Forum: Enterprise Resource Planning (ERP)|Enterprise Resource Planning (SAP ERP); as Nowhere, it is related to SAP SD.

  • How can i declare a single radio button field in selection-screen ?

    How can i declare a single radio button field in selection-screen ?

    >
    Rob Burbank wrote:
    > And how will you turn it off once it is turned on??
    >
    > Rob
    Thats correct ;)...See ravi if users will ask so many things its our Job to convay the correct solution ....
    Just post your org requirement..SOo some body guide you better//
    Sas

  • How BBPUPDVD determines vendor master change in ECC?

    Hi Experts,
    How is the vendor master change in ECC captured and what is the strategy/check that the BBPUPDVD transaction OR vendor update report uses/does in ECC to pick up the updated vendor with qualified fields for transmission?
    Qualified fields -> Purchasing block, curr change, comm method change, etc.
    For e.g, if a vendor is blocked for a P.Org today and if we either execute BBPUPDVD OR vendor update job, so how does it determine the change in vendor master in ECC?
    Thanks!
    Regards,
    Karthik

    Hello Karthik,
    just to complete what wrote Konstantin, those change documents are determined in ECC using CHANGEDOCUMENT_READ function modul inside BBP_SCAN_VD function modul which is called by RFC from SRM (report BBP_VENDOR_SYNC).
    Regards.
    Laurent.

  • How to fill the master data in ecc

    Hi,
             0product_attr having zero records i ecc,how to fill the master data in ecc can you pls provide me the setps?
    Regrads,
    devi.

    Hi Devi,
    Loading data is ECC is not the part of BI Activities. Contact your functional consultant to load data. 
    BDC and LSMW both are used for loading data into SAP system.
    Or ask even directly they can create in ECC.  If it is for your testing purpose, it is better to ask them to create master in source system .
    Thanks
    BVR

  • How to replace XML special characters using Xpress e.g. ' = '

    Hellos
    I need to write some XML built from resource data.
    The resource data strings can contain anything e.g. & ' " < and > characters.
    How do I replace these characters with the strings & &apos; " etc.... from within Xpress?
    I try something like:-
    <set name='testchar'>
    <switch>
    <ref>thisLetter</ref>
    <case>
    <s>'</s>
    <s>&apos;</s>
    </case>
    <case>
    <s>"</s>
    <s>"</s>
    </case>
    <case default='true'>
    <ref>thisLetter</ref>
    </case>
    </switch>
    </set>
    But when saved the <s>&apos;</s> gets saved as <s>'</s>
    Is this impossible with Xpress forcing me to invoke my own Java class? (which is a pain to do because of internal politics re restarting of App Server).

    Hmmmm seems there is transformation in this set up too.
    What I am trying to do is to parse a string which may or may not contain XML special characters into an XML acceptable string.
    e.g. transform the surname O'Connor into O&apos ;Connor (with no embedded blank)
    I wish to write a rule which uses XPress language to achieve this.
    I want to convert the character ' into the string &apos ; (with no blank between apos and ;) and similar for the other XML specials.
    Is this possible?

  • How to check multiple special characters in instr function sql query.

    Hi,
    The following special characters are comma(,), slash(/), colan(:)
    these special characters i need to be check in instr function.
    select SUBSTR(master_title,1,INSTR(master_title,',',1,1)-1) from dual;
    Can you please write the query with right answer.
    Thanks in advance,
    Lakshman.

    Why multiple post?
    How to check multiple special characters in this query.

  • How to  remove the Special characters like @,#,$ ,..from field

    How to  remove the Special characters like @,#,$<,..from text  field. we nedd to remove any specila char from text field .
    ex:text  = just#fi%cation@text
    the text should be justification.

    hi check this ..
    data:char(25) value '5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with 'and' .
           replace all occurrences of '&' in char with 'num' .
         write: char.
    or use this..
    data:char(25) value 'test@ing*5#4#2#&1#&',
         char1(9) .
           replace all occurrences of '#' in char with space .
           replace all occurrences of '&' in char with space .
           replace all occurrences of '@' in char with space .
           replace all occurrences of '*' in char with space .
         write: char.
    regards,
    venkat.

  • How to validate UTF-8 characters using Regex?

    Hi All,
    In one of my applications, i need to include UTF-8 character set for validation of a certain string, which I am validating using a Regex.
    However, I do not know how to include UTF-8 characters in a Regex, or if at all, we can specify the UTF-8 charaters ina regex.
    Please Help!! Its Urgent!!!
    Thanks in Advance,
    Rajat Aggarwal

    Ok, Let me re-state my problem again, and exactly what i am looking for:
    I have an XML file with the following header: <?xml version="1.0" encoding="UTF-8"?>
    This XML file contains a tag, whose text is to be validate for a syntax : Operand operator Operand.
    Now, the operand on the right hand side of the operator could be a variable, or a string literal, which may contain some permissible special characters (as said above), and may or may not contain UTF-8 characters as well.
    I am using the xerces SAXParser to parse the XML document, and am retrieving the text of the elemnt tag with the method <code>element.getChildText("<tagName>")<//code>
    According to the org.jdom.Element API Docs,
    the getChildText() method is defined as follows:
    h3. getChildText{noformat}public java.lang.String getChildText(java.lang.String name){noformat}<dl><dd>Returns the textual content of the named child element, or null if there's no such child. This method is a convenience because calling <code>getChild().getText()</code> can throw a NullPointerException. <br<dd><dl><dt>Parameters: </dt><dd><code>name</code> - the name of the child </dd><dt>Returns: </dt><dd>text content for the named child, or null if no such child
    </dd></dl></dd></dl>
    Now, I am not sure if the String that I am reading is in UTF-8 Format. Is there any special way of reading a string in that format, or for that matter, convert a string to UTF-8 encoding?
    h3.

Maybe you are looking for

  • Qosmio G20 : D-video pinout ?

    Hi Qosmio users, I've been trying to output D1, D2, D3, D4 resolutions on a HD-ready LCD TV with no success. I can output standard PAL through the D-out plug at the back of the Qosmio, using the provided D-to-Scart cable, but when I output 480p, 720p

  • TIP - Trick Gmail into working as IMAP!!

    I searched around and found several methods of tricking Gmail into working as an IMAP server. This is not an ideal situation, but it works. This is the best one I found: http://www.macuser.com/internet/gettingyour_gmail_to_doimap.php I tried this usi

  • Problems saving to iDisk from Pages?

    It doesn't happen every time, but frequently.  When I try to copy a document authored in Pages for the iPad to iDisk, Pages will crash.  I'm saving to a subdirectory four layers down in the directory tree on iDisk.  I have the current versions of eve

  • I can't install downloaded apps from itunes

    i downloade millitalk from itunes, but i cant install it on my macbook

  • Numeración legal USA

    Buenos días, Me encuentro realizando un Rollout para una empresa de Estados Unidos y me encuentro con el inconveniente de la asignación de numeración al formulario de facturación. Para Argentina, lugar donde resido, existe un lugar especifico en el a