Different format template for each amount column?

Greetings.
Is it possible to assign diffrent format template for each amount column in Excel workbooks?
I'll explain a bit more specific.
Suppose there's a BW report to Excel as below.
      column1   column2   column3
row1 111,111   222,222   333,333
row2 111,111   222,222   333,333
row3 111,111   222,222   333,333
All columns are amounts, so the assigned format templates are all 'SAPBEXstdData'.  Here, the needs is that each column have the format of their own, such as 'Centered, large font size, bold, red color, etc'.
I found out in SAP help portal that I can create workbook templates which include custom format templates, such as OurColumn1Template.  I also found I can use the workbook templates when opening BW queries.  But it doesn't seem possible to automatically specify format template OurColumn1Template is for column1 when creating a new Excel report from BW query or refreshing a query from a Excel report.
How I can control which format template is assigned for which column? No way?
By the way, we are on BW3.5.
Thank you,
T.Yamagiwa

Oh my, I found out! It's easy, in a sense.
We use MS Office 2003, so in the first place we need to change security setting about macro, by the SAP note below.
Note 574596 - BEXAnalyzer SAPBEXOnRefresh is missing on Office XP
https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=574596&_NLANG=E
Now that we've got SAPBEXOnRefresh module in a newly created Excel workbook, the rest we need to do is copy the SAPBEXOnRefresh module to the existing workbook, then code the module, like below.  (this is only doing left-justification)
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    Columns("I:I").Select
    With Selection
        .HorizontalAlignment = xlLeft
    End With
End Sub
I should have search the forum more carefully...hope somebody will find this post kind of useful in the future.
Regards,
T.Yamagiwa

Similar Messages

  • Can someone upload a photo of their itunes tv shows with multiple seasons? I am wondering if you get different artwork background for each season of that show.

    HI,
    I have upgraded to iTunes 11. Its good. Few bugs but good. Anyway, i have quite a few tv shows with multiple seasons. YOu know how album artwork in music has a theme for each album when you open it.... Is it the same for the differnt seasons in a show? I know a show has a theme but like there is different cover art for each season but only the first season cover art themes for the entire show. Is that how they all are or just mine. If so how do i fix it. Its not really a big deal but it is annoying me alot.
    Thanks

    Actually, for me, it displays the artwork for the second season of the show I have. This is because that season has the highest amount of high star-ratings for its episodes over the rest of the seasons. If you don't give ratings for your episodes, then it probably chose the first season by default. I think episode length also plays a factor, like it shows the artwork of the longest episode or something if star-ratings don't make a difference.

  • How to activate a different sub-report for each row in the data set as main report page breaks on each row of data in the main dataset

    I am going to try asking this same question a different way as I have yet to find a working solution to my problem.  I have a main report and then 8 sub reports.  My main report has one data set and returns one row of data per account number.  One
    of the fields in the main data set is called AccountProf.  My main report displays one page per Account number and then calls a different sub report based on that account's AccountProf value.  The sub reports take in the account number as a parameter
    and get multiple rows of data to display that accounts usage formatted differntly for each AccountProf (hence the 8 different sub report.  
    So far I can figure out how to do everything but setting the visibility property of each sub-reports when I have multiple accounts.  If I use the following expression for the visibility property on each sub report, it makes all the applicable sub report
    for all the accounts requested visible at once:
    =IIF(Fields!AccountProf.Value= "USE_PLUS_DMD",False,True)
    *The value in bold USE_PLUS_DMD  is different for each sub report.
    Here is a look at what the main report look like:
    Here is the main reports data set:

    Hi JasonDWilson77,
    According to your description, there is a main report and 8 sub reports in the report, you want to set visibility of sub reports, if no value is passed to the parameter of sub report, the sub report will not be displayed. If that is the case, please refer
    to the following steps:
      1. Create a new parameter named NewAccountNumber, set its data type the same as @AccountNumber, select Allow multiple values, set Visibility to be hidden, then set all available values to default values.
      2. Right-click the first sub report and open Subreport Properties dialog box, click Parameters in left pane, set name to AccountNumber, then click (fx) button, type the expression like below:
    =Parameters! NewAccountNumber(0)
      3. Click Visibility in left pane, select Show or hide based on an expression, then click (fx) button and type the expression like below:
    =IIF(InStr(Join(Parameters! AccountNumber.Value), Parameters!NewAccountNumber.Value(0))>0 , false,true)
      4. Modify parameter of other sub reports like step2.
      5. Set visibility of other sub reports like step3.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Open Item interest calculation with different exchange rate for each line

    Dear All
    We have a short term loan facility with our Bank. We take short term loan with bank on different terms and condition. Now user has requirement to have different interest rate for each open items depending on the posting date or any other condition. I think in SAP for one bank account only one rate is applicate for validity from date.
    Can someone share his/her experience if got the same requirement from user
    Thanks and Best Regards
    Farhan Qaiser

    Dear Ashwin,
    As of overdue days are concerned there is no standard functionality available whereas there is for amount.
    Better solution is that you get an ABAPer create your own functional module. That will help you in better way.

  • How to have separate template for each role in OIM

    Hi,
    We have multiple roles on a multiple AS400 boxes. In OIM we need a separate template for each role that has to be popped up during provisioning. How do we achieve this in OIM?
    Pls help me with the solution.
    Edited by: user8963056 on May 23, 2010 7:47 PM
    Edited by: user8963056 on May 24, 2010 9:47 AM

    Thanks for the reply
    for the second question; we need on the basis of role these forrms will have different informations.
    the AS/400 guys wants the below steps to be done on OIM side
    They want to make sure below plan works with OIM plan.
    1.Per System, create templates per role.
    2.Update the AS400 User Request form to include a section for each system. Add templates for each role to each system’s section.
    3.Provide ITSA with a menu option to create profiles by selecting the template they wish to copy.
    4.Create backend programs to automate additional 400 tasks required per role.
    a.Create directory entry
    b.Add to Privilege Manager
    c.Add to Menu System
    d.Add to third party software
    e.Other as required.
    If we automate the above on the 400, in OIM , we would need to create the same templates.

  • Is it mandatory to populate USER_SDO_GEOM_METADATA for each spatial column ?

    Hello,
    I would like to know if we HAVE to populate the metadata table for a geometry column that will never be indexed.
    (I know that in the documentation it is said "For each spatial column,
    you must insert an appropriate row into the USER_SDO_GEOM_METADATA view.")
    Thanks
    Hugues

    Hi Hugues,
    There are many spatial operations that make use of the user_sdo_geom_metadata table, not all of them index related (operators).
    If your data hasn't been migrated to 8.1.6 format then not much will work if user_sdo_geom_metadata is not populated.
    If your data is migrated:
    You won't be able to validate your data (we check the data to the bounds of the coordinate system).
    You won't be able to use linear referencing (also known as dynamic segmentation).
    You won't be able to use any spatial operators (which require a spatial index).
    You won't be able to use coordinate systems (or least some parts of coordinate systems).
    The above might only be a partial list.
    hope this helps, and regards,
    dan

  • How do I set up different icloud accounts for each family member and make them able to access them on our common mac using their user name on the mac.  I am doing this to make sure kids don't get access to our messages.

    We have several apple products in the family.  I would like to set up different icloud accounts for each memeber.  I lately noticed having activated different devices with same icloud account that each device can access everyones messages by going in their settings and clicking which number or email they want to use to see messages.  Let me make sure I am understood, on my sons ipod in his messages settings he can switch to my cell number and see all my messages.  Re setting the devices isn't my great issue but can i set up each kids user account on my mac to their individual icloud accounts?
    Thanks!

    Any devices connected to the same icloud account can sync all the data on that account.  For this reason an icloud account is really for a single user.
    On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud).

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • HT5622 How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    How do I change the Apple id against a certain telephone number?  I have two iPhones and wish to use a different Apple id for each and confused as to how I do this?

    Create a new Apple ID for the second phone. If you are setting the phones up as new phone enter the ID you want to use on each phone.
    If both phones are already signed in to one Apple ID then use the settings app to change Apple IDs on one phone.
    Settings > iTunes and App Store > tap on the Apple ID > sign out > sign in with alternate Apple ID.
    Note that if you have downloaded apps with the original Apple ID on the phone with the new Apple ID, those apps will still be associated with the old Apple ID and will require the old ID and password in order to update them.

  • HT204053 Do I need a different Apple ID for each of my Apple computers?

    Do I need a different Apple ID for each of my Apple computers?

    Welcome to the Apple Support Communities
    If all of those Macs are for your use, you have to use the same Apple ID on all of them, so you will be able to use all the applications and songs purchased with your Apple ID on them, apart from your iCloud information, in case you have an iCloud account

  • Do I need a different apple id for each device? I have two iPads and an iPod but can only purchase things on the first one. When I go to verify the questions they say they are wrong.

    Do I need a different apple ID for each device I have? I have two iPads and an iPod but I can only make purchases with the first one I purchased. It tells me the security questions are wrong but I know they are not because I wrote them down. I have also reset them and my password once. Please help if you can

    You can not login into iTunes or the App Store using VPP credentials. You must purchase all apps/book/etc.  from the VPP website. Then you can redeem the codes thru itunes/app store or import the codes thru apple configurator. Here is the url for the VPP website: https://volume.itunes.apple.com/WebObjects/MZFinance.woa/wa/login?cc=us
    (It will not affect any of the apps you already have but the id can only be used for VPP.)
    Cheers,    
             Alec

  • Allow a different input source for each document

    I just received my new MBP and am really happy about it. I'm a switcher so apologies in advance if this question is silly...
    I use both Swedish and English keyboard maps. I can switch between them using a shortcut which is fine. However, in the International settings I thought "Allow a different input source for each document" would mean that the input source I use for a specific application will be used as long as the application is running and I don't change it, no matter what source I use in other applications.
    For example: I have the English input source as default. Then I open text edit and change the source to Swedish and start typing. So far so good. I then change to another application...
    Ok, it seemed that I might be able to answer this myself... as I test I noticed the following:
    If I start typing using a source in an application THEN the source is retained. If I just switch to an application, change its source the source is NOT retained and will take the previous one.
    Now this is all and well as long as the application you are using actually presents you with a text area to write in. But there are many applications where this is not the case (where you open windows to type text). A really good example is an IM client. Lets say Skype for example (yes I know.. iChat). Until I actually start a chat there is no text input window (well there is one..) which means that it will pick up whatever source was used previously. If I keep all the chat windows open thats fine but as soon as I reopen a windows I might be forced to change the source again
    I hope I haven't overcomplicated my question which is simply what to expect when "Allow a different input source for each document" is used (I know it doesn't say "application" there and that might actually be a hint
    Many Thanks for any comments

    It's not a silly question, but I don't think there is an answer either, as it's not clear exactly what that setting is supposed to do, or if it actually does something consistently for various different kinds of apps.
    If you have not already done so, check the box for "show input menu in Finder" in system prefs/international/input menu, so you can see which layout is active at the top right of the Finder.

  • Can we create different reservation no for each auto PR created through PS.

    Hi Gurus
    With reference to above captioned subject, can we create different reservation no for each auto PR created through PS
    Thanks in advance
    Regards
    Abhijit Sen

    Hi,
    The reservation number will be same for all the material components in one network.
    so as long as there are "n" components in one networks then all the "'n" components will have the same reference number.
    If you need different reservation numbers then need to maintain those components in multiple networks.
    Hope its useful.
    Reward points if useful.
    Thanks..

  • Different Year Ends For Each Venture in JVA

    Hi Guys,
    Can we define different year ends for each venture we create in Joint Venture Accounting Module of SAP IS Oil and Gas Solution. If yes how can we ? transaction code or path needed.

    This may be a good start. Display by Month Year the Average and Sum Dates between Start and Stop by Project.
    SELECT      CAST    (
            (CAST(MONTH(Start) AS varchar(2)) + '/01/' + CAST(YEAR(Start) AS varchar(4)))
            AS DateTime
        AS DatePeriod,
        AVG(DateDiff(day, Start, Stop)) AS AverageDaysToClose,
        SUM(DateDiff(day, Start, Stop)) AS SumTotalDaysToClose,
        Name
    FROM     Projects
    GROUP BY CAST    (
            (CAST(MONTH(Start) AS varchar(2)) + '/01/' + CAST(YEAR(Start) AS varchar(4)))
            AS DateTime
        Name
    ORDER BY DatePeriod, Name

  • Different mail alerts for each email account

    Just got the new Verizon iPhone. Used BlackBerry for years. One feature of the BB that I think is missing from the iPhone is the ability to set different mail alerts for each email account. For instance, I would like to turn off alerts for my corporate Exchange account (for which I get 100 emails a day), but receive alerts for my Comcast and Gmail accounts.
    Am I correct that there is only one on or off feature for the iPhone for all accounts?

    That turns the account off for receiving mail as you provided, which I'm fairly certain the OP is not interested in.
    The OP wants to be able to turn the new mail alert sound off for one account while leaving it on for another account while all accounts are still checked for new messages.
    For instance, I would like to turn off alerts for my corporate Exchange account (for which I get 100 emails a day), but receive alerts for my Comcast and Gmail accounts.

Maybe you are looking for

  • Mobileme

    OK, so i've just had a nice Sony A350 DSLR delivered and also got a trial of Aperture. I've referenced all my iphoto events over and all seems OK. I'm wondering now if I should fully migrate over to Aperture but cannot see a way of getting my mobilem

  • If Generic R3 Data Extraction does it all, why other extraction techniques?

    Hi, I am reviewing some documents about data extraction and I have a quick question. With 1. standard Business Content extraction and 2. Generic R/3 Data Extraction (which by definition, can be used to extract any data from R/3) why are there other t

  • HT3680 macbook drive is so full that finder won't run properly in order to delete any files

    MacBook Pro hard disk is so full that it won't start properly. Finder stops responding. Tried to install OmniDiskSweeper, but there isn't enough disk space to install it. Computer sometimes will boot in Safe mode, sometimes it won't Disk Utiility fin

  • How to uninstall CS5?

    I recently got CS6. But I left CS5 in my computer as a backup. Now I want to uninstall CS5 because I believe CS5 is the reason my CS6 programs keep crashing on me without offering to save my work prior to crashing. How do I uninstall CS5 completely,

  • Creating archive object

    Hello Friends, I want to create archiving object for statistical tables or tables starting with S namely, ie S9XX etc. Through transaction MSCX I am able to create the object but I also have to create field catalogues for retrieval process. I was dir