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

Similar Messages

  • 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

  • Log for the Closing Period & Opening Period -Urgent

    Hello,
    While Opening & Closing Periods in MM where will be the logs saved.
    Thanx & Regards,
    Kumar Rayudu

    Go to transaction SE16> enter the table name MARVCD or MARV and enter the parameters of company code, then execute, you may find the person who changed the last MM period. I am not sure if it holds previoys history, but the latest changes may be found

  • Invoice cancellation should not allow for closed periods

    Dear All,
    We will be closing the posting period for each quarter,and declare the sales figure.,what ever the invoices we have made should not be cancelled in that quarter.,i want the a check in the system that if any cancellation during this quarter which is closed ,should not allow to cancel the invoice.ofcourse the accounting document will not be generated as the posting period is closed but still the invoice is generated and blocked for accounting.i want the creation of billing document should be blocked.
    i Know this can be achieved By defining new routine in VOFA and assign it in VTFL., but is there any standerd routine there which will solve my purpose or i hae to go for new routine.
    REgards
    Shakthi

    Hello Shakthi,
    In standard, there is note 180756.
    Unfortunately the note 180756 just helps for billing creation, it is not useful for
    billing cancellation.
    The note 180756 suggests to develop a copy requirement routine checking
    the periods.
    But in VF11 copy requirement routine are not performed.
    Unfortunately there is not a ready-to-use workaround.
    In transaction VOFA is possible to define a "copy requirement" routine,
    which is performed when the invoice is cancelled.
    You could create a routine doing the necessary check, and put
    it here.
    Regards,
    Alex

  • 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

  • Reserval of Assessment Cycles for closed periods - FAGLGA15

    Hello,
    We have assessment cycles in closed periods which we want to reverse / repost in current period.  We are using ECC New GL functionality.  Tcode KISR does not seem to recognize Assessment cycles created with FAGLGA1* .
    Suggestions / options to achieve the end result, please.
    Regards
    Jayesh.

    Hi:
    If your CO allocation has some external postings (like GL or fixed assets) or generating some intercompany documents, then it needs FI to be open also. It happens sometimes if the allocation goes external so it would need fI period to be open also. If FI is close but CO is open, it would only work for CO specific allocations and others would error out.
    Please check the cycle/segment which is in error. If it is suppose to hit FI, then FI (OB52) and CO (OKP1) periods should be in sync.
    Thanks.
    Rahul

  • Performing GR for closed period

    Hi Experts,
    we closed mm period but unfortunitely we have notice still one product we need to do GR.
    so plz advice me how to perfor GR for close MM period
    Thanks,
    Rajesh

    Hi
    Check in Tcode MMRV for Post to previous period and activate it.
    Now you try to post in previous month it will allow.
    You can also use Tcode OMSY to change the period but you have to be cautious if you are in live system.
    Hope it helps
    Thanks/Karthik
    Edited by: Karthik on Aug 18, 2009 5:25 AM

  • Authorization for opening & Closing posting periods - OB52

    Hi,
    Is there any way to set authorization for opening & closing of posting periods in OB52?
    My scenario:
    I have 2 company codes - A & B assigned to 2 different posting period variant - say PPA & PPB.
    The user belonging to CoCd A should not be able to open/close posting period of CoCd B and vice versa.
    Is this possible through any authorization settings?
    Request your help on this.
    Regards,
    Sridevi

    Hi Sridevi
    Please go through the following:
    You can assign authorization groups for permitted posting periods. This means that, for example, some posting periods can only be opened for particular users within monthly or annual closing. You can only assign the authorization group at document header level and it only affects period 1. The authorization object is called F_BKPF_BUP (Accounting document: Authorizations for posting periods). Read the corresponding chapter on "User maintenance" in the "Assigning authorizations" topic.
    "User maintenance"
    Due to the modular authorization concept of the system, you can define authorization profiles which are tailored to the workplace of your employees. You can, for example, assign authorization to a workplace in the Accounts Receivable, Accounts Payable or General Ledger Accounting areas.
    By assigning authorizations you define which business-related objects your employees are allowed to process and which editing functions are allowed.
    In the following activities for authorization management, you must carry out the following for employees who are to work with the system:
    Assign authorizations
    The authorizations are assigned by specifying permitted values for the pre-defined objects.
    Define profiles
    In the SAP system, authorizations are grouped together in workplace profiles. Therefore one or more profiles must be allocated to the individual employee in the master record.
    I hope this helps.
    Regards
    Kavitha

  • How can I delay my MBP from hibernating until the lid has been closed for a set period of time?

    After extensive research, I have been unable to solve this problem and I'm hoping someone can explain this to me.   Everytime I close the lid on my 13-inch, Early 2011 Macbook Pro, it immediately starts to write to disk (solid light on the front) for several seconds until it finally goes into Hibernate mode (flashing light on the front).  The problem is, I frequently close the lid, then immediately reopen it within 15-30 seconds to resume typing or to add something I may have forgotten.   Each time I reopen the lid before the light has started flashing, the MBP wakes for a moment, and allows me to resume typing.  However, the Hibernation process has already begun and within 30 seconds, the screen goes blank.   I have to wake it AGAIN, which is very annoying.
    Based on my research, I could use pmset to change the hibernatemode to 0 (it is currently set at 3).   However, I dont wish to disable hibernate mode completely; I DO want it to save a hibernation image to disk if it happens to run out of battery, so that when I resume I havent lost anything.   
    I then researched using standby and standbydelay to attempt a delay of the write to disk when going into standby mode.   According to the pmset manual:
    standby causes kernel power management to automatically hibernate a machine after it has slept for a
         specified time period. This saves power while asleep
    standbydelay specifies the delay, in seconds, before writing the hibernation image to disk and powering
         off memory for Standby
    I then set these values as below, expecting the laptop to wait 4200 seconds (70 minutes) before trying to write to disk when I close the lid:
    standbydelay         4200
    standby              1
    Unfortunately, that did not work either.   If I close the lid, the light glows solid immediately (indicating it is writing to disk), and if I try to reopen the lid before it is done, it will wake and seem fine, then 30 seconds later it goes blank right in the middle of me typing something.   I usually have to click the mouse several times, or even the power button to re-wake it.  
    I do have InsomniaX installed, for when I want to close the lid and keep the machine awake permanently (while watching videos on airplay) and I have tried quitting that application to test this.  However, when I close/reopen the lid..the result is the same.   I cant keep InsomniaX enabled all the time, because it will never go to sleep when I truly want it to.   If I am not using InsomniaX, I just want to delay hibernation until he lid has been closed for a set period (say 15 minutes or more).  If I have not reopened the lid within that time, I want it to write to disk and go into hibernation mode.  And if the battery runs all the way out, I want it to go into hibernation mode before shutting down so I can recover.
    I would appreciate any help in solving this problem.  Also any insight as to why the standbydelay setting above did not work.   Thanks!

    Whats with the MBP lid? Dont close it ... if you're so concerned! Just go to System Preferences/Energy Saver and set it to how you like it.

  • Can SAP run the depreciation for closed Period and posting to diff month?

    My client forgot to run the depreciation for Jan 2011, and now the Jan period has been closed and report also done.
    My solution was to re-open the Jan and does the depreciation, once completed reclassify Jan depreciation posting to Feb 2011 manually.
    I am just wandering whether SAP can handle this different way.
    Can SAP performs Jan (Closed Period) depreciation and post to Feb period automatically or any other suggestions?
    Cheers

    Hi
    Yes, you can do that
    Follow this thread... Unable to post depreciation- Error AA730
    Using ABF1, you can do it
    Br, Ajay M

  • Should OKP1 being all closed and only be opened for the current period ?

    Guyz,
    In OB52 (Financial closing period) , only "open period" being input on it. So, basically the closing period in OB52 is by opening the period provided to be posting.
    Then how about OKP1?
    It's provided to lock the actual period , actual transactions, or to lock the plan period or plan transactions..but the question is:
    a. Should it be all closed (ticked mark all transactions & all periods) except for the current period that is provided to be posting as period determined in OB52...For example, it is now June, then all periods & transactions other than June is being ticked mark.
    OR
    b. Should it be all opened except for the period that is being closed? For example, it is now June, so periods & transactions of period January to May are being ticked mark (closed).
    Which of the options is the best practice?
    Need your answers asap plz.... Thanking you ..

    Hello,
    For example in OB52, if you have opened for June, i.e.,
    06 of 2009 to 06 of 2009 (1st Period)
    In such case,
    In OKP1, you need to only untick June for all the months and close all remaining months (Untick June and tick all other months and transactions).
    Note that your planning activities for all the year must have been completed. Otherwise, you cannot enter the plan values.
    Regards,
    Ravi

  • IMPORTANT! ZXRSAU01 for 0FI_GL_40-Select closed period-last month on BUDAT

    Hello Everybody,
    I want to use Exit: ZXRSAU01 for 0FI_GL_40 : I need to Select data on closed period (last month) in ECC for BI7, with field BUDAT.
    Please, did somebody have any ABAP Code to do this?
    Thanks in advance.

    so, i don't know how to determine the last month, but if you know this your coding should look like this:
    field-symbols: <fld> type extractstructure of Datasource (you find the extractStructure in RSA6 when ds is activated)
    data: lc_tabix type sytabix.
    data: budat_low type sydatum,
            budat_high type sydatum.
    .... here you have to determine low and high date for your period you want to select...
    case i_datasource.
    when '0FI_GL_40'.
    loop at c_t_data assigning <fld>.
      lc_tabix = sy-tabix.
      if not <fld>-budat between budat_low and budat_high.
        delete c_t_data index lc_tabix.
      endif.
    endloop.
    endcase.
    So somewhere you have to determine the month you want to bring to BW.
    But remember  - its not a good idea to select data first and then delete it in this exit. The better way would be not to select them with selection in you Infopackage.
    Br
    M.

  • Need to create report query to get latest open and last closed period for given application

    Hi All,
    I need to create a report query to get below result displayed in report output.
    1)   -   Application name
    2)   -    Ledger name
    -o/  -Operating Unit
    3)   -  Last Closed Period
    4)   -  Current Open Period
    5)   -  Date Closed – Last Closed Period
    6)   -  Date Open – Current Open Period
    I tr I tried to create the query below is the same. Please let me know if it looks fine.
    SELECT *
      FROM (SELECT fav.application_name ,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status ='C'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc )WHERE ROWNUM = 1 
    UNION ALL
    SELECT *
      FROM (SELECT fav.application_name Application_Name,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status = 'O'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc)
             WHERE ROWNUM = 1

    It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
    I'm just having a hard time pointing the link in the search results report to the document in the blob column.
    The information on that page is great if you're trying to create a link to the document on the initial report.
    But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
    When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
    Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    If you can help me with this I'd really appreciate it.
    Thanks again.
    Greg
    Edited by: gjones77 on Dec 2, 2008 8:14 AM

  • Negative stocks for the previous period when closed MM period

    hi,
    I try to use MMPV to close MM period, error message is displayed "
    Some materials have negative stocks for the previous period."
    how to solve this problem and what cause this message? why system allow negative stock?
    thanks

    Hi
    Negative stock means that for a material in your  plant stock is 0 on current posting date but you still want to  issue the material.
    So  in order to achieve this u need to activate the Negative stock for that material in material master and mark the setting of negative stock for the storage location.
    Using the Transaction OLMB ---Goods Receipt
    If you need further information
    Refer this link
    http://help.sap.com/saphelp_erp2004/helpdata/en/a5/63313343a211d189410000e829fbbd/frameset.htm
    rgds
    Chidanand

  • Effects of reopening closed periods in Asset Accounting.

    Hi SAP Gurus,
    My client wants to open the closed periods in Asset accounting. I have used T Code OAAQ and changed the last closed period.
    I would like to know what are the effects of opening the closed periods.
    Will it effect the already posted depriciation and what further steps should I take after the entries are passed.
    Even after I opened the period both in FI and AA it still is giving me a message that I cannot post to this year.
    Can you kindly suggest.
    Thanks in advance,
    Hari

    If you post any entries to the asset , the depreciation will change in asset accounting and will not match with the general ledger unless depreciation posting run is executed.
    However, since you have already executed depreciation posting, AFAB selecting repeat run in the last period or special period if your company code have  special periods.
    Caution:  It will change the P&L and Balance sheet balances.
    Please check the Post Capitalization Option (ABNAN) for asset values missed in the past for capitalization

Maybe you are looking for

  • Firefox doesn't open and even when i want uninstall it the window comes that close the firefox if it open but it doesn't open actually

    my mozilla firefox doesn't work when i want to open it , window comes that is user account something say do you want to allow and if i want to uninstall the firefox it doesn't uninstall.

  • Java files required. WMS Mobile changes

    Hi All Have to do changes to Mobile Pages in WMS. The path that we get from the function under tab web_html .... leads us to class files.. I wanted to know where can we get the java code files so that I can copy and make changes.. Regards Ali

  • AEBS w/Quicksilver G4, OS 9 iMac and a Dell PC Win2000

    I cannot get my Dell PC running Win2000 to connect to the internet via my Airport Extreme Base Station. I configured it with my G4. The G4 and the iMac are connected to via a switch and ethernet cables. They both access the internet just fine. The De

  • Advance pricing for combined item rate

    Hi all, We are running oracle ebs 11i with database 10 , Our management introduce new rate list and this rate list depends on the other items quantity. You can say it combine price list. Suppose we have two items A and B. Normal price list : item qua

  • Problems with Camera on IPAD Mini

    New Ipad mini.  Not able to switch camera to back.  It only shows on the front then it freezes.  I am also having problems with the number 1.  All other numbers are working except no. 1.   I have restored to factory settings and am still having the s