Data loading with routine displays zero for key fig values

Hi all,
my source field is amount...........and target field is research amount...........
if i restrict amount(source field) with cost element(coaeom7) and value type(010 then it is equal to target field research amount.
for this my code is
IF COMM_STRUCTURE-VTYPE = '010' AND
   COMM_STRUCTURE-COSTELMNT = 'COAEOM12'.
   RESULT = COMM_STRUCTURE-AMOUNT.
ENDIF.
but when i load the data it displays only zeros.........
Pleas suggest
Regards,
Raj.

Hi Raj,
Do u need costelement values other than 'COAEOM12' into the target.
Are you writing this routine in Start Routine/End Routine. if its BI.7
If you are loading data from soucre cube/DSO to target structure, in the transformation you need to write start routine, before which you need to map amount field, cost element,and value type from source to Research amount in target,
The you need to write the code
If source_packake cost element = COAEOM12'  and source_packake value type =010
then research amount = amount
End If.
i hope this will solve your problem.

Similar Messages

  • Smartform-Suppress Zero and Display Zero for same field in Diff Conditions?

    Hi,
    I have a scenario in smartform, where for a quantity field of length p15 and Dec3, needs to display ZERO for one scenario and display SPACE for another condition. To display ZERO i have made it as &quantity(c)&, so that i can display zero. It displays ZERO, but for another condition, when i want to display space, there also it displays 0.000 ! how to display SPACE there ?
    thanks,
    Padma

    Hi,
    I think then in that case we need to use (NZ) I am not sure. But however why don't you use the Condition Tab in the Text by Including the Condition Quantity > 0.000.
    Please let me know if anyone of this works for you.
    Regards,
    SRinivas

  • Data loading with 1:N & M:N relationship

    Hi,
    Which data (master or transaction) we can load with 1 : N relationship and M : N relationship.
    Can anyone give me the idea.
    Thx

    In case of master data,the char infoobjects with master data attributes take care of 1:N relation.For e.g for material master data,the material number would be the key based on which the data would be loaded for each new material.In case of transaction data for 1:N relation,you may take up DSO in which the primary keys can be made the key fields of DSO based on which the repeating combinations would be overwritten.You may use an infoset when there is a requirement of inner join(intersection) or left outer join between master data/DSO objects. The infocube can be used for M:N relation.For union operation betwen two infoproviders,multiprovider may be used.
    Hope this helps you out.
    Regards,
    Rinal

  • Material data load with two unit (0MAT_UNIT) failed?

    Hi,
    I am loading the 0MAT_UNIT data from R/3 QAS to BW QA, I am getting below error.
    0MAT_UNIT : Data record 34 ('000000000000010249 ') : Duplicate data record RSDMD 191
    There two records for same material number with two different units (EA and PAK), Data loaded to BW dev successfully even if duplicate records for material with two units but it failed in BW QA.
    Any setting I am missing?
    Please help.
    Thanks,
    Steve

    If you look at the definition of the P table (/BI0/PMAT_UNIT) you will find that both material and unit are keys. So the system recognizes a record as duplicate only when a given material with a given unit exists twice in the data. Based on what you are saying, this is not the case. You have two separate units for a given material. Can you please check to see if there is another record for the same material in a different datapacket ??

  • Data Load with HAL Problem with Decimal-delimiter/Language Setting

    Hi,
    we use HAL to load Data into Essbase. The Data is with a . as Decimal Point like in
    1252.25 When i upload these Data with HAL the number becomes 125225.00
    The Locale of my OS is German
    The Locale i specified for the file in HAL is English
    If i change the Locale of my BS to English the Problem disappears but thats annoying.
    Has anybody else such a problem ?
    Is There a Solution for this ?
    Thanks.
    Kevin

    Reading over John's blog, we created a rule file.
    But, it looks the load process using the rule file seems to be hanging? are we missing any thing? We are using comman seperator and having number of lines to skip as zero.

  • Displaying Key Fig values differently with german & english logins

    HI,
    our BW Datamodel, reports etc have been built on a german system, i.e. with german language (DE) login. Hence Key Figs in the BEX Reports are displayed as 12.345.678,000 Euros for example. We need to make the same reports available in English, i.e. with an english language login (EN). The KeyFigs need to look like 12,345,678.00. How can I achieve this?
    Pls help. Thanks.
    SD

    Hi Sebastian,
    You can do this in the User profile settings for the User.
    Goto System Menu - > User Profile -> Own data . In the Defaults tab you can change the Decimal notation.
    Regards,
    Hari
    Edited by: Hari Krishnan K on Jul 12, 2010 7:32 PM

  • I am getting an error encountered problem with the display driver for my Photoshop CS5 extended

    I have Windows 7 and have used CS5 extended with no problems for quite a while now.
    Last week I started up CS5 and received the error:
    "Photoshop has encountered a problem with the display driver and has temporarily disabled GPU enhancements. Check the video card manufacturers website for the latest software. GPU enhancements can be enabled in the Performance panel of Preferences."
    "Please close program and uninstall and re-install if problem persists"
    I was able to edit, however when I went to save my work it would not do so. The following error came up.
    "Could not complete the command because the extension could not be loaded"
    "Could not save a copy as .....because of a program error"
    I checked to make sure I have the latest driver, I also uninstalled and re-installed the program and I am still getting the errors.
    Can anyone help with this?

    Error 1402 | Error 1406 | Acrobat, Reader

  • Mainframe data loaded into Oracle tables - Test for low values using PL/SQL

    Mainframe legacy data has been copied straight from the legacy tables into mirrored tables in Oracle. Some columns from the mainframe data had 'low values' in them. These columns were defined on the Oracle tables as varchar2 types. In looking at the data, some of these columns appear to have data that looks like little square boxes, not sure but maybe that is the way Oracle interprets the 'low values' in the original data into varchar. When I run a select to find all rows where this column is not null, it selects these columns. In the results of the select statement, the columns appear to be blank, however, in looking at the data in the column using SQL Developer, I can see the odd 'square boxes'. My guess is that the select statement is detecting that something exists in this column. Long story short, some how I am going to have to test this legacy data on the Oracle table using Pl/Sql to test for 'low values'. Does anyone have any suggestions on how I could do this????? Help! The mainframe data we are loading into these tables is loaded with columns with low values.
    I am using Oracle 11i.
    Thanks
    Edited by: ncsthbell on Nov 2, 2009 8:38 AM

    ncsthbell wrote:
    Mainframe legacy data has been copied straight from the legacy tables into mirrored tables in Oracle. Not a wise thing to do. Mainframe operating systems typically use EBCDIC and Unix and Windows servers use ASCII. The endian is also different (big endian vs little endian).
    Does anyone have any suggestions on how I could do this????? As suggested, use the SQL function called DUMP() to see the actual contents (in hex) of these columns.

  • Data Load with warnings, but dataload.err empty

    Hi guys,
    laoding data on EAS Console for a Essbase database gives below message:
    Database has been cleared before loading.
    dataload.err is EMPTY.
    Any ideas??
    Some data is loaded but how can I find out where it stopped or is all my data loaded?
    Message:
    Parallel dataload enabled: [1] block prepare threads, [1] block write threads.
    Transaction [ 0x190004( 0x4fd89600.0x64578 ) ] aborted due to status [1003050].
    There were errors, look in H:\My Documents\temp\dataload.err
    Database import completed ['AXN_Sim'.'BewMod']
    Output columns prepared: [0]
    Thanks Bernd

    Hi,
    There is nothing much you can say whether the data is completely loaded or not. You have to check by yourself on that.
    Since the loading was aborted with a warning, it could be a network issue..
    Try to load a small file and then check whether you are facing the problem or you coulfd also post your finding on that..
    Thanks,
    CM

  • How to create and use Data Vault with HTML/JavaScript (SAPUI5) for Mobile Apps?

    Hello,
    I am creating a demo Enterprise Mobile App, for cross platform and I want to use the Data Vault.
    I am not able to figure out how to implement the Data Vault with HTML/JavaScript i.e. SAPUI5 for cross platform mobile apps I have a tutorial, but it is for Android based apps. Where as I want it for iOS as well. I guess, in this case, implementing the Data Vault using SAPUI5 over HTML and JavaScript would be  better.
    If anyone has any links or sample code to implement Data vault in HTML/JavaScript (SAPUI5) or specific for iOS apps, it would be great.
    Thank you.

    Hi,
    This is the "SAP Mobile Documents" community, so this seems to be the wrong place for asking your question related to Data Vault / SAPUI5.
    Maybe you should post your question here: http://scn.sap.com/community/developer-center/front-end.
    best regards,
    Ingo

  • Is the MacBook Pro with retina display good for gaming?

    I was looking at the MacBooks and I was thinking about the one with retina display.  I wanted to know if it was good for gaming also. Just something like skyrim or maybe WOW.

    If you're not a heavy gamer, then yes it will be great.
    I play WoW at full retina display with the performance I noted above - if you have trouble, you could always revert to 1440x900 just for WoW and Skyrim.
    I know WoW lets you choose a resolution within the game so nothing wo worry about outside - not sure about Skyrim but maybe so?
    I am a light gamer. I used to have a 2011 MBA, just an off the shelf model with no upgrades, and it played WoW very well for its size etc.
    An iMac would be great too. For the price of a rMBP you could go for an iMac for games/home use and a base spec MBA for working on outside...?
    However iMacs are pretty outdated atm - not allowed to say much on here but might wanna wait for something to happen...

  • Data Loader On Demand Proxy Usage for Resume operation

    Hi,
    My project required me to use the proxy feature available in Data Loader R19 release.
    I could use the proxy at command line for insert /update operations.
    However, the same doesnt work for RESUME operation in Data loader.
    Tried using proxy settings from command line as well as property file but to no use.
    Any suggestions...
    Regards,
    Sumeet

    Its a Java application so it may run on your Linux/Unix system, you would have to test to see if works. Last time I checked Oracle only supports the application running on windows.

  • How to make data loaded into cube NOT ready for reporting

    Hi Gurus: Is there a way by which data loaded into cube, can be made NOT available for reporting.
    Please suggest. <removed>
    Thanks

    See, by default a request that has been loaded to a cube will be available for reporting. Bow if you have an aggregate, the system needs this new request to be rolled up to the aggregate as well, before it is available for reporting...reason? Becasue we just write queries for the cube, and not for the aggregate, so you only know if a query will hit a particular aggregate at its runtime. Which means that if a query gets data from the aggregate or the cube, it should ultimately get the same data in both the cases. Now if a request is added to the cube, but not to the aggregate, then there will be different data in both these objects. The system takes the safer route of not making the 'unrolled' up data visible at all, rather than having inconsistent data.
    Hope this helps...

  • Data Load with 0 records

    Hi,
    How a system should react under following cases:
    1. Full load bringing in 0 records
    2. Init load bringing in 0 records
    3. Delta load bringing in 0 records
    Note: here by 0 records I mean actually the load has no records.
    For each of the above case will the load turn green or remain yellow and then times out.
    I always have different reactions from the system for these cases.  Appreciate view from experts…
    Thank you,
    sam

    Jr roberto setting which you said exists true,
    but i have that setting marked as green.
    i did an init load which pulled in 0 records. this is correct. now eventhough the green is checked for 0 records in rsmo settings the load errored out after the time out setting in infopack
    and the main traffic light is still running...with  No errors could be found. The current process has probably not finished yet.
    any tips..

  • Dynamic Description for Key figure values

    Hi Experts,
    I got a requirement for change the description in  query analyzer.
                  Month    200901                                         200902                            200903
                     qty        value   Past PRICE                qty    value    future price  qty    value    future price
    Material      10         50          5                              7       70           10          7       77           11        
    My requirement is price heading  we need to show current date to previous months header is Past price  and current date to future months we need to Future price.
    Already I tried with two restricted key figures with current montthless than one key figure and currentmonthgreater than one keyfigure. When I using in query both key figure displayed in both sides.
    I want to show past price heading for Less than current month  and future price heading for greater than current month.
    Please let me know any possibilities to show the description dynamically.
    Thanks,
    Chandra

    Hi,
    Here I'm giving sample code this will give the Date and Date-1 and Date-2 based on your Input date ZCDAY.Create 'ZT_DAY' 'ZT_DAY1'  and  'ZT_DAY2'  Text varaibles and use the code.
    In the same way change the code for your requirement.
    TO get the Date (TEXT VAR) based on ZCDAY Input variable***********
        WHEN 'ZT_DAY' .
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              l_s_range-low+0(2) = loc_var_range-low+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = loc_var_range-low+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = loc_var_range-low+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    TO get the Date-1(TEXT VAR) based on ZCDAY Input variable***********
        WHEN 'ZT_DAY1' .
        DATA: ZT_DT1 TYPE SY-DATUM,
              ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
          CONCATENATE ZT_YR ZT_MT ZT_DY INTO ZT_DT1.  "YYYYMMDD
          CALL FUNCTION 'DATE_CREATE_2'
            EXPORTING
             i_datum_ein                   = ZT_DT1
             I_KZ_INCL_AUS                 = '1'
             I_KZ_INCL_EIN                 = '0'
             I_KZ_ULT_AUS                  = 'X'
             I_KZ_ULT_EIN                  = 'X'
             I_STGMETH                     = '0'
             I_SZBMETH                     = '0'
             I_TAGE                        =  0
           IMPORTING
             E_DATUM_AUS                   = ZT_DT2.
              l_s_range-low+0(2) = ZT_DT2+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = ZT_DT2+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = ZT_DT2+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    ***TO get the Date-2 based on ZCDAY Input variable***********
        WHEN 'ZT_DAY2' .
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
          CONCATENATE ZT_YR ZT_MT ZT_DY INTO ZT_DT1.  "YYYYMMDD
          CALL FUNCTION 'DATE_CREATE_2'
            EXPORTING
             i_datum_ein                   = ZT_DT1
             I_KZ_INCL_AUS                 = '2'
             I_KZ_INCL_EIN                 = '0'
             I_KZ_ULT_AUS                  = 'X'
             I_KZ_ULT_EIN                  = 'X'
             I_STGMETH                     = '0'
             I_SZBMETH                     = '0'
             I_TAGE                        =  0
           IMPORTING
             E_DATUM_AUS                   = ZT_DT2.
              l_s_range-low+0(2) = ZT_DT2+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = ZT_DT2+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = ZT_DT2+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    Thanks
    Reddy

Maybe you are looking for

  • Will Time Machine Back Up Windows Partition?

    Excuse my ignorance. If not is it possible to back up to the same external hard drive when I am on the windows side?

  • Assembly type in Req class

    Hello, Can someone please explain the use and application of 4 options of assembly type . What is the difference between static and dynamic processing. Thanks in advance. With regards, Mrinal

  • Bridge CC Failed to Update

    When updating my Bridge CC update, it failed to do so

  • How to save?

    hi, I did a chat program using socket programming. After chatting is over, I have to save the messages in one notepad. I have used textpane for displaying chat messages. Can anybody tell me how to save the contents of the chat? Thanks, Kalpana.

  • TMQFORWARD dies when network problems occur

    Hi I have two Tux 6.5 (patchlev 317) domains A, B interconnected through a WAN. The two domains communicate with a disk-based queue which resides on domain A and TMQFORWARD server forwards the messages to a service of domain B. These messages just lo