How to put decimal in the substring function

Hi Friends
I am having a input value which is a UDF named GetValue which is mapped with a substring (0,4) which is again mapped to a split by value and then to the target field MENGE
My problem is when value is coming from GetValue and i am mapping it to substring there i want to take the decimals also
forexample let us value coming is 2 than in the substring and then to the target field i want to send as 2.000.
Please help me how it can be done.
Thanks

Hi Aquarian,
The value which is coming from GetValue UDF, map that to a FormatNumber Function
Use the standard function 'formatnumber' with number format 0.00
double click on 'formatnumber' function in mapping editor to get number format field.
you need not put anything in the 'decimal separator' field.
this function is available in arithmetic set of standard functions.
I believe this should be it.
Let me know if you need more help.
Thanks,
Varun

Similar Messages

  • How to put name in the application toolbar

    how to put name on the button in the application tool bar while it is created with selection screen

    I've never seen this done this way.  Learn something new everyday.  Anyway, here is a sample program that will show you what you need to do to add text to your function button,  this also adds an icon.
    report zrich_0002.
    Tables: sscrfields.
    selection-screen function key 1.
    select-options: s_datum for sy-datum.
    INITIALIZATION.
      MOVE '@49@ Export'  TO SSCRFIELDS-FUNCTXT_01. "ICON_EXPORT
    If this has solved your problem, please award points accordingly and mark this post as solved.  Thanks.
    Regards,
    Rich Heilman

  • SAP XI - Using the substring function.

    Hi Experts,
    I am having trouble using the substring function in SAP+XI. I have to consider the value from characters 6 to 19 for a target field of 25 characters. Every time I ma using the standard substring function it is giving an error Array Out of Bounds Exception.
    Please tell me how to proceed.
    Thanks
    Aniruddha

    Hi,
    Above error wil come if the input string length is less than the substring length what you are trying to get..
    i.e length of the input string is less than 25 characters... do some validations or pass substring as 6 and 0 ..
    HTH
    Rajesh

  • How to put distinct in the query

    Hi all,
    How to put distinct in the query.I checked in RPD , Distinct supported is already available. I marked the distinct check box in advance option still then i'm not getting distinct in the query.
    any idea , please help...

    In the RPD i have join between base table and view .i'm selecting 2 columns one from base table and other from view . which gives cartesian product . to avoid that i want to put distinct . I'm not using any measure . I'm taking direct columns.
    I'm getting distinct keyword if i'm accessing the report directly . but when i'm accessing it from dashboard in the back end while preparing the query it's writing distinct but the actual query which is sending to db does not have distinct.
    ==================================================
    RqList distinct
    VW_SCNR_114000074_TA_DATA.Match Identifier as c1 GB,
    VW_SCNR_114000074_TA_DATA.Tot Trans Amt as c2 GB,
    VW_SCNR_114000074_TA_DATA.Tot Trans Ct as c3 GB,
    case when VW_SCNR_114000074_TA_DATA.Alert Quality Code = '1' then 'Productive' when VW_SCNR_114000074_TA_DATA.Alert Quality Code = '2' then 'Non Productive' else 'Indeterminate' end as c4 GB,
    VW_SCNR_114000074_TA_DATA.Batch Identifier as c5 GB
    DetailFilter: Alert TA Data.Run Id > 0 and Alert Scenarios.Scenario Name = 'ScnroName' and Alert TA Data.Batch Id > 0
    OrderBy: c4 desc
    =================================================
    -------------------- Sending query to database named KYC1.1DEV-179 (id: <<16315>>):
    select T353.BATCH_ID as c1,
    case when T353.QLTY_RTG_CD = '1' then 'Productive' when T353.QLTY_RTG_CD = '2' then 'Non Productive' else 'Indeterminate' end as c2,
    T353.TOT_TRXN_CT as c3,
    T353.TOT_TRXN_AM as c4,
    T353.BREAK_ID as c5,
    T117.SCNRO_NM as c6
    from
    KDD_SCNRO T117,
    KDD_TA_DATA T130,
    KDD_TSHLD_SET T171,
    VW_SCNR_114000074_TA_DATA T353
    where ( T117.SCNRO_ID = T130.SCNRO_ID and T117.SCNRO_ID = T171.SCNRO_ID and T130.SCNRO_ID = T171.SCNRO_ID and T130.SCNRO_ID = T353.SCNRO_ID and T130.TSHLD_SET_ID = T171.TSHLD_SET_ID and T171.SCNRO_ID = T353.SCNRO_ID and T171.TSHLD_SET_ID = T353.TSHLD_SET_ID and 0 < T130.BATCH_ID and 0 < T130.RUN_ID )

  • HT1841 How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    Sorry. You're not making sense. Please re-phrase the question or post in your native language.

  • How to put wallpaper on the homescreen on ipod touch 3g?

    I have an ipod 3g and I am wondering how to put wallpaper on the homescreen,I tired to go to settings,but it still won't work??

    Just so we don't spin our wheels, please confirm that it is indeed 3rd-gen (there was a 32GB 2nd-gen iPod touch). You may well be correct, but other people have been mistaken in what they have, so I've learned to confirm. The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the iPod. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.
    Assuming you do indeed have a 3rd-gen iPod, what version of iOS is it running? And when you say "won't work", do you mean that you don't see the option, or you see the option but when you try and change the wallpaper it doesn't change?
    Regards.

  • I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    I have bought a Macbook Pro Retina, and the iPhoto which comes with it, has a different iPhoto Book menu.  I cannot see how to put text at the bottom of the pages of photographs, instead of the default place in the middle.  Is there a way to do this?

    There are different templates for iPhoto books and they differ from version of iPhoto to iPhoto, so explore the other options.

  • I have new music on the itunes but have not a clue how to put it on the iphone, it only seems to want to put the old songs on

    i have new music on the itunes but have not a clue how to put it on the iphone, it only seems to want to put the old songs on

    http://support.apple.com/kb/HT1386
    Are you manually managing your songs?
    In itunes - music do you see checkmarks next to your musis/songs.  IF so go find your new songs click on it and then sync your music again.

  • How do I turn off the yelp function In maps or Siri?

    How do I turn off the yelp function on maps?  Instead of locating all the McDonalds on a map, the way Siri used too, she gives me a ( useless) list.  Please help!

    you dont

  • How to put in process chain a function to desactivate aggregates

    Hi all, how can i do  to put in process chain a function to desactivate aggregates
    thanks

    Hello Jorge,
    You can use a ABAP process type and call the program
    SAP_AGGREGATES_DEACTIVATE to deactivate the aggregates.
    Similarly if you want to fill through an ABAP program you can use
    SAP_AGGREGATES_ACTIVATE_FILL
    You can refer this doc
    [Aggregates - Initial Fill: Custom Approach to Fill in Parallel|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7005b9ff-6871-2910-009e-f4d214cbe81f]
    You can also refer this Wiki
    [Useful ABAP Programs & Function Modules in SAP BI - Business Intelligence|https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=35458]
    Thanks
    Chandran

  • Can i upgrade my laptop's graphic card? and how does this upgrading affect the other functions?

    is it possible to upgrade my HP Split 13-m111TU x2 PC's graphic card? how does one go about this upgrading process? does it affect the other functions and features of the laptop? 

    Hi:
    The graphics adapter in your model cannot be upgraded.

  • How can I speed up the extract() function queries on XML

    Hi,
    Please I need some light on xml and indexes.
    This is my case:
    I use Oracle 9i R2.
    I have a table with some rows containing some few xml documents (each row contains a big xml document).
    Given a value for an attribute of a tag, I want to extract the entire section within the tags.
    Example:
    <MYTAG number="1">
    .....big stuff here
    </MYTAG>
    <MYTAG number="2">
    .....big stuff here
    </MYTAG>
    <MYTAG number="x">
    .....big stuff here
    </MYTAG>
    So for number=2 I would like to extract from the document the xmltype
    <MYTAG number="2">
    .....big stuff here
    </MYTAG>
    I created an index and have followed all the steps from the XML Database Developers Kit manual. Then I would use extrac() as the document says.
    Now some doubts arised:
    Are these text/xml indexes only useful for getting the rowid of my document?
    I mean, if I select 'x' from the table looking for some value, then the index is used. But when I use extract in the select to get the section I look for, the query gets really low, specially when xml documents are big. I think when I have only row with one document, getting the rowid is not the problem, but the extraction from the document is.
    Is the extraction process faster because of the index?
    For what I see, the index only helps me to find the rowid, but then Oracle has to deal with the very big document inside the row. At that point Its oracle against a big text processing and index has nothing to do.
    How can I speed up the extraction of the section?
    If there any other index or tool for help extraction to be faster?
    I would appreciate to know what can I do. I need help on this.
    Thanks in advance!

    Well,
    - What indexes, if any, already exist?
    - What do the functions rl and nice do?
    - What are the current query plans?
    - How restrictive are the various predicates?
    - What version of Oracle?
    Justin

  • I have remote access from my IMAC to my windows PC at work. How do I set up the keyboard functions to work on the work PC when I work from home?

    I have remote access using my IMAC. The computer at work is a Windows PC, how do I set up the IMAC's keyboard to function as the same one at work?

    Port 3389 should be open on your work network. Check with your admin. They know what ports are open on your work firewall.

  • How to put music in the pdf file?

    how to put music into pdf file?
    when open the pdf file in adore reader, music star automatic and when close the music stop itself....
    my version cant add music into it.
    Version: adobe reader x
    can someone show me the ways?

    Adobe Reader cannot do such a thing.

  • How to use variable in the LIKE function along with % operators

    Hi,
    Is there any way i can use the variable in the Like function. That means i have query like
    SELECT * FROM Device WHERE DeviceName LIKE %v_MediaName%;
    Here "v_MediaName" is the userdefined variable which contains string. I want to retrieve all the records from the "DEVICE" table whose DeviceName LIKE %v_MediaName%;
    If i put it in a single quotes '%v_MediaName%' then the v_MediaName will be treaded as a string instead of a variable. I am using this query in a Procedure.
    please help me out to resolve the issue.
    thanks

    LIKE '%'||v_MediaName||'%';
    Will not make use of the indexes though.
    Message was edited by:
    satishkandi

Maybe you are looking for

  • How do I transfer playlist from ipod to itunes library

    Hello I accidently erased my playlists in iTunes.  How do I transfer playlist on my ipod nano to iTunes? Thank you

  • Read Attachments using Java Mapping API

    Hello, after investigating the Java Mapping API a little deeper I found some very interesting Interfaces "InputAttachments" and "Attachments" which could do exactly what is required: Reading attachments and convert them into base64 code. As I am not

  • What's the maximum size and length that go onto a DVD

    I'm trying to put a whole load of home videos onto DVDs. What is the maximum size that can be burnt onto a DVD. There are a lot of hours on here, about 15 and I was hoping to try and get about 3 hours per DVD is this possible? Thanks Tom

  • Adobe SDK Support

    Does anyone know the best method for getting SDK support from Adobe? Phone or email? There seem to be a million different options. Thanks.

  • Problem in execution of WorkItem through Lotus Notes

    Hi, When i am trying to execute the workitem from lotus notes, a dialog appears denoting that the system description and GUI start parameters are unknown.  But when i give the start parameter manually the work item gets executed. My question is how t