To check posting date lies in closed period

Hi all ,
  I have to check whether posting date lies in closing period.
Please let me know any FM FOR same.
Thanks in advance
Rahul

First call FM FI_PERIOD_DETERMINE and pass company code and posting date into it  and get
IMPORTING
     e_gjahr              = v_l_gjahr
     e_monat              = v_l_monat
     e_poper              = v_l_poper
Then call FI_PERIOD_CHECK and pass v_l_poper to i_monat.
Please let me know if still it doesnt work

Similar Messages

  • Delta extraction of modified data in already closed periods

    Hi everyone,
    we're currently facing a scenario where data in BI does not seem to match R/3. We're using the business content extractors 0ec_pca_3 & 0ec_pca_4 to get data for a balance sheet report, but some of the figures don't match. The client currently uses periods 001 - 013, in other words they have one special period. After much investigation and discussions with the users, we found out that the client sometimes goes back and makes changes to periods that have already been closed. For instance, period 013.2007 is closed in R/3 (and loaded to BI), at some point in 2008 the client "reopens" the period and modifies the data. This data does not seem to be picked up by the BI delta extractor. So our theory is that the two systems don't balance because of this late period modification. My questions are:
    Is it part of standard SAP FI process to re-open an already closed period and add/change/delete data?
    If so, would this changes be picked up by the standard delta extraction? If not why and is there anything we can do to achieve this?
    If not part of standard process, what would the solution be? We've suggested to potentially create a separate period, say period 014, for these changes? Would this be a recommended way forward?
    Thanks for your time.
    Cheers,
    Dion

    0EC_PCA_4 does not support delta right?
    Have you already checked contraints mentioned in these links?
    http://help.sap.com/saphelp_nw70/helpdata/EN/5d/ac7d8082a27b438b026495593821b1/frameset.htm
    Can a full load for the missing records be tried?
    Also look at Note 577644

  • Checking Posting Date in ABAP Program

    Dear All,
    I am given a requirement to develop a program to create PO  without using Tcode ME21N.
    I find trouble in validating posting date.
    How to check that the entered date is the valid posting date or in which table i can get the values to check.
    I tried the following FMs, but couldn't find the solution.
    ACEPS_OPEN_PERIOD_DETERMINE
    FC_CHECK_PERIOD_OPEN
    G_PERIOD_ALLOWED_CHECK 
    FI_PERIOD_CHECK
    DETERMINE_PERIOD
    Could anybody help me in this regard.
    Best Regards,
    S.Sridhar

    Hi,
    Use the following FM :
    FM_INPUT_CHECK_POSTING_DATE
    FCJ_CHECK_POSTING_DATE
    Regards,
    Mansi.

  • MIRO Posting Date Based On MM Period Or FI Period

    Dear Friends,
    In miro posting date control based on MM period wise or Fi period wise. Please give the solution.
    Thanks
    Saravanan

    miro posting date column controled by MMRV t.code or OB52 t.code
    Thanks
    Saravanan R

  • Function Module to check posting date

    Hi,
    Is there any function module avilable to check whether the posting date is open or not.
    Regards
    Suresh.

    check G_POSTING_DATE_OF_PERIOD_GET
    Reward points if useful, get back in case of query...
    Cheers!!!

  • Reg: Extract Date for  the closed periods

    Hi,
    In FI/CO, Every Financial year accounts have been closed.
    Now issue is I want do extract the data for a particular period of which is closed (2002) By using some standard prog.  It is giving an error msg that the input date is closed. How to over come this as a technical guy.  They require the data for 6 months in 2002.
    Regards
    Reddy

    Hi Santosh,
    Thanks for your Questions. Below are the explainations:
    1. Can you expalin how your system is behaving at the moment?
    A. Presently the GR Processing time is 1 day for a material in Plant. So, if the user wants to produce on Wednesday (Planned date in PR, provided by the MRP run), then the delivery should be on Tuesday (Because GR processing time is 1 day). In  the same way, he dont wants the delivery to be on Friday. I mean, if he wants to produce on Monday,  he wants the delivery to be on Thursday.
    Only Friday, he don't wants to make the Delivery.(The delivery date should not show Friday in PR's).
    2. Pls explain your original MRP view and planning calendor setting...
    A. For solving of the above issue, we changed the Lot size to copy of "PK" - Period lot size acc to planniong calendar. Then we maintained the Planning calendar, in which the periods are for every Monday, tuesday, wednesday and thursday. Expecting, the delivery  should be excluded for friday, the friday in the planning calendar is not given as a period.
    The scheduling paramter in the Lotsize is tried with both the options (period start = Deliery date and period end = Delivery date).
    Later removed "PD" in MRP type and tried with "R1" Time phase req. But, the precondition for this is to maintain "Forecast req". This is also done. But, then, the system for this material is not responding to the MRP run. It is asking to run the forecast model. We ar not using SOP.
    3. The results thst you get with current setting?
    A. For the planned date in PR of Monday, the delivery date in PR is on the day before monday. i.e., Friday (Saturday and sundays are holidays).
    4. Expected results...?
    A. For the planned date in PR of Monday, the delivery date in PR should be Thursday (the day before monday production).
    Hope, i am clear in my explaination. Please revert back, if you need any more information.
    Thanks and Regards
    Surendra Chakka

  • To check a date lies within in a range

    hi,
    i need a fm to check whether a date lies within a range ( eq 30.04.2007) it lies between 16.04.2007 and 30.04.2004 (inclusive).

    hi,
    Use the statement..
    data : l_date type sy-datum value '20070430'
    data : l_date1 type sy-datum value '20070416'
    data : l_date2 type sy-datum value '20070430'
    IF l_date BETWEEN l_date1 AND l_date2.
    * Do the required Processing
    ENDIF.
    OR
    Build the range
    RANGES : R_date for sy-datum.
    r_date-sign = 'I'.
    r_date-option = 'BT'.
    r_date-low =  l_date1 .
    r_date-high = l_date2.
    append r_date.
    IF l_date IN r_date.
    * Do the required Processing
    endif.

  • I'm looking for a Funciont Module that check posting date (VBRK-FKDAT)

    Hi, All
    I'm looking for a Function Module that let me know whether or not a Date (importing paramerter) is allowed for posting in period. (MARV data (including XRUEM (Allow Posting to Previous Period) ))
    If you know that, please let me know.
    Best Regards.
    Rie.

    Hi,
    Check the following FM. :
    MARV_SINGLE_READ
    Thanks & Regards,
    Faheem.

  • FM for checking closing period

    Hi all,
    I need an FM that can check whether a given Posting Date lies within a closing period or not.

    Hi,
    call function 'FI_PERIOD_DETERMINE'
    exporting
    i_budat = p_datum
    i_bukrs = p_bukrs
    importing
    e_gjahr = year
    e_poper = period.
    aRs

  • I want post closed period.. how to do that

    Hi
    I want to post a document in closed period, how to reopen in production server, and after post wht are the further steps.
    Thank you

    Hi
    Once the period is closed, it is not advisable to open the period again.
    First check the procedure following in your company, if the procedure allows, open the period in tcode-OB52 and do accordingly, if not no chance post in current period.
    VVR

  • Can we prevent posting in Leading Ledger by closing periods in NLL?

    Is it possible?
    I have 24 periods in non leading ledger(2 per calendar month) and want to prevent posting in the leading ledger if the posting period is closed in non leading ledger.
    E.g. if I close periond 1 in non leading ledger which corresponds to Jan 1 to Jan 15, I should not be able to post anything in leading ledger till Jan 15, but whatever I post from Jan 16 - Jan 31 would be posted in 1st period of LL and 2nd period on NLL as that period is now open.
    Currently when I try to post thru FB50L, for closed period, if I mention the non leading ledger, the document is not posted. But when no ledger group is mentioned. the document is posted in both ledgers..
    Thanks for your thoughts on this.
    Regards,
    SSK

    You have to define a separate Fiscal year variant to non leading ledger using with the following path
    Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Ledger > Define and Activate Non-Leading Ledgers
    Rgds
    Murali. N

  • Preventing posting in leading ledger by closing period in non leading ledge

    Is it possible?
    I have 24 periods in non leading ledger and want to prevent posting in the leading ledger if the posting period is closed in non leading ledger. Currently when I try to post thru FB50L, for closed period, if I mention the non leading ledger, the document is not posted. But when no ledger group is mentioned. the document is posted in both ledgers.
    Thanks for your thoughts on this.
    Regards,
    SSK

    You have to define a separate Fiscal year variant to non leading ledger using with the following path
    Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Ledger > Define and Activate Non-Leading Ledgers
    Rgds
    Murali. N

  • How to check changes done in close in period.

    Hi
    How to check the changes done for closeing period ( mmpv ).
    Thanks
    Prashant
    Edited by: Prashant U. Maid on Dec 5, 2008 5:28 AM

    Hi
    You can check thru T.code MMRV the peroid status.If you need to see what are the changes and how has made the changes then go to T.code se11  and check the entries for the table MARV( Material Control Record ) for the desired company code.
    Client
    Company Code
    Fiscal Year of Current Period
    Current period (posting period)
    Fiscal year of previous period
    Month of previous period
    Fiscal year of last period of previous year
    Last month of previous year
    Allow Posting to Previous Period (Backposting)
    Indicator: Disallow backposting after a change of period
    Name of Person Who Changed Object
    Date of Last Change
    Time
    Indicator: Initialize company code
    Fiscal year of period before last
    Month of period before last
    Fiscal year of last period of year before last
    Last period of year before last
    Fiscal year of 1st period with dynamic closing
    1st period with dynamic closing
    Fiscal Year of 1st Period After 4.6C Upgrade
    1st Period After 4.6C Upgrade
    Regards
    suny

  • Closed period

    Hi,
    is there a function module to determine whether a certain date lies in a period that has been closed for posting of accounting documents ?
    Thanks,
    Rolf

    hi,
    try fm FI_PERIOD_DETERMINE
    A.

  • Rolling Back Closed Period

    Folks,
    I'm trying to post the GR thru MIGO for the scheduling agreements and I'm getting this error:
    "Posting only possible in periods 2009/04 and 2009/03 in company code____"
    I'm trying to post in the current month " Jan 2009".
    I checked OMSY and current period is 042009.
    I know we can close the periods thru MMPV/MMPI but in this case these periods are already closed and current open period is only two months after (042009).
    Is there any way we can roll back to the closes periods and posting can be done in the existing period??
    We are in our dev environment but any heads up of this would be greatly appreciated!!
    Thanks for your help in advance,
    Cheers,
    Dhaval

    Hey there,
    Thanks for the heads up. However I think that MMRV will only allow posting in the previous closed period which in this case would be 032009.
    But I'm not sure if this will help me if I would want to post in 012009 or 022009.
    I'd appreciate if you could shed some more light on this.
    cheers.
    Dhaval

Maybe you are looking for

  • How to create anchor links within a spry accordion?

    I am using the spry accordion from DW CS6. HAving 6 panels. I want to do this but can't manage it the usual html way...and I am clueless about javascript: I want to create a wordlink that forwards people to the content of a different panel within the

  • Problem switching to Tomcat

    Hi to all, I developed my JSF application using JDeveloper / OC4J; we however use Tomcat as our servlet container; the problem is that when we run the app with Tomcat, we get an "FacesContext was alredy released" exception when we submit the form. I

  • How to search Database in JSP using LIKE

    hi can anyone tell me is there any other syntax for Query when we use LIKE to search database in which suppose String para = request.getParameter("name"); Select name,surname From user where name LIKE '"+para+"';

  • Bypass login page for InfoView in BOE 3.0

    Hi Could anyone let me know how to redirect to a user's home page on InfoView panel  directly without the login page coming in between for BOE 3.0. This functionality is currently working fine for BOE 2.0 as I am passing user credentials as name , va

  • Is Balanced Data Distributor Transformation available for SQL Server 2014?

    If not, does anyone know when it would come out? I'm trying to find transformations that will make my data flow tasks faster.