Logic for carry forward of previous stock to current period stock.

Hi Experts,
Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
Header 1
Header 2
Header 3
Header 4
LFGJA/LFMON
ROH (MT)
HALB (MT)
FERT (MT)
11.2013
100.000
121.000
121.00
12.2013
50.000
12.000
123.00
01.2014
23.231
.23.234
45.342
02.2014
23.231
34.094
45.098
03.2014
34.098
98.983
00.000
04.2014
00.000
69.093
98.098
05.2014
00.000
89.098
00.000
For Example Break up of ROH material plant wise in below mention format.
LFGJA/LFMON
WERKS
MENGE (MT)
11.2013
P001
30.000
11.2013
P002
50.000
11.2013
P003
20.00
Thanks in advance,
SKN

Hi,
   The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
Regards,
AKPT

Similar Messages

  • Table name for Carry forward entries

    Hi Experts ,
    What is the table for the carryforward entries in FI/CO.
    In which table we can see the carryforward entries.
    Thnx
    Venky.

    hi,
    Table name for the carryforward entries in FI/CO is
    FMSU.
    table is for carry forward entries over a period.
    regards ,
    Brijesh.

  • Best Practice for carrying forward monthly forecast data??

    Dear all:
    I am in the process of building demo for monthly forecast. I have 12 forecast categories for each period of the fiscal year. However, I am wondering whether there is a best practice to carry forward data in current forecast (month) category into the next forecast (month) category, besides running a standard copy at every month end.
    For instance, let's say I am in June, and I would forecast in a category named "JunFcst" for the period 2010.06, 2010.07, 2010.08... 2010.12. For the example purpose let's say I enter a value of 100 for each time period.
    When next month comes, I would select "JulFcst", which is supposed to initially carry the numbers I have entered in JunFcst. In other words, 2010.07 ~ 2010.12 in JulFcst should show a value of 100. There is no need to carry forward data prior 2010.07 because these months have the actual already.
    I know I can easily carry forward data in JunFcst to JulFcst category by running a standard copy data package, or perhaps use some allocation logic. But if I choose this approach, I will run the copy or allocation package at month end manually every month, or create/schedule a 12 unique copy data packages for each month respectively. Another approach is to use default logic to copy the data on the fly from JunFcst to JulFcst. I am less inclined to this because of the performance impact.
    Is there anyway to create just one script logic that is intelligent enough to copy from one forecast category to another based on the current month? Is there a system function that can grab the current month info within the script logic?
    Thanks a bunch!
    Brian

    Which business rule (i.e. transformation, carry-forward) do you suggest? I looked into carry-forward but didn't think it will work due to the fact that it carries forward within the same category. Also, because we currently do not use carry-forward, we do not have a sub-dimension created...
    Thank you!

  • Script Logic to carry forward closing balance to opening balance

    Dear BPC expert,
    I'm new in BPC. I would like to have a logic script, as below.
    2008 -> Dec -> Closing1 = 2009 -> Jan -> Opening1
    2008 -> Dec -> Closing2 = 2009 -> Jan -> Opening2
    2008 -> Dec -> Closing3 = 2009 -> Jan -> Opening3
    2009 -> Jan -> Closing1 = 2009 -> Feb -> Opening1
    2009 -> Jan -> Closing2 = 2009 -> Feb -> Opening2
    2009 -> Jan -> Closing3 = 2009 -> Feb -> Opening3
    2009 -> Feb -> Closing1 = 2009 -> Mar -> Opening1
    2009 -> Feb -> Closing2 = 2009 -> Mar -> Opening2
    2009 -> Feb -> Closing3 = 2009 -> Mar -> Opening3
    Can anyone assis and provide me the code please, as I'm not familiar on logic scripting in BPC.
    Thanks.
    Regards,
    Clarissa Chung

    I don't think the carry-forward rules will work for you, for the reason I mentioned earlier. Focus on the account transformation rule.
    You don't really need to worry about using a specific package to execute the logic. To test it out in a DEV environment, you can just use the default logic and add in the syntax to execute the account transformation rule:
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([LEGALAPP], [ACTUAL], [USD],
    [%SCOPETABLE%], [%LOGTABLE%],[Transformation group],[MAXSTATUS])
    If you want to run this as a batch logic, then copy any of the existing packages that run logic (FX Trans is always a good starting point), add it using the Organize Package List, and on the advanced screen, modify the script to point to MyNewLogic.LGF file instead of the FXTrans.lgx.

  • MM:Price Change did not Carry forward from previous to current period

    Hi Gurus,
    Client has Reported that the Weighted Average Cost (WAC) was automatically  reset to Zero in a particular Period and didn’t carry over from the previous period , The initial analysis was done and it was found that there is a configuration for “Price Change in Previous Period and not in current Period” which has to be maintained for the company code
    The question is whether this configuration (“Price Change in Previous Period and not in current Period”) impacts both the Standard Price and
    WAC or does this impacts only Standard price
    Any pointers will be helpful, Will also Award Points
    Regards

    Hi Gurus,
    Client has Reported that the Weighted Average Cost (WAC) was automatically  reset to Zero in a particular Period and didn’t carry over from the previous period , The initial analysis was done and it was found that there is a configuration for “Price Change in Previous Period and not in current Period” which has to be maintained for the company code
    The question is whether this configuration (“Price Change in Previous Period and not in current Period”) impacts both the Standard Price and
    WAC or does this impacts only Standard price
    Any pointers will be helpful, Will also Award Points
    Regards

  • Carry forward from previous month

    Experts
    I want to carry forward from the closing flow of last month but the system copy the value from the last month of previuos year if I use the BPC copy opening business rule.
    Any way to achieve this?
    I am on BPC 10.
    Thanks

    Hi,Johnson
    In the Category dimension, there are two properties for
    this.
    OPENING_YEAR: blank or year from which to
    read the opening balances from (absolut value like « 2006 » or relative value
    like « -2 »,« +3 »). If blank, the balances are taken over from the last year
    OPENING_PERIOD: blank or specific period from which to read the opening balances from
    (absolute value like « MAR », or relative value like « -1 », « +4 »). If blank, the balances are taken from the last period of the year (December).
    To achieve this,set OPENING_YEAR to be +0 and OPENING_PERIOD to be -1.
    Have a  try.

  • REEXACRCARRYFORWARD Accrual carry forward for RE-FX Module

    Hi,
    I have the RE-FX accruals engine set up and running successfully, however am uncertain what the transaction REEXACRCARRYFORWARD transaction does.
    I do note that in the SAP service market place SAP note 896879 makes mention that this transaction "In the case of cross-fiscal year periods, a balance carryforward must be carried out in the accruals engine for the change of the fiscal year".
    When executing this transaction does it perform any system update however, such as create an FI document, or update the GL balance carry forward in transaction FS10N that you would normally see when performing a balance carry forward in FI? I have performed a number of tests that prove so far that this neither of these occur.
    Is this transaction simply a financial year end task that allows the RE Accrual Engine to be able to be executed in the new Financial Year, and that no actual system updates of data occur in system at all? If so then what purpose does this transaction serve?
    I have attached a document that details my testing and furhter explanation of this question.
    I look forward to hearing from you and hope that you can assist me in understanding what this transaction actually does.
    Thanks,
    Glen Stephenson

    Dear Glen Stephenson.
    As you maybe know.., When you try to use the "RE Accrual Engine",  you can consider the IMG of
    "Open Fiscal Year for Accrual Postings" as below ;
    (Go to RECACUST >> Accounting > Accrual/Deferral >Basic Settings>Open Fiscal Year for Accrual Postings)
    In this IMG, you can define the fiscal years are to be open for changes to accrual objects and for accrual postings.
    - Current fiscal year
       The system finds the current fiscal year automatically if the balance has been carried forward in
       the Accrual Engine. Periodic accrual postings can only be made in the current fiscal year or in
       previous years, but not in future fiscal years.
    Regards,
    Jeong, Yeong-Chul

  • Table for GL Carry forward balance

    Hi
    Can any one tell me the table where the carry forward balance of GL is stored.  Actually when we do faglgvtr the system will carry forward the previous year balances to the current year.  I want to know in which table those balances are stored .
    thanks

    Hi
    check with the below links.
    Re: Table for Customer and Vendor Special GL Carryforward Balances
    Re: Balance carry forward...
    regards,
    Radhika

  • Carried forward of  total in sapscript

    Hi Expert:
    For a multiple-page invoice, I want to print the current total as carry forward amount or subtotal on the current page and on the subsequent page.
    Please note down I am talking about SAPSCRIPT only.
    Eventhough I tried to do it by using summing  but it gives short dump .
    Appreciation for your urgent reply and thanks in advance.
    Regards
    Shashi

    hi shashi,
    just check this ..
    Summing a Program Symbol: SUMMING The SUMMING command is used for accumulating a total value for a program symbol. The command should be specified just once. Then, each time the specified program symbol is formatted, its current value is added into the total symbol. Several program symbols may all be added into a single total symbol. Syntax: /: SUMMING program_symbol INTO total_symbol SAPscript cannot create the field for the total dynamically. The symbol used must be defined in a TABLES structure in the calling program.
    For details on summing and carrying forward, see Summing and Carrying Forward is Incorrect. 6.21.1 Summing and Carrying Forward is Incorrect Assume that for a multiple-page invoice, you want to print the current total as carry forward amount or subtotal on the current page and on the subsequent page. However, the carry forward amount is incorrect or missing. The following causes are possible: • You do not use program symbols with Dictionary reference for totalling. • You place the carry forward amount into the BOTTOM area. SAPscript processes the BOTTOM area at the beginning of a page; therefore it is not suited for carry forward amounts. • If you place the carry forwards amount into the TOP area of the main window on the subsequent page, the carry forward amount may be higher than it should be: This happens if the last part of text of the previous page does not fit onto the page, but the text is held together, for example, by a PROTECT command. In this case, a local text symbol must receive the carry forward amount. You must place the carry forward amount on the current page into a window of type VAR. On the subsequent page, use a local text symbol to print the amount in the TOP area of the main window: 1. At the beginning of the form main text (before printing the first text element), define the amount variable and the total variable (both must be program symbols or Dictionary amount fields). In the example below, we use the SUMMING command to determine that for each output of &SUMTAB-AMOUNT& the system automatically sums up the amount in the total variable &SUMTAB-TOTAL&. At the end of the page, &SUMTAB-TOTAL& contains the carry forward amount of the current page or the grand total, respectively. In this example, we also define a local symbol &LASTPAGE& to print the grand total on the last page.
    /: SUMMING &SUMTAB-AMOUNT& INTO &SUMTAB-TOTAL& /: DEFINE &LASTPAGE& = ‘ ‘
    2. At the end of the form main text (when printing the last text element of the main window), set the local textsymbol &LASTPAGE& to a different value, such as ‘X’:
    /: DEFINE &LASTPAGE& = ‘X’
    3. To print the carry forward amount in the TOP area of the subsequent page including the pre-text 'Carry forward' and a tab, we use the local text symbol &CARRY. The corresponding text element is also defined in the main window:
    /E CARRY
    &’Carry forward:,,’CARRY&
    (CALL FUNCTION WRITE_FORM EXPORTING ELEMENT = ‘CARRY’ TYPE = ‘TOP’) 4. Define the carry forward window on the current page as type VAR and position it at the end of the main window of the page. Print the carry forward amount there and define the local text symbol &CARRY& to print the amount again in the TOP area of the subsequent page. Use the local text symbol &LASTPAGE& to print the grand total on the last page. The carry forward window then contains the following text (define it as paragraph T1 with tab):
    /: IF &LASTPAGE& = ‘X’ T1 <H>Grand total:,,&SUMTAB-TOTAL&</> /: ELSE T1 <H>Carry forward:,,&SUMTAB-TOTAL&</> /: DEFINE &CARRY& = &SUMTAB-TOTAL& /: ENDIF
    hope this helps
    regards,
    vijay

  • Leave Balance Carry forward problem

    Hello experts,
    Actually i found many threads which alredy posted but could not able to found solution for my scenario.
    we are having PCRs and doing Time evaluation in negative time mangement for carry forwarding quota balance, and Balances are forwarding to next year properly.
    But problem is, last year balance should be set by that remain amount and balance is transfered to next year.
    e.g.  if i have Entitilement as 53 and used 17 for the year 2010. now am doing time evaluation to transfer the remain balance that is 36 to next year, and its carry forwarding to 2011 is ok. Now i want that Entitlement 53 for 2010 will set to 17 also. So, the system will carry forward the balance as well as that balance is deducted from previous enttilement also, in short how much is transfered that much deducted from previous entitlement.
    So, i need to change that PCR.
    Note:This requirement is suggested because, there was a problem when we do leave encashment using infotype 0416, it will deduct the quota compansation amount from proper year with available quota.
    Please help me..
    -Jagdish
    Edited by: Jagdish Rakholiya on Dec 28, 2011 11:55 AM

    Jagadish,
    in short how much is transfered that much deducted from previous entitlement.
    it means you want to transfer the used leaves number to next year. is it?
    its so confusing please elaborate simply.
    regards,
    mohammed

  • Report painter: Carry Forward (KSLVT not available)

    Hi,
    I am building a report based on table GLPCT (using report painter), in a column I need to have the carry forward and the records of the current year . Aim is to have, for a group of accounts, the total from the begining in SAP to today: Carry forward (KSLVT from previous year) + Janvier (KLS01) to KSL03 or KSL05 (depending of parameters filled in selection screen).
    I don't know how to select or add the carry forward (field KSLVT).
    Thanks in advance for your help.
    Br,
    Aymeric

    Hi Sridhar,
    thanks for your answer. For Library 8A2 in GR22, there is no dedicated fiedl for carry forward (KSLVT) in key figures, but there is:
    - KSL-GES_JAHR (Total year)
    - STOCK_ACT (Closing bal. in PrCtr-Currency)
    - IST_KONZW_KUM (Cumulated actual)
    I think that could help me. I will check and keep you update.
    An other think is we did a profit center reorganisation (hierarchy modification), in March, and we did delete entries in GLPCA (but we did not do anything within GLPCT, tha's were balances are stored).
    And it seems transaction 2KES has not been re-run after the reoarganisation, I have those points to check also.
    Thanks for your help.
    Br,
    Aymeric

  • How to carry forward leaves to the next year with out writing PCR

    Hi All,
    Could you please tell me the process steps for quota carry forward from previous year to the next year with out writing a PCR
    Regards
    Sita

    Hi
    Leave balance carry forward

  • Carry Forward Balances

    Hello,
      Could you please explain me on the details of the F.07 transaction? What exactly happens in SAP when this is run? Also, are there any documents created when this is run or information stored in regards to it? Please let me know
    Thanks in Advance!

    F.07 is used to carry forward vendor and customer account balances into a New Fiscal Year.
    Customer and Vendor Accounts: The balances on the balance sheet accounts are simply carried forward into the new fiscal year. Additional account assignments are transferred.
    There are no prerequisites for carrying forward customer and vendor accounts.
    Automatically Adjusting Balances Carried Forward
    When you carry forward the balances for G/L accounts at the end of a fiscal year, the system automatically adjusts the balances when you post values to the previous year. The system uses an indicator to determine whether the balances have been carried forward. Once this has been done, the balance is automatically carried forward whenever a posting is made, even when a posting is made to the previous year. It is therefore not necessary to execute the balance carry forward again.

  • Carry Forward GL Balances - F.16 & FAGLGVTR

    Hi
    We are on ECC 6.0 and New GL is active. For carrying forward GL Balances to New Fiscal Year I have run F.16. But the opening balances are not appearing in FAGLB03. Later on I also executed FAGLGVTR. But this also did not help.
    Any clues whether any SAP Notes to be applied ??
    Please advise urgently.
    Thanks
    RK

    Hi Ravi,
    I ran this successfully in my previous implementation without any problem. I don't remember the t-code but I think new GL has a different t-code for carry forward than F.16, which is for the normal FI-GL.
    Also a basic question, is the retained earnings account defined in config? One more setting to allow year end carry forward that needs to be checked.
    Regards
    Sharabh

  • Clearing Invoice not carried forward FM

    Good afternoon,
    I am trying to clear an invoice from a previous year that has not been carried forward in FM. I am getting the error FMCF701.
    Any idea about how to treat this?
    Regards,
    Daniel

    Hi Team ,
    I have change Profile from "000102 to 000400 "  and allow valu type 61 for carry forward in testing server after that budget down poayment carry forward to new FY successfuly ,
    But when i am trying to make service entry sheet using ML81N system showing another error,"  098 Changing the assignment of payment or commitment budget is not allowed"  Snap shot is attached. is anything missed out.
    plz sugeest me what have to do in this case

Maybe you are looking for

  • Has anyone upgraded the Ironport ESA to 8.5.6-074 and had the issues of Raid status showing unknown?

    Has anyone upgraded the Ironport ESA to 8.5.6-074 and had the issues of Raid status showing unknown? After we upgraded our appliances we are having issues with our ESA appliances showing the RAID status as unknown. When we reported the issue to CISCO

  • XML parsing in AL32UTF8

    I am not able parse my XML in oracle 11g having parameter value NLS_CHARACTERSET=AL32UTF8 but the same xml and same procedure i am able execute in db having NLS_CHARACTERSET=WE8MSWIN1252. How to solve this?? for parsing the xml i am using - dbms_lob,

  • I lost my iphone 5 and got it back how to activate

    Hi hi lost my iphone 5 a while ago and I got it back so I want to see if I can activate it at Sprint but they say they have to reset the phone so you think you can you can help me out

  • Non db objects in a GridControl

    Hello all Is it possible to put in a gridControl a row that I've created and which is not fetched from the DB? Something like a row that calculates that sum of a certain column? If so, How do I do it? if not, How can I implement such a row? Thank you

  • Lua Scripts

    I hate to post such a seemingly mundane question but I can't seem to find my answer anywhere. I've tried other forums and I've tried google. I was hoping there was a conky specific thread here but I couldn't find one so I posted here. Anyway, I've be