Aggregations with BAdI

Hello there,
I need to provide a solution through BAdI to copy data from an application to another, with almost the same dimensions. The only difference between applications it's the Time dimension.
In the source application, the lowest level I've it's day level (i.e. 31.12.2011 dim member, with 2011.JAN as parenth), and in destination the lowest level I've it's month level (2011.JAN, with 2011.TOTAL as parenth).
What I need to do, it's sum every day of the month, and put the entire value into 2011.JAN (the same for the remaining months of the year...)
Is it possible to perform this through BAdI? If not, what else can I do to solve the requirement?
Thanks in advance,
Best regards.

Well,
I'm trying to use *DESTINATION_APP in a SL from my application VENTAS, and here's the code I wrote:
*DESTINATION_APP=FINANZAS
*RENAME_DIM TIEMPO_DIA=TIEMPO
*XDIM_MEMBERSET TIEMPO=BAS(2011.TOTAL)
*XDIM_MEMBERSET VERSION=A00_REAL
*XDIM_MEMBERSET CONCEPTO=V01,V03
*XDIM_MEMBERSET SOCIEDAD=BAS(SO_PA_1000)
*WHEN TIEMPO_DIA
*IS *
     *REC(EXPRESSION=%VALUE%,TIEMPO=TIEMPO_DIA.MES)
*ENDWHEN
*COMMIT
Anyway, when I try to perform a "Validate and Save" operation, I get the following error:
Validation Error(s)
Unknown or unimplemented keyword "*RENAME_DIM TIEMPO_DIA=TIEMPO"
Also tried to remove all the code after RENAME_DIM line, and got the same message. When I validate the very first line only, i receive the following error:
Validation Error(s)
Application not compatible between "VENTAS" and "FINANZAS"
I'm under version 7.0 SP09, what's the problem with the code?
Thanks

Similar Messages

  • Error while transporting infospoke with BADI in BW7.0

    Hi:
    We have an infospoke with Transformation ( ie with BADI) in BI7.0.
    While transporting to Quality box it gives error.
    "Transfer structure /BIC/CZZTXXXXX3 could not be generated
    Error when activating InfoSpoke ZTXXXXX3.
    Message no. RSOH010 "
    Could you please help in rectifying the error.
    PS: we tried transporting BADI first and then the infosoke but still its failing.
    Regards!
    Saniya

    Hi
    Check the forum link below
    Transport Problems with Spokes that have BADIs
    Thanks

  • How to integrate USSD Aggregator with JMS from Brand mobiliser

    Please help me to come out of this problem (How to integrate USSD Aggregator with JMS from Brand mobiliser)

    Dear jeevan,
    Step 1: Login into Brand mobiliser
    Step 2: Under Work space Administration configure JMS channel manager.
    Step 3: Use work space outbound channel as JMS.
    Step 4: write JMS api to process inbound and outbound queues.

  • What causes ad-hoc to run with bad plan and its resolution

    One of our Company Application funcnalities uses the ad-hoc query that returns top first row from the result sets .There has been several times since this ad-hoc query ran with a bad
    execution in last 8 months .There is no specifice time and date or day when this query run with bad execution plan ,however whenever this query ran with a bad execution plan on SQL ,that happed always early in the morning , before 6am .The setting of database
    parameterization is set to forced .There is SQL maintenance reindexing job that runs each night at 2am that changes the recovedry model of our production database from Full to simple and changing back from simple to full after the reindexing operation .That
    causes the SQL plans to flush each night .The next day morning , when the application ad-hoc query runs on SQL first time , SQL generates a new plan for that query . Some strange reason , SQL genarates a good plan for that ad-hoc query most of the times ,but
    sometime this query picks up a bad plan .Whenever it happen,the application function becomes exetremly slow and it seems that the rest of the fuctionalities work fine meantime .
    Our application vender is aware of this issue and this issue will be fixed in the application next release .Developer is converting the ad-hoc query into stored procedure to fix this
    issue .Application new relase will not available for next 2-3 months ,meantime we still have to deal with the ad-hoc query bad execution plan issue . Usually ,when the ad-hoc query run with the bad execution plan , I retrieve the query bad plan and just remove
    the plan for that particular query from cache .Once the bad plan is removed from cache , the perfomance gets back to normal .
    As my understanding, this issue is related to parameter sniffing .but anyone thinks there are other factors responsible for this issue such as the network problem , the resource intensive
    report ran or something else .
    Has anyone have step by step troubleshooting steps that could help me with my investigation and what areas
     do I need to look into in order to investigate what could caused the ad-hoc query to pick up bad plan ?
    Any help will be apprecited .
    Daizy

    When we upgraded our Production Database to SQL server 2008R2 enterprise Edition. We ran into the transaction log file to grow too large during the reindexing job activities at night .To prevent the transaction log file to grow big , we had decided to change
    the recovery model of database from FULL to Simple before the reindexing job starts and the recovery model of Database is changed from Simple to Full after the reindexing job finishes . We also have the differential backup job setup right after the recovery
    model change back to full so the transaction log backup chain does not break.
    The transaction log chain breaks when you set the recovery to simple.
    Yes, if you take a diff backup, you can apply transaction logs from that point
    if the diff backup is good. If the diff backup is bad, you will lose all updates after you set recovery to simple. And, yes, when you hardware starts to deteoriate, you should not be surprise that the last backup is not good.
    Again, please stop setting recovery to simple, unless you have a very relaxed RPO in your SLA. Use bulk-logged recovery instead.
    By the way, you do take a t-log backup before you change the recovery mode, don't you?
     Changing the database recovery model does flush the SQL plans for specific Database. Please review this linkhttp://sqlblogcasts.com/blogs/steveh/archive/2010/09/02/changing-recovery-model-removes-plans-from-procedure-cache-for-a-database.aspx
    Hmmm. I don't have the time to verify this right now. Anyway, reindexing is good enough to flush the cache of most plans.
    I have pretty much all required info regarding this query , but what other areas or investigation do I need to do for the query parameter sniffing issue ?
    Have you researched what values the initial plan is sniffed for?
    As Erland said  adding space in query ,I don?t know adding space means just add additional space in the query so it hashes a different values .Please advice .
    Obviously, you need access to the application code. The other alternative is to set up an early morning job that runs after this first execution and which forces a recompilation; either by evicting this specific plan or more brutally runs sp_recompile on
    one of the tables in the query.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • OBIEE 11g - Aggregation With filter

    Hi all ,
    I have a reg where the condition to be applied in ONE COLUMN of a report is as follows
    select count(*)
    from (SELECT SUM(quantity),SUM(quantity_received) qty_rec ,SUM(quantity)-SUM(quantity_received) qty ,po_header_id
          FROM F_ERP_PO
          group by po_header_id)
    where qty > 0
      and qty_rec <> 0     
    .. I  have multiple columns in the reports with varying conditions
    I tried out in different ways but could not bring the answer since this condition is just ofr one column and the next column has other conditions.
    Kindly help me in simplifying this report . I am stuck with it for long
    Thanks in advance,
    Regards,
    Niv d

    Hi Chris,
    Thanks for ur response.
    I tried usinf FILTER() function in different ways. But I had a comparison like
    FILTER("F1 Facts"."Total Revenue" USING (sum("PO"."Quantity") = sum("PO"."Quantity_Recieved") )) .
    Here the error is like Cannot use aggregation with the USING clause .
    I even tried with, Filter based on another request feature , it throws an error saying 'cannot use multiple select clause '
    Any suggestions would be very helpful.
    Regards,
    Niv D

  • Modify fields on screen with BAdI?

    Hi,
    I want to modify/customize a screen (Shopping Cart in SRM) in a way that some fields are displayed, others not. Some people told me that this might be possible using a BAdI. As I have never worked with BAdI technology before, I hope that somebody here can help me a bit.
    - Where do I get good documentation on BAdIs?
    - Are there any pre-defined BAdIs for modifying screens or would I have to create a new one?
    In advance, thanks a lot for your help!
    Regards,
    Verena

    Hello Verena,
    To look for list of Badi, run transaction SE18. Then enter '*' with the dropdown. You can search Badis by the application hierarchy or by Badi name/description. Once you found the correct Badi, run transaction SE19 to create an implementation of the Badi you found using SE18. Are these sound familiar? Yes, SE18 is like transaction SMOD while SE19 is like CMOD in the User exit. Badi is replacing User exit-ie new enhancement developed by SAP should be in terms of Badi. However, this does not means old User exits going away. You still can use user exits provided by SAP.
    So when you are searching for enhancement that you can use to intercept SAP standard program, you can search by Badi (SE18) or User exit (SMOD).
    Badi or User exit are delivered by SAP for giving customer an opportunities to change a little bit the standard way SAP process. You can't simple create a new BADI, it has to be delivered by SAP. You can implement a Badi given by SAP.

  • SDP94 Hide Buttons with Badi /SAPAPO/SDP_INTERACTmethod FCODES_EXCLUDE

    Hello,
    The Promotion Planning in transaction SDP94 contains buttons for removing objects from the Promotion (fcode PM_CUT and fcode PM_CUT_ALL).
    Problem: The user should not be allowed to add or remove objects (materials) to the promotion.
    It works to remove the buttons for assigning objects (PROM_OBJT or PROM_MOBJT) but it ist not possible to remove the buttons for removing the objects (fcode PM_CUT or PM_CUT_ALL).
    I tried it with BadI /SAPAPO/SDP_INTERACTmethod FCODES_EXCLUDE
    can anyone help me? Thanks
    bernhard

    hello,
    thanks for your answer,
    with the authorization object C_APO_PROM i can only prevent a user completely from changing a promotion. But the goal is that the user can plan data in the promotion, but he should not be allowed to add or remove objects (materials).
    Therefore the only thing i want to do is setting some buttons inactive.
    it is possible to set the buttons for adding objects inactive, but ist ist not possible to set the buttons for removing (PM_CUT) inactive.
    any ideas?

  • I want to enhance customer(XD01) with BADI screen

    hai sap-abap gurus
    I want to enhance customer(XD01) with BADI screen to populate custom fields and store its information. can anybody tell how to find out proper BADI for screen enhacement ? and how to Implement?
    pls tell me the detailed steps?

    Hi,
    1) Use the BADI's CUSTOMER_ADD_DATA & CUSTOMER_ADD_DATA_CS.
    CUSTOMER_ADD_DATA -This BADI used to activate the screen group and checks for account group
    CUSTOMER_ADD_DATA_CS -This BADI used to include the custom screen.
      2)Your code group need to be configure in SPRO before doing the work.
    Regards
    Kiran Sure

  • Rendering error message with "Bad TV" effect

    Hi Everyone!
    I am receiving a error message when rendering: "the effect "bad tv" failed to render: Your hardware cannot render at the requested size and depth"
    My computer has been setup to handle the demands of FCP- 2x3 GHz OCTO with 10 GB of RAM. Why is this happening? Does this mean I have to spend $1500 for a graphics card? Rather not...
    Here's more info about what I am trying to accomplish:
    (Media: DVD imported/exported with MPEG Streamclip to HDV 1080i60.
    Sequence settings: HDV 1080i60) I have my reasons for setting my edit up this way I promise!
    Editing for a commercial with some poor footage from 4th Gen. DVD. Instead of trying to make the video look the best, I've decided to go the other way and to make it look worse with Bad TV effect. I have layered 6 files of the DVD to create ghost or duplicate images both on the right and left side of the original footage to take the eye away from the crappy copied DVD footage. When I tried to render out the footage the error message comes up each time.
    THANKS!!!

    I think your confusion is based on the fact that you are interchanging the graphics card, and a video capture card. They are not the same thing.
    The graphics card or display card is the piece of hardware that drives your monitor. It's also used to enhance graphic programs like Photoshop, Motion, etc. It's also what is used to render the cool 3D graphics of games like Halo, and Call of Duty. A good one with an 8K texture limit is around $225 or so.
    A video capture card is a piece of hardware that allows you to capture full frame SD and HD (depending on the card) through an SDI or other cable. It is a way to capture the video signal as opposed to the video file (as Firewire does). These cards can also send full res signals out to a deck or broadcast monitor.
    As far as your gfx card goes, I think the 2600 is a 4K texture limit. Buying the ATI 3870 or 4870 (if your computer is compatible) will give you an 8K texture limit.
    To send full resolution HD out to a deck or monitor, you will need a capture card. Firewire is typically used to export DV DVCProHD or HDV. There are products out there that use firewire to IN/OUT other formats such as ProRes, but it's still a piece of hardware you have to buy. MOTU has a product like that. AJA has the IO that uses a firewire connection. There are others as well.
    I hope this clears up some of your confusion.
    Andy

  • Need to copy files from PowerBook G4 with bad blocks

    Yesterday my PowerBook G4 which is about 5 years old had problems starting up. When I ran Disk Utility on it I was notified that there was a SMART problem and I should backup my data immediately. I have a lot of important data that still needs to be backed up, but I am having problems with likely bad blocks.
    I have tried to backup the data two ways both using a firewire connection to my new MacBook Pro. First, I connected the computers via firewire and used the "T" option when booting my old laptop. I tried to copy the files over by clicking on the directories I need to back up and dragging them over to my new laptop. That would work okay, but when it would hit bad files, everything would freeze. My old laptop wouldn't copy over anymore and I couldn't eject the HD from my new laptop.
    Then I tried using Terminal to move files over. I connected the computers in the same way as above and opened Terminal from my new laptop. After going into the directory I wanted to copy from on my old laptop, I typed in the following command,
    find . -exec ditto -v {} ~/Data/M33/SE25/ \;
    since I was told that might skip over the files with bad blocks and continue on. It did copy some files over, but I had the same problem again with everything freezing up.
    I really would like to get as many files transferred as I can without having to do it one-by-one and restarting everything every time my old laptop freezes up. Does anyone have any suggestions how to get around the files with bad blocks or whatever might be happening to freeze up my old laptop?

    I did as suggested in that I used the Terminal option and let everything run for 8 hours. Here are some of the notes I got from the system.log file. I will group together the error messages from when they actually occurred. I started the process at midnight. My apologies for some of the mistakes in the posts in the error messages. Some of the characters are messing up the way it is being viewed in the post.
    +(Message at 00:46:17)+
    disk1s3: I/O error
    com.apple.system.fs] [DevNode /dev/disk1s3] [MountPt /Volumes/Macintosh HD 1] [FSLogMsgID 2052406730] [FSLogMsgOrder Last]
    disk1s3: media is not present
    disk logger: failed to open output file /Volumes/Macintosh HD 1/.fseventsd/0000000000006ca1 (Invalid argument). mount point /Volumes/Macintosh HD 1/.fseventsd
    disk1s3: media is not present
    0 [Level 3] [ReadUID 0] [Facility com.apple.system.fs] [DevNode /dev/disk1s3] [MountPt /Volumes/Macintosh HD 1] [Path /Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F/live.1.i ndexHead] [FSLogMsgID 1668857477] [FSLogMsgOrder Last]
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexCI in openindexfile:open file error: 22, live.2.indexHead
    disk1s3: media is not present
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexCI in ContentIndexUpdateContent:Caught mach exception. Fun Fun Fun.
    (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexGeneral in bool siwriteBackAndIndex(_SI*, __ContentIndex*, const __CFDictionary*, const __CFDictionary*, db_obj**, const __CFString*, int, bool, bool, bool, __SIUserCtx*, const __CFString*, int32_t, bool):ContentIndexUpdateContent failed
    - (/Volumes/Macintosh HD 1/.Spotlight-V100/Store-V1/Stores/4DE053EA-8C82-4ED5-B5F8-74EDE806556F)(Error) IndexGeneral in void setAttributes(siset_attrctx*, Boolean, long unsigned int):Couldn't update index.
    disk1s3: media is not present
    +(Message at 00:46:19)+
    disk1s3: media is not present
    +(Message at 00:47:51)+
    jnl: disk1s3: replay_journal: from: 364032 to: 624128 (joffset 0x59000)
    +(Message at 00:47:52)+
    jnl: disk1s3: journal replay done
    +(Then from 00:59:30 to 02:45:20 there are occasional messages of the following)+
    disk1s3: I/O error
    IOSCSIPeripheralDeviceType0E::setPowerState(0x6366d00, 1 -> 4) timed out after 100128 ms
    It is now 8:20am and not a lot of data has been copied over and currently I can't tell if anything else is being copied over. The screen on the old laptop is frozen to the way I last saw it before going to sleep.
    Sorry if I posted more than I should have. I am just hoping that someone may be able to better see what is going on from the system log. I am going to check again in a couple of hours to see if any more data has been transferred.
    Thanks again for everyone's help with this.
    Message was edited by: MasterOdin

  • Ifconfig pcelx0 plumb fails with Bad file number error

    Hi,
    I installed solaris 8 (x86) on a Toshiba Tecra 8000.
    The Tecra uses Neomagic NM2200 chipset for it's display.
    Even though it is not supported by the Sun Drivers, getting xfree86 for sun fixed the display problem for me.
    Now according to the various sources that guided me in this task seemed to point at a few things that I had to do in order to make the Tecra work okay with Solaris 8 :
    1)Change the PCMCIA mode in the BIOS from automatic to PCIC mode
    2)Make sure that there were no IRQ conflicts on the system.
    3)Install the OS.
    Once the OS was installed, I ran prtconf -D and saw that the network instance #0 pcelx0 was showing up under pcic.
    I did not have to install the xig init-pcic patch.
    But it did not create an entry in /devices or /dev (as a link) with the error
    "pcelx0 requested IRQ failed 6".
    Also, I suppose that is the reason why when pcelx0 is plumbed, it comes out with the error message:
    ifconfig pcelx0 plumb : "bad file number"
    Any help will be greatly appreciated.
    Thanks,
    Dwai.

    Thanks Alex,
    I found out -
    ifconfig adapter plumb will fail with Bad File number error when the device file that is being referred to is missing.
    I checked and found that the pcelx link is not being made in the /dev directory and the file not created in /devices.
    I also found that when /reconfigure is run, it tries to create the device for pcelx but fails with this eror message:
    pcelx : RequestIRQ fail 6
    I am assuming that there is some IRQ conflict with some other device.
    Thanks,
    Dwai.

  • How to use aggregator with filter  operator

    Hi,
    how can i use aggregation with filter operator. i have a table, form this table i have to calculate this valurs
    1. no of notes
    2. no of open notes where attribute =y (logic for one notes is count(notes) where attribute =y)
    2. no of closed notes where attribute =n
    for this i used like this
    table --> two filter operators 1 is for attribute =y and one is for attribute=n ----> to aggregaror operator. --- i am getting error.
    Regards,
    Jyothy

    Jyothy,
    Try this..
    U can use the below code in the aggregator without filters
    sum(decode(notes,'y',1,0) adn sum(decode(notes,'n',1,0)
    Regards,
    Sivarama

  • Solaris boot images fail with bad magic number

    hi guys, have had Solaris on boxes for allmost 10 years. I have never installed sol10, and I have a problem
    1. I download the zip file, then use winrar to unzip them..
    2. burt the image with nero 7
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt
    I do boot cdrom
    this fails with "bad magic number" I have redown loaded it and reburnt it with nero reinstalled
    and also changed out the DVD on SunBlade
    3 I found a copy of Solaris 8 and the I got back a 'bitch' where is Solaris 9 so, most likely the drive is OK
    HELP
    Cris Harrison

    Hello Cris,
    unfortunately I don't understand your last sentence !
    I found a copy of Solaris 8 and the I got back a '*****' where is Solaris 9 so, most likely the drive is OK
    If this was a Solaris 8 (7/01 or later) DVD that did successfully boot, your DVD drive firmware (assuming that this is the Sun Toshiba SD-M1401) is up-to-date. If the DVD drive has firmware 1007, an update to 1009 is required to boot from DVD. otherwise you won't be able to boot from DVD (boot from CD works and a DVD can be automounted/mounted).
    Partial output of probe-scsi
    Before update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011007
    After update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011009
    [*Patch 111649-04 - Toshiba DVD 1401 firmware update*|http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collections&queryKey5=111649&toDocument=yes]
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt ...
    Instead of trying to directly boot, disable auto-boot and retry after a clean power-on.
    Break with Stop-A
    setenv auto-boot? false
    reset-all
    boot cdrom
    Michael

  • Cant access search engines anymore. it always comes up with: bad request, invalid hostname

    for some reasen my laptop started to connect to the internet via my univerisities proxy server. today, however, web sites didnt load at all, instead it said: cant connect to proxy server.
    so i changed the network/proxy settings by deselecting 'use a proxy server for your lan'.
    consequently i was able to acces most web sites, apart from search engines. if i try to do so, it always comes up with: bad request, invalid hostname.
    what can i do?

    btw i have windows 7 :)

  • Generating movies with bad resolution

    Hello all, Hello all,
    I hope everything is going well and I apologize for my poor English. I am creating movies using IMovie’08 and sharing with IDVD. The final result that I get generating DVD is a video with bad resolution.
    I have recorded all videos in 1080i using a SR12 Sony handycam and imported to IMovie with this resolution. I prepare an IMovie project and shared by Media Browser using large size, that I know is a smallest size than 1080i.
    I set the encoding mode on IDVD to Professional Quality and generated a DVD. The result image’s quality on DVD is similar to a VHS tape! I generated 4 different DVD and tested all these DVD using different DVD players and different televisions and the result were always the same.
    Please, can someone inform me what I am doing wrong or provide me some tips to get better results?
    Thank you all in advance.
    Regards,

    The result image’s quality on DVD is similar to a VHS tape! I generated 4 different DVD and tested all these DVD using different DVD players and different televisions and the result were always the same.
    No matter what you send to iDVD will be encoded as SD 640x480 "square" pixel content to a "720x40" rectangular pixel data matrix. In other words the best resolution you could expect would be half of what you started with and at the third generation of transcoding. (I.e., 1080i AVCHD => 1080i AIC/AIFF => 960x540 H.264/AAC => 720x480 (640x480) MPEG2/PCM.)
    can someone inform me what I am doing wrong or provide me some tips to get better results?
    If you are expecting HD quality on a standard DVD, then your expectations may be too high for this work flow. Using a more professional editor and/or burning as HD optical content may better suit your needs/expectations.

Maybe you are looking for

  • Graphics card upgrade on my A60?

    Hi, I've had an A60 with on-board ATI Raedon 7000 shared memory graphics for over a year and have had ongoing problems with crashing. I seem to have (at least temporarally) resolved this issue by reducing the colours to 16m... I am now using some mor

  • Keynote stops working when I try to open a document

    Dear all, I finished a very important presentation today and saved it as keynote doc, and export it as ppt document so I could use it with the PC. Now I am trying to open same document in Keynote and the whole mac becomes EXTREMELY SLOW and freezes.

  • HP prime entering simple routines

    Hi, I am trying the HP prime and I am somewhat disappointed. A couple of simple things have baffled me: First of all I use RPN all the time. With my 50G I could enter numbers, store them in variables and those would be available in the VAR menu by si

  • Premiere Pro Cs5.5 suddenly stop recognizing my 24''inch second display on my imac

    Hi there, I have Premiere Pro installed on my imac 27inch with an ATI Radeon HD 4850. 'Til yesterday it had been working properly but all of a sudden stop to playing video on my second display. If I go to the "Playback settings", either source or pro

  • Why does my 2009 27" imac keep shutting down?

    why does my 2009 27" imac keep shutting down?