How to add a character before formula values in BEx.

Hi Guys,
Can anybody please let me know how to add a character before result of a formula.
Ex. formula is 10/30*100
I want to see in report 33.3 %
thanks in advance
peter b

hi..
You can use a formula variable with Customer Exit

Similar Messages

  • How to add a view before RootViewController?

    Hi,
    I have a Navigation based application.
    Now , i need to add a view before rootviewcontroller.
    So any one help me , how to add a view before RootViewController?
    Thanks In Advance.
            YUG

    Why not perform what you wish in your application delegate application:didFinishLaunchingWithOptions: method?

  • How to add Zero to an integer value from left (like 999 to 0999)

    hello,
    any body please tell me how to add "0" to an integer from left
    i just want to make my value 999 to 0999
    and i tried with converting it to strings but after adding zero i have to make the string to integer again because my method accepts integers onli.
    thanks in advance
    ranadheer

    i will be much clear now
    i have a jar file which takes date and time as input
    but the it accepts only 4 digits in the Year field
    so if i have date with year before 1000 its not
    accepting.so with keeping year field as integer i
    have to make the 3 digits to 4 digits by appending
    0 at the front
    thanks and regards
    RanadheerThen you need to keep that variable as a String (before parsing it to a Date object), not as a numerical value. You can prepend a String to another String using the + operator.
    String s = "0"+"123";

  • How to add key figuers before chracteristic

    Hi all,
    i would like to now if it is possible to add key figuers before chracteristics in a report.
    The report look like this (CH - characteristic, KF - key figure):
    CH1 CH2 CH3 CH4 CH5 KF1 KF2 KF3 KF4 KF5
    but it should look like this:
    CH1 CH2 KF1 KF2 KF3 CH3 CH4 CH5 KF4 KF5
    How can i make it without dividing it into more reports ?
    Thx for any help,
    regards Martin Zluky

    Thx all for answers.
    We are using BW 7.x so the 3.x thing not gonna work.
    Our customer made a report template and he wants that it should look excatly as he designed it.
    Sivaraja and Reddy A, i am quite newbie in BW so i dont know what you mean. Can you please explain it little bit more.  I think that on a query level there isn´t an option to switch between KF and CH columns, or am i worng?
    We are now thinking about a macro in excel. What do you think about that?
    Regards,
    Martin
    Edited by: Martin  Zluky on Feb 1, 2010 1:23 PM
    Edited by: Martin  Zluky on Feb 1, 2010 1:25 PM

  • How to change PR Qty before rounding value is applied during MRP run?

    Hi, SAP gurus~
    I have an inquiry about how to change the PR qty of specific raw material before rounding value was applied during MPR run.
    Here is a simple example for what I needed.
    -SAP Original Logic
    1. Original requirement Qty: 190
    2. Rounding value at Material Master (MRP1 View): 200
         System will suggest PR Qty 200 at MD04.
    -My Customer Requested Logic
    1. Original requirement Qty: 190
    2. Additional buffer Qty for C/S purpose: 10 % of Original requirement.
    3. Rounding value at Material Master (MRP1 View): 2000020
         Requirement Qty would be 209 (190 + (190 x 10%) ) before rounding value is applied and system should suggest PR Qty 400 at MD04.
    -     I input assembly/component scrap rates (10 %) at Material master for above purpose, but it doesn`t not work for raw material.
    -     I tested the BADI (MD_PURREQ_CHANGE/ method: CHANGE_BEFORE_SAVE_MRP), but I can only change the PR Qty, which rounding value already applied.
    How can I change the PR qty during MRP run before rounding value is applied? Is there any other method or User-exit possible to solve above problem?
    Thanks in advance.

    Dear ,
    How can I change the PR qty during MRP run before rounding value is applied? :
    Simple way is goto MD04 with your material and plant code -Select the PR-Hit the pencil (change mode ) -Choose qty field  and change , SAVE at individual level .Or Use : MEMASSRQ - Mass Maintenance
    If you want to use User Exit , then you try a work around :
    M06B0001 Role determination for purchase requisition release
    M06B0002 Changes to comm. structure for purchase requisition release
    Try and let us know if u have any issue .
    Regards
    JH

  • Urgent........How to add leading zeros to negative values.....

    Hi,
    I want to add leading zeros to negative values.
    <b>Present Value    :</b> -567
    <b>Expected Value :</b> -0000000567
    I know to adding leading zeros with the help of CONVERSION_EXIT FM.
    Thanks in advance.
    Regards,
    Kumar.

    Hi
    Use below FM.
    CONVERSION_EXIT_ALPHA_INPUT
    Try out below FM with the above one.
    <b>CLOI_PUT_SIGN_IN_FRONT</b>
    <b>ISJP_GET_SIGN</b>
    or you can use
    <b>WRITE variable USING EDIT MASK '-___________'.</b>
    or
    <b>CONCATENATE syntax</b>
    Hope it will solve your problem
    <b>Reward Points if it is helpful.</b>
    Message was edited by:
            ilesh 24x7
    Message was edited by:
            ilesh 24x7

  • How to add confirm message before submit

    How to jump confirm box before form submit?

    chan15tw wrote:
    How to jump confirm box before form submit?
    there are several ways do do that, however the underlying technology is always javascript. Please read the webreference.com tutorial "JavaScript's confirm() Method With Form Submission" here
    Cheers,
    Günter

  • How to add unit to calculated key figures in BEx

    How to add unit to BEx calculated key figures in SAP BW BEx?
    I would like to add a unit to a calculated key figure in SAP BW BEx, so that it gets visible on the end user level. Currently the unit field is empty. I calculated the value from various key figures with different units and removed the units with the NODIM()-function. Is there an inverse function to NODIM() with which you can add a specific unit (like EUR or TAG).
    The "How tou2026 Report Data in Alternate Units of Measure" does not seem to cover the point.
    "Quantity Conversion Guide for SAP Business Intelligence" refers to the "Conversion" tab.
    I suppose you have to add a conversion routine, which is 1:1 and sets the target unit defined in BEx.
    Has anyone tried this? Is there a more simple solution?
    OLAP-Quantity Conversion:
    http://help.sap.com/saphelp_nw70/helpdata/EN/27/b65c42b4e05542e10000000a1550b0/frameset.htm

    Hi,
    if your CKF will have always same unit and you have one KF in you inforpovider with this unit, you can try to do this trick
    create a new hidden CKF as new CKF = KF / KF (with this equale new CKF = 1 unit)
    change your old CKF as old CKF = old CKF * new CKF
    let me know if it works.

  • How to add a character at the end of an array element that meets certain criteria.

    Hi. I am using CF 9.2.1. I started learning CF yesterday, and I am trying to figure out a way to add a special character (like "?", "!"," &amp; ") to an array row if the first row element (say, element [1][1]) has a specific letter like " t" in the word it is holding. In this case the special character will be added at the end of the last row element (element [1][3]).
    Example: The take columns are: "Firstname", "Lastname", "Age".  If Firstname contains an "s" or "S" (in any order) then add "!" at the end of the row so that :
    Sam, Rubins, 26 !
    Nick, Palo, 32
    Robert, Williams, 28
    Oscar, Ramirez, 23 !
    I tried using the ReReplace, Refind and the #findoneof functions. I could probably loop through the array and return a value and store, while storing the value in a separate variable and using an if/Boolean function to compare that value and so on.... But I am sure there's an easier and more efficient way. Thanks in advance.
    <!--- #1 I will create a three column query named CityInfo--->
    <cfset CityInfo = QueryNew("City, State, LCode","VarChar, VarChar, Integer")>
    <cfset newRow = QueryAddRow(CityInfo, 2)>
    <cfset newRow = QueryAddRow(CityInfo, 3)>
    <cfset newRow = QueryAddRow(CityInfo, 4)>
    <cfset newRow = QueryAddRow(CityInfo, 5)>
    <cfset newRow = QueryAddRow(CityInfo, 6)>
    <!---Using the column names City, Sate and LCode I will now enter the information--->
    <cfset temp = QuerySetCell(CityInfo, "City", "Dallas", 1)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 1)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "214", 1)>
    <cfset temp = QuerySetCell(CityInfo, "City", "Fort Worth", 2)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 2)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "817", 2)>
    <cfset temp = QuerySetCell(CityInfo, "City", "San Antonio", 3)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 3)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "210", 3)>
    <cfset temp = QuerySetCell(CityInfo, "City", "L.A.", 4)>
    <cfset temp = QuerySetCell(CityInfo, "State", "CA", 4)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "213", 4)>
    <cfset temp = QuerySetCell(CityInfo, "City", "Austin", 5)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 5)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "512", 5)>
    <h4> Number1. City info TABLE contents:</h4>
    <cfoutput query = "CityInfo">
    #City# #State# #LCode#<br>
    </cfoutput> 
    <!--- #2 Now I focus on the array. I declare it first --->
    <cfset cityarray=arraynew(2)>
    <!--- Then I retrieve the data and populate the array --->
    <cfloop query="CityInfo">
    <cfset cityarray[CurrentRow][1]=City>
    <cfset cityarray[CurrentRow][2]=State>
    <cfset cityarray[CurrentRow][3]=LCode>
    </cfloop>
    <h4>Number2. City info ARRAY contents before appending:</h4>
    <cfloop index="Counter" from=1 to=5>
    <cfoutput>
    City: #cityarray[Counter][1]#,
    Estate: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <!--- #3 I now add/append Irving to the array and change L.A. --->
    <cfset cityarray[6][1] = "Irving" />
    <cfset cityarray[6][2] = "Texas" />
    <cfset cityarray[6][3] = "972" />
    <cfset cityarray[4][1] = "Los Angeles" />
    <h4>Number3. City info Array contents after adding Irving, TX and updating L.A.:</h4>
    <cfloop index="Counter" from=1 to=6>
    <cfoutput>
    City: #cityarray[Counter][1]#,
    Estate: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <br>
    <!--- #4 now I look for the 's' in order to add a '!' THIS IS WHERE MY PROBLEM BEGINS --->
    <h4>Number4. City info after searching for "s"</h4>
    <cfloop index="Counter" from=1 to=6>
    <cfoutput>
    City: #cityarray[Counter][1]#,
    Estate: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#,
    <!--- I know the findoneof function is not going to help me, but I hope it helps to give you an idea of what I am trying to do--->
    #findoneof("sS",cityarray[Counter][1])#
    <br>
    </cfoutput>
    </cfloop>

    It is much simpler than you think. Additions and modifications are in italics. Good luck!
    <h4>Number2. City info ARRAY contents before appending:</h4>
    <cfloop index="Counter" from="1" to="#CityInfo.recordcount#">
    <cfoutput>
    City: #cityarray[Counter][1]#,
    State: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <!--- #3 I now add/append Irving to the array and change L.A. --->
    <cfset cityarray[6][1] = "Irving" />
    <cfset cityarray[6][2] = "Texas" />
    <cfset cityarray[6][3] = "972" />
    <cfset cityarray[4][1] = "Los Angeles" />
    <h4>Number3. City info Array contents after adding Irving, TX and updating L.A.:</h4>
    <cfloop  index="Counter" from="1" to="#arrayLen(cityarray)#">
    <cfoutput>
    City: #cityarray[Counter][1]#,
    State: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <br>
    <!--- #4 now I look for the 's' in order to add a '!' THIS IS WHERE MY PROBLEM BEGINS --->
    <h4>Number4. City info after searching for "s"</h4>
    <cfloop index="Counter"  from="1" to="#arrayLen(cityarray)#">
        <cfset sPosition=findNoCase("s",cityarray[Counter][1])>
        <cfoutput>
        City: #cityarray[Counter][1]#,
      State: #cityarray[Counter][2]#,
        Code: #cityarray[Counter][3]#
        </cfoutput>
       <cfif sPosition GT 0><!--- Just display the exclamation mark--->
        <cfelse> <!--- Add whatever you like, or nothing, here--->
        (no 's')
        </cfif>
        <br>   
    </cfloop>

  • How to add -Select- as the first value in dropdownbox?

    Hi All,
    I am having a dropdownbox with the set of values. I need to add -SELECT- as the first and default value. Please do advise how to achieve this.
    Code and screenshot below.
    var oModel = new sap.ui.model.odata.ODataModel("../../services/admin/typesTable.xsodata/", false);
    var oSort = new sap.ui.model.Sorter("ID", false);
    var lblType = new sap.ui.commons.Label();
    lblType.setText("Type");
    var ddbType = new sap.ui.commons.DropdownBox();
    ddbType.setRequired(true);
    var oItemTemplate = new sap.ui.core.ListItem();
    oItemTemplate.bindProperty("text", "NAME");
    oItemTemplate.bindProperty("key", "ID");
    ddbType.setModel(oModel);
    ddbType.bindItems("/TYPES", oItemTemplate, oSort);
    lblType.setLabelFor(ddbType);
    oChildLayout.createRow(lblType, ddbType);
    Thanks in advance
    Aravindh

    Hi,
    Refer this discussion on exact requirement empty/"all" entry in DropdownBox with OData model - cleanest solution
    Regards,
    Chandra

  • How to add business logic before populating the read only tables.

    Hi All
    Could you please suggest something for the following requirement:
    I want to populate read only tables from the data control pallete(Based on VO) into the jsff. But Before populating the table I want to add conditions based on what the data should appear in the table.
    For e.g:
    There is a VO fetching the completed and pending tasks by the user. Only one VO is there to fetch the tasks but different tables are used to show the pending and completed tasks..I have created the bind variable for the task status.
    Shall I need to add business logic in the backing bean for jsff which is having the setter and getter for the tables.
    Regards,
    Kanika

    Hi,
    why don't you specify ViewCriteria on the View Object you use and use a bind variable to filter the table data? You can apply ViewCriteria in the AM data model so that they only show e.g. completed tasks, or you can assign a view criteria that uses bind variables, in which case the table is filtered dynamically by the value of the bind variable, or you use Java code to dynamically apply the View Criterias
    Frank

  • How to select each character of column value

    Hi All,
    How can i get each character separately of a column value in a select statement.
    LIKE i emp table if ename='Test' then i want
    a select statement that can give me the result like this
    T,e,s,t
    Regards,
    Anil R

    or this?
    SQL> create table mytable
      2  as
      3  select 'test' text from dual union all
      4  select 'a text, containing two comma''s (,)' from dual union all
      5  select 'a text ending with a comma,' from dual
      6  /
    Tabel is aangemaakt.
    SQL> select text
      2       , substr(regexp_replace(text,'(*?)',',\1'),2,length(text)*2-1) with_commas
      3    from mytable
      4  /
    TEXT                               WITH_COMMAS
    test                               t,e,s,t
    a text, containing two comma's (,) a, ,t,e,x,t,,, ,c,o,n,t,a,i,n,i,n,g, ,t,w,o, ,c,o,m,m,a,',s, ,(,,,)
    a text ending with a comma,        a, ,t,e,x,t, ,e,n,d,i,n,g, ,w,i,t,h, ,a, ,c,o,m,m,a,,
    3 rijen zijn geselecteerd.Regards,
    Rob.
    Message was edited by:
    Rob van Wijk
    Slight modification to cater for strings beginning and ending with commas.

  • How to add spaces to the column value to make it up specifi length string please

    Hello There,
    Could you please guide me here to solve this issue,
    in my column (named as State) contains values as below
    California
    Washington
    Utah
    Connecticut
    Massachusets
    in the output how can i add a spaces to make up every column values as 15 length (for ex, Utah is 4 length then need to add 11 spaces, California is 10 would like to add 5 spaces)
    i tried below but no use in Sql 2008 R2
    SELECT  distinct state
       state
    +SPACE(35-len(state)),
    len(state+SPACE(35-len(state)))
    FROM dbo.ordersInfo
    Thank you in advance
    Milan

    Fixed length CHAR(n) data in SQL is automatically padded with spaces. Either change the column's data type or cast to it. Also, the ISO-11179 rules are that the column should be "state_name" and not just the root attribute "state" -- state_code, state_population,
    etc are a few of the confusions you created. 
    Another rule of RDBMS is that we do not do display formatting in the data. That is what presentation layers do. Why are you trying to fake COBOL in SQL? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to add a list box with values for a ztable in SM30

    Hello Gurus,
                    I had created a table maintenance for Ztable and added many extra functionality to that. Now i would like to add a list box or check table for a field. Can i do that with out Regenerating my table maintenance. Please help me its..very urgent.

    Have referred this domain to the data element, this should be the Field type in ur table for the particular field.
    Eg: <b>SE11 > table name > fields-ZTEST > fieldtype-ZZTEST</b>
    ZZTEST in the data element > create a domain for this data element and in that specify teh value range.
    Save and activate it.
    Make sure that u regenerate teh table maintenance generator else u cant see the changes.
    Now if u press F4 u can see only thevalues specified, also u will see only the list box with values in SM30.
    Try this,please let me know if u face any difficulties.

  • How to add attribute in a formula ?

    Hi gurus,
    I am creating a query and face this problem. I need to use an attribute in the formula builder to create a new formula. Is there anyway we can bring attribute to the formula operands...Any help is greatly appreciated.
    Thanks
    uan

    Hi,
    Can you please tell me the procedure .I have one navigational attribute( amount) associted with company code. I want use this in formula to multiply it with other key figure.
    Thanks &Regards,
    JO

Maybe you are looking for

  • Characters Standart between Pc and Mac

    Hi, My application which is parsing html pages and output some part of this pages has no problem to manage the different charset when used on a PC with J2re 1.4.1 . But this application used on a Mac Os X with J2re 1.3 output many wrong characters ev

  • Copy iphoto 6 library intact to separate laptop with iphoto 8?

    This is my first post, hopefully not a stupid one. I have an imac g5 with 17,000 photos in my iphoto 6 database. photos are totally categorized into hundreds of separte folders for real estate purposes. I want to buy a new macbook pro with iphoto 8.

  • Error while installing and launching iTunes

    Hello Windows XP Professional, version 2002, SP2 Just bought a new iPod 60G, but can't make it to install iTunes either from the iPod installation CD or iTunes6 from apple site. The installation goes all the way but when I hit 'finish' it send an err

  • Cash Sales other other scenario with user exits

    Hello Experts, I am trying to learn more examples of Cash Sales , Returns order processing scenarios especially where user exit is used to enhance the functionality. Kindly provide a simple example to illustrate why and how which user exit is used an

  • Help: In Finder, "Applications" in left sidebar doesn't work.

    Very weird. In Finder, "Applications" in sidebar doesn't work now. when I click it, it popups a dialog says "no default applications specified to open document 'Applications'" and no app displayed. And if I right-click it and select "get info", it sh