Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any function module to get the currently opened posting period?

Former Member
0 Kudos

Hi Experts,

Can anybody tell me that is there any function module to get the current posting period .....

thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Please use the below example function module.

1. pass the company code and current date.

CALL FUNCTION 'GET_CURRENT_YEAR'

EXPORTING

bukrs = 'GB10'

date = sy-datum

IMPORTING

CURRM LIKE BKPF-MONAT "Current month

CURRY LIKE BKPF-GJAHR "current year

PREVM LIKE BKPF-MONAT "previous month

PREVY LIKE BKPF-GJAHR " previous year

The function module returns current month, current year, previous year, previous month values.

reward points if helpful.

Regards,

kishore

5 REPLIES 5

Clemenss
Active Contributor
0 Kudos

Please search forum:

Pages: 17 [ 1 2 3 4 5 6 7 8 9 10 | Next ]

Posting period

Posted on: Jul 21, 2006 5:54 PM, by user: SB -- Relevance: 100% -- Show all results within this thread

Hi, How do I open a posting period?? Thank You, SB.

Find first day of open posting period

Posted on: Jul 26, 2007 11:49 AM, by user: Fabrizio Ballante -- Relevance: 98% -- Show all results within this thread

Hi all experts, my problem: I neded to find the first day of the open posting period in my report. You know any FM or other? thank you all, points for all. ...

Function module to find if a posting period is open or closed

Posted on: Aug 10, 2007 6:45 AM, by user: BWBW -- Relevance: 98% -- Show all results within this thread

HI can anyone let me know if there is a funciton module to findout if a posting period is open or closed? Appreciate your help and will reward helpful answers.. Thanks ...

Posting Period

Posted on: Nov 9, 2006 5:32 PM, by user: SB -- Relevance: 88% -- Show all results within this thread

The posting period is open for Oct & Nov ... & I have checked it up in OB52 ... still when I create a doc thru FB01... it gives ...

posting period

Posted on: May 15, 2007 2:27 PM, by user: Swetha YALA -- Relevance: 78% -- Show all results within this thread

what is posting period? can any one explain me...

Posting period

Posted on: May 8, 2007 8:11 PM, by user: Vinni -- Relevance: 75% -- Show all results within this thread

Hi, I try to post a price change document and the period 05/2007 is not yet open is the message i get. When i try to post in 04/2007 it says posting is allowed from 06/2007 to 07/2007 ...

Re: posting period problem

Posted on: Aug 1, 2006 1:37 AM, by user: Rich Heilman -- Relevance: 74% -- Show all results within this thread

Please open the current posting period via transaction OB52. REgards, Rich Heilman

Tables for posting period check

Posted on: Aug 25, 2006 12:45 PM, by user: Arun Mohan -- Relevance: 74% -- Show all results within this thread

tables for posting period check for tcodes F-63 and MIR7. I need to check whether the posting period is open when uploading data to these tcodes. Arun Mohan ...

Open Period

Posted on: Aug 2, 2006 1:56 PM, by user: Sreedevi P -- Relevance: 71% -- Show all results within this thread

In which table can I see open period for each of a company code?

Re: How to Get Current Posting Period

Posted on: Dec 21, 2005 5:05 PM, by user: Kalpana Tyagi -- Relevance: 61% -- Show all results within this thread

date passed and if you pass parameter i_read_data_only as space , it also tells if the period is open or not . Regards Kalpana Message was edited by: Kalpana Tyagi ...

POSTING PERIOD FM

Posted on: Aug 9, 2007 12:00 PM, by user: Aarti Dhingra -- Relevance: 60% -- Show all results within this thread

Hi, I have a requirement in FI where i have to enter the posting date on the selection screen and then check against the closed period and whether that belongs ...

Posting Period

Posted on: Jul 5, 2005 1:31 PM, by user: Prabha R -- Relevance: 60% -- Show all results within this thread

Hi, In some transactions while trying to give posting date i get message as Posting only possible in periods 1998/03 and 1998/02 in company code ...

Re: FM for checking wether period is open or not

Posted on: May 19, 2006 7:12 PM, by user: Saquib Khan -- Relevance: 60% -- Show all results within this thread

Try ACEPS_OPEN_PERIOD_DETERMINE FC_CHECK_PERIOD_OPEN ...

Posting period problem in BAPI_ACC_DOCUMENT_POST

Posted on: Jun 2, 2006 5:42 PM, by user: prasad kollipara -- Relevance: 59% -- Show all results within this thread

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 ...

FB01 posting period

Posted on: Mar 8, 2006 4:28 PM, by user: Timothy Hixson -- Relevance: 59% -- Show all results within this thread

Hi all, I have an assignment to add a posting period to a external file and bring into SAP using the RFBIBL00 process and the FB01 transaction. ...

Pages: 17 [

Former Member
0 Kudos

Hi,

Please use the below example function module.

1. pass the company code and current date.

CALL FUNCTION 'GET_CURRENT_YEAR'

EXPORTING

bukrs = 'GB10'

date = sy-datum

IMPORTING

CURRM LIKE BKPF-MONAT "Current month

CURRY LIKE BKPF-GJAHR "current year

PREVM LIKE BKPF-MONAT "previous month

PREVY LIKE BKPF-GJAHR " previous year

The function module returns current month, current year, previous year, previous month values.

reward points if helpful.

Regards,

kishore

Former Member
0 Kudos

try checking

G_PERIOD_ALLOWED_CHECK

Former Member
0 Kudos

check function BAPI_COMPANYCODE_GET_PERIOD

Please give me reward points.

Thanks

Murali Poli

0 Kudos

Hi Murali,

if you desperately need the points, you should not ask for them.

<b><b>Please give me reward points.</b></b>

Regards,

Clemens