Value in data type p filed not displayed properly

Hi,
One of my programs downloads a file to UNIX server,
here the data which i am downloading, one of the fields is of type P (it is of domain type DEC).
The field displays very strangecharactershen i view it in UNIX server.
I am using OPEN DATASET in binary mode statement.
Please help

Hi Kumar,
i am using unicode database,
but i can not change the data type of the internal table as it is decalred as follows
data:begin of itab
include structure hrdataset.
data:end of itab.
writing down all the fields individually inside the program will be very tedious
otherwise ihave o write like as follows,
data:begin of itab
field1 type hradataset-field1
fieldn type hrdataset-fieldn
end of itab.
Is there a work around available?

Similar Messages

  • Value in data type p field not displayed properly when download to UNIX

    Hi,
    One of my programs downloads a file to UNIX server,
    here the data which i am downloading, one of the fields is of type P (it is of domain type DEC).
    The field displays very strangecharactershen i view it in UNIX server.
    I am using OPEN DATASET in binary mode statement.
    my system is unicode enabled ECC6.0 version
    Please help

    That is normal, type "P" packed fields with two decimal digits packed into each byte Use another type of field, if you want the field to be readable..
    Look at [Predefined ABAP Types|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fc/eb2fd9358411d1829f0000e829fbfe/frameset.htm]
    Regards

  • In XML Output the values of Number column tags are not displayed properly

    Hi,
    Our Client have been using AR Invoice Print Program for a long time and it is heavily customized. Also they are using an old version of the RDF. So we have taken the latest version of the RDF (RAXINV.rdf) for Oracle Apps 11.5.10.2 by raising a SR and implement Client's old RAXINV.rdf into it.
    All was ok, but when we are running the program, the XML Output did not generate properly. For the Q_INVOICE query (G_ORDER_BY, G_INVOICE and G_INV_TERM group), the value of some of the scaler number columns are not appeared properly. The tags are coming correctly, but the value is appearing as '*', instead of the correct value. We have checked in the RDF Level (By putting srw.message and check in the log file) that those columns are having proper value. So there is no issue with the RDF.
    But because of the above mentioned problem, the some of the PDF output field values also is not generated correctly.
    I think that because of the lexical parameters which was implementing the Q_INVOICE query (&COMMON_QUERY) this issue is coming. Because the issue is only in the Q_INVOICE query group (G_ORDER_BY, G_INVOICE and in G_INV_TERM group) not in any other query group.
    There is no problem with the scaler character columns. The issue is only with the number columns.
    Also we have checked that if we hardcode the value of the number columns in the above mentioned lexical parameter, this problem doesn't appear.
    If we put TO_CHAR function to those number columns in the lexical parameter (COMMON_QUERY), then this issue get solved. But we can't do it because of performance issue and also Client won't approve it.
    Please help.
    With Thanks and Regards

    I don't know how to read the code you pasted or I would have checked this myself.
    Do your fields in the internal table reference dictionary objects or elementary types? If not using dictionary types, the column names will be blank by default. If you can't change your fields to be dictionary types, you can try this to change the column names:
    I made a method inside my local class to add the names:
            call method set_colname
              EXPORTING iv_tab = alv_tab
                        iv_colid = 'xxxx'  "fieldname from the table
                        iv_stxt = text-t54
                        iv_mtxt = text-t55
                        iv_ltxt = text-t55.
    METHOD set_colname .
      data:
              alv_cols type REF TO cl_salv_columns_table,
              alv_col type REF TO cl_salv_column.
      TRY .
    *... Change fieldnames
            call METHOD iv_tab->get_columns RECEIVING value = alv_cols.
            call method alv_cols->get_column EXPORTING columnname = iv_colid RECEIVING value = alv_col.
            IF iv_stxt <> ''.
              CALL METHOD alv_col->set_short_text EXPORTING value = iv_stxt.
            ENDIF.
            IF iv_mtxt <> ''.
              CALL METHOD alv_col->set_medium_text EXPORTING value = iv_mtxt.
            ENDIF.
            IF iv_ltxt <> ''.
              CALL METHOD alv_col->set_long_text EXPORTING value = iv_ltxt.
            ENDIF.
       CATCH cx_salv_not_found.
      ENDTRY.
    ENDMETHOD. "set_colname

  • The Value expression used in textrun 'Textbox.Paragraphs[0].TextRuns[0]' returned a data type that is not valid.

    Hi all,
    While viewing report in SSRS 2008 i am getting an error like this
    Warning 1 [rsInvalidExpressionDataType] The Value expression used in textrun ‘Textbox21.Paragraphs[0].TextRuns[0]’ returned a data type that is not valid. 
     sotred procedure
    ALTER
     Procedure [dbo].[spGetSupervisor]
    @START_DATE
    datetime, 
    @END_DATE
    datetime, 
    @CenterID
    varchar(4000), 
    @TITLE
    varchar(100)
    =
    NULL
    as
    Select
     Distinct L1_ID SupID,
    L1_Name SupName
    from
    REF_DB.info v
    inner
    join dbo.fn_MVParam(@CenterID
    +
    P
    v
    .CenterID
    = p.Column1 
    where
    v.startdate
    <= @END_DATE
    and v.enddate
    >= @START_DATE
    and
     (v.title
    IN
    (@TITLE)
    or @title
    is
    order
     by Name
    Here is the expression in Report textbox
    =Parameters!CenterID.Label
    Please
    help me
    Thanks
    in advance
    Jyo
    null)
    ON

    Hi Jyo1105,
    Thanks for your question. Based on my research and experiences, the issue may be caused by you set the @CenterID
    is a multiple values parameter.
    If in this condition, you couldn’t use the expression of
    Parameters!CenterID.Value directly, you
    should use a join() function on the parameter to merge the whole values, or add a sequence number behind the expression to use a specific value, just like this:
    =join(Parameters! CenterID.Value) or
    =Parameters! CenterID.Value(0)
    If your issue still exsits, please feel free to let me know.
    Thanks,
    Sharp Wang
    Best Regards. Sharp Wang

  • Mapping Values to Data Type Enhancements in XI

    I want to a map values from a source XML to a target XML but the target fields are data type enhancements and not that of the standard one. The target message is the message of a predilevered interface of SAP for the SNC product. We did some enhancements to a particular data type. The enhancement was done in a different SCV and points to the datatype in a different SCV. Now, the mapping is in another different SCV (since the SCV for the SNC content of XI cannot be edited). When I was trying to map the values to the data type enhancement in the message mapping, the enhanced/additional fields are not there.
    How would I be able to map the values to the additional fields? Thanks in advance!

    check this:
    http://help.sap.com/saphelp_nw70/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/content.htm
    The Integration Builder does not recognize changes to software component versions that have already been imported. Therefore, if you want to define dependencies between imported software component versions at a later date, you have to import the superordinate software component versions into the Integration Builder again. You will not lose objects that have already been created.
    Not sure but this might help.
    Thanks,
    Beena.

  • Use of segment, data-type or segment not supported in this position

    A message sent to adapter "FILE" on send port "SendPort1" with URI "D:\Shared Files\Coparn\%MessageID%.xml" is suspended.
    Error details: Unable to read the stream produced by the pipeline.
    Details: Error: 1 (Segment level error)
    SegmentID: TDT
    Position in TS: 2
    15: Use of segment, data-type or segment not supported in this position.
    Im getting the error while trying to generate COPARN EDI file using BizTalk.
    When I checked all the elements are occurring in the correct positions with accepted values only. Kindly assist.
    Regards, Vivin.

    There seems problem with your Pipeline component ,I would suggest to debug the Pipeline component to verify the exact issue you are facing.
    There is similiar thread for thsi issue which can provide you the guidance .
    http://social.msdn.microsoft.com/Forums/en-US/f80c870c-a4f9-4d65-9d3c-d43d7f060557/biztalk-console-error-message-unable-to-read-the-stream-produced-by-the-pipeline?forum=biztalkediandas2
    Thanks
    Abhishek

  • How to set default value to date type attribute.

    Hi,
    How to set default value to date type attribute.
    E.g I want to set u201C01/01/1999u201D to date attributes.
    First i want to set value and then i want to fetch the same & want to check equals.
    please suggest solution.
    Regards,
    Smita

    Hi,
    In wdinit() method u can set the date
    DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
    Date today = Calendar.getInstance().getTime();
    String reportDate = df.format(today);
    wdContext.currentContextElement().setFromDate(reportDate);
    Another way you have set the this formate like that
    1. Create a Simple type under "Dictionaries->SimpleType" called DateFormat
    2. Select the type as "date"
    3. Go to the "Representation" tab and set the format as "dd/MM/yyyy" (or whatever u want, but month should be MM)
    4.Bind the context attribute to the type created now.
    Hope this helps u.
    Best Regards
    Vijay K

  • On a mac the type tool will not display when i double click on the type button in the layers panel

    The type tool will not display.  So I can't change text format.

    Thank you for your response.  I am using PSE version 11,  OS 10.9.4. 
    I figured out the issue.  The Text Tool was displayed but it was off the bottom of the screen.  I had to resize the window from the bottom to display the Text Tool.  To do so I had to move the dock to the left and then learn that by using the Option key it is possible to change window size on both edges.
    Problem solved, thank you.

  • My vertical Spry is not displaying properly in IE 8

    I am working on my first website using Dreamweaver CS4 and my spry is not displaying properly over my flash photo gallery.  It looks ok in Firefox (although the borders are missing on my submenu for "sheds tool list") but in IE 8 the submenus can't be seen.  How can I correct this?
    My website is www.toolshedstudio.com
    Here's my css:
    @charset "UTF-8";
    /* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
    ul.MenuBarVertical
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 10em;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are same fixed width as parent */
    ul.MenuBarVertical li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 170px;
        border-top-style: outset;
        border-right-style: outset;
        border-bottom-style: outset;
        border-left-style: outset;
        border-top-width: thin;
        border-right-width: thin;
        border-bottom-width: thin;
        border-left-width: thin;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarVertical ul
        margin: -5% 0 0 95%;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: absolute;
        z-index: 1020;
        cursor: default;
        width: 8.2em;
        left: -1000em;
        top: 0;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
        left: 0;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarVertical ul li
        width: 8.2em;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Outermost menu container has borders on all sides */
    ul.MenuBarVertical
        border: 1px none #CCC;
    /* Submenu containers have borders on all sides */
    ul.MenuBarVertical ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarVertical a
        display: block;
        cursor: pointer;
        background-color: #000;
        padding: 0.5em 0.75em;
        color: #CCC;
        text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
        background-color: #33C;
        color: #000;
        font-size: 100%;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
        background-color: #33C;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarVertical li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

    Hi
    You flash movie doesn't have the parameter wmode=transparent. If  you set that, the menu bar will be on top.
    <param name="wmode" value="transparent">
    I hope this helps.
    Ben

  • Error_42_Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.

    Has anyone encountered this error.
    I am developing on SP 2010 with VS 2010.
    I was following an online tutorial: How to use custom form templates in NewForm.aspx/EditForm.aspx  located at:
    http://sharepointbox.blogspot.co.at/2010/11/how-to-use-custom-form-templates-in.html
    The tutorial was a little lacking on some of the direction, but it included the working source code, and I managed to complete it.
    Every time I try to deploy my version I get the error: Error 42 Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.
    I have gone through my code line by line and matched it to the working code from the tutorial, so I can only assume that I am missing something in the Procedure to properly deploy.
    Any help is greatly Appreciated! 

    It seems that something went wrong with your custom field type installation. Check below line in .xml file of your custom field type and correct it if needed.
    <Field Name="FieldTypeClass">DocumentFieldType.DocumentFieldTypeClassName, DocumentFieldType, Version=1.0.0.0, Culture=neutral, PublicKeyToken=379382f3e8928835</Field>
    Please recheck respective values of namespace.classname , dllname. and publickeytoken in your code
    Thanks. Please mark it as an answer if it helps.

  • Elements Organizer 8 - some WMV are not displayed properly in the Play Video but are in Play Vide

    Hello:
    Elements Organizer - some WMV are not displayed properly in the Play Video but are in Play Vide on Full screen. What's the problem? Wrong codec?

    Because WMV's can contain a lot of flags, like DRM, they can exhibit odd behavior, indeed.
    Usually, AV files will display in their native resolution, i.e. in their set Frame Size/Aspect Ratio and with their set PAR (Pixel Aspect Ratio), but sometimes those flags are missed, or are altered by other programs.
    Remember, WMV's are designed to be streaming delivery-only, and are not intended, or designed to be edited. Most NLE's (Non Linear Editors) will allow them to be edited, but will require extra processing to do so. As is mentioned, WMM is designed around editing that delivery-only format, but most others are not.
    There are many other formats/CODEC's, that ARE designed to be edited by the vast majority of NLE's, such as DV-AVI Type II's.
    The best workflow is to NOT bring WMV's into the mix, unless one is using WMM exclusively. Converting those to an easily editable format/CODEC will always be the best course of action.
    Good luck,
    Hunt

  • Images not displayed properly.Any advice on that?

    Hi,
    I found the following code inside the forum and i'm trying to understand it.
    It appears to be a problem though. In particular the images(chess-pieces) are not displayed properly. The background of the gif images should be transparent but is not. Any advice?
    Thanks
    Here is the code:
    import java.awt.*;
    import javax.swing.*;
    public class ChessBoard10 {
    static final int PAWN = 0;
    JFrame frame;
    JComponent[][] checker;
    public ChessBoard10() {
    frame = new JFrame("CHESS GAME");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container con = frame.getContentPane();
    con.setLayout(new GridLayout(8, 8));
    checker = new JComponent[8][8];
    for (int row = 0; row < 8; ++row) {
    for (int col = 0; col < 8; ++col) {
    JComponent p = new JPanel();
    p.setBackground(setColor(row, col));
    checker[row][col] = p;
    con.add(p);
    frame.setSize(500, 550);
    frame.setVisible(true);
    Color setColor(int y, int x) {
    Color c;
    if (y % 2 == 1) {
    if (x % 2 == 1) {
    c = Color.white;
    } else {
    c = Color.black;
    } else {
    if (x % 2 == 1) {
    c = Color.black;
    } else {
    c = Color.white;
    return c;
    public void setPiece(Piece pc, int row, int col) {
    JComponent p = checker[row - 1][col - 1];
    //one base -> zero base conversion
    if (p.getComponentCount() > 0) {
    p.remove(0);
    p.add(pc);
    p.revalidate();
    /*test*/
    public static void main(String[] args) {
    int Bpawn = 0,
    Bbishop = 1,
    Bking = 2,
    Bknight = 3,
    Bqueen = 4,
    Brock = 5,
    Wpawn = 6,
    Wbishop = 7,
    Wking = 8,
    Wknight = 9,
    Wqueen = 10,
    Wrock = 11;
    ChessBoard10 cb = new ChessBoard10();
    for (int i = 1; i < 9; i++) {
    cb.setPiece(new Piece(Bpawn), 2, i);
    cb.setPiece(new Piece(Wpawn), 7, i);
    cb.setPiece(new Piece(Bking), 1, 4);
    cb.setPiece(new Piece(Bqueen), 1, 5);
    cb.setPiece(new Piece(Bbishop), 1, 3);
    cb.setPiece(new Piece(Bbishop), 1, 6);
    cb.setPiece(new Piece(Bknight), 1, 2);
    cb.setPiece(new Piece(Bknight), 1, 7);
    cb.setPiece(new Piece(Brock), 1, 1);
    cb.setPiece(new Piece(Brock), 1, 8);
    cb.setPiece(new Piece(Wking), 8, 4);
    cb.setPiece(new Piece(Wqueen), 8, 5);
    cb.setPiece(new Piece(Wbishop), 8, 3);
    cb.setPiece(new Piece(Wbishop), 8, 6);
    cb.setPiece(new Piece(Wknight), 8, 2);
    cb.setPiece(new Piece(Wknight), 8, 7);
    cb.setPiece(new Piece(Wrock), 8, 1);
    cb.setPiece(new Piece(Wrock), 8, 8);
    class Piece extends JPanel {
    String[] imgfile =
    "Bpawn.gif",
    "Bbishop.gif",
    "Bking.gif",
    "Bknight.gif",
    "Bqueen.gif",
    "Brock.gif",
    "Wpawn.gif",
    "Wbishop.gif",
    "Wking.gif",
    "Wknight.gif",
    "Wqueen.gif",
    "Wrock.gif" };
    public Piece(int type) {
    add(new JLabel(new ImageIcon(imgfile[type])));
    }

    Well, without actually testing the code which I most unfortunately can't do since my real computer is chrashed at the moment, try checking the
    boolean Component.isOpaque();otherwise try using .png's instead altough it shouldn't matter.
    This is just some general advices =(

  • OLE Objects are not displayed properly-overlap characters and empty page

    I'm using CR4E 12 Runtime libraries to load and view reports that are created in CR designer  v10. Some of the OLE Objects (not all) are not displayed properly.
    1) A full page contains terms and conditions as ole object is not at all displayed and just shown as black image.
    2) Some data in a table (OLE Object) shown as overlapped characters.
    Any body know the reason and is there any workaround to solve this issue?
    Thankyou very much for your time.

    Your problem seems to be with the character encoding you are using for your text.  A quick google search for ColdFusion character encoding should turn up the answer.  In case you are interested in learning more:
    http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=ColdFusion_Documentation&file=00001201.htm
    Hope that helps!
    - Michael

  • Contacts not displaying properly in video iPod, need help

    My contacts do not display properly on my video iPod. The phone numbers sometimes have dashes and sometimes do not in the iPod but the phone numbers always have the dashes in my address book on my G4 desktop. Example: iPod 555 555 1212 or 5555551212 or 555-555-1212
    address book 555-555-1212 (always has the dashes)
    I want the Ipod to display the way it looks in the address book, always using the dashes. I am total type A and it drives me crazy when they are not all the same!
    I have iTunes 7 on a MDD G4 running 10.4
    Thanks!

    hi,
    By default Messages should grab info from the Address Card in the Contacts app even if the iCloud option is not checked (and then syncing with other computers and iOS devices that are also set to sync this way).
    However the Contacts App does need to be opened and have the Preferences > Accounts checked to see it is using a Valid Account.
    The Address Cards need to list iMessages and possibly AIM and Jabber ID info as well.
    Next you need to check the View Menu in Messages.
    The Buddy Name option only used to work in Buddy List but now seems to also effect the main Messages window.  (So you can change it here to Handle, which is ID or Screen Name).
    Lower down is the option to display Names, Pictures or Name and Pictures next to people in the Chats.
    9:27 pm      Wednesday; November 13, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Webfont not displaying properly in design mode or appearing in font list

    Just updated Muse and now my heading webfont (Nunito) is not displaying properly in design mode or appearing in the font list. It is, however, displaying properly in preview mode. When I try and delete the font and then add it again I get an error message that says the font can't be added. Any idea what's going on?

    Hello,
    Please try the steps below. Hopefully this will fix the problem.
    1. Close Muse
    2. Rename the folders named tk1 and tk2 in the following locations
    On Windows: %appdata%\com.adobe.AdobeMuseCC.2014.2\Local Store. You can type this in the Path bar at the top of the Windows Explorer window
    On Mac: ~/Library/Preferences/com.adobe.AdobeMuseCC.2014.2/Local Store. You can type this in the Go To Folder dialog (Shift+Command+G)
    3. Launch Muse and add the font again
    Please let me know if that helps.
    Regards
    Vivek

Maybe you are looking for