Posting period problem in BAPI_ACC_DOCUMENT_POST

I am using BAPI_ACC_DOCUMENT_POST to post documents for AR.It works fine in all the scenarios except when 2 posting periods are open.The previous posting period is open till 1st week of next month.I want to post in the 1st week for the previous posting period.I get the error
period 05 is not allowed.Is there any value i need to pass
to the function module.Please help.The normal fb01 does post to the previous period.

Hi,
BAPI will return if period is not open like this.
'perios 04 2006 is not open for posting'.
but your error message is period 05 is not allowed. please check the date that you are passing and check the year that you are passing to it.
If not get period and year using the FM 'FI_PERIOD_DETERMINE' and pass this year and period to it.
Thanks.

Similar Messages

  • Posting period problem (very urgent)

    Hi all,
    I want to open a last posting period for particular user which i have handled through authorization group but at the same time i want to open a some G/L codes for other users.Please confirm is it possible to do both the things at the same time.
    Thanks in advance.
    Regards,
    Manisha

    Hello Madhu
    I have tried to restrict certain G/L account group through Authorization group in OB52 but the system do not allow to post the document even in that G/L account group range and prompts the message that "posting period is closed". Actually it is clearly written in the help that authorization group can only work with '' in Account Type field. However, '' means all G/L account group not the restricted / specified range.
    Now how can I restrict certain users to post within certain G/L account group range in the previous posting period?? I hope you have understood my question.
    Urgent response is required.
    Thanks in advance.
    Regards,
    Shabbir

  • SAP 2007 posting period problem

    Hi , Ask for help please.
    I am trying to add the invoice into system for the customers who have 60 days terms, which leads the due date falls into 2010, however the system pops out error says: invoice is not allowed cause not permission date. Just wonder why, and how can I fix it? The posting period has been set up correctly and have year 2010 . thanks

    Hi ,
    I think you need to extend the due date upto 2010 , since you are in 2009 . Then you should be able to create your document .
    Go to current posting period and extend the due date .
    Hope this helps
    Bishal

  • Posting periods problem

    Hi experts
    I am closing my posting periods with MMPv,its giving the message some materials have negative stock for the previous period,and the process is terminated.please advise me how to with this....
    Thanks in Advance...
    Varun

    check which material have negative stocks. that means GR is requieds to make them as positive stock.
    Make the negative stock to positive and close the posting period

  • Posting period problem

    Hi all,
    Can anyone let me know how to resolve the foolowing error,
    Currently the posting month in MMPV was 4, by mistake it has been changed to 7 i.e from july it has been changed to october.
    Now it is not possible to make deliveries & billing so let me know what is the solution for this.
    Thanks in advance

    Dear Friend,
    You have closed the Period 4 (july) by mistake & opened Period 7. Due to this you cannot do any goods movement in July month.
    You now need to open the closed period. Please follow this:
    T-Code: MMPI -> from toll bar select - System - User Profile - Own Data.
    Go to Parameter Tab Page. Here enter "MMPI_READ_NOTE" in the Parameter Id field.
    Then remove assignment of Plants from Company Code in IMG -> Enterprise Structure -> Assignment -> Logistics - General -> Assign Plant to Company code.
    Go to T-Code OMSY & set your required period (i.e. Current Period as 4 & Pervious as 3)
    Reassign the Plants to Company Code.
    Then check in MMPV your current Period would be 4 2008.
    Hope this above is useful...
    Reward if you feel like...
    Thanks,
    Jignesh Mehta
    Mumbai
    98700 10230

  • Depreciation Posting Period Problem

    Dear Expert
    I am new in asset management module. Please Help
    This is The configuration. Date Of Legacy data transfer is 31.12.2010 and period in which depreciation was posted for year are blank and for period are zero.
    I Make one aset legacy data, capitalized 01.01.1995 and useful life 15 year. Acquistion is 1000 and accumulated depreciation is 900. After i finish create legacy data. in Aset explorer tab posted value automatically planned depreciation is in period 8 not in period 1.
    I already check to t-code SCMO. No Depreciation run for this company.
    Did i do some mistake in configuration.
    Thanks

    Hi,
    In OAYC, If you are following FY Jan to Dec then maintain, FY - 2010 and Period - 12.
    Regards,
    Sayujya

  • MM Posting Period Problem

    Hi,
    I have configured one plant in development server. Now i am doing UNIT testing. For unit testing I have opened MM Period as 10/2011(Financial Year) Previous period is 09/2011. After some time it automatically chnaged as 04/2011 previous period as 03/2011. What may the reason for this...
    Reg
    Mani

    Mani-SAP wrote:
    After some time it automatically chnaged as 04/2011 previous period as 03/2011. What may the reason for this...
    >
    > Reg
    > Mani
    SAP does never ever change automatically the period from 10/2011 back to 04/2011.
    This can only be done by a user.

  • IW45 - Cancel Confirmation - Posting period query

    Hi Experts,
    I am executing IW45 and while saving it says that Cancellation of completion confirmation STOPPED due to MM period closed .
    As per my knowledge Time confirmation generates only financial document so why it is giving an error because of MM periods?
    Also, I want to cancel the confirmation that is been done few days back but the probelm is now that period is closed.
    So what are the different ways to go ahead with the cancellation of this confirmation?
    Can we make Posting Date field as input field during IW45 (Cancel Confirmation) so that we can overcome closed posting period problem?
    Thanks
    DM
    Edited by: Deepak M on Oct 2, 2009 7:48 AM
    Edited by: Deepak M on Oct 2, 2009 7:50 AM
    Edited by: Deepak M on Oct 2, 2009 7:50 AM

    Hi Deepak,
    Ask Finanse, & Material Team to open period. Once it is opened cancel the confirmation nos.
    Further the same confirmation can be used to repost the enties in new period.
    Regards,
    Ramesh

  • Reg: Query Problem for New Posting Period

    Hi Xperts,
    While I try to Map the A/P Invoices with their respective Outgoing Payment,
    I used the following Query and it's Query Printlayout
    SELECT T0.DocNum [Payment#], T0.DocDate [Payment Date],
    T0.CardCode, T0.CardName, T1.InvoiceId, T2.DocNum [AP Inv#],
    T2.NumatCard [Bill No.], T2.DocDate [Bill Date], T1.selfInv,
    T1.SumApplied, T1.WtAppld, T0.NoDocsum 
    FROM  [dbo].[OVPM] T0  INNER  JOIN
    [dbo].[VPM2] T1  ON  T1.[DocNum] = T0.DocNum
    INNER  JOIN [dbo].[OPCH] T2  ON  T2.[DocEntry] = T1.DocEntry
    WHERE T0.Cardname='[%0]' and T0.DocDate='[%1]' and
    T0.DocNum='[%2]'
    I got the above query from our Expert Mr.Sambath only.
    Now what is the problem is the query is retrieving the payment details of old Posting Period only and not the current posting period.
    In detail, I used 'Primary' Series for FY08-09, Period indicator 'Default'
    Now I'm using 'Primary1' Series for FY09-10, Period indicator '0910'
    Thanx in adv.
    Regards,
    Bala

    Hi Bala,
    Looking at your query, it is not query issue ,it is your data issue.
    Please check if you have data in  VPM2  table  which is bank transfer payment method
    Thank you
    Bishal
    Edited by: Bishal Adhikari on Apr 9, 2009 8:48 AM

  • ASKB - POsting Period not open problem

    Hi All,
    I saw many threads on this problem but not got suiatable solution thats why i am raising this thread again.
    Due to some problem my client not Run ASKB for October period, now when he is trying to run ASKB for November month he is getting error that 'Posting period is not open'.
    Now we cannot open 'Posting period' 'October' because of some organizational issues.
    Kindly suggest me how i run ASKB for 'Current month.
    Regards
    Sandeep

    Hi Sandeep,
    To my regret, is the answer here is definitely NO.                                                                     
    A reconciliation of the system would be not possible (For example, in foreign currency and a parallel currency).
    This source of error was stopped by switching from batch input sessions  to the Direct booking with RAPERB2000. (With batch input sessions  it was possible to manipulate).
    Furthermore, the values in the periodically posting areas have to be posted into the correct period.
    If the reconciliation is not relevant, you can check via testrun which values have to be posted and post them via FB01. In this case you have to manipulate also the table TABAS and T093D.  But take into acount that this is on your own risk and will not be supported by SAP.
    My personal opinion: Open the periods and run the RAPERB2000 regular.
    Regards Bernhard
    Edited by: Bernhard Kirchner on Nov 29, 2010 12:54 AM

  • Problem while posting to accounts.posting period  002 2010 not open

    Hi experts,
    Im facing problem while posting to accounting.
    I ran the live payroll run and  while posting im got the incorrect document.
    System is showing the error message that  ""Posting period 002 2010 is not open"""
    How we have to open the periods.
    Please advice.
    Vi Sai.,

    Hi vicky,
    Goto t-code OB52.
    Variant :Posting Period variant, Account Type : +, From Account : space, To Account : ZZZ..Z, From Period : 2,Year :2010, To Period :2, Year : 2010
    Save.
    Regards,
    Dilek

  • Problems with the posting period....

    Hi guys,
    every once in a while the old problem with the posting periods occurs. This morning it hit me and I went out to repair it.
    Starting out from MMRV I checked the open period and it said 062009.
    Using MMPV, by mistake, I opened 112009, so that I'm able to post to 112009 PLUS the previous period 102009 (which is ok so far). Later on I checked OB52 to see, if finance is not the problem. The opened period lasts from 012009 to 122009.
    Long story short: everything seems perfectly alright, however it still doesn't work. It says: Posting only possible in periods 2009/11 and 2009/10 in company code 1000
    I don't see where there could be a problem now...
    Any help is greatly appreciated!
    Thx & regards,
    Bobby

    Hi,
    It is possible to re-open a previously closed period. However, it is NOT advisable to do so because the valuation data of the previous period could be affected.
    In general, it is only safe to reopen a previously closed period when no material postings have been done after the period shifting to the new period.
    If there has already been postings after the period shifting to the new period, reverting the period back will cause database inconsistencies in the history tables.
    If you decide to proceed with this process, you can use the program RMMMINIT, but, please review the documentation of this program first!! and the check the SAP notes 487381 (for the error message that you are receiving) and the 369637 (for an explanation about the inconsistencies that will be generated.
    Steps are as below;
    Go to Transaction Code SE38
    Enter program name RMMMINIT
    Execute or press F8 function button
    Enter your company code (From and To)
    Enter relevant date: Say 01/10/2009 for Oct. 2009 month to be opened as of now
    That means, user can post for the month of sept 2009 as well as Oct. 2009
    Refer SAP Note No. 487381 for more details.
    As per SAP Notes 487381 ( If the periods are opened in advance in mmpv to again change it to current period the following process should be follow ), Go to Tcode MMPI, then go to menu bar and select system -> user profile->owndata.In that screen , under the parameters tab enter MMPI_READ_NOTE in Parameter ID field and enter, then under short description you will get Initialise period. Next Save.
    Again go to MMPI enter company code, period and year and execute.
    Other way of doing it is follow these steps: ( *TRY in Sandbox But do not try in PRODUCTION SYSTEM*)
    1. Use t.code: OX18, and delete the plants assigned to your CO.Cd and save.
    2. Use t.code: OMSY and change the posting period to the one u want and save.
    3.Go to OX18 and assign the plants you have deleted in step 1.and save.
    Regards,
    Biju K

  • Problem with New Posting Period

    Hi Experts,
    I am trying to create a new posting period for 2009 but the system will not update. I have done this for several companies on the same server and it worked but for some it wont work. I do not get an error message, the system does not respond at all.
    I am using SB0 3005 A.
    Regards,
    Lebo

    Hi,
    Check Note No. [1079168|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1079168]
    Regards,
    Jitin
    SAP Business One Forum Team

  • Problem in entering stock as well as closing posting period for MMRs

    Dear All,
    Whenever I do goods receipt (tcode: MB1C, movement type: 561)  and enter, it gives the error "Posting only possible in 2007/05 and 2007/04 in CoCd XXXX. I know I need to close posting periods for MMRs. But the while doing that using MMPV for 2007/06 and CoCd XXXX, it comes to a screen stating following:
    <b>Client YYY
    Period entered (month/year) :06 2007
    Incorrect period in control rec of CoCd XXXX; no conversion The current period of record (month/year) is 05 2007</b>
    Alternatively, I try to close period thru OMSY and change period on "Pe" column, a window pops up saying "The CoCd XXXX no longer be initialised"
    Can anyone help on this? I'm stuck and can't go further. Reward points assured.

    Hi
    It is very clear from the meassage that the current period is 05/2007.
    You have to close this.In the screen you have to enter 05 2007.Then it will close 5 th period and opens 6th period.then close 6th period so that it open the current period 7 (If the fisical year variant is calander year).
    Regards
    Ramakrishna

  • Problem with posting vendor invoice (MRHR) due to posting period

    Hello,
    Good day.
    Recently, due to the closing of posting period 12 2006, a new posting period was created for 2006 to reconcile some unproccessed posting for that year. This posting period 13 2006 was created in FI (OB52).
    Unfortunatley, even though posting period 13 2006 is available. When creating a vendor invoice (MRHR) with reference to PO, specifying the posting perio 13 2006 would create an error message
    <b>"Allowed posting periods: 01 2007 / 12 2006 / 12 2006"</b>
    I debuged the program and tracked down the source in the table MARV, which seesm to be maintained in the transaction code OMSY.
    However, when I tried to change the data for the company code a message would apperar
    <b>"The company code <ccode> can no longer be initialized"</b>
    I also tried tcode MMRV and allowed posting to previous period, but that didnt work.
    What actions do you guys suggest so that the Vendor Invoice/Invoice Verification can be posted in period 13? Thanks and good day.

    Thanks very much, i'll check it when my internet is stable. Unfortunatley the earthquake in Taiwan messed up our internet
    Award points once I see it!
    If there are any other tips that may prove useful please feel free to post them.

Maybe you are looking for

  • Who has a find Open Path plug-in for CS4 Illustrator on WinXP and a close path also?

    Can anyone lead me to a plug-ins for finding open paths and closing them in CS4 on WinXP? Thanks

  • Changing info about songs

    I was trying to change the info on all the songs in my iTunes library yesturday to try and get all the songs from some albums to be together rather than seperated when different artists were performing by changing them all to 'Various'.  Unfortunatly

  • I have problem in jsp page

    i have build jsp page using javascript and java for the database connectivity .....i have dbtest.java in which i write the sql quiry and set the sql column in setter and getter another java class.in dbtest.java i pass a date from jsp which restrict t

  • Instantiating a class from another package

    Hi, I have two packages, say "framework" and "impl" - framework package (framework.jar) - contains base classes - contains factories to instantiate concrete classes - bundled in <product>.ear impl package (impl.jar) - contains implementation(concrete

  • How to stop process chain job in middle

    Hi, I have designed process chain ,to trigger following sequence of jobs Step 1 Switching from Transactional cube to Basic cube and Vice versa. Step 2 Loading data from Transactional cube to basic cube. Step 3 Buffering the Scorecards. My question is