How to move 5.00-  to a character field.

hi,
I want to move the value 5.00- to a character field. when i use
move i_in-value to char1.  (i_in-value = 5.00-)
it is moving only 5.0 , i want the whole thing to be moved on to char1.
can anyone help me on this.
Thanks,
Rose.

Hi,
The example includes an example of converting this floating-point decimal into a character field.
U want to move the decimal to char so why dont u try like this. First convert the decimal to character type.
By using UNIT_CONVERSION_SIMPLe and then move it to the destination.
data:
floatout like qmih-auszt,
floatp type p decimals 0,
printhr(10).
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
EXPORTING
INPUT = qmih-auszt
UNIT_IN = 'S'
UNIT_OUT = 'H'
IMPORTING
OUTPUT = floatout
EXCEPTIONS
CONVERSION_NOT_FOUND = 1
DIVISION_BY_ZERO = 2
INPUT_INVALID = 3
OUTPUT_INVALID = 4
OVERFLOW = 5
TYPE_INVALID = 6
UNITS_MISSING = 7
UNIT_IN_NOT_FOUND = 8
UNIT_OUT_NOT_FOUND = 9
OTHERS = 10.
move floatout to floatp.
move floatp to printhr.
Regards.

Similar Messages

  • How to move the value from a character field to numeric or packed decimal

    Hi,
    can anyone explain me on how to move the value from a character field to numeric or packed decimal.
    Please help me on this. Thanks...
    Regards,
    Rose.

    Hi ,
    if you use keyword MOVE u may loose the decimal and thoussan separator and if u don't want to loose them just call the FM ..HRCM_STRING_AMOUNT_CONVERT.
    i doubt wherther it is HRCM or HCRM just try using *
    this will suit ur requirement.
    Regards,
    KK

  • How to move result row for hierarchical character bellow corresponding rows

    Hi expert,
          in my query , I set a hierarchy for a character in row. but it result row is above rows, however I set all result row bellow corresponding rows in query property. also all other result rows display bellow corresponding rows. please tell me how to move result row for hierarchical character bellow corresponding rows.
    Many Thanks,

    Hi Yasinn,
    you are right and you can make it even shorter:
    LOOP AT ITAB.
      Collect ITAB Into ITAB2.
    EndLoop .
    It will work much faster using field-symbols:
    field-symbols:
      <itab> like line of itab.
    LOOP AT ITAB ASSIGNING <itab>.
      Collect <itab> Into ITAB2.
    EndLoop .
    BTW: Kishore Babu Gummadi's suggestion about the field catalog does not make any sense, not regarding your question and not regarding a field catalog derived from DDIC fields: What is the DDIC defined output length of ekbe-wrbtr?
    Regards,
    Clemens

  • How to move a dynamic variable to a FIELD-SYMBOL

    Hello:
    i would like to ask a favor i have been trying to move a dynamic variable to a FIELD-SYMBOL but, when i compile the programm it send a error message that say 'error with assign'.
    The FS is declared like this
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE, <dyn_wa>.
    and then there is a PERFORM that send a dynamic varible and then this variable is asigned to the <dyn_table> and after of this one variable is created like this CREATE DATA wa_dynamic LIKE LINE OF <dyn_table>.
    and finalilly there is a sentences where i trying to send the wa_dynamic to the <dyn_wa>.
    here is where the error appear.
    if you have any tips for this problem i will appreciate.
    thanks a lot
    Definition of FS
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE, <dyn_wa>.
    PERFORM
    Create dynamic internal table and Assign it to Field Symbol
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fldcat
        IMPORTING
          ep_table        = it_dynamic.
      ASSIGN it_dynamic->* TO <dyn_table>.
    Create dynamic work area and assign to FS
    CREATE DATA wa_dynamic LIKE LINE OF <dyn_table>.
    ASSIGN wa_dynamic->* TO <dyn_wa>. "HERE IS THE PROBLEM

    How is wa_dynamic defined?
    data: wa_dynamic type ref to data.
    Regards,
    Rich Heilman

  • How to move the cursor to a text field

    Hello,
    I have a log in window with Username (Text field) and password (Secure Text field). The 'Log In' button is not enabled if I use the Set command. So I wish to use the Keystroke.
    But I need to make sure that Cursor is in the text field and then to keystroke. So how can I move the cursor to the required text filed?
    Note:
    +Why the cursor is not blinking in the text field where I just 'SET' (command)+
    +the value?+

    Well, for a start you can identify the application you're working in. That's kind of important.
    In most cases you can just emulate a press of the tab key but it's kind of a crude a approach (there's no guarantee that you're in the field you expect). Certain applications, though, may have better ways of achieving it, but since we don't know what application you're using we can't say if that's the case here.

  • How to move values to two different structured field symbols

    Hi All,
                I have to push my data from one field symbols to another both having different structure, but same data type
    with regards,
    Thambe

    try moving the data with write statement. SAP says write statement dose the type cast for different data types.
    Hope this helps.
    FY

  • How to move cursor to a particular field in a form when the form opens

    Hi All,
    Using Forms Personalization how to move the cursor to a particular field in a form when the form opens.We are using Oracle Applications 11.5.10.2
    Please let me know as soon as possible.
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Satya,
    Try the following
    Open the forms personalization window
    Seq: 10
    description : Move cursor
    Level : Function
    On Condition Tab-
    Trigger Event : when-new-item-instance
    Trigger Object:- (The field on which the cursor is appearing now when you open the form ) for eg : If I am working on a vendor Master form in that case it would be -VNDR.VENDOR_NAME_MIR.
    Processing Mode : Both
    Context:
    whatever context you want to do it respoansibility level or user level.
    On the Actions Tab
    Seq: 1
    Type: Bulletin
    Bulletin type : GO_ITEM
    Argument : The field to which you want to navigate to. (In my case I want to navigate to Alternate name on the Vendor master form so it would be VNDR.VENDOR_NAME_ALT_MIR).
    see if it works for you.
    cheers,
    Ankur

  • Character Field as Number, Need commas?

    I move a quantity to a character field for a form display output. I left justify the character by shift character field left deleting leading spaces. This way it formats perfectly in the column on my report/form.
    Is there any easy syntaxfunction module, etc.,  that will take char field 1000.0 and put inn a comma 1,000.0?
    I don't want the value to shift back to the right (right-justify).
         Thank-You
    Edited by: TMM on Jan 30, 2009 11:30 AM

    Hi,
    Ok..Please check this..
    * Input character.
    DATA: v_input   TYPE char20 VALUE '1000.0',
          v_output  TYPE char20,
          v_num     TYPE p DECIMALS 1.
    * Move it to numeric variable.
    v_num = v_input.
    * Use the write statement to add the thousands separator.
    WRITE v_num TO v_output.
    * Make sure in the user settings the decimal notation is 1,234,567.89
    * otherwise use this code.
    SET COUNTRY 'US'.
    WRITE v_num TO v_output.
    SET COUNTRY space.
    * Remove the leading spaze.
    SHIFT v_output LEFT DELETING LEADING space.
    * Display
    WRITE:/ v_output.
    Thanks
    Naren

  • How to move video inside LR 4?

    Hi
    Could anyone please explain to  me how to move a video, from one folder to another inside LR 4?
    I've moved pictures from one folder to another inside LR 4 several times before, I just marked the pics I wanted to move, and draged them to the desired folder, but I can't do it with these videos........
    The arrow in the left side , in folders, pointing to the folder I wish to move, is greyed out, as if something is wrong, can't figure out why.....
    If I right click on the selected videos, there's no "move" option.......
    kindly
    Jan

    Hi Victoria
    Thx for your reply :-)
    Actually I'm not able to drag and drop any of my video files anymore....must be something "newbie" stuff :/
    I've attached a screenshot, and the videos I want to move, are inside the ¨DIGITAL....¨ folder,  but as said, I'm not able to move them anywhere...... Could it be that I've ¨locked¨something when messing around in LR 4??
    The Greyed out arrow is normal, as I see it now...
    what could I possible be doing wrong here?
    Kindly
    Jan

  • How to move a button in gird layout(16-block game)?

    I am designing a 16-block puzzel game and don't have any idea about how to move buttons in a grid on mouse click.

    This is the code now me help me to solve this problem.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class Puzzel extends JFrame {
              JButton[] arr = new JButton[15];
              String[] add = {"1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg","7.jpg","8.jpg","9.jpg","10.jpg","11.jpg","12.jpg","13.jpg","14.jpg","15.jpg"};
              int X;
              int Y;
              public Puzzel(){
                        Image image;
                        Toolkit toolkit= Toolkit.getDefaultToolkit();
                        image=toolkit.getImage("icon.jpg");
                        ImageIcon icon=new ImageIcon("icon.jpg");
                        setIconImage(image);
                        setTitle("Puzzal");
                        JMenuItem pic = new JMenuItem("Solved");
                        pic.setMnemonic('a');
                        JPanel jp = new JPanel(new GridLayout(4,4));
                        ArrayList list = new ArrayList();
    MouseListenerClass M1 = new MouseListenerClass();
                           for(int x = 0; x < arr.length; x++)
                               arr[x] = new JButton(add[x], new ImageIcon(add[x]));
                               getContentPane().add(arr[x]);
                              list.add(arr[x]);
                        Collections.shuffle(list);
                        for(int x = 0; x < list.size(); x++)
                              jp.add((JButton)list.get(x));
                            getContentPane().add(jp);
                                 pack();
                                 setSize(427,427);
                                        setResizable(false);
                        /*for(int x=0;x<arr.length;x++){
                             arr[x].addSelectionListener(new SelectionAdapter());
                   public void widgetSelected(SelectionEvent event){System.out.println("IN");
                        if (event.getSource().getClass().equals(Button.class)){
                             Button button = (Button) event.getSource();
                             if (button.getText().equals("") )
                                  Toolkit.getDefaultToolkit().beep();
                                  else
                                       this.swapPlaces(((Integer) button.getData()).intValue());
                   public void widgetDefaultSelected(SelectionEvent event){
                                  System.out.println("Widget was defaultselected: " + event.getSource());
               for(int x = 0; x < arr.length; x++)
              arr[x].addMouseMotionListener(M1);
              private class MouseListenerClass extends MouseMotionAdapter
                   public void mouseDragged(MouseEvent E)
                   X=E.getX();
                   Y=E.getY();
                   for(int x = 0; x < arr.length; x++)
                        arr[x].setBounds(X,Y,100,100);
    public static void main(String[] args){
                    new Puzzel().setVisible(true);}
         }

  • How to move the "back" button to the top ?

    Hi there,
    I had some sub-menus and iDVD auto generate the "FORWARD" and "BACKWARD" buttons in the shape of a triangle. Problem is this buttons are alwayd at the bottom and I do not seem to be able to move the buttons around.
    Any tips on how to move these buttons to other places ?
    Thanks

    Old Toad wrote:
    You can't move them.  Those are hard coded into the themes.
    OT
    Thanks OT ... been trying for hours to move them !!

  • I can't figure out how to move my playlist folders to my iPod

    I have a 5th Generation iPod and I am using it with the latest version of iTunes on a dare I say it Windows machine.
    I organize my playlists in folders on my iTunes. When I sync to my iPod those folders do not carry over, but the playlists in those folders do not. I have sorted through the manual, the options on both iTunes and my iPod and this website, and for the life of me I can't even find a mention of how to move these folders over to my iPod.
    ANY help is apreciated.
    Thanks,
    Karl

    Although iTunes supports the use of folders in the manner you describe, unfortunately the iPod does not.

  • How to Move a Video File from Movie Section to "TV Shows" Section

    I have an Ipod classic, and am trying to figure out how to move a video file from the "Movie" section to the "Tv Shows" section. I have Itunes version 1.3 which for my device is listed as the most current version.

    haha itunes 1.3, epic.
    to clarify that, I think he would have an ipod classic 80gb which the newest version is 1.3 I think.
    However to answer your question, in itunes right click the movie, go to properties, then go to options, where it has media kind put it to tv show
    Message was edited by: Nudethecih

  • Photoshop elements 8 for Mac - how to move photos (events) from iphoto to pse

    I have figured out how to move one  photo over through opening a file.  But I can't move a full event or album from iphoto.  Ive tried going to bridge but when i click on the iphoto folder, it takes me into my iphoto and I'm not sure what do then, no buttons or anything that seems to connect to PSE.  Any help would be appreciated!  I wish Adobe supported this product better for Mac users.  Maybe they read these discussions?

    Hi,
    Are you opening iPhoto files from within Photoshop Elements? You can open all the files in an iPhoto event into PSE8 through a single click.
    In Photoshop Elements, go to File menu > Open. In the browser window that appears, click Photos under Media in the sidebar. Now, you should be able to see iPhoto with all its events. When you click on an event and "Open" it, you should get all the photos of that event in the project bin.
    Is this the problem being asked?
    Thanks.

  • Multi cam shoot using  P2 cards. How to move clis to timecode positions

    multi cam shoot using P2 cards. How to move clis to timecode positions. We were using free TC. I want to a large # of clips from both cams. and have them move to the correct TC position on the timline. In Nuendo eith audio u hit apple a or ctrl a right click move to orgin. Avid will take care of it for u. FCP???

    If you read the "Apple Pro Training Sereis; Final Cut Pro 5" book, it's very easy. You can sync the clips manually by setting In or Out points, specifying TC, or using one of the two Aux TC fields. Since this is the first, and most basic step in doing Multiclip editing, I'd suggest you get the book, or read the appropriate section of the User Manual. I don't think anyone wants to post a full "how to" article in a forum.
    It can be done, you're clips have to all have been recorded with synced TC, or they simply won't sync up in any NLE. Read the book. Cause even if I did have the time to explain FCP's Multiclip editing in this forum, you'd still have questions that are in the book.
    If you actually walk through the first steps of building a Multiclip to edit, it's blatatnly obvious in the first step. I'd give it a try first.
    Problem is the DVCPRO-HD codec is going to require a higher end Mac with tons of RAM and either RAID, or internal drives to do a DVCPRO-HD Multiclip, as DVCPRO-HD (P2) is a pretty high bandwidth codec. I use it daily, I know, it takes horsepower to do.

Maybe you are looking for

  • Using AiO Remote and HP ePrint to remotly control printer

    Hi, With ePrint Home and Biz and the previous version of the AIO remote app, I was able to control the scanner and printer as long as I remained connected to the Internet.  In other words, I did not have to be within reach of the wireless network at

  • Drag & Drop Functionality Doesn't Work in External SWF?

    Hi all, I'm currently a TA for a Flash course at my school.  We're using AS 2.0 and working with external SWFs. I think this might be pretty simple to remedy.  Well, at least I'm hoping! A student is having trouble with drag & drop functionality when

  • HELP!! How do I get on the internet??

    I am so frustrated I'm ready to go back to my old phone. I can't seem to figure out how to get on the internet...it says to open up the settings and then turn on internet, I can't even find where to find the settings...If anyone can help I would real

  • From lightroom to website

    I am using Lightroom extensively to import and keyword my images. I want to be able to ues info in LR such as keywords etc in an online website so people can do an easy search of my website and images. I dont have the expertise to do that. How do I d

  • BP Campaign Relatinship table in CRM

    Is there any table in CRM that gives the the information , weather a BP is present in particular campaign or not.