BADI issue to calculate virtual characteristics in Query

Hi
i am facing an issue during calculating Virtual Char through BADI.
when i execute the query in RSRT, ABAP dump is coming.
when i saw the error message log. it is showing that a statement can not be executed while that statement i am not using in my BADI.
Actually that statement is using in another BADI in Compute~Single Method.
Why this is happening.
Regards
Atul

Hi,
I have already put Break point but it is not stop at break-point.
even info provider name is also correct in define method.
i am using New BADI (Through SPRO) not the Classic one.
Regards
Atul
Edited by: AtulMohan Mishra on Jan 26, 2012 9:57 AM

Similar Messages

  • ABAP error in virtual characteristics & key-figures BADI

    Hi experts,
    I created a BADI for feeding a virtual characteristicand when I launch the query, this message appears:
    Subroutine call failed: The index specified had the value 6.288, which was either too large or too small
    An exception with the type CX_SY_DYN_CALL_ILLEGAL_FORM occurred, but was neither handled locally, nor declared in a RAISING
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    I have already read all the threads on the subject: I checked the OSS note 1248583. We already are on BI7, support package 20. I checked the OSS note and all the changes listed already exist on my system.
    Did any of you face this situation ?
    Thanks in advance.
    Etienne
    Here is the code of the BADI compute:
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
    Fields-symbols
      field-symbols:  type ANY.
    Variables
    DATA: w_ZPL15 TYPE /BIC/OIZPLCASH.
    DATA: w_ZCPTCASH TYPE /BIC/OIZCPTCASH.
    E
        assign component P_CHA_0G_CWWKOS of structure C_S_DATA
          to .
    GNC
        assign component P_CHA_TESTACONT__ZGNC of structure C_S_DATA
          to .
    EPL
        assign component P_CHA_ZPL of structure C_S_DATA
          to .
    CL3
        assign component P_CHA_ZCUSLV_03 of structure C_S_DATA
          to .
    CC
        assign component P_CHA_ZCPTCASH of structure C_S_DATA
          to .
    On récupère le compte Cashsolve
    *w_ZPL15 =  = w_ZCPTCASH.
    ENDMETHOD.

    Hi gentlemen,
    My problem still remains.
    Here is the definition of the different objects:
    In attributes
    P_CHA_ZCPTCASH Instance Attribute Private Type I
    In source code
    field-symbols: <l_ZCPTCASH> type ANY.
        assign component P_CHA_ZCPTCASH of structure C_S_DATA
          to <l_ZCPTCASH>.
    DATA:l_local TYPE I.
    l_local = '999999'.
    <l_ZCPTCASH> = l_local.
    D.sanders, I don't exacxtly understand what you suggest. Could me help me please ?
    Thanks
    Jacques

  • RSR_OLAP_BADI for virtual characteristics not getting triggered!!!

    I am facing a strange problem and am a little pressed for time to solve the same. Any help/guidance related to this will be highly appreciated.
    I am working on BI 7.0. I have two implementations of the BADI RSR_OLAP_BADI for virtual characteristics,
    (1) say A, that we implemented as a proof of concept with filter as multiprovider M1
    (2) say B, that in implemented with filter as multiprovider M2
    Both were working fine and I was able to put breakpoints inside the code and debug whenever required. I had used it till last week and everything was fine.
    Today, I had to change implementation B due to a new requirement. So a new characteristic was added to M2 and the code in B was extended at appropriate places to fill this new virtual characteristic also. However, even though the change was successfully activated and the BADI looked fine, it was not triggered when the query was executed. I checked with another query on M2 which was the query for which the implementation was initially made. For that also the BADI is not getting triggered. I put break points in the define, initialize and compute methods but none are hit during the query execution!
    I further ran the queries on M1, which shud have called the implementation A. Then also the BADI is not getting triggered. Please note that implementation A, multiprovider M1 or the queries on it were not changed at all.
    I really need to fix this issue at the earliest. What am I missing? Why are the BADIs not getting triggered eventhough the implementations are active, the BADIs are error free and the filters are correctly defined?
    Are there any global settings that can turn off all BADIs?
    Please help.
    Thanks,
    Sarath

    Further, when I created a fresh BADI implementation in a different system (a sandbox system), the BADI is working fine.
    But in the Development system the BADIs are still not getting triggered. I made the exact same implementation as the one which worked in the different system.
    Another point - when I see the Technical Information tab of queries from RSRT, or RSRT2  they have Virtual Characteristics/Key Figures "NO" in the development system.
    For the queries in the prototype system in which the BADI is working this field in "Y".
    Any idea how this is decided and how it can be changed to Y from NO?
    One more strange thing is that there are other active implementation of this BADI used by other teams here and none of them are getting triggered. They are all active and were all working fine till the last few days!
    Any help will be highly appreciated.
    Thanks,
    Sarath

  • Can we use aggregates with Virtual Characteristics?

    Hi,
      My question is "Can we use aggregates with Virtual Characteristics?"
    Is yes then how and if no then why not.
    Thanks for your contribution
    I have been researching the topic myself and I dont think its possible and even using OLAP cache is not possible.
    Message was edited by: BW Novice

    You can use aggregates with virtual characteristics. Just make sure that all the data you use for calculation is in the aggregate.
    Example:
    You have a query that shows MYVC (my virtual characteristic) in the rows and 0AMOUNT in the columns.
    MYVC calculates out of VCBASE1 and VCBASE2.
    An aggregate that consists of only MYVC doesn't work, an aggregate that consists of MYVC, VCBASE1 and VCBASE2 works.
    Best regards
    Dirk

  • Compare two characteristics in Query

    Hi Experts,
    I have to compare two characteristics in Query fields like (A)Approved Level of Job(contain values like 01,02,03,04) and (B)Required Level of Job(contain values like 01,02,03,04).
    Now I have to do these calculations
    If A>B =1
    If A<B =0
    And also in other case
    If A=b  then value 1
    Of A =/= B then value 0
    Please let me know how I can achieve this.
    These values could be in A,B,C,D instead of 01,02,03,04 then in that case how I will calculate these comparison.
    Thanks
    Take care
    Vishal sharma

    Hi,
    i need the solution in this format on the comparison two characteristics in Query:
    0=false
    1=true
    Approved Level of Job(A)     Required Level of Job(B)      A=B         A not equal  B     A>B               A<B
         1                                                         3                                       0                         1                      0                 1
         4                                                         2                                       0                         1                      1                 0
         3                                                         3                                        1                         0                      1                 1
         5                                                         4                                       0                         1                      1                 0
         1                                                         2                                       1                         1                      0                 1
    count(A):5                        Count(B)5                                 sum 2                 sum 4           sum 3         sum 3
    so my CKF will be
    A>B/5 means 3/5=60%
    I also need to know how i am going to count A and B too.
    thanks
    take care
    vishal sharma

  • Grouping Free Characteristics in Query Designer?

    Hello,
    I have a couple reports that per busniess have many free characteristics. So many that that they do not fit on one page and you must continue scrolling the page down to view all. This makes the report look sloppy but the business owner wants all of these free characteristics. I'm looking for a way to clean up the list of free characteristics without removing any selections. Can they be grouped up or consolidated through Query Designer or WAD?
    Thank You,
    Alex

    Hi Alex,
    Actually use of free characteristic will not slow down the report performance rather free characteristics are used to enable the user for dynamic drilldown and to improve the query performance for initial output display.
    What you can suggest your users is to keep only required free characteristics and then remove the rest of the characteristics and from grouping perspective all the free characteristics in query designer output are shown alphabetically so you can not manipulate the group in designer.
    Regards,
    Durgesh.

  • To calculate the Askrate at query level

    Hi alL,
    Requirements is  to calculate the ASKRATE(In query level)  based on :
    Mou Target(Month wise) - Total(daywise:CasthouseMkt targetMOU Target/remaining days of the month.
    Please anybody tell me how to resolve this?
    Thanks,
    Suresh.

    Hi,
    I'm using the Elvis platform to create a sine signal using an Elvis platform and i want to send this signal to the sensors that i have previously mentioned. The sensors independent of any board has a receiving and transmitting sensor each. I want to send the signal to through the transmitting sensor and receive it through the receiving sensor. I wanted to test the sensors to see if it could working first, before using it to detect obstacles and calculating the distance of the obstacle from the sensors. I tried using just the sensors by itself, but it didn't work, so i'm inquiring if you know more about ultrasonic sensors to know if it would working if i added a simple non-inverting amplifier to it.
    The components i am planning on using is the Elvis platform which i am currently using to create the sine signal using the Arbitrary Waveform Generator, and send the signal to the transmitting sensor, receive it with the receiving sensor and view the waveform on LabVIEW. Then i want to use the sensors to detect obstacles and use labview to calculate the distance of the obstacle from the sensor.
    I do not have the HC-SR04 board at hand, but i do have the GH 311. I want to know if it would do with what i have in mine, which i have just stated previously.
    I appreciate your fast response and help with my questions. Look forward to your reply.
    Thank you.

  • Is there a BAdI to correctly calculate Confirmed Quantity in TLB Shipment?

    Hi,
    We added a new TLB parameter on top of currently existing weight, volume and floorpsots. Now, everything is working fine with the new parameter except for the "Confirmed Quantity (Dest.Loc.)" in the TLB shipment is not showing the total for all the relevant shipment items. The total is actually reflecting the "Confirmed Quantity (Dest.Loc.)" of the first line item in the order.
    Is there a BAdI to correctly calculate the Confirmed Quantity in the shipment level?
    I would really appreciate any help on this. Thank you in advance.
    Arnel

    Hi Arnel,
    Please check the below BADis whether suits your requirements which are TLB based
    /SCA/TLB_EXT     Transport Load Builder Extension
    /SCA/TLB_PRFL_EXT     TLB Profile Extension
    /SAPAPO/SDP_TLBORDER     Manipulation of Deployment Orders Before TLB
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • Issue exporting original & virtual copies

    I am using Lightroom 3.6 and do the following:
    - I selsect a photo  "test.cr2" and rate it 2 stars
    - create a virtual copy of this photo and modify it (the virtual copy) and rate it 3 stars
    Now I use different Export settings to export my 2 stars and 3 stars photos in jpg.
    So I first select all my 3+ stars photos and export them:
    - here my virtual copy gets selected and exported to my destination folder as "test.jpg"
    Then I select all my pictures (1 to 5 stars) and export them  too (but with different export options such as 'post-prcessing'). And I specify that existing pictures has to be ignored in the Export options since I don't want my previous batch to be overriden. And here 2 things happen:
    - the original photo is tentatively exported as "test.jpg" (same name!) --> the file already exists, so "ignored"
    - the vitual copy is exported as "test-2.jpg"
    Finally, I end up with 2 photos "test.jpg" and "test-2.jpg" in my destination folder but they are actually the same and both issued from the virtual copy...
    There are probably easy work-arounds to this situation - like split exports 3 to 5 stars and then 1 to 2 to avoid overrides. But... is it possible to keep constency in the naming convention of the exported files?
    i.e if an exported file orginates from a virtual copy, always use "xxxx-2" even if the orginal is not exported at the same time
    Tks & cheers

    Sounds like a bug, that Beat's work-around would probably circumvent.
    The problem I have with using the copy name, is that it can't be conditioned upon whether the photo is in fact, a virtual copy, or even: if the copy-name is blank.
    So if you have:
    {base-name} ({copy name}).{ext}
    then if the master is named MyPhoto.DNG (with no copy name), and has one virtual copy named "Copy 1", then jpeg exports will be named:
    MyPhoto ().jpg
    MyPhoto (Copy 1).jpg
    -bleck-tooey...
    I have special virtual copy name handling in all my export plugins, but I think Adobe should address this in Lightroom proper.
    R

  • Does the bad formance results from Virtual Machine?

    My Oracle 10g testing database is runing on a Virtual Mchine and its performance is not good. Does the bad formance results from Virtual Machine?
    Though the resources are enough, I still think the virtual machine can damage the performance. Does any one has the same experience?
    Thank you

    Answered the same just a while ago...
    Can Virtual Machin system make negative impact to the database performance?

  • Virtual Characteristics & KF

    Hi,
    Is that possible to include virtual characteristics and key figures in ODS and implement?
    Any advantages and disadvantages placing this in ODS compared to Cube?
    Regards,
    VJ

    When you create a virtual Key Fig, Data is not loaded into the key fig. This calculation is done during the runtime and is directly displayed in the report. You cannot see these values in Cube or ODS . Thst is why they are said as Virtual key Figures.
    If you load data in this key fig then they will be same as the other key figs.
    So they are just included in Cube but never loaded with data.

  • Regarding virtual characteristics

    hi,
    i am populating a field into report through virtual characteristics, report is on a cube. can anybody tell me the approximate time can  be taken by the report to execute when cube has 5 millions of data.
    Thanks & Regards,
    Vijaya

    Hi Vijaya,
    If you are populating it through Virtual characteristic then even in the best case it will take more then 1 hrs or even larger.
    since even if the variables are populated and number of records are reduced... it goes for all the exits written in CMOD.
    Also depends upon what are you doing with the characteristic at the runtime...if you are doing some conversion through look ups then again it will depend the data in the look up table...in an all...it will be lot of waiting.
    Thanks

  • BAdI "Virtual Characteristics and Key Figures in Reporting"

    Hello,
    When I execute a query in RSRT, the BAdI don't running.
    I create a Implementation ZVTOL_OLAP_BADI for the Definition RSR_OLAP_BADI. I activate them with the filter for my MultiProvider.
    I found the note 538897, but there is no answer.
    When I generate the query, the debugger stopped in the DEFINE-method.
    I have includes in the INITIALIZE und COMPUTE-method a endless-loop.
    => it don't work.
    I see the query result, but my keyfigure is empty, because the abap-code was not executed.
    Sven

    Hi,
    Is your virtual key figure available on multiprovider or underlying virtual provider.
    I don't see any option to add a virtual key figure on the top of a multiprovider.
    I do have the same scenario but virtual key figure is on virtual cube, not on multiprovider.
    regards
    rajesh

  • Performance issue on a virtual cube

    Hi BW gurus,
    I am working on Consolidation virtual cube and the query performance thru that cube is very bad. I know that we cannot build aggregates or partition on a virtual cube ..what should be my approach then.....
    Your suggestions will be appreciated with lots of points

    Hi Nick,
    If you can not move out of the virtualcube option, then I think you should try to improve the performance of the virtual cube. This mainly ABAP work. You can use SE30 to analyze what parts of the code is taking too much time. Follow this steps:
    1) Create a breakpoint in the function module of your virtualcube
    2) Go to listcube and initiate an extraction from your virtualcube.
    3) On a separate session, run SE30 to start an analysis of the extraction process for your virtual cube.
    You can use the report from SE30 as a starting point on your performance optimization work.
    Note: Transaction ST05 can help you determine what database calls are taking a long time.
    Hope this helps.

  • How to calculate Age in BEx query

    Hi,
    I need to calculate age in years based on person's date of birth and the key date that user of the report will enter.
    So, basically in my query I already have date of birth characteristic from 0PERSON InfoObject. I created ZAGE key figure and added it to the query that I would like to populate with person's age.
    So I know I have to enter some code in CMOD for calculated key figure ZAGE to get calculated based on birthdate and key date that user enters. Can somebody help with the code?
    thanks

    Hi,
    The variable should be in "Date" dimension. I have missed one important information in earlier mail.
    The processing type of the variable (user entry date) should be of "Customer Exit' and dimension (in last tab) should be "Date".
    By selecting this dimension, the variable input help screen also appears in calendar format to help user to select date instead of writing it in variable input.
    No need to write any custom code for this variable. We are selecting the "Customer exit" processing type to get Date dimension. In Normal user entry variables we can't get date & time dimension.
    "Ready for Input" should be selected so that user can enter date.
    I hope you can solve your issue now.
    Thanks for your feedback.
    Regards,
    Arun Thangaraj.
    Edited by: Arun  Thangaraj on Oct 8, 2008 8:48 AM

Maybe you are looking for

  • Sftp is taking much time to execute

    Hi, I am working on SFTP . SFTP is working but while executing, sftp is taking 8min to execute. Do i need to set properties regarding time ? Regards, Divya.

  • 16:9 formatting in Encore

    Hello! I could really use some help in finding out why my DVD is not coming out correctly. I am not sure if this will be an Encore or Premier issue. I am using Premiere Pro CS5 and Encore CS5. My project is for a graduation video with a slide show an

  • Mapping of material no with gl account & gl class

    Dear All, I have material no. & gl class, now i want gl account no. based on this criteria. Does there is any table or method from which i can get. Thanks with regards Makarand

  • Renaming a character

    Can I change the name of a character in a script and it will update all instances of the character throughout the entire script? Thanks

  • What can I do if a digital download crashes?

    So I just got the Hunger Games and decided to digital download code for my ipod touch. But I plugged my ipod into my computer and it stopped downloading. Now every time I tap the download error to retry it come up for one second then said again "Down