Extracting data with zero values for periods without data

Hello Together,
i extracted data from our hfm application from period 1 to 3.
Now i found that some rows begin with period 2 or 3 because there are no data in period 1 or 2.
So my question is, how i can get zero values for periods with no data.
Hope someone can help me.
Many thanks in advance.
Martin
P.S.: Our actual hfm version is 11.1.1.3
edit

For the periods with no data, HFM does not have a "0" to offer for the data extraction. Since the default data extract from HFM has each period on it's own row in the *.dat file, I don't understand your comment about rows starting with period 2 or 3. In the *.dat file the row for period 1 simply won't exist. Are you using a custom approach/tool for data extraction?
The only time HFM will offer a "0" where there is indeed no data, is if you extract derived data. You must include calculated data, and even then I believe HFM will only extract a "0" for the first period after a period where there was data, and only for flow accounts (Revenue/Expense). so if you have "100" in period 1, and no data in period 2, such that the derived value YTD for period 2 is "0", then you must include calculated values in the extract and you should see "0" for period 2. However, I don't believe HFM will extract "0" for period 3 - instead it will be blank/missing.
In general it could be very dangerous to force HFM to give zeros where there is no data.
--Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • ERS generated document with zero value for SES

    Hi,
    I have maintained service entry sheet.
    Accounting entry is generated.
    When I run T code MRRL, it has generated document with zero value.
    This is not a free goods PO.
    Why this is happening?
    Please guide on this issue.
    Regards,
    Piyush

    Hi,
    Creating an ERS zero document is an expected system behavior ,you           
    could create an ERS zero document by doing the following wrong           
    procedure:                                                                               
    1. Create PO with ERS falg ON.                                           
    2. Perform GR for PO.                                                    
    3. Create the invoice by MIRO.(Not MRRL).                                
    4. Run MRRL (LIV-ERS).                                                                               
    For every purchase order with flag 'ERS' a table entry is generated.     
    If a goods receipt is posted, this GR should be invoiced via ERS         
    (Tr. MRRL). Manually posted invoices should be avoided, because          
    the table entry will not be deleted. A new invoice receipt must be       
    created while running ERS (but with amount and quantity zero and without 
    FI documents) in order to give a message to the vendor because he        
    has sent you an invoice by mistake.                                      
    Could you please check also the note:1069215
    Best regards
    Erika

  • Display 0 value for not applicable data found in Company Code Hierarchy

    Dear Expert,
    How to display 0 value inside company code hierarchy which has no data applicable data found in BW Report?  I have created queries with Profit Center(PC) Hierarchy and inside this hierarchy there are several PC. Based on data in BW Cube some of the PC has no applicable data found. But my report should display all the PC inside this hierarchy with 0 value for no applicable data found. What should i do to default 0 value for no applicable data found for that PC so that my report will be display all PC in that hierarchy?
    Best regards and thank you,
    Lin

    Hi Lin,
    Right now what value you are seeing when executing the query?
    Thanks & Regards,
    Vipin

  • Custom Report for the Stock and Stock value for a specific date

    Hi SAP Gurus,
    Is there any SAP standard t-code or any logic to get the transcations (additions (for example: Purchases) and subtractions (Sales) to the inventory) for a particular materials in a plant and with Total Stock and also Total Stock value when that particular transaction happened?
    Our system is R/3 4.7
    I looked at the MB5B, MBCE, MBCA, MC44, MB51 and some other standard T-codes but could not find the total stock value at the time of Transaction happened.
    The history tables MBEWH and MARDH  are updated after the month end closing procedures, right, which means I will have the inventory value changing every month if material has Price "S".
    Thank you,
    -Harter

    Hi Harter,
    Unfortunately, you cannot see in a single tcode the value of stock and stock quantity on a specific date. As you yourself have pointed out, we only have to make use of the history table MBEWH, MARDH for the month wise stock quantity and value. Along with that you should also make use of the table MBEW to take teh stock quantity and value. So the total value of stock on a particular date will be
    Stock qnty = MBEWH value until the previous month (for teh specific valuation class, period etc) + MBEW value for the present date.
    But this will nto work out if you want to find out teh stock quantity and stock value on a past date basis. For past data, only  m onthwise data is available. For this anyway you can refer to MC.1 and so on reports.

  • How to compare a Date data with Current Year and Period Member on FIX

    Hi experts,
    I have a Project dim that each member is a Project (P01, P02...)
    and Account dim that stores information of the each Project (Name, Start date, Finished Date...)
    Finished Date member is in Date data type
    So how can write a IF condition below in order to compare Project Finished Date with Current Year and Period members on FIX
    FIX (@Descendants(Projects), Descendants(All Year), Descendants("Year Total")...)
    IF (@CURRMBR(Period)->@CURRMBR(Year) < Project->FinishedDate)
    Do something...
    Else
    Do something
    Please help me on this. Sorry for my bad grammar. Please ask if there is anything unclear
    Many thanks,
    Huy Van.
    Edited by: Huy Van on Jan 29, 2013 1:14 AM
    Edited by: Huy Van on Jan 29, 2013 2:24 AM
    Edited by: Huy Van on Jan 29, 2013 2:25 AM
    Edited by: Huy Van on Jan 29, 2013 6:04 PM

    Here is what I have done. Post for whom may concern later
    VAR FM; /* Finished Month of Project*/
    VAR FY; /* Finished Year of Project */
    VAR CM; /* Capture Current Month on FIX statments */
    VAR CY; /* Capture Current Year on FIX statments*/
    FIX ( @RELATIVE( "Year", 0), @RELATIVE( "Period", 0), @IDescendants( "Base Projects")....)
    FY = @ROUND( "TGHT"->"NA Contract"->"FY06"->"NA Period" / 10000, 0);
    FM = @MOD( @ROUND( "TGHT"->"NA Contract"->"FY06"->"NA Period" / 100, 0), 100);
    /* For FY13 return 13... */
    CY = @JgetDoubleFromString( @CONCATENATE( "20", @SUBSTRING( @NAME( @CURRMBRRANGE( Year, Lev, 0, 0, 0)), 2)));
    /* Set CM value based on currrent Period On FIX statement */
    IF ( @ISMBR( "Jan"))
    CM = 1;
    ELSEIF ( @ISMBR( "Feb"))
    CM = 2;
    ELSEIF ( @ISMBR( "Dec"))
    CM = 12;
    ENDIF
    IF ( CY < FY OR ( CY == FY AND CM < FM))
    Do something...
    ELSE
    Do something...
    ENDIF
    ENDFIX
    Edited by: Huy Van on Feb 19, 2013 11:10 PM
    Edited by: Huy Van on Feb 20, 2013 7:46 PM

  • Issue with Negative Value for Total valuated stock 0VALSTCKQTY.

    Hi Experts,
    we loaded the Cube with datasources 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM.
    We mapped the quanity field from 2LIS_03_BF in transformation either into Key figures "Quantity issued from valuated stock" (0ISSVALSTCK) or "Quantity received into valuated stock" (0RECVALSTCK ) of the cube.
    For obtaining the Total Valuated stock, we used the Key figure 0VALSTCKQTY. This key figure is having the Inflow and Out flow values as 0RECVALSTCK and 0ISSVALSTCK. When i tried to check the content of 0VALSTCKQTY, the key figure  0VALSTCKQTY is not present in the infoCube content. I understood that the value for this key figure would be calculated at the time of query execution with the formula
    { Last obtained Valuated stock + (Received Valuated Stock u2013 Issued Valuated Stock ) }.
    The issue is the first records in the query is obtained with negative value for the total valuated stock 0VALSTCKQTY even though the values of Received Valuated Stock  and  Issued Valuated Stock are with Zero.  Could any one please help me on how the first record in the query is with a negative value eventhough the inflow and out flow fields of it are with Zero.
    Many Thanks in advance.
    Jeswanth

    Hi Srini,
    I observed an interresting reason for the stock being with negative in the first record.
    Issue : While executing the BEx report, we have the first record with a negative value.
    Let me explain with an example
    Material  : XYZ
    Plant      : A
    Date of Stock Initialization for data source 2LIS_03_BX -
    >  12th April 2009.
    So on 12 Th April 2009 consider that we have a stock in store with a value of 2640.
    Then we have loaded wih Data source 2LIS_03_BF for all Historic Movement types.
    At the time of query execution we will have the first record with a negative of available stock present on the day of initialization .
    So, as we have initilized the data source 2LIS_03_BX on 12 th April 2009, we have at that time a stock of 2640 in availability.
    Exactly with the same value of 2640, we are having a negative value i.e. -2640.
    and also one more point to be noted is ...as we have initialized the data source 2LIS_03_BX on 12 th APril 2009...it has created a
    opening balance of 2640 on the day of initiailization i.e on 12 th April 2009 in infocube....(which is an extra record...)...so if the previous record of 12,04,2009 is having some value in it..then it will get added to 2640 EA..which will give incorrect stock
    So in the query the records will appear in the below following manner
    Calendar Day     Total stock                                                                Received stock                                          Issued Stock         
    28.12.2005 --->  - 2640 EA
    29.12.2005 --->    2000 EA                                                                       640 EA                                                        0
    10.04.2009 --->      0                                                                                0                                                               2000 EA      
    11.04.2009 -
    >    0                                                                                0                                                                0          
                                 (For making
                                  the earlier record of  initilization to 0  a negative value -2640 EA is created in the first record )
    12.04.2009 (Initializtion day) --->  2640 EA                                                 0                                                                0
    13.04.2009 
    the day before initialization the total stock will be 0 due to the negative effect introduced by the first record and from the day of initialization the records will be the accurate values...  On 12 th april 2009 we can see that a stock of 2640 is brought into the total stock. In fact if there is no negative value i.e. -2640 in the first record then ...the value on 11.04.2009 will be 2640 Ea and this will get summed up with the Opening balance of 2640 EA created by 2LIS_03_BX on the day of intitialization. So on 12 .04. 2009 the total stock will be shown as 5280 EA...so in order to prevent the double value only we observed that the first record is created with the negative of available stock present on the initialization ...to make the record before the day of initialization i.e. 11.04.2009...to be 0...so that from 12 th April 2009 ..will start to see the actual total stock in the query result...
    This is happening only if we use  both the data sources 2LIS_03_BX and 2LIS_03_BF  for loading into BW.....
    If we load alone by 2LIS_03_BF ...then as 2LIS_03_BX is ruled out in the loading...then no negative of available stock will be created ...because there will be bno opening balance created on the day of initialization.....and the opeing balance available will be flowing into consecutive records due to the movement types and 12 th April 2009 will be shown with avaialable total stock of 2640 EA.
    Kindly let us know your opinions on this...
    Thanks.
    regards,
    Jeswanth

  • Table editor problem with default value for column

    Hi there,
    I'm trying to use SQL Developer 1.2.1 on Ubuntu 7.10 (though I don't think the OS is relevant) and I'm running into a snag when trying to update table structures. If you go to edit the table to say modify a column name, and that column has a default value set, SQL Developer is encapsulating the value with brackets and quotes. When trying to save the changes, it complains about the default value being 4 chars too many for the column width. An example of this would be a currency code column of varchar2 (3) set with EUR as the default. SQL Developer changes the value to ('EUR') hence the error.
    Is there anyway to prevent this from happening?
    Cheers,
    Chris

    Could you please be more specific? In 1.2.1.32.40 I
    added the column COL1 VARCHAR2(3) with default value
    'EUR'. The data display field refreshed to show the
    default value, so I edited it in a couple of entries
    and comitted the change without problem. Then I
    renamed the column from the "Edit table" popup menu.
    Finally, I renamed the column from the "Rename
    column" popup menu, no problem either.Ah, you are correct. That does work. What I was trying is select tablename in the object browser, then right click on it and select "Edit" from the contextual menu. You are then presented with edit table dialog box. If you then select a column in that box you will see a column properties box. In that section you can change the name, default value, datatype et cetera. Note that your default column value which should just be EUR (or 'EUR' to denote that it's a string) is now ('EUR'). Once you try changing the name to of the column to something else and then click OK, you should then get an error complaining of "Invalid varchar2 default value" with a more specific message of "Default values size 7 is greater than the allowed 3"
    You have provided a work around, and thanks for that, but it would be nice to edit everything in the Edit table dialog box if you're modifying more than one column name. I'm tasked with cleaning up a bit of a messy database, and there are a good deal of columns to be renamed.
    Cheers,
    Chris

  • Processing for request without data

    Hi Experts,
    I need to save additional information in my custom table for each request loaded into my infoprovider (cubes und dso).
    I thought I can make it with some ABAP in the start routine. It works fine, but not for requests without data. If there is a request without data, start routine is not executed at. all. Do you know a pleace where I can input my processing for request without data records.
    thanks
    Wojciech

    Hi,
    I have to save information about the open posting period in R/3 when the request is loaded. I dont want to have this information in the data, becouse I want to have the possibility to delete requests belonging to an posting period.
    I don't think, that this information is needed to understand my problem.
    Greetings
    Wojciech

  • Extra accouning line item in billing document with zero value

    Hi,
    I am using TAXINN procedure, the following accounting document has been generated during billing.This accounting document contains an extra line item with zero value.
    However, There is no necessary for this line item with zero value. Can you tell me how to remove this line item?
    000       50          VAT Payable                       A0             0.00
    001       01          Sale within state                 A0      1,212.00
    002       50          Sales f/goods-Dome.          A0      1,000.00-
    003       50          ED Collected Clr.                 A0          160.00-
    004       50          ED Collected Clr.                 A0              3.00-
    005       50          ED Collected Clr.                 A0              2.00-
    006       50         VAT Payable                      A0            47.00-
    Thanks,
    Kanhu

    Hi
    Check if there is any summarization active for billing documents generated through SD. The path for the same is:
    IMG>Financial Acxounting>General Ledger Accounting>Integration>Sales & distribution
    Check for table VBRK
    Regards
    Sanil  K Bhandari

  • Is it possible to create purchase order with zero value ?

    Is it possible to create purchase order with zero value ?

    Hi,
    There are two scenarios where the purchase order is created with zero value.
    1. Standard Purchase order with Free tick indicator.
    Whenever we expect a material with free of cost from vendor, we use to put the free indicator in item overview.  This means the material is valuated at zero price irrespective of price control in material master. Quanitiy is updated while receipts.
    Conditions tab in item detail doesnt appear.
    2. Consignment PO.
    While creating a purchase order for consignment, the system doesnt ask us the price and the condition tab doesnt appear in item detail.
    An info record for consignment must be maintained before making the GR.
    Hope i have clarified.  If you want any further clarification. please do reply.

  • Outbound created with zero value against STO PO

    Hi experts,
    I have created an outbound delivery (VL10D) against STO PO. OBD has been created with zero value. in PGI correct accounting entry is getting generated. However, material price is maintained in STO PO.
    Please highlight the gaps, due to which amount in OBD is coming as zero. Subsequently, in billing document zero value is appearing.
    regards

    probably something wrong in your price schema if you want copy the price from the STO, or you just missed to maintain the price conditions if you use special intercompany prices.
    For details see OSS Note 338922 - Analysis note for cross-company transactions (delivery)
    look at point 6 in this note.

  • Copa assessment from cost center posted with zero values

    Hello all,
    We are running for the first time in my clients system assessment cycle for actual values from cost center t copa
    The cycle at the test run shows the values and the reciever tracing factor allright but in update run the document created with zero values
    Can anyone adress me why this happnes
    Thanks
    Michal

    Hi,
    You must be getting some errors in update run, like profit center update (if new gl active) or other, please check and revert.
    Br

  • Inventory difference.. upload with with zero value

    Hi
    Material : Label . Sticker
    UOM     : KG  
    Additional UOM : EA  (  1 KG = 100 EA approx.  ) normally it varies + -10%. means some times there are 90 EA in 1 KG, sometimes 110 in 1 KG.    
    We purchase Stickers in KGs. and Issue in EA in System . for example when user request issue 500 Ea labels. we issue 500 EA label in system, but physically we give  5 KG.
    when user consumed 500 EA and , then he found 45 EA left out of those 5 KG. ( means actually there were 545 Ea in 5 KG Lables).
    how we can take these 45 EA. into Inventory. ( upload quantity only ) ( with out any accounting entry \ with zero value ).     
    or is there any other best way to deal this.  keeping in view it is impossible to count these lables while purchasing or issue.
    thanks \ thomas

    thanks Guru for giving time.
    with this 2nd option
    Option2
    post a 202 movement, use external value field(may need to be customized) and give zero value there.
    This has the benefit that you would not give a credit to the cost center,
    and as you post the inventory for zero amount,
    a new moving average price is automatically calculated and updated in material master.   "
    when i tried with MB1A and 202.  one thing.  Cost center is compulsory  second there is no filed  "External Value Field" ( plz guid some steps how to customize it .  , 
    thanks \ thomas

  • Project Stock - goods receipt with ZERO value

    Hi all,
    when WBS element is assigned in production order, for a specific material Goods receipt is posting with ZERO value.
    When there is no WBS element assignment , it is posting normally. I have checked QBEW and QBEWH tables, there also stock is updated , but value is ZERO.
    what could be the reason?
    regs,
    Ramesh B

    You have to set in  via customizing:  Project System -> Structures -> Operative Structures -> Work Breakdown Structure (WBS) -> Create Project Profile
    In Project Profile / tabstrip "Control" /  section "Project StocK"/  set valuated stock

  • Posting with Zero Values in AFAB

    Hi all,
    My client wants to run depreciation with zero values, since they are maintaining Assets in FA Module but doing manual deprecations due to certain unavoidable reasons.
    By mistake we ran depreciation for 4 months for the assets in SAP. I know that we cannot reverse those entries. But I have passed rectification entries in Finance.
    But I am not able to update the Asset Masters with the correct values. How can I revert back the values in Asset Accounting so that my net book value is also 100 % now? Will AFAR work and if then how?
    Thanks & Regards,
    Sajan

    Hi Srinu,
    Thanks for your response.
    The situation is that, we went live in 2008 and we implemented Asset Accounting also. But client did not migrate legacy assets into SAP. They started using Asset Accounting only for new Assets. They did not run depreciation using AFAB. Infact, they calculated it manually and posted depreciation.
    Now the thing is that we will not be able to open year 2010 in Asset Accounting unless we close year 2008. But since, depreciation was not carried out, system is not allowing us to close year 2008. I was trying to run depreciation for year 2008 with out posting any financial entries in the system and I achieved it in quality client. But unfortunately in production, it posted entried for July-Nov 2008.
    Now I want to revert that as well as run AFAB with out posting any entries for Nov & Dec 2008 so that I can close this year.
    Hope you have understood the requirement. Any way out from this?
    Thanks & Regards,
    Sajan

Maybe you are looking for