How to Include a KF which dispay serial no of the records

Hi,
I had 52 rows in my report (each represent week (restriction)
My requirment i need to include a formula in Columns which will be like a serial no....1...52
Basically it should display 1 for row1,2 for row2....35 for row 35 and 52 for row 52
How can i achieve this

Try Calculated KF with some keyfigure in it, use count in aggregation and you may try cumulated also for result.
Depending on the other keyfig definiton and report you should acheive it.
Try to get a vlaue 1 using formulas and then in the aggregation use cumulated for 'single vlaue' and 'count of all' in result.
Edited by: Gopi Eriki on Jul 1, 2009 12:50 PM

Similar Messages

  • How to handle user preference which has "_" and " " in the name

    Hi Experts,
    I have a question how to handle value which has like "_" and "space" etc in user preference.
    If setting "a_b-c d", I could not retrieve this because it's escaped in database.
    So this code can't get value even though I can set it.
    Is there any restriction of name? Is there any documentation how to code user prefernece which has non alphabet and number in the name?
    I know it's possible to handle the data like adding escaped data. But I don't think this is the best way to retrieve the data. Because nobody confirm it's not problem in the future.
    Could you tell me the best way to get these user preference?
    Thanks in advance,
    Masaaki Tada
    Here is a sample.
    <%@ page contentType="text/html;charset=Shift_JIS" %><%@ page language="java" import="com.plumtree.remote.portlet.*, com.plumtree.remote.prc.*, java.util.*" %>
    <%
    /** * UserInfo - Simple Page * Display User Information*/
    // VariablesIPortletContext oPortletContext = null;IPortletRequest oPortletRequest = null;IPortletUser oPortletUser = null;IPortletResponse oPortletResponse = null;IRemoteSession s;IUserManager oUser;
    /* Get Portlet Objects */
    try{oPortletContext = PortletContextFactory.createPortletContext(request, response);oPortletRequest = oPortletContext.getRequest();oPortletUser = oPortletContext.getUser();oPortletResponse = oPortletContext.getResponse();} catch (Exception e) {oPortletContext = null;oPortletRequest = null;oPortletUser = null;oPortletResponse = null;}
    String val = oPortletRequest.getSettingValue( SettingType.User, "a_b-c d" );String hoe = oPortletRequest.getSettingValue( SettingType.User, "abcd" );out.println( "a_b-c d: " + val );out.println( "abcd : " + hoe );
    oPortletResponse.setSettingValue( SettingType.User, "a_b-c d", "aiueo" );oPortletResponse.setSettingValue( SettingType.User, "abcd", "bbbb" );%>

    Plumtree recommends that user preference names have only alphanumeric characters in them (a-z, A-Z, 0-9). Any non-alphanumeric characters will be encoded by the EDK.
    I strongly suggest that you change your user pref name to something that's alphanumeric. However, if that is not possible, you can use the following workaround: in the web service editor, enter the encoded name for the user pref. There are several ways to get the encoded name.
    One way is to encode the pref manually, yourself. Plumtree uses the %u encoded format: each non alphanumeric character is converted into %uxxxx, where xxxx is the Unicode representation of the character. For all ASCII characters, just look at the ASCII hex chart. For example, character "-" has a hex value of 2d. So, a preference name "jane_pref" would be encoded to "jane%u002dpref", and you'd enter the latter value on the preferences page in the web service editor.
    The other way to find out the encoded value is to set a preference programmatically and use the HTTP tunnel tool to look at HTTP traffic between the portal server and remote server. The remote server will be sending a HTTP header to the portal server (the header name will probably be CSP-User-Pref) and inside the header you should see the pref name, encoded with %u. Just copy it out of there and into the web service editor.
    Hope this helps,
    Jane

  • How can I find out which apps I have in the cloud

    I bought a new 5s and have been downloading apps I had previously on my 4s. When I search for apps I already had, there is a cloud icon when the "buy" icon usually is, and I am able to download them with ease. However, I know there are many more apps I that I had whose names escape me. How can I see a list of which apps are available in the cloud so I can pick and choose which ones I want to download again, rather than racking my brain trying to remember all of the apps I previously had?

    Hello sundayss,
    The following article provides steps for downloading your past purchases from, not only the App Store, but also the iTunes Store.
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    Cheers,
    Allen

  • How to get a connection which does not participate in the main usertransaction

              Hi All I am on WLS 6.1 sp2 on win2k. I have a requirement which is like this: I
              use connection pools/txdatasources/JTA in my application. Now when a JTA transaction
              (UserTransaction) is active - I want to take a connection from the pool and do
              some operation and commit it independently of the UserTransction commit/rollback.
              Its pretty much like this - 3 components A , B, C (none of them are EJBs) are
              involved in a UserTransactions and all of them access database via a TxDataSource
              (say TD) which points to a connectionpool (say CP). Now I want B to get a connection
              handle which is not participating in the main transaction - so that the operation
              that B does is independent of what happens to the main transaction. Now I know
              I can use TransactionManager api to suspend a UserTransaction and then let B take
              a connection from the pool and commit it and then resume the transaction. But
              is there any easier way out of it? Like if B uses a DataSource instead of a TXDataSource
              - will that give B a connection which is not part of the main transaction? if
              not then whats the difference between DataSource and TXDataSource? Any help is
              appreciated.
              thanks
              Anamitra
              

    I would recommend that you mark the method as NotSupported or
              RequiresNew rather than using DataSource or suspending/resuming
              transactions on your own.
              If anything, it will be much clearer to the next person who maintains
              your code.
              -- Rob
              Anamitra wrote:
              > Hi All I am on WLS 6.1 sp2 on win2k. I have a requirement which is like this: I
              > use connection pools/txdatasources/JTA in my application. Now when a JTA transaction
              > (UserTransaction) is active - I want to take a connection from the pool and do
              > some operation and commit it independently of the UserTransction commit/rollback.
              >
              >
              >
              > Its pretty much like this - 3 components A , B, C (none of them are EJBs) are
              > involved in a UserTransactions and all of them access database via a TxDataSource
              > (say TD) which points to a connectionpool (say CP). Now I want B to get a connection
              > handle which is not participating in the main transaction - so that the operation
              > that B does is independent of what happens to the main transaction. Now I know
              > I can use TransactionManager api to suspend a UserTransaction and then let B take
              > a connection from the pool and commit it and then resume the transaction. But
              > is there any easier way out of it? Like if B uses a DataSource instead of a TXDataSource
              > - will that give B a connection which is not part of the main transaction? if
              > not then whats the difference between DataSource and TXDataSource? Any help is
              > appreciated.
              > thanks
              > Anamitra
              

  • How to pass values for compound primary keys for updating the record in db.

    i have a entity bean in my ejb with two primary keys to it...eg. roleid,rolename...
    when iam retriving the record i use only one primary key ...so again to modify and update he same record which i retrived is a pbm..
    i cannot set the values for the compoundpk,,,
    but i can do the update for the bean with single primary key..
    i need to know how to pass the values/parameters for the coumpound primary key in my update method...
    thanx in advance...
    Arjun.G

    I istantiated a object for the pk class and assign the values for the primary key fields...
    Arjun.G

  • How do you do a manual click off to start the recording

    So, at my work, I play piano for dance classes, and the instructor usually gives me 4 or 8 or so counts before everyone starts dancing. When I want to record to the metronome, I need the count off to be in time with what the instructor says, but making sure that that is so can be difficult because sometimes they count off at different tempos. So! If there is a way to manually press the 4 clicks that would determine the tempo before the recording starts, I would really want to know it. I know you can do this on many keyboards, but I don't know about Logic. I assume there is a way since it seems like Logic has everything.
    This is a different question, but nonetheless important: So is there a way to get a visual metronome click instead of just the sound clicking when I'm recording? Because many times I record the music as they dance, so when I want to stay with the metronome to be able to add layers layer, I need to keep the metronome clicks on. But having those metronome clicks can be annoying, so is there any way to get a visual blinking light or something?? Thanks for the help.
    If you want to see some of my work on Logic, check it at: bufjap.blogspot.com I'm an aspiring movie music composer.

    Hi B,
    Welcome to the forum!
    well, a very simple way to do it, is:
    load the Klopfgeist (metronome "sound" click generator) as a soft synth
    (yes in a track) with the pencil tool click on a track to create a region, double click
    to open the piano roll, and write how many clicks you want on the grid.
    On the transport bar, Just under the denominator (say 4/4) is the Division that goes
    from 4 to 192 (click and drag up or down with the mouse) this value determines
    the number of divisions per measure, so you have enough!
    As the Klopfgeist is a soft synth per se, you can customize a lot from tonality to level or even load
    some presets (actually about 10) or make the downbeat one or more octaves higher than the
    other clicks etc. .
    This seems a long explanation but takes about 10 seconds to make.
    Peace,
    Jorge

  • How to include Search Help which has been created using SE11

    Hi all,
    I have created the custom search help in SE11. What is the way to include it in my code? Thanks in advance.

    Hi Mil,
    There are different ways of using the search help created by SE11 depending on the kind of application you are using.
    1. Search help can be attached to a <i><b>DATA ELEMENT</b></i> under the tab <i><b>FURTHER CHARACTERISTICS</b></i>.
    Now wherever this data element will be used, automatically the search help will be available on the output screen. e.g. in selection screen using parameters statement etc.
    <i>PARAMETERS: P_VAL1 TYPE Z_DATAELE.</i>
    2. Search help can be also attached to <i> database table fields</i> directly in the tab <i>Entry help/check</i>. Now wherever this database table field is used e.g. in SELECT-OPTIONS statment, the search help will be automatically available on output selection screen.
    3. Also, search helps can be directly used in the programs using function modules and event.
    <i><b>PROCESS ON VALUE-REQUEST.
      FIELD <f> MODULE <mod>.</b></i>
    Here in the module, you can use following function module for fetching the search help on the screen.
    <i><b>F4IF_FIELD_VALUE_REQUEST</b></i>
    4. Search help can be direclty attached to the selection screen statements like SELECT-OPTIONS using MATCHCODE object extension
    <i><b>SELECT-OPTIONS: LP_STATS  FOR TJ30-ESTAT MATCHCODE OBJECT ZH_TJ30 NO-EXTENSION NO INTERVALS.</b></i>
    Hope this sort out your issue.
    PS If the answer solves your query, plz close the thread by rewarding each reply.
    Regards
    Message was edited by:
            Sapna Modi

  • How to Include in Customer Exit to select max of the date

    Hi,
    Every Employee will have a health Insurance Policy which is valid for 6 six months.
    From Source System i am getting
    Employee and his policy Start date,Based on Policy Start Date in Transformations i am calculacting the Policy Expiry date (Policy Start date + 6 Months)(Ex:If Policy Start Date is 01/Nov/2007 then Exp date is 01/May/2008)
    My report is to Show employees who doesn't had a valid policy on the day report executed (Sys Date)
    For that i created a Customer Exit Variable on Policy Expiry Date
    (If Policy Expiry date is < Sys Date)
    IF i_step = 2.
          CLEAR l_s_range.
          l_s_range-low = sy-datum.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'LT'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    Problem:
    Data in the cube
    Employee--Policy Start date-Policy Expiry Date
    1--01/01/2008-----30/06/2008
    1--01/07/2007-----31/12/2007
    1--01/01/2007-----30/06/2007
    When i execute the report i should expect the Emp 1 shouldn't be displayed as he had valid policy which is going to expir in June 2008....but the above exit is displaying the below 2 records
    Can i include any changes in the above exit that will select the Max Policy Expire date and then it will check with the Sys Date
    Please update me on how to proceed
    Thanks

    Hi thomos,
    Thanks for the update
    Bit Confused.....could you please explain me
    "Your variable (intervall) should be based on the Policy Expiry Date
    l_s_range-low = '10000101'.
    l_s_range-high = 'sy-datum - 1.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'
    How this is going to solve my problem....
    As i got 3 records on a employee one of which got expiry date greater tha sys date
    Thans

  • How can I find out which DLL version is on the end-user's computer?

    I'm working on an installer program and I was wondering how I can find out what version of a DLL is on the end-user's computer, furthermore I would also like to find out if the file is locked in memory. Is there a way to do this? I figured natively there wouldn't be but does anyone know of a C++ wrapper or so?

    I'm not aware of any way of seeing the list. Have you had other computer's in the past and/or updated the OS on your current computers without first deauthorising them ? Deauthorising all (which you can only do once every 12 months) won't remove any content from those computers, it just means that you won't be able to use the account's content on a particular computer until you've reauthorised that computer

  • How to skip dialogue box which ask you to confirm the operation when your used labview to send an e-mail from Outlook?

    I'm using Labview to send an e-mail from outlook and everytime I got a dialogue box which inform that a software is trying to send an e-mail. To send this e-mail I have to confirm operation. How can I avoid this dialogue box ?

    I don't know what code you're using but the attached VI works with my version of Outlook and doesn't have any pop-up messages. I downloaded it from somewhere a while ago but don't remember where it was from.
    Attachments:
    Email_sender.vi ‏54 KB

  • How to find which program or tcode updated the records in standard databas

    Hello Friends,
    I want to know the program name or tcode which updates a particular database table.
    In my case, when we create new sales order, the so#, matnr, plant, material qty etc... are getting updated in the standard table S680 (BOP Open Order Stats table). I tried to debug the VA01 tcode while saving the order and not able to find where and which include is used to update S680 table. Please can you help me in this regard.
    Thanks,
    Shreekant

    Hello Shreekant
    Have a look at thread can we get  all tables for particular to code
    It does not adress the question TABLE -> Tcode but answers Tcode -> TABLES.
    Regards
      Uwe

  • How to cancel/delete SO which has a PO, but the PO has archive

    Dear,
    I have a SO with PO. I want to cancel the SO. The PO has been archived ,but I still can't delete the SO.
    From the document flow, The PO is exist although PO is been archived.
    How to reslove the question, thanks.

    Hello,
    Are you sure that the purchasing document was archived?
    In order to check if sales documents can be archived you Could use the program S3VBAKPTS (Preprocessing step for the archiving object SD_VBAK)
    In the selection screen specify as selection parameters the sales document, the tick all the checkboxes.
    I had a look at the source code of the ABAP program S3VBAKPTS in routine that performs the archiving check of the sales documents vs. purchasing documents.
    If a purchase order exists in the sales document flow, then the program checks if it exists in the database table EKKO . If itu2019s true, you cannot archive the sales order.
    Thus, if the purchase order was archived, it should not exist in the database and then the sales document might be archivedu2026
    Maybe  you only launched the pre-processing program for the archiving object  MM_EKKO, which sets the deletion flag only, but doesnu2019t delete the purchasing document from the database.
    Please could you verify?
    Regards,
    Andrea

  • How do I find out which app is transferring all the data?

    My daughter is approaching her data limit and I'd like to find out which app(s) are responsible for the bulk of her data transfers.  If I go to Settings -> General -> Usage, I see a list of apps.  The right column is labeled "App Data", but the User's Guide says that this column shows "(e)ach installed app’s total storage space".  I can't find any indication of how much data each app is transferring.  Any ideas, anyone?  Thanks in advance for any information you can give me.
    - mb

    the problem could be something loaded in the Login Items list in System Preferences > Accounts but I have gotten rid of all those.
    A question, did you just uncheck them or highlight them & click the little minus icon? Do they still show in the list? I'm not sure, but I don't think it takes effect until you restart.
    Should anyone else come across this - the message is typical of not having the proper version of Pro Tools installed for the OS version being used.
    In this case, the minimum Pro Tools version supported on OS 10.4.10 is 6.9.2 (or 6.8.1 with certain Digi hardware devices).
    http://duc.digidesign.com/showthread.php?t=226330
    See also...
    http://duc.digidesign.com/showthread.php?t=139150
    http://duc.digidesign.com/showthread.php?t=138097
    http://www.macosxaudio.com/forums/viewtopic.php?f=26&t=40980

  • HOW TO INCLUDE a LITTLE LOGO of your site in the browser bar

    All the website are having their logo appearing in the browser bar at the left hand side. I would like to incorporate a little logo to my website ( www.buscapartamentosbogota.com).Does anyone know how?

    Those little icons are called "favicons". Here's a link on how to create them: http://www.photoshopsupport.com/tutorials/jennifer/favicon.html

  • How to create a role which contains few query for the user

    Hi,
    I need a create a role in the security which should contain few custom BI queries and then assign the users to the role.
    Even I have to assign the vendor to their unique vendor number in the security perespective for the created BI Reports.
    Thanks!!

    Try this link  http://www.sapecc.com/bw_security/bw_security_newquery.htm

Maybe you are looking for

  • Firefox and Safari won't open

    I updated my mac a couple days ago and now nothing works.  Safari and Firefox the wheel just spins.  Chrome shows me the page then freezes and saids unresponsive.  Mail works.  Can not open system preferences.  Have rebooted 5 or 6 times.    Was wond

  • Error while creating database user with first.lastname pattern

    I am trying to user the database user management connector to create oracle database user, but when i use first.lastname pattern as the database username i got an ora-01936 ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],oracle.iam.connectors.dbum.common

  • Is there a Varamozhi editor for Mac

    following http://m10lmac.blogspot.in/2012/05/bug-in-apple-malayalam-fonts.html I read somewhere that I can install a VaraMozhi editor for Malayalam for mac. But after repeated searches, am able to reach at MS VaraMozhi only. Any idea?

  • I have a vi that will not let me make many edits before it crashes.

    I have been working on a data acquisition program for over a year. Over time it has grown and become more and more complicated. Now the vi will no longer let me make substantial changes. After making edits, when I click, save, LabView crashes. There

  • Msi GTX 760, Multi-Screen, HDMI Color accuracy way better then DVI

    Hi, I'm using two HP Pavillion 23xi screen. At first, I decide to connect one screen using the HDMI output of the video card, and the other one using DVI. There was an astonishing difference between the two. Ok, maybe the screen is the problem. So, I