‎2006 Jun 02 4:42 PM
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.
‎2006 Jun 02 4:46 PM
HI Prasad
Welcome to SDN.
As far as i know you cannot post when the period is open.
please check with your FI consultant and tell them that the respective period is open..
Cheers,
Abdul Hakim
mark all useful answers..
‎2006 Jun 02 4:46 PM
HI Prasad
Welcome to SDN.
As far as i know you cannot post when the period is open.
please check with your FI consultant and tell them that the respective period is open..
Cheers,
Abdul Hakim
mark all useful answers..
‎2006 Jun 02 4:47 PM
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.
‎2006 Jun 02 5:02 PM
Right now both periods 05 & 06 are open.When i debugg and see there is a check for posting period.It gets the current period and if it is not equal to current period it gives the message
‎2006 Jun 02 5:05 PM
Hi,
Check wether you are passing the year and posting date and period in all the tables where ever required.
Like AR, AP, GL where ever you are trying to post it.
check it throughly...
Thanks.
‎2006 Jun 02 6:51 PM