Current Period data from MBEW

Hi Experts,
Currently in my program previous period data can be pulled from MBEW using MBEW_EXTEND putting XVPER = X . How can I pull the current period data from MBEW and which stock field should I need to consider for it?
  call function 'MBEW_EXTEND'
  exporting
         xvper              = 'X'
    tables
      mbew_tab           =  tab_temp.
Thanks in advance.

hi,
table MBEW is for material valuation table, irrespective of the period. here there is no bifurcation of this current period and previou period.
MBEWH- is material valuation history table.
here current period running active period in which the posting is beeing done.
previous period is one month before the current period.
here in MBEWH, an option is given to fill the last current month as required for fetching the data.
Edited by: manipal on Jan 10, 2008 4:56 AM

Similar Messages

  • What is the formula to bring the current last date from period hierarchy

    Hi,
    Iam working on Hyperion financial Reporting.i have created a grid with 2 dimensions(entity and period).My requirement is that the current last date of the period hierarchy should be displayed automatically in the header when the report is run.what formula should i write in the textbox to bring the current last date.Moreover i dont want to create a prompt for the period dimension.
    Kindly help me on this.
    thanks in advance.

    Thanks for all your replies..
    My actual requirement is that I have a period dimension with year,month and week as members.I dont want to set period as a UserPOV or a prompt.but i want the last date of current week of the period diemnsion to get automatically displayed in the text box which is placed on the header when the report is run.Period dimension is not used anywhere else in the report.I've tried using another grid for the period and i've hidden it.but what formula should I use to to display the last date of the week on the header.I tried using the function Bottomofhierarchy but it wasn't helpful..
    Please help me on this.

  • Current period data not visible in Management Cockpit

    Hi...
    I am facing problem in displaying latest data in Management Cockpit. The cockpit design is as follows: 0CALDAY (Section Axis), Plant Code (Data Series) & Production figures (Measure: Without Specific Axis).
    Problem:
    By default, the cockpit does not display data for current period automatically. It works perfectly fine when the period is changed to past period. However, when the cockpit data is refreshed by - opening the cockpit frame, clicking on 'Parameters' and clicking on 'Select', the data for current period is displayed correctly. Why does the cockpit not display current month by default?
    We have tried to fill the cache multiple times and hence do not think that this problem is due to inavalibilty of data in 'Cockpit Cache'. (Parameters given in buffering program 'UMM_MC_BUF' - Start = 01.2009, End = 012.2009, Time Stamp = 'X', Mode = 'A').
    Note: The query is based on Inventory Cube (0IC_C03)
    Regards,
    Anoop Sahu

    thank for your answer
    As i see it in JDev help, i'm sure it is possible.
    Can someone help me with that problem ?

  • Pass current row data from table and pass it to a method in AM

    Hi All,
    I have a table with row selection enabled. Also for each row I have a select image which on selection should pass the data from one of the columns of the current row selected to a method in AM.
    Can anybody let me know on "How on selection of the image in any row, can I pass the column data to the method in AM?".
    Thanks,
    Vijay

    Hi,
    the most easiest and straight forward approach is
    - Ckick the "Binding" tab at the bottom of the Visual Editor
    - In the Bindings section click teh green plus icon and choose Generic Bindings | Attribute Value
    - point the iterator selection to the iterator used by the table
    - choose the column's attribute name from the list of attributes
    - Create a method on the ApplicatioNModule IMPL class (should take single argument)
    - expose it as a client interfaces so it shows in the Data Controls panel
    - In the "Binding" tab, create a method binding for this exposed method
    - point the method binding argument to #{bindings.column-attribute-name.inptValue}
    So whenever you need to pass the value on to the AM, you just call the method binding
    OperationBinding oper = (OperationBinding) bindings.get("name of method");
    oper.execute();
    Frank

  • What is month end data from mbew?

    I have a report that shows valuated stock qty and value that needs to be filtered based on Month End data. (MARD, MBEW).
    How to code this filter "Month End data"?

    MBEWH and MARV are validation points for this. look at MB5W or report J_B1BL07

  • Current Period & Previous Period in MBEW

    Hi,
    I have to generate a report in BIW to show the material stock of current year to back three years month vice.
    For which i will fetch data from table MBEW(for current period data) & MBEWH(for past periods data).
    As i am a technical personal so i want to know what exactly the current period stands for and previous period.
    If i am not wron the MBEW stores current period data for material valuation.
    1. Suppose as this is January 2008, will the MBEW store data only for this period ?
    2. And as this month is not complete yet then will this table wil be updated daily ?
    3. what happens with the data of this table when a month ends ?
    4. Now when i look up at the data in the MBEW its showing me current period as 001 & current fiscal year 2008 - what does this signifies ?
    Our client follows V9 fiscal variant, i.e. fiscal period is OCt- Sep.
    Can anyone please provide me some functional details regarding my query's ?

    hi,
    table MBEW is for material valuation table, irrespective of the period. here there is no bifurcation of this current period and previou period.
    MBEWH- is material valuation history table.
    here current period running active period in which the posting is beeing done.
    previous period is one month before the current period.
    here in MBEWH, an option is given to fill the last current month as required for fetching the data.
    Edited by: manipal on Jan 10, 2008 4:56 AM

  • Data extraction from MBEW & MBEWH

    Hi All,
    We have to fetch stock data from MBEW & MBEWH.
    for this purpose which datasources are applicable ?
    Thanks

    0CO_PC_ACT_02 extracts data from MBEW only not from MBEWH.
    It extracts data for current period & for previous period only.

  • How to determine current period start and end dates

    Hi All,
    If given previous period start date and end date, how to determine current period start date and end date?
    Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Can you please suggest an FM to determine the current period dates?
    Thanks & Regards
    Gowthami

    >
    gowthami karunya wrote:
    > If given previous period start date and end date, how to determine current period start date and end date?
    > Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Hello,
    I am assuming you have the Company Code with you & proposing this solution.
    TABLES: bkpf.
    PARAMETERS:
    p_bukrs TYPE bukrs.
    SELECT-OPTIONS:
    s_date FOR bkpf-budat.
    DATA :
    l_perio LIKE bkpf-monat,
    l_poper TYPE poper,
    l_year  LIKE bkpf-gjahr,
    l_spmon TYPE spmon,
    l_periv TYPE periv,
    l_date1 TYPE datum,
    l_date2 TYPE datum.
    CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
      EXPORTING
        companycodeid = p_bukrs
        posting_date  = s_date-high
      IMPORTING
        fiscal_year   = l_year
        fiscal_period = l_perio.
    CONCATENATE l_year l_perio INTO l_spmon.
    * Get the next period
    IF l_perio < 12.
      l_perio = l_perio + 1.
    ELSE.
      l_perio = '01'.
      l_year = l_year + 1.
    ENDIF.
    MOVE l_perio TO l_poper.
    SELECT SINGLE periv INTO l_periv
    FROM t001
    WHERE bukrs = p_bukrs.
    IF sy-subrc = 0.
      CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date1
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date2
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      WRITE: / l_date1, l_date2.
    ENDIF.

  • How can I read realtime data from a data socket using DIAdem

    I am currently routing data from an instrument using LabView 7.1 to a data socket. I was trying to figure out how to access that data in real time in DIAdem through the data socket. Another option would be to use the downloaded LabView/DIAdem VI package, but I haven't figured out how to get that to work either, despite the forums here. I would prefer to access it through the data socket, if possible, as the amount of information being transferred is negligable (a string and a double).
    Thank you,
    Sinan Sutcu

    You have to use one of the ScriptDAC blocks. In your case, as you would like to fetch data from a LabVIEW vi, choose the out of the driver input palette. Inside the configuration dialog you can generate a sample script, which is then copied to the windows clipboard. It contains a lot of function prototypes which will be automatically called later during the measurement.
    Basically, the init functions are called during the start of the measurement - here you should connect to the activeX server, the deinit functions are called when stopping the measurement - disconnect from the server here.
    Then there is the function SFD_Readchannel, which is called once for eych tact and each channel you configured. Here, you should exchange the data with your VI.
    I am attatching an example I wrote to control a LabVIEW vi (doing a counter output operation)- that is why the data exchange works the other way around, but I hope it explains the principle.
    Additionally I am adding documentation about the ScriptDAC driver interface.
    Regards
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany
    Attachments:
    MultiCounterOut.zip ‏995 KB
    Script DAC Driver.zip ‏734 KB

  • BW extraction settings for Billing  Data from SAP ISU SYSTEM

    Hi dudes,
    iam currently  extracting data from  sap isu  to  bw systesm,but even after  generation of many  billingmaster dats i  dnt  find nay record to  be extracted in bw system since some settings are missing in  isu suystem for extarction process of Biliiing  data,
    Kindy help me in this regarding the settings to  be made for succesful  extraction from isu  to  bw
    kr
    raj

    Dear Mr Memminger,
    unfortunatly I was not able to find any hint about the same issue. As we have closed the FI-key we are waiting for any entry in RSA7. With RSA3 we get results but there are no entries in Delta Queue.
    What I was surprised about is the fact that in SM58 there are some tRFC-entries for function module MEREP_DELTABO and target MAM_MI. That looks like error in delta handling. Although my colleague told me that is the integration to Mobile Asset Management and hence has nothing to do with the Delta handling problem.
    But could give me a hint where to find the configuration setting for Delta queueing ?
    Best regards,
    Peter von Schubert
    Edited by: Peter von Schubert on Jun 29, 2009 10:17 PM

  • Can we move archive data from Filenet to another tool

    Hi Guru's,
    we are currently archiving data from SAP to archive location in Filenet , now we are planning to move archive data to onther tool , please suggest below  thing are possible:-
    1) Keep filenet and add another tool also    
    2) Move all a from filenet to another tools and then start rest of archiving to new tool.
    Regards,
    Jeetendra

    Hello,
    I have done this process when we moved our archived data from IBM Commonstore to IXOS/OpenText as well as when we moved all of our archived images in OpenText that were stored in a jukebox and we moved them to a WORM/Hard Disk Storage (still Open Text).  But, in both cases, we were provided the necessary conversion programs from the relevant vendor (in this case Open Text).
    This process is complex and involves correctly updating mulitple internal SAP tables as well as the database entries in the new storage providor. 
    My recommendation is to work with the 3rd party solution partner where the data is going to be moved to and get the appropriate conversion programs from them.
    Best Regards,
    Karin Tillotson

  • Current weekend date

    Hi
    I have a table with all the weekend dates, i would like to get the current weekend date from the table.
    Would you please help me in writing this SQL to achieve the above requirement.
    Thanks

    the table has the following weekend dates init
    13/05/2001
    20/05/2001
    27/05/2001
    3/06/2001
    10/06/2001
    17/06/2001
    24/06/2001
    1/07/2001
    8/07/2001
    15/07/2001
    22/07/2001
    29/07/2001
    5/08/2001
    12/08/2001
    19/08/2001
    26/08/2001
    223/11/2008
    30/11/2008
    7/12/2008
    14/12/2008
    21/12/2008
    28/12/2008
    4/01/2009
    11/01/2009
    18/01/2009
    25/01/2009
    1/02/2009
    8/02/2009
    15/02/2009
    22/02/2009
    1/03/2009
    8/03/2009
    15/03/2009
    22/03/2009
    29/03/2009
    5/04/2009
    12/04/2009
    19/04/2009
    26/04/2009
    3/05/2009
    10/05/2009
    17/05/2009
    24/05/2009
    31/05/2009
    7/06/2009
    14/06/2009

  • Extension of posting period days in ob29 for the current period.

    Dear Experts,
    I ahve requirment to extended the current period days  from 25 days to 28 days.
    My client is using the April to march fiscal year.Now he wants to extended in 9th period (dec) 25 days to 28 days.
    Please how can i do this now, because alreday postings are done in this month.
    Regards
    Kaparthi

    Hi mate,
    Here is the period table.
    OB29 - Select the Fiscal year Variant - click on Period from Left side structure. Usually, they looks as below.
    Month           Days                 Period           Year shift
    1     31     10     -1
    2     29     11     -1
    3     31     12     -1
    4     30     1     0
    5     31     2     0
    6     30     3     0
    7     31     4     0
    8     31     5     0
    9     30     6     0
    10     31     7     0
    11     30     8     0
    12     31     9     0
    Try this in DEV
    Thanks
    Edited by: nkonnipati on Dec 23, 2011 10:04 AM

  • BAPI to extract from MBEW/MBEWH for a given period

    Hi ABAPpers,
                We have two tables MBEW and MBEWH for Material Valuation. Based on the changes in few fields like VERPR, the record in MBEW will be transferred to MBEWH. Is there any BAPI that helps me to extract the data for a given period of a given fiscal year without asking me to probe from which table we need to fetch data from and which record in MBEWH is valid for that period of that year. Please suggest possible ways to do it.
    Thanks.
    Edited by: VKUPPILI on Dec 19, 2011 2:53 PM

    Hi
    Although it's not your question, see SAP Note 193554 - Stock/valuation data of previous periods, I think that it helps you to understand how to understand how to work the history tables.
    I hope this helps you
    Regards
    Eduardo

  • Return current period based off of current fiscal year and date

    Good Afternoon,
    Is there a way in the webi that I can create a dimension that always reflects the current Fiscal Month based of Fiscal year and date? I have a report that I am trying to show sales for a customer based off the current fiscal month. I would like this report when refreshed to be based off this fiscal month dimension instead of showing each fiscal month or changing it manually. What is the best way to do this?
    I have attached an image that shows current numbers by period (month) and then the YTD Totals. I would like to have my 'Period' column always reflect the current period and the Total column to reflect that months totals based off the period column. So for this period (3), instead of seeing 3 lines for each month I would just see the '3' and the total as $541,310.46, monthly as 412,502.09 and my YTD as 1,080,091.06.
    Any help is always appreciated!
    Thank you,
    Tiffany

    Hi,
    Create a variable
    FlagVar=If([Period]=Max([Period]) In Report;"Show";"Hide")
    And apply block filter of FlagVar=Show
    Are these coming TotalSales  MonthlyGoal YTDSales directly from universe? If they are calculated at report level then you might want to use NoFilter. like =NoFilter([YTDSales])

Maybe you are looking for

  • Hp photosmart C309g suddenly stopped printing

    I have a wireless HP photosmart C309g installed and worked great for 2 years.  Now all of a sudden there is a printer error, with no details.  I have tried everything..reinstalling the  driver, running diagnotics, etx.  Nothing has recently changed w

  • Adobe Premiere Pro CC Keeps crashing and freezing my MBP

    Hi all, Im really at a loss as to what is causing this...Premiere Pro CC randomly freezes. It can happen at any given time and seems to be getting more persistent! When this happens the only thing I am able to do is power down my computer and restart

  • I get an error message when I open Lightroom

    I get an error message when opening Lightroom"Lightroom has encountered an error when reading from its preview cache and needs to quit. Lightroom will attempt to fix this problem the next time it launches"  the problem does not correct when re openin

  • Why music won't play when i double click on it. software issue? i need help

    When I double click on a song or hit the play button, it doesn't do anything. I had this problem before but it seemed to fix itself after a few days. 2 weeks ago, itunes, along with any type of media on my computer, stopped working again. If I try to

  • Error while accessing Web services

    Hi, I have installed & configured Siebel 8.2 on windows 2008 R2 with IIS as Web server. When i try to connect through IE using URL "http://localhost/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute" I get an error such as - Server Error in