Set current Period
Is it possible to set the Current Period using either the UI or DI in SBO 2005 A SP01 PL08?
I see that you can't do it using the DI API Company Service, but I was hoping there might be another way.
Thanks,
Mike
I see!
At least I know what you want to achieve now, but the answer is unfortunately that there is no built in authorization to do this + "additional authorizations" don't help in that case as well...
The only option is to:
Make your Add-On mandatory/obligatory for "ordinary users" and then to block any event on FormTypeEx = "138" which is not related to setting the "Current Period" like:
et_FORM_LOAD, et_FORM_UNLOAD, et_ITEM_PRESSED on item "255" (= "Set Current Period") etc etc.
Here's a code sample that captures and shows any event + the data coming with it (please downlaod it today since the link will expire soon!):
https://sapmats-de.sap-ag.de/download/download.cgi?id=498U1X5SMI6YBV97SBG9Q4SMHLRFMRSUHJ77VHSQREFH2NVRHV
HTH,
Frank
Similar Messages
-
Current period in Accounting 1 view of Material Master
Dear Experts,
In Accounting 1 view of Material Master there is a current period, now it is 12 2009.
Is it possible to make it 11 2009, if yes how to do it.
Please help if you have solution. it is very crucial for me.
Thank you for your support.
Regards,
ZusenHi,
Please read the Solution part of note 487381. There is still a few things need to be carry out before you can proceed
with the initialization :
Bear in mind that the initialization of a posting period has the
following effects concerning the period stocks:
o The initialization of the posting period to a previous or to any
posting period may lead to the loss of the information of the
inventory balances of the previous periods.The book value of the
current posting period is taken as the basis also for values of
the previous period in this case.
If you want to continue working with this new posting period, in
addition you should execute report Z_DEL_HIST_ENTRIES attached so
that history entries greater or equal to the new posting period
will be deleted.
o If you have to briefly reset the posting period by one period
(for example, postings must still be posted in a certain period)
just to make a correction (and for a small number of postings),
you should initialize the posting period back again to the old
value so that the values of the previous period will not be lost
(you should forbid postings when carrying out corrections).
However, afterwards the values of the previous period or the
history records (as of Release 4.5) of the materials posted in
this case are inaccurate.
You should NOT execute report Z_DEL_HIST_ENTRIES in this case.
o However, if the posting period is generally reset again to a
previous posting period and if postings were made during this
time, all information on the inventory balance of the previous
periods is lost.
As of Release 4.5a, you should use the cited correction report
Z_DEL_HIST_ENTRIES in order to delete history records that are
more current than the current posting period.Otherwise, it can
result in deviations (inconsistencies) for the update of the
history records.
o Important! If there are open physical inventory documents that
have status 'counted' or for which indicator 'Freeze inventory
balance' has been set, you should reject these if they refer to a
previous period or have been created in the former previous
period.The inventory difference to be posted can be determined
from the current book value of the previous period and the book
quantity frozen in the physical inventory document (ISEG-BUCHM)
and does not match the inventory balance of the previous period
that is currently valid. -
Wrong period displayed for current period in HR Report Category
Dear Friends,
I have used HR report category (X_M00002) in my program that only shows two options (radiobutton) for period selection:
1. Current Period
2. Other Period
Problem is that when I select current period and press enter key it takes 01.2006 (i.e. 01.04.2006 to 30.04.2006) instead of current period 01.2010.
What could the possible error be?
Regards,
AmitHi Amit
The current period will not be set based on the current calendar month and year. The current period will be based on the current period for the payroll area which you have entered. You can check the current period of a given payroll area from the transaction PA03.
Hope this answers your question.
Regards
Ranganath -
Variable - Default to current period but allow input fomr user??
Hello All,
This may be a simple question.... I am not sure....
I'd like to have a variable for a report where the user can select the fiscal period. Creating this variable is not a problem. The problem is that I would like for the variable to default with the current period.
The best solution is for the variable to be displayed with the current period as the default selection but give the user the ability to overwrite this default value on the variable selection screen. Can this be created as a customer exit variable? We have tried this but can't get the variable to prompt the user and give them the option to overwrite when it is customer exit.
thanks
rodney
Edited by: Rodney on Feb 26, 2008 10:14 PMHi Rodney,
Yes, I think you can use a customer exit variable for this. However, you need to set the code to I_STEP = 1 when you set the date to sy-datum. What happens is that at I_STEP = 1, the default value pops up in the variable screen. Then, your user can opt to change this value or just use the default value. If your user wants to change the value in the selection screen, it automatically overwrites the default value.
Hope this helps,
Juice -
YTD calculation from first period until current period
Hi,
I'm trying to set the TIME dimension so that it would cover from %year%.Jan until current period.
My current syntax is:
*xdim_memberset Time = first,%set%
If current period is March, then It brings me value in January + value in March.
What I need is that it will bring me value from Jan, Feb, and March.
Can help me to identify the syntax?
Thanks in advance,
Ce WieDear Go Ce Wie,
I am sorry I don't clear your question. If you need script to calculate YTD please read this example and custom its. YTD script as following:
*SELECT(%ThisYear%, "YEAR", "TIME", "[ID] = '%TIME_SET%'")
*XDIM_MemberSet Time = %ThisYear%.JAN,%ThisYear%.FEB,%ThisYear%.MAR,%ThisYear%.APR,%ThisYear%.MAY,%ThisYear%.JUN,%ThisYear%.JUL,%ThisYear%.AUG,%ThisYear%.SEP,%ThisYear%.OCT,%ThisYear%.NOV,%ThisYear%.DEC
*XDIM_MemberSet Account = xxx
*When Time.Period
*FOR %PeriodLoop% = JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC
*IS %PeriodLoop%
*FOR ORDER_TIME %ThisMonth% = %ThisYear%.%PeriodLoop%,%ThisYear%.DEC
*REC(Account = YTDxxx, Time=%ThisMonth%)
*NEXT
*NEXT
*ENDWHEN
*COMMIT
Best Regards,
Wandi Sutandi -
Enprise JC error: series period does not match current period
I want to make create invoice from Enprise Job Costing Contract. There are some lines in Contract Detail but I want to process only two of them. I put the amount in Invoice Now, Post Date, and Invoice Due Date.
The invoice is supposed to be from previous posting period (the previous month/year) so I search the correct series number in Invoice No. drop-down list in the Job Costing Contract form. But the available options are only manual and serial number of current period. If I click Process Invoice Now button, I get error message: Error creating invoice: series period does not match current period
I tried to change the settings from Administration > System Initialization > Document Numbering to set the numbering series to previous period but so far nothing changed, and I still can not create invoice.
I currently use SAP B1 8.8 PL 13 and Enprise Job Costing 8.8 (version 8.80.101)
Anybody can help me? Thank you in advance for any good advice.Hi Sandy,
your SAP support partner will be able to register a ticket on the Enprise Support Portal to have this investigated for you, Enprise do not answer questions directly from this forum.
Having said that... it sounds as though the invoice numbering series you are trying to use is only valid for a specific year. Did you make sure you also changed the Invoice Date (top right side of screen) to be in the same year?
kind regards,
Cathy -
Hi!
I need to know from SDK the current period used in the company.
I know that:
In all SAP Business One releases up to 2005 A SP1 there is a 'current' period setting that indicates the period enabled for data entry and posting.
Only one period can be set as the current period. Beginning with Release 2007 A, all periods will be enabled and the 'current' period setting will no longer be used. When the add-on attempts to read a value from the 'Company.CurrentPeriod', instead of the value period value, it will receive the numeric value '-1'.
What alternative can I use?Hi All,
So, B1 period is determined by automatically, based on posting date. But if you use several numbering series for the same document, you can set up different series for different posting periods using period indicator.
Ex:
year - 2009 Period Indicatior - 2009
year - 2010 Period Indicatior - 2010
Numbering series:
for series in 2009 - Indicatior is set to 2009
for series in 2010 - Indicatior is set to 2010
If you open the A/R Invoice form, you will see series belongs to Period indicator 2010. if you change the posting date to 2009.12.01, you will see the series on the form belongs to Period indicator 2009.
If we change the example
Ex:
year - 2009 Period Indicatior - 2009
year - 2010 Period Indicatior - 2009
Numbering series:
for series in 2009 - Indicatior is set to 2009
for series in 2010 - Indicatior is set to 2009
IN this case on the form you can select each series (belongs to 2009 and 2010).
This means: series displayed and selected automatically based on posting date and period indicator. (by this you can set up different numbering series by periods - Period indication of posting periods cas be change until the first booking!)
SAP B1 is automatically set the numbering series of a document by posting date which is simiral to the following query (A/R Invoice object type = 13)
select T1.* from ofpr T0 inner join NNM1 T1 on T0.Indicator = T1.Indicator
where convert(datetime,getdate(),112) between T0.F_RefDate and T0.T_RefDate and T1.Locked ='N' and T1.ObjectCode = '13'
Regards,
J. -
Is the "Call Time Current Period" is the minutes that I used from my plan?
Under the Setting, there are
- Time since last full charge > Usage : is this just minutes(time) since I fully charged?
- Call TIme > Current Period: Is this the minutes I used from my plan (450 minutes for 59.99/mo.)? And is this correctly updated after fully charged?
Thanks in advance for clarifying my questions!blue sky wrote:
Under the Setting, there are
- Time since last full charge > Usage : is this just minutes(time) since I fully charged?
Yes
- Call TIme > Current Period: Is this the minutes I used from my plan (450 minutes for 59.99/mo.)? And is this correctly updated after fully charged?
No. The current period is just the time since it was last manually reset.
Thanks in advance for clarifying my questions!
No problem -
Transferring the additional hours to current period during retro run
Hi Experts,
We are have Pension contribution plan in 0169 where wage type 9XXX that takes in total hours from /229 via custom PCR. . Then the hours are multiplied by a constant stored in table T511K. The problem is that suppose we have created a record for hours in IT 2010 for some previous period during the current run and want to reflect that change with the a retro run. i.e 97XX should take in hours from /229 in the current period plus those additional hours give in some previous period and reflect the same in the current period. And this not happening.
E.g. In for period 04 say, we want the hours also that have in given additionally for in period 02. We have checked tables V_51P6_B as well as V_51P6_C for 9XXX and it's OK.
Are we missing something here?Like other deductions (other than taxes), retroactive changes to the deduction amount should be carried forward to the current pay through tables DDNTK and ARRRS, since you can't change the Net Pay Amount of the previous pay.
For retroactive changes to Payments, such as hours recorded in IT2010, the payment calculation will usually happen in the retroactive pay, Staturory Deductions (such as Income Tax) will be calculated and the resulting change in net income will be carried forward to the current pay.
If the current calculation does not meet your requirements, you probably need to create a few PCRs to work around the problem.
If possible, any variation in the value of /229 should be carried forwart to the current pay (through Output and Input WTs) before function P0169.
The alternative would be to create a series of PCRs before and after that function so that the retroactive pay would always use the original value of /229 (without changing it's value in RT) and that the current pay's value of /229 would be modified temporarily to reflect the retroactive changes (without changing it's value in RT). -
P & L report for current period,YTD and previous YTD
I am trying to create a P & L report with the columns for current period,YTD and previous YTD, I have include the measures as the key of columns, which by using period or YTD we can retrieve the current period and YTD column, is there as easy way to get the previous YTD? although I can get it by using evtim to het every month and calculate the previous YTD.
resolved, just need to bring both time and measures in the columns
-
If current period is closed, use next period for posting...
Hello Experts,
I am currently developing a report that posts via F-02. Now, my functional said
that if before posting, I need to check if the current period is open.If yes, then
proceed posting. If not, then get the next period and use it for posting.
For example, period 12 is closed, then I need to use period 13. Can you guys help
me in the logic?
Thanks and take care!Hi,
Check with your FI consultant as which table to use to determine the posting period is closed or not. It is customizing table.
Regards,
Atish -
Logic for carry forward of previous stock to current period stock.
Hi Experts,
Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing stock to current period stock quantity in report.
As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
Header 1
Header 2
Header 3
Header 4
LFGJA/LFMON
ROH (MT)
HALB (MT)
FERT (MT)
11.2013
100.000
121.000
121.00
12.2013
50.000
12.000
123.00
01.2014
23.231
.23.234
45.342
02.2014
23.231
34.094
45.098
03.2014
34.098
98.983
00.000
04.2014
00.000
69.093
98.098
05.2014
00.000
89.098
00.000
For Example Break up of ROH material plant wise in below mention format.
LFGJA/LFMON
WERKS
MENGE (MT)
11.2013
P001
30.000
11.2013
P002
50.000
11.2013
P003
20.00
Thanks in advance,
SKNHi,
The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
Regards,
AKPT -
Return current period based off of current fiscal year and date
Good Afternoon,
Is there a way in the webi that I can create a dimension that always reflects the current Fiscal Month based of Fiscal year and date? I have a report that I am trying to show sales for a customer based off the current fiscal month. I would like this report when refreshed to be based off this fiscal month dimension instead of showing each fiscal month or changing it manually. What is the best way to do this?
I have attached an image that shows current numbers by period (month) and then the YTD Totals. I would like to have my 'Period' column always reflect the current period and the Total column to reflect that months totals based off the period column. So for this period (3), instead of seeing 3 lines for each month I would just see the '3' and the total as $541,310.46, monthly as 412,502.09 and my YTD as 1,080,091.06.
Any help is always appreciated!
Thank you,
TiffanyHi,
Create a variable
FlagVar=If([Period]=Max([Period]) In Report;"Show";"Hide")
And apply block filter of FlagVar=Show
Are these coming TotalSales MonthlyGoal YTDSales directly from universe? If they are calculated at report level then you might want to use NoFilter. like =NoFilter([YTDSales]) -
Error: No depreciation posting required in period 009 (current period)
Hi,
I am getting error " No depreciation posting required in period 009" and 009 is my current period.
The description of the error says " Do depreciation is posted, since according to the posting cycle no postings are required in this period". In fact this is the first time i am running depreciation. I want to post the depreciation for 1st period. More over i could not able to see the planned values in asset explorer also.
Whenever i am entering this asset in the asset explorer it is giving the above error. But while i run the depreciation its not giving any error. When i check in spool to view the depreciation, its giving msg as "List contains no data" check error log.
Could anyone help me in resolving this error. what could be the reason for this error.
Thanks
SaberaHi,
I checked in TABA table, its showing that till 9 the period depreciation has been posted. But i have not posted the depreciation. If it is posted, then it has to show in the planned values as posted, but its showing as "No depreciation" and its not even showing the depreciation for other periods. Could you able to clear this query? I wonder why it is giving this kind of error.
Regards
Sabera -
How to change the current period in material master
hi everybody,
as i have installed sap 4.7 ides version on my home pc for practice , but hwenver i am creating the new material master in the system , i observe that in accounting1 tab the current period is 12 2002 , how should i change the current posting period so that i can start the transaction in current uear 2009 and then later i can work in 2010 ....
i have tried the transaction mmrv, mmpv, mmpi through some resources but i didnt know how to do the settings in the system in IMG (SPRO) kindly help me through , i have wasted lot of time in this..
i hope MM team will help me out of this...
AMIT BATHLAHi,
Check in OMSY Transaction that, Which current month and year is having your comapny code.
and go to T.Code MMPV
enter Next Month of that cureent period and Year
and Execute. You find the message that your current period has changed.
Do the same process month by month till reaches to current period and year.
Let me know if you have further queries.
Padma.
Maybe you are looking for
-
How do i put a moovie on my ipod touch
How do i put a moovie on my ipod touch? do i have to use a speacial program or sumthing?
-
Calling the javascript FM and R/3 FM in BSP page
HiExperts , I want to know how can I use the javascript code and function modules(R/3) in bsp ., please let me know how can i call the function modules and javascript in my bsp page, Please provide me a sample piece of code for calling the javascrip
-
Edge Animate and ExCanvas.js?
OK, I've used Edge Animate to make a killer landing page prototype for a really big e-commerce/retail company and everyone whose seen it has flipped out. That's the good part. The bad part is that none of this will work in IE 7/8. SInce the mouthbrea
-
Can someone discuss the pros and cons of setting your db connection in the web.xml and then using the following in a jsp; <sql:query var="myQuery"> SELECT * FROM mytable </sql:query>I find that it is quick and easy, but would I want to give this
-
Converted home videos to itunes not working with ipod touch
So I finally was able to convert some home movies to itunes but now they will not work with my ipod touch. I get a error message saying "can not be played on this ipod". I also can't get the movies to work with my ipod video (classic) either, how do