FM to read previous period values in material master Accounting tab

hi,
is there an FM to read standard price and price unit values for the previous period in accounting1 tab in material master.
Thanks,
V.

Deepthi Suvarna wrote:
Hi ,
>
> Use function module DB_DELETE_TABLE and input table MARHD and delete the entry for the previous period stock.
>
> Thanks
> Deepthi
mardh table is a audit relevant table, it is absolute nonsense to delete enties from standard tables.
The use of this function module is not even a solution for the issue discussed in this thread.

Similar Messages

  • Reading previous period value is logic

    Hi,
    There's a need to read previous period value is logic for some processing, can you please help me out how this can be achieved. I have a selection for time in the package called %TIME_DIM% and I am running for the current period. I have tried following options
    First
    *WHEN XYZ
    *IS "ABC"
    *REC = (FACTOR=GET(TIME=PRIOR), SOMEDIM=VALUE)
    *ENDWHEN
    When above code executed with current period (no record exists for current period) nothing is read.
    Second
    *XDIMMEBERSET TIME = PRIOR, %TIME_DIM%
    *WHEN XYZ
    *IS "ABC"
    *REC = (FACTOR=GET(TIME=PRIOR), SOMEDIM=VALUE)
    *ENDWHEN
    In the above case no record is selected and surprisingly the select statement fired (got it form the log) is for the last time period maintained in the system - 1. So if I have time dimension members till 2020.DEC this picks up 2020.NOV. I didn't understand why?
    Would appreciate help on this.
    Thanks

    Anand,
    It is not very clear what you are trying to achieve here.
    Perhaps you already have this, but below some explanation about special time selections that you can use in SQL logic.
    The time shift instructions
    To simplify the calculation of leads and lags in financial reporting applications, the following new instructions have been implemented for SQL-based logics:
    PRIOR
    NEXT
    BASE
    FIRST
    The instructions PRIOR and NEXT support an optional numeric parameter. This parameter represents the number of time periods by which the current period must be shifted. If omitted, the functions will assume a time shift of 1 period (forward or backwards). Negative values are accepted (A negative value for a NEXT function corresponds to a positive value for a PRIOR function and vice-versa).
    Examples:
    TIME=NEXT          // In a monthly application this means next month
    TIME=PRIOR(3)     // Three periods backwards
    TIME=NEXT(-3)     // Same as PRIOR(3)
    The keyword BASE always represents the last period of prior fiscal year. When the fiscal year is a normal calendar year and the frequency is monthly, the base period of 2004.JUN is 2003.DEC.
    The instruction BASE can be useful in YTD applications, where the opening balances need to be retrieved from the last period of prior year.
    The keyword FIRST always represents the first period of the current fiscal year. When the fiscal year is a normal calendar year and the frequency is monthly, the base period of 2004.JUN is 2004.JAN.
    In case the time shift goes past the boundaries of the TIME dimension, these time shift functions will return no period.
    These functions can be used in four ways:
    -     To re-direct the destination period in a *REC statement
    Example 1: *REC(TIME=NEXT)
    Example 2: *REC(TIME=BASE)
    -     To retrieve a value from a different period in a *REC statement
    Example 1: *REC(FACTOR=GET(TIME=PRIOR(3))
    Example 2: *REC(FACTOR=GET(TIME=BASE)
    -     To add periods to the selected data region in a XDIM_MEMBERSET statement
    Example: *XDIM_MEMBERSET TIME=PRIOR, %TIME_SET%
    In this example, if the first modified period is 2004.APR, the instruction PRIOR will add 2004.MAR to the region to process).
    -     When the keywords PRIOR, FIRST or BASE are added to a XDIM_MEMBERSET instruction, the time period PRIOR, FIRST or BASE can be also evaluated in a WHEN / ENDWHEN structure, like in the following example:
    *WHEN TIME
    *IS PRIOR
         // ignore
    *ELSE
         *REC(u2026)
    *ENDWNHEN
    In presence of an XDIM_MEMBERSET containing the PRIOR keyword, like in the above example, the WHEN structure here shown will recognize 2004.MAR as PRIOR period.
    Following is an example of logic that performs a carry-forward of account ACCREC, while adding to it the periodic amount from EXTSALES.
    *XDIM_MEMBERSET TIME=PRIOR,%SET%,%PREFIX%.DEC
    *CALC_EACH_PERIOD
    *WHEN TIME
    *IS PRIOR
         *WHEN ACCOUNT
         *IS ACCREC
              *REC(ACCOUNT=u201DOPEACCRECu201D,TIME=NEXT)
         *ENDWHEN
    *ELSE
         *WHEN ACCOUNT
         *IS EXTSALES
              *REC(FACTOR=-1,ACCOUNT="OPEACCREC",TIME=NEXT)
              *REC(FACTOR=-1,ACCOUNT="ACCREC")
         *IS OPEACCREC
              *REC(ACCOUNT=u201DACCRECu201D)
              *REC(ACCOUNT=u201DACCRECu201D,TIME=NEXT)
         *ENDWHEN
    *ENDWHEN
    Hope this helps,
    Alwin

  • Material Master Accounting tab tables

    One of my clients want a report that has values of a material standard price and  price unit in group currency that are visible in accounting tab of material master(MM03). i know i can get the company code currency values from MBEW table but  in which table are the group currency values stored?If any one can provide me this information that would be great.
    Points would be awarded

    hi Aparna,
    Check table BSIP in it there is Field for currency(WAERS)..i think it is taken from here only....pls check...
    hope it helps...
    Regards
    Priyanka.P

  • Classification values in Material master

    hi ,
    m using the BTE event to capture the values of material master but the characteristics name and value fields are not there.
    Is there any way to capture those values??
    i have one solution by assigning the program and table to the field symbols like--
    CLEAR field .
           field = '(SAPLCLFM)allausp[]' .
    ...but i need some more elaboration if someone has worked on this...or any other better solution...?
    Edited by: Jeetu@SAP on Jul 11, 2011 2:43 PM

    hello ganti,
    can u check ur MARC table and re-confirm, is thar really available....

  • Updation of Consumption values in material master

    Dear Experts,
    For a FERT ,
    When I use strategy 40 , Consumption values ( PGI - Deliveries )are getting updated in MM02 in Forecast view.
    whereas,
    When I use strategy 50 , Consumption values are not getting updated in MM02 in Forecast view.
    Is there any setting to control this updation of Consumption values in Material Master ?
    Regards,
    Sheik

    Hi,
    Update of consumption is based on movement type, and you can decide which movement types should have or have not consumption updating.
    Check in transaction OMJJ if the movement types in question have indicator "Consumption posting" (field V_156_VC-KZVBU) as marked.
    If it is the case, consumption is updated, opposite for un-ticked.
    Hope that helps.
    Thanks.

  • Defalt values in material master?

    Hi All,
    Is it possible to make default values in material master.
    Like material group should be 001 for material type ROH etc
    Regards,
    RR

    Hi Raj,
    You can default the org elements and views in the material master.
    But you can not make fields inside the views as default.
    But coming to your problem, what you can do is:
    Try to copy it from existing material, so by default all values inside the views will come.
    Hope it helps...
    Utsav...

  • How to view previous standard price in material master?

    Dear expert,
    in material master Costing tab 2, i can view the current and future cost estimate price. but i want to view the previous month standard cost estimate price in material master?
    For these, is there any configuration setting needed?
    Thanks for advance

    Hi
    When you re-release a Std Cost - The Future cost would become the CURRENT cost and the Existing curent cost would become the PREVIOUS cost.... You can then see the Previous cost estimate in material master
    br, Ajay M

  • Change the characteristic Values in Material master date

    Hi Experts,
    How do change the characterstic values in material master ? Is there any standard BAPI or t.ocde or LSMW
    Best Rgds
    Suma

    I often changed classification with LSMW using IDOC CLFMAS

  • Change the characteristic Values in Material master dat

    Hi Experts,
    How do change the characterstic values in material master ? Is there any standard BAPI or t.ocde or LSMW
    Best Rgds
    Suma

    Hi Suma,
    Probably this question should be asked in another forum (MM) then the one for DMS related questions

  • Previous year stock is appearing in Material Master accounting view

    Hi,
    We have ran cycle count inventory to set the stock Zero for a particulat Material. In Stock overview the report is showing as Zero stock for the material. But in Material Master the stock is showing as one and it is reffering to previous period. Need to set the stock as Zero, kindly us me know your thoughts on this issue.
    Thanks and Regards
    Gangadhara

    Deepthi Suvarna wrote:
    Hi ,
    >
    > Use function module DB_DELETE_TABLE and input table MARHD and delete the entry for the previous period stock.
    >
    > Thanks
    > Deepthi
    mardh table is a audit relevant table, it is absolute nonsense to delete enties from standard tables.
    The use of this function module is not even a solution for the issue discussed in this thread.

  • Defaulting values in material master creation

    Hi,
    I want to have some filed values to be appeared as default in all the views while creation of material master.
    By user settings, I can restrict Org level values such as C Code,S Org Distribution Channel etc etc.
    But how to make field values such as account assignment grop,division,valuation class,price control,transport grp,loading grp etc appearing default so that user does not have to think.
    Regards,
    manOO

    Hi,
    You can set values for Parameter IDs of the fields that you want to default.
    Set values in system -> user profile -> own data under parameters tab.
    For example Disision's parameter id is 'SPA'. You can set a default value for division by giving proper value for SPA under parameters data in own data.
    Hope this will help.
    Regards,
    Naveen.

  • In SOP- transfer forecasted values from material master to info structure?

    Hi All,
    I wanted to test out a few scenarios. Do you know the answers  / can you help simulate and check the below?
    1.     If I run the forecast using different models for different materials using the total forecast run (MP38), the forecast values will get updated in the material master. Can I get these values transferred directly into the SOP (standard or flexible), without re-running the forecast in SOP? What I am looking at is a possible scenario where individual materials have different forecast model, so do not want to run forecast from SOP using one model for all.
    2.       Can you have the capability of selecting diff model (say based on material master data) in SOP for diff materials? When I ran SOP, the model I specify there for forecasting is applied for all materials
    3.       If I upload historical values/forecasted values in the material master, can I directly transfer them to SOP without any change to the value?
    Appreaciate your inputs.

    Hi All,
    I wanted to test out a few scenarios. Do you know the answers  / can you help simulate and check the below?
    1.     If I run the forecast using different models for different materials using the total forecast run (MP38), the forecast values will get updated in the material master. Can I get these values transferred directly into the SOP (standard or flexible), without re-running the forecast in SOP? What I am looking at is a possible scenario where individual materials have different forecast model, so do not want to run forecast from SOP using one model for all.
    2.       Can you have the capability of selecting diff model (say based on material master data) in SOP for diff materials? When I ran SOP, the model I specify there for forecasting is applied for all materials
    3.       If I upload historical values/forecasted values in the material master, can I directly transfer them to SOP without any change to the value?
    Appreciate your inputs.

  • Copy of Batch characteristics value from material master to Batch

    Hi Gurus,
    I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
    Can any one help me to achieve this in standard way?
    Thanks
    Sandip

    Hi,
    Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
    Thanks
    Kumar 

  • To upload values into material master table

    Hi,
    Can anyone tell me how to upload the changed values in a screen to material master table?

    Hi,
    Actually my requirement is,there is an update screen.There are many fields in the update screen.When the user changes the value of a partiacular field and click on the checkbox beside it of which he wants to get uploaded into material master table,and click on the execute button,the values should get uploaded into material master table.
    Can we upload all the field values at a time into material master table?How can we do that?

  • Updating values in material master table

    Hi,
    I have a requirement where in which if the user wants to change the value of some fields of a particular record in the o/p,then he checks the checkbox of that record and click on the change button.Then the control goes to the update screen.There are many fields present in the update screen and also checkboxes were present beside each field.The user can change the values of the fields here and click on th execute button.Then only the checked field values should get updated in the material master table.
    Can anyone tell me how only the checked field values can be updated in the material master table

    are you attempting to program the standard transaction MM17 all over again?

Maybe you are looking for

  • External Hard Drive Storage suggestions

    Hi I have an Imac and want to buy some media storage device. I am using it for video editing etc so transfer speed is pretty important.  This machine does not have thunderbolt from what I can see.  looks like I am stuck with an expensive machine with

  • How to sync icalc with google calendar

    Can anyone describe how to sync google calendar with iCal?

  • BAPI's for PA30- InfoType 7

    Hi , I would like to know if there are BAPI's for the Tx-pa30 infotype7. likewise if u have for the InfoTypes2,6,9,21 as well ..it would be of great help . Thnks, Nazeer

  • Firefox 9 doesn't handle the css font stack properly

    The style body{font:13px/1.231 arial,helvetica,sans-serif;*font-size:small;*font:x-small} should cause the browser to work through the stack and use sans-serif if arial and helvetica are not available. This is how it worked in Firefox 8 and how it wo

  • Bi Publisher Desktop in Windows 7 64 bit for E-Business Suite Development

    Hi Guyz, Please Guide me to install Bi Publisher Desktop in Windows 7 64 bit for E-Business Suite Development? When I tried to install with below versions it returns an Unexpected Error in the middle. 1) p12395372_10g_WINNT - Oracle BI Publisher Desk