Hexa decimal replacement using the class  cl_abap_char_utilities

Hi,
  While upgrading from 4.7 version to ecc 6.0 i am getting the error < itab > must be a character-type data object (data type C, N, D, T or STRING) .So i am using the class cl_abap_char_utilities . I found the replacement for hexadecimal '09' and '0D'
cl_abap_char_utilities=>HORIZONTAL_TAB,
cl_abap_char_utilities=>CR_LF.
I want the replacement for the following hexadecimals also.
'80','81','82',
'83','84','85','86','87','88''89','8A','8B','8C'
'8D','8E','8F','90','91','92','93','94','95',
'96','97','98','99','9A','9B','9C''9D',
'9E','9F'
Regards,
Charumathi.B

Here you go
DATA:
  BEGIN OF fs,
    fs     TYPE x VALUE 28,
  END OF fs.
DATA:
  f1(4) TYPE c VALUE 'xxxx',
  f2(4) TYPE c VALUE 'yyyy',
  f3(4) TYPE c VALUE 'zzzz',
  rslt(20) TYPE c.
START-OF-SELECTION.
  CONCATENATE f1 fs f2 fs f3 fs INTO rslt.
  BREAK-POINT.
Output in HEX
787878781C797979791C7A7A7A7A1C2020202020
Output in Display
xxxx#yyyy#zzzz#
Edited by: Paul Chapman on Jun 9, 2008 12:33 PM

Similar Messages

  • I have just requested my ipod nano 1st generation to be replaced using the scheme, i have entered the wrong postcode on the shipping of the replacement box, will it still come to my address? or how can i change it?

    I have just requested my ipod nano 1st generation to be replaced using the scheme, i have entered the wrong postcode on the shipping of the replacement box, will it still come to my address? or how can i change it?

    Call up apple care,  (08000480408 if you are in the UK) and ask them to change the postcode and request another replacement packet

  • How to import .jar files in order to use the classes within this file

    hello guys,
    I'm just wondering how can i import .jar files in order to uses the classes within this file.
    let's take an example:
    i have a folder in which I have many .jar files which contain classes to be called. the full path of this folder is set in the Classpath inside the enviroment variables.
    so does anyone have any idea how can i import these .jar files so i can use the classes?
    thank you.

    Hi,
    My problem is that: I created a Serializable class in a project. And I added this project (first project) to another project (second project). First project is appearing in the second project' s Libraries folder. No problem. I want to create a jar file from second project. i.e. I want to Build second project (I use NetBeans IDE). I am using Build Main Project tab under Run. It is falling out. I am finding it second project' s jar file under its folder. I am clicking on it. But it is NOT WORKING. Do you know WHY. Could you help me please?
    Thanks,

  • How to use the class CL_CTMENU with the method DISABLE_FUNCTIONS

    Hi Friends,
    How to de-activate some functions in the Menu bar?
    Eg: - Sales document
                 Create
                 Change
                 Display
    I want to de-activate "Change"
    In other words: - How to use the class CL_CTMENU with the method DISABLE_FUNCTIONS in my program.
    Regards,
    Hari
    Edited by: Bhatlapenumarthy Hari Krishna on Jun 9, 2008 5:22 PM

    Krishna,
    It is not possible to deactivate the CHANGE option in themenu bar using the method disable_functions of cass CL_CTMENU. This method allows you to deactivate only the function codes of the CONTEXT MENU, which is available only when u press the left mouse button.
    U can use the SET PF-STATUS 'XXX' EXCLUDING fcodes option to disable the CHANGE.
    *****Reward points if useful
    Regards,
    Kiran Bobbala

  • ALV Tree list output using the Class and method

    Hi,
    How to get the internal table values of ALV Tree List in classes.
    My requirement is i need to store the output values in Ztable of a SAP Transaction of CK86_99.
    for this, i copied the SAP Standard Transaction into Z tcode and i am trying to poplulate the output display into Ztable. But this standard tcode CK86_99 is using the classes of ALV tree list to display output.
    CL_STRUCTURE_EXPLOSION_TREE -- Class
    CONSTRUCTOR - method
    Finally in the above mentioned method, i am able to see the output values of ALV tree list in the internal table of mt_output_table.
    But these are SAP Standard Class and method.
    My doubt is, How to get these internal table values in my Zprogram.
    is there any user exit or badi can we use in the method of class???? Actually my system is 4.6C
    Please suggest me on this problem.
    Thanks in advance
    KBS Reddy

    First your getInstance() method returns 'singleton' which you havent declared/init anywhere.
    your getAll() method needs to be static if you need to call it the way you are doing.
    In your getAll() method u are passing a parameter called patientRecord ... where have you declared/init it.
    i think you have to do something like this ... if i have understood you correctly.
    /* THIS IS IN YOUR SERVLET*/
    Collections c = database.getAll();
    out.println(C);
    /* YOUR FlatfileDatabase CLASS HAS SOMETHING LIKE THIS*/
    public static FlatfileDatabase getInstance() {
    return new FlatfileDatabase();
    public static Collections getAll() {

  • Are new MB replacements using the same batch of bad 8600M chips?

    My Macbook Pro Santa Rosa from 2007 just died yesterday. I brought it in for Logic Board replacement. It'll cost some days of productivity. But two things occur to me:
    1. Do these replacement logic board use the same batch of dodgy nVidia 8600M chips? If that's the case, then anyone getting them replaced is essentially getting a chip that will eventually fail again within 2-3 years. And that's just not a real solution but just a temporary fix. It looks likely because one of my friends had his replacement Logic Board fail within 8 months of its replacing.
    2. While the extension of coverage for this problem is a generous gesture on Apple's part, people who have invested in Applecare are not getting any real benefits for this issue from their investment. They're going to be just as much in the cold as everyone else once support is EOL on this item. Shouldn't there be an extension of Applecare as well? Or maybe a discount on a newer model?
    I really expected this investment to work at least 6-8 years. Now it looks like it's closer to 4. I'm very nervous about using a machine that I know will at some point just fail again. And I'm just not in a position to sell this one and buy a newer one.

    If you read the support documentation, you learn they "may" use refurbished parts. But that does not mean necessarily it would be the same bad batch.
    It would certainly not reflect well on them if it is a bad batch. However, if your read my FAQ*:
    http://www.macmaps.com/badram.html
    You'll learn it is more an art than a science to identify all quality memory chips. So while one can't guarantee there aren't additional chips that are not bad, it is more unlikely that chips that were definitely bad in the first plcae were recycled into your refurbished board.
    So be prepared with some backup, in event something does fail*:
    http://www.macmaps.com/backup.html
    And yes, there are many machines that do last 8 years, even from
    the more current machines. A lot depends on usage, and if you have power issues*:
    http://www.macmaps.com/frayguide.html
    and if you ensure the machine is on a surface where it is less likely to overheat.
    If you get repeated failure of repairs, you should insist on getting a replacement Mac when next contacting AppleCare.
    - * Links to my pages may give me compensation.

  • Yielding the desired number of decimal places using the AVG function in t-sql

    Hello again.  Confused retired hobby coder having trouble setting up a scalar-valued function to return the desired number of decimal places from a AVG query.
    Whenever I run the following script I get the number of decimals I desire:
    Using the above I created a scalar-valued function as follows:
    Running this function as: SELECT [dbo].[TestHCIPartial] (1,3)  my return is -7.
    Can you help me with the function causing it to yield the answer to 6 decimal places?
    Thanks and regards, Minuend.

    You've not specified precision and scale in UDF return type. So you're leaving it to server to interpret it based on default settings
    If you want exactly up to four decimal places tweak udf as below
    ALTER FUNCTION..
    RETURNS decimal(20,4)
    AS
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Read infotype records using the classes

    Hi All,
    In my system i can see many classes with cl_hrpa*
    Here i want to read a infotype record using these classes. I want finally the data in PA0008 or a record in P0008 format.
    i tried using the various classes like
    cl_hrpa_masterdata_factory
    if_hrpa_infty_bl
    hrpad_infty_container_tab
    I tried using the sevaral calsses passing one class type to other. finally i get is the class cl_hrpa_infotype_0008_in.
    can any one suggest how i should be reading the data for any infotype.
    Pls do not suggest the function module HR_READ_INFOTYPE. I want to use these classes to read the data.
    Pls suggest
    Regards,
    Umesh Chaudhari.

    Hi,
    Did you get any replies to this or have you found an answer on your own?
    Regards,
    LC

  • Who know how to use the class in the "oracle.cabo.data.jbo.ui.data.bind"

    I think the class in the packet will be useful.
    But I don't konw how to use it.
    Do you get me a example.
    Thanks.

    Hi,
    Issue has been resolved. I used the value of the element to determine to display it or not.
    Regards,
    Swapnil K.

  • Somebody already used the class oracle.aurora.rdbms.OracleDBMSOutputStream?

    Hi.
    I'm trying to debug a Java Stored Procedure, and I heard about the class oracle.aurora.rdbms.OracleDBMSOutputStream, that is equivalent to DBMS_OUT (PL/SQL). This class allows to put messages in the SQL*Plus buffer at runtime of the procedure. Since last week I've been tried to find the API documentation of the package oracle.aurora.rdbms.* unsuccessfully. Somebody already used this class ?
    Vinicius Shtorache
    Medisoft Ltda - Curitiba - Brasil

    Please post this question in a Database discussion forum. The main list is here:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • Somebody already used the class oracle.aurora.rdbms.OracleDBMSOutputString?

    Hi.
    I'm trying to debug a Java Stored Procedure, and I heard about the class oracle.aurora.rdbms.OracleDBMSOutputStream, that is equivalent to DBMS_OUT (PL/SQL). This class allows to put messages in the SQL*Plus buffer at runtime of the procedure. In the last week I tried to find the API documentation of the package oracle.aurora.rdbms.* unsuccessfully. Somebody already used this class ?
    Vinicius Shtorache
    Medisoft Ltda - Curitiba - Brasil

    Please post this question in a Database discussion forum. The main list is here:
    http://forums.oracle.com/forums/index.jsp?cat=18

  • How to use the class CL_PT_EMPLOYEE with GET PERNR?

    Hi,
    I saw this sample code on the forum.
    Is it more performant than using the "RP-PROVIDE-..." macros?
    Does the employee instance needs to be killed after each pass? How does it affects memory?
    start-of-selection.
    GET pernr.
    <b>* Create employee instance</b>
      gif_employee = cl_pt_employee=>get_employee( pernr ).
      go_employee ?= gif_employee.
    <b>* Append all other required infotypes to itab</b>
      APPEND '0003' TO gt_infotypes.
      CALL METHOD go_employee->get_infotypes
        EXPORTING
          i_itlist      = gt_infotypes
          i_fromdate    = id_fromdate  " start date
          i_todate      = id_todate    " end date
    *      I_FILTER      =
          i_noauthcheck = 'X'
        IMPORTING
          e_result      = gt_infty_request
          e_retcd       = gd_retcd.

    I think it that way. You are trying to compare and analyse old (don't say bad) programming school with a new (OO one) approach. Although, I am OO enthusiast and in any case I will try to convice you that OO aproach is better than classical one, you should know what SE30 was designed for. If you want to stress on OO design, use the one you mentioned, otherwise stick what SAP recommmends (please note, that I am "middle" school pupil, so I tried to learn all courses with my own experience and feelings from OO).
    IMHO, OO aproach is a way of thinking, not something we can messure in sec. and compare to old school teaching. Some of your report should be desinged in classical way, some should be pure OO. Which one you choose, is up to you, your conclusions, your percives of ABAP language. For me OO was not injected in ABAP enough, to affect developers or to convince them using it in any case w/o doubts you have.
    Regards
    Marcin

  • Trying to use the classes in casStubs.jar and get crawl metrics

    I was going through the class files available in casStubs.jar and was trying to come up with a script in AppConfig.xml to connect to the CAS server and obtain the crawl status and metrics. I was trying this option because the class com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent does not provide me these features.
    +<script id="CheckCrawlStatus">+
    +<bean-shell-script><![CDATA[+
    import javax.xml.namespace.QName;
    import com.endeca.cas.wsdl.*;
    final String wsdlUrl = "http://" "${cas.host}" + ":" + "${cas.port}" + "/cas?wsdl";+
    final QName name = new QName("http://endeca.com/itl/cas/2010-07", "CasCrawlerService");
    CasCrawlerServiceLocator service =  new CasCrawlerServiceLocator(wsdlUrl, name);
    CasCrawler crawler = service.getCasCrawlerPort();
    String crawlName = "myFirstCrawl";
    CrawlId crawlId = new CrawlId(crawlName);
    Metric[] metricArray = crawler.getMetrics(crawlId);
    + // rest of the code to retrieve crawl metrics +
    +]]></bean-shell-script>+
    +</script>+
    Unfortunately, I am always getting connection refused exception - "java.net.ConnectException: Connection refused". My cas wsdl is loading fine in my browser.
    Any ideas about the shortcomings in the code or missing configuration in CAS or DT or platformservices?
    Thanks
    Dev

    Hey Brett,
    Awesome, it works now. I went through the source code by de-compiling the class files and figured out why you referred to this extra line of code; great that it didn't miss your "laser eyes". It was really helpful.
    Another question for you; a stupid one maybe -
    I was also trying to call the web-services through the browser -
    http://{cas-host}:{cas-port}/cas/listCrawls - this one works great; gives me the list of all the crawls
    http://{cas-host}:{cas-port}/cas/getAllMetrics - this one work great too
    But when I try to pass a parameter my service call fails with an exception
    http://{cas-host}:{cas-port}/cas/getMetrics?crawlId={crawl-id}
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>java.lang.ClassCastException@1b3bf979 while invoking public java.util.List com.endeca.itl.service.CasCrawlerImpl.getMetrics(com.endeca.itl.cas.api.CrawlId) throws com.endeca.itl.cas.api.CrawlNotFoundException with params {crawl-id}.</faultstring>
    </soap:Fault>
    </soap:Body>
    Note : {cas-host}, {cas-port} and {crawl-id} are placeholders for actual values.
    Any idea where I am going wrong?
    Thanks
    Dev
    Edited by: 950423 on Sep 4, 2012 3:13 PM

  • Portlets development: When to use the class that extends PortletBridge...

    When I create some Portlet (.jspx based) JDeveloper generate some resources. One of those is a class (with the name that I´ve configured) that extends PortletBridge...
    Ok. So, I want to know if I use JSF standards should I put my actions into this class or should I create another Managed bean to handle that? What to do with this generated class?
    Thank you.

    So you want to create a portlet that uses JSF instead of JSP?
    You can JDev do that for you. When you create a new portlet there is a step where you can specify the default page for the portlet mode (view, edit).
    On the right hand side you can select ADF JSF (or something like that).
    JDev will then create a class that extends the PortletBridge class and you don't have to do anything more. Just edit the jspx like it's a normal page.

  • How to use the Class.getMethod(String name, Class[] paramArrays)

    Hi,
    I've a problem with the .getMethod method. I've search solutions in the tutorials but I haven't found sorry.
    I'm trying to copy a method from a Class named carre in a reference named m. But I don't understand the second part of the parameters. How can I write parameters in a Class array ?
    Method m = Carre.class.getMethod("getYou", args) ; //It doesn't work, because args is a String array, not a Class array, my parameters would be double.
    Could you help me ? Thanks for answers.

    Class[] classArray = { new Double().getClass(), new String().getClass()};That's not what you want to write. That generates two objects unnecessarily. You should write:new Class[] { Double.class, String.class };

Maybe you are looking for