Change Material Qty in previous year
Hi All,
Is it possible to change the material quantity in previous year.
My scenario is-
In year 2005-06 - Closing stock of materal is
A = 150 Kg
B = 200 Kg
C = 50 Kg
Total = 400Kg
Same as Opening stock for the year 2006-07
But i want to change the quantity for adjustment for the year 2005-06
i.e. A = 100Kg
B = 180Kg
C = 120Kg
Total = 400Kg
That means it effects on opening stock for the year 2006-07 ( and now 2006-07 also over)
Please give the solution.
Thanks & Regards,
Vinay
Hi,
whatever anyone tells you about changing it (via direct writes, ABAP etc, stock counts with old dates etc.) please DON't try to do this.
SAP is heavily integrated and you are breaking the solid audit trail.
Why do you think that you need to do this?
Steve B
Similar Messages
-
What is the effect of change material price in previous period?
i have changed the material price in 31/12/2010 and we are in period 01/2011
but the moving price doesn't changed in period 01/2011 its still the old price.
i want to know why the system didn't change the price for period 01/2011
and i want to change the price for now and all next periods.?Hi,
you are using moving average price and not standard price.
You can change standard price thru costing run. you can't change moving average price it is calculated based on procurement. further you can change thru MR21 but beware it will generate revaluation entry that will have financial impact.
If you still has doubt then please elaborate the requirements.
Regards,
Atul
Edited by: Mr. Atu on Jan 23, 2011 2:40 PM -
Previous Year entries after defining the posting period
Dear Experts,
I have defined the posting period with the new period indicators. I have also defined the new numbering series for the current year and assigned the period indicator for the current year to the documents.
Now my client wants to do some document entries in the previous year period. but when we open the document it is showing the current year series only. even though the previous periods are unlocked, it is not showing the document series of the previous posting period in the documents.
we are using B1 2007 B PL 13. Please help me.
thanks and regards,
Yeshwanth PrakashHi!
Once after you change your posting date (Previous year date ) in the document system will automatically show the previous Series -
How to get monthwise opening qty / value for previous years
I do not get the month wise opening quantity and values for the items for the previous years using the below query. How i can modify this query to get opening qty / value of any year less than current year.
Yogesh
SELECT OPN_ITEM_CODE,
---------------------------------------OPENING QTY---------------------------------------------------
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),3)THEN ROUND(OPSTK,3) ELSE NULL END)APR_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),4)THEN ROUND(OPSTK,3) ELSE NULL END)MAY_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),5)THEN ROUND(OPSTK,3) ELSE NULL END)JUN_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),6)THEN ROUND(OPSTK,3) ELSE NULL END)JUL_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),7)THEN ROUND(OPSTK,3) ELSE NULL END)AUG_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),8)THEN ROUND(OPSTK,3) ELSE NULL END)SEP_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),9)THEN ROUND(OPSTK,3) ELSE NULL END)OCT_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),10)THEN ROUND(OPSTK,3) ELSE NULL END)NOV_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),11)THEN ROUND(OPSTK,3) ELSE NULL END)DEC_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),12)THEN ROUND(OPSTK,3) ELSE NULL END)JAN_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),13)THEN ROUND(OPSTK,3) ELSE NULL END)FEB_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),14)THEN ROUND(OPSTK,3) ELSE NULL END)MAR_OPQ,
---------------------------------------OPENING VALUE----------------------------------------------------
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),3)THEN ROUND(OPVAL,3) ELSE NULL END)APR_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),4)THEN ROUND(OPVAL,3) ELSE NULL END)MAY_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),5)THEN ROUND(OPVAL,3) ELSE NULL END)JUN_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),6)THEN ROUND(OPVAL,3) ELSE NULL END)JUL_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),7)THEN ROUND(OPVAL,3) ELSE NULL END)AUG_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),8)THEN ROUND(OPVAL,3) ELSE NULL END)SEP_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),9)THEN ROUND(OPVAL,3) ELSE NULL END)OCT_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),10)THEN ROUND(OPVAL,3) ELSE NULL END)NOV_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),11)THEN ROUND(OPVAL,3) ELSE NULL END)DEC_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),12)THEN ROUND(OPVAL,3) ELSE NULL END)JAN_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),13)THEN ROUND(OPVAL,3) ELSE NULL END)FEB_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),14)THEN ROUND(OPVAL,3) ELSE NULL END)MAR_OPV
FROM( SELECT SL_ITEM_CODE OPN_ITEM_CODE, SL_DT,
SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU/IU_CONV_FACTOR/IU_MAX_LOOSE_1)OPSTK,
SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1)OPVAL
FROM OS_STK_LEDGER, OM_ITEM_UOM
WHERE SL_ITEM_CODE = IU_ITEM_CODE
GROUP BY SL_ITEM_CODE, SL_DT
GROUP BY OPN_ITEM_CODEit think you need to look for [lag and lead|http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/analysis.htm#sthref1753]
-
Change the way month or year page flips in Lion?
As nits go, this is pretty nitty :-) In Lion, iCal changed the way month (and year) views changed the way they moved. Instead of just a straight transition to the next month or year, some wise guy decided to transition with a lovely (not) animation that sets off my vertigo whenever the darn page moves from month to month.
Is there a way to revert to the previous behavior without any animation? I want a straight transition, with no flipping. I would love a classic view of iCal. I realize I am a traditionalist, a Luddite, if you will, but I dislike the colors and the current UI. I had more control over what I saw with the old iCal. I have less control now. I really dislike animation I can't control. Anyone know what I can do about that?
Thanks, JohannaThose dates are read from the Capture Date filed that is in the acutal file. You can make the changes you want if you export those files to a folder on the desktop, run a 3rd party application on them and then reimport into iPhoto. Then delete the original, bad dated files.
The application that I use to batch change the dates is PhotoInfo. It will allow you to change any one or more of the date and time values by a given amount. -
MDX to fetch record from 1st of current month to 5th of next month and same for previous year
In my date dimension I have a attribute CalendarDate. I do have a hierarchy [Date].[Year].[Quarter].[Month].[CalendarDate] as well. I need to fetch data starting from 1st working day of current month to 5th working day of next month by MDX. I do have a attribute
to filter working day as IsWorkingDay. How can we get a dynamic MDX that will find the current month first and than it will filter the record from 1st working day of current month to 5th working day of next month. And same for the previous year same month
to compare.
Thanks in advance!
PalashHi P,
You can use a calculated member to dynamically add all the days in the current month and the first 5 in the following month. You will need to change measure, cube and hierarchy names.
with member measures.ThisMonthAnd5 as
sum([Date].[Year].parent.children,Measures.[Sales])
+sum(Head([Date].[Year].parent.nextmember.children,5),Measures.[Sales])
select
{Measures.[Sales]
,Measures.ThisMonthAnd5
} on 0,
non empty [Date].[Year].[CalendarDate]
on 1
from MyCube
Richard -
Hi All,
I am new to BO/WEBI and I am facing an issue with a simple cost center report. My plan is to build a report with following structure
Cost element │ Act. Month │ Plan Month │ Budget Full Year Current │ Budget Full Year Previous Year │
and I am using following input controls
Cost center (Single value)
Fiscal Year/period (Single value)
The columns contains following:
Cost element: The Dimension “Cost element”
Act. Month: The measure “Amount actual”
Plan Month: The measure “Amount plan”
Budget Full Year Current: The formula “Plan Total - Current year”
Budget Full Year Previous: The formula “Plan Total - Previous year”
The two formulas is made as below
Plan Total - Current year:
=NoFilter(Sum([Amount Plan])) Where ([Cost Center]=ReportFilter([Cost Center]) And [Fiscal year]=[Current year] And [Version]="Plan/actual version")
([Current year] = Right([Fiscal year/period].[Fiscal year/period - Key];4) (I would have used Reportfilter, but for some reason it gives me all the values)
Plan Total - Previous year
=NoFilter(Sum([Amount Plan])) Where ([Cost Center]=ReportFilter([Cost Center]) And [Fiscal year]=[Previous Year] And [Version]="Plan/actual version")
[Previous Year] = Left(Right([Fiscal year/period].[Fiscal year/period - Key];4);2)+ If(Right(ReportFilter([Fiscal year/period]);4)="2012";"11";If(Right(ReportFilter([Fiscal year/period]);4)="2013";"12";"13"))
Now I am facing following issues
The column “Budget Full Year Previous Year” is blank (properly due to a #Multivalue-issue). How do I fix this?
Is there a smarter way to find “Budget Full Year Current” and “Budget Full Year Previous”
The column “Plan Total - Current year” is working, but this is properly because the variable choose all the year and the Input control filters the right year
Thanks in advance
PeterHi Gill
Yes I am using Bex as my data source. I have asked IT to make the selection within Bex, but it created some new issues
IT made a measure for Budget Full Year Previous, which was based on Current year - 1. Unfortunately this only worked if the users choose this year (2014) and the Budget Full Year Previous would then be 2013. If the user select fx August 2013 the Budget Full Year Previous will again be 2013
As an alternative IT suggested the selection should be in a prompt on the query. This could maybe work, but my report is quite slow so the user has to wait approx 2½ min each they change period.
Thanks for reply
Peter -
Giving error while creating a sales contact for the previous year (2008)
Hi Friends,
We are currently with SP12. When we try to create a sales contract for the previous year it is giving error like "Schedule line is for the item 100 cannot be after the order's latest delivery date".
i tried debugging and found that that there is a rule created for this (in SP12). I commented the rule and tried to create a contract but, again got an error "Error while saving". This error I can't catch while debugging.
I even didn't find where the schedule line date and header cancel dates are set so that I can change the dates manually.
If any one has any idea, kindly help me.
Best regards,
Swarna SeetaHi Wolfhard,
Thanks for the reply.
You are right and I have uncommented the line which assigns true to the return value and the contract got saved now.
Thank you so much.
I just want to know whether commeting this rule effects any of the functionalities of the sales contract.
Best regards,
Swarna Seeta -
Catch up depreciation from previous year
Hi all,
I am using an asset from 1st July 2008. But we have posted the first APC in month of March 2009 using transaction (CJ88) with Asset value date as 1st Feb 2009. As a result the capitalisation date in Asset master shows 1st Feb 2009.
(APC amount 3337.15, Straight line dep for 10 yrs).
(Note: I have mentioned 1st Nov 2008 as ordinary dep start date against Ordinary depreciation area).
Now when depreciation is run for March 2009, I could see catch up depreciation for month February and March depreciation i.e., (27.8+27.8) = 55.16
But I need to post in March 2009, catch up for 8 months (july 08 to feb 09) and march month's dep.
When i tried to change Asset value date to 1st July 08 for other assets while posting CJ88, system doesnot allow me as its in previous year 2008. It permits me to enter saome date in 2009 only.
Currently I am using unplanned ordinary dep.
Could anyone please help me by suggesting any method so that I need not run ordinary depreciation everytime and decrease my workload.
Thanks,
DSKHi,
prior year depreciation is not automatically caught up by the depreciation run. If you need to catch up prior year values, then indeed you have to post unplanned depreciation.
Of course it would be best to capitalize the asset at the moment of readiness and not to wait a couple of months.
Regards,
Markus -
Free goods problems changing material
Hello,
I am using free goods inclusive without item generation (NRAB condition).
I introduced a material A having free goods, ant it works fine, but if I change the material A for B in the same position (without free goods), the NRAB condition is maintained.
Has anyone seen this bug? Is there a note with this problem? I have searched it without successful.
(I am using SAP ECC 6.0
Alberto.I suppose it disappears once you change qty (after you changed material A to B) ?
-
Capturing "Actual Amounts" from previous years
Hi Experts,
We had earlier developed a report to produce a list of projects which can be changed from status TECO to CLSD. If the project cannot be closed then the corresponding reason for failure should be displayed.
Now the problem is that there were some direct costs which were booked under certain WBS elements. These elements were created in the previous year & haven't been settled in that year. Our present program isn't able to capture & display these costs in the current year. We have based our logic up on a join of table COBK with tables COEP, PROJ & PRPS. We are referring to the SAP standard TCODE s_alr_87013533 which is able to find the unsettled dollars (Actual amount) even from previous years. Anyone please help advise as to how we can even capture the actual amounts from previous years.
Regards,
Uday
Our inner join statement is as shown below:
SELECT coep~objnr coep~wogbtr coep~megbtr coep~wrttp coep~kstar
coep~owaer coep~vrgng coep~sgtxt coep~ebeln coep~ebelp
coep~objnr_n1 coep~belnr coep~gjahr coep~perio
cobk~blart cobk~refbn cobk~refbk cobk~refgj
INTO CORRESPONDING FIELDS OF TABLE tb_actual
FROM coep INNER JOIN cobk ON cobk~kokrs = coep~kokrs AND
cobk~belnr = coep~belnr
INNER JOIN prps ON coep~objnr = prps~objnr
INNER JOIN proj ON proj~pspnr = prps~psphi
WHERE proj~pspnr = wa_proj-pspnr "project definition
AND prps~pspnr = wa_prps-pspnr "WBS element
AND prps~belkz = c_x "Account assignment
AND coep~wogbtr <> 0 "amount
AND coep~lednr = c_00 "Ledger (needed to hit index)
AND coep~wrttp IN (c_04, c_11) "actual value type - real & stat
AND coep~beknz IN r_beknz. "D/C Ind <> Settlementbased on the data provided -
I-001688
Cost line 7143.28 71710000
Cost line 42874.74 73120000
Cost line 22752.77 73120000
TOTAL COST 72770.79
Settlement line 65627.51 81650000
Settlement line 7143.28 81650000
TOTAL SETL 72770.79
you should be able to set CLSD to this project as there is no unsettled value in the project
CJI3 report confirms that there is no outstanding settlement and hence project can be set to CLSD. This report shows all the line items against project
The report S_ALR_87013533 shows the actual cost incurred in the project, but not settlement. This does not mean that the project is unsettled.
see another report (project cost element report) - that might help you S_ALR_87013542 -
Impossible to delete an item number of a PO of the previous year
Hello,
I have a question.
Closing Operations (Carryforward of Open Items) were not made yet.
We want to delete in 2011 an item number of a purchase order (created in 2010 with doc date of the year 2010).
The System informs us that It is not possible to change document in fiscal year 2011 because the document was updated as open commitment in fiscal year 2010 in Funds Management.
System : SAP ERP 6.0 /7.0 - EHP 4 - FM BCS
In our old system SAP 4.7 enterprise (FM) , It was possible to delete an item number of a purchase order of a previous year (when Closing Operations (Carryforward of Open Items) were not made yet).
Isn't it possible any more to delete in 2011 an item number of a purchase order created in 2010 before Closing Operations ?
Thanks for your answer.
FabianHi,
I believe, you have PBET activated. In this case, modification of the commitment should be indeed made in the same year.
Regards,
Eli -
Mass change of posting date/fiscal year in LIV parked invoices
Hi,
We have OSS note 99775 (program ZFSAP2_B) for mass changing posting date and fiscal year for FI parked documents but I can not use this to change posting date for LIV parked invoices.
Did anyone have any idea how to mass change the posting date of LIV invoices? any NOTE or PROGRAM?
I tried to create a BDC using FBV4, which in turn calls MIR4, but system is over writing initial line item amount and qty from PO.
I can read initial invoice line item values and over write again but I dont think this is how I should do.
Please advice.
Thank you all and best Regards
Vijay GoliHi
Thank you very much for your input.I modified the program ZFSAP2_B given by sap and it worked fine for LIV invoices also.
When I used this program in 2007 for FV60 documents the document key was changed without raising the event FIPP.CHANGED. But this year when we changed the posting date the system triggered the CHANGED event and as a result of this event the workflow came to the starting point. We did not make any chages to workflow template during 2007. Any idea what could have casued this event to trigger?
Thanks
Vijay -
Reset previous year cleared item
Dear experts,
i am trying to reset previous year vendor cleared document in transaction FBRA.
while doing system is giving message "Archiving has not finished"
message no:F5682.
is there any transaction code is there to reset previous year cleared item?
we are using ECC 5.0 version.
Regards
babu..Dear Babu,
The error message F5 682 is raised due to the check described
in note 210134. Due to program design this check is also done for a
'planned' archiving job, not only for actual 'running' archiving job,
as a 'planned' archiving job could be running the next month, and then
cause inconsistencies if for a document that is selected in this archive
run, the clearing is reversed on the same time.
As assuring data consistency in archiving has a very high priority this
check on 'planed' archiving jobs is done and is not planed to be
changed in future.
Solution:
Follow recommendations of note 210134, and check your live Customizing
in table T070 and T071 via Transaction OBR7/OBR8.
Only with regard to the life do potentially archivable documents
cause problems for the resetting of cleared items.
Also, as you may known, please check that there are no invalid /
incomplete archiving sessions within your system via SARA -> Management.
Within transaction SARA (archiving object FI_DOCUMNT) you have to press
the 'Managment' button to see the status of the different archiving runs
. Making a click on the incomplete archiving session you get a popup,
where you can mark the flag 'Invalid session'.
By marking this field you are declaring the contents of this archive
file as invalid. Therefore the archive can no longer be interpreted. The
archiving session can no longer be chosen for subsequent processes such
as Read, Delete etc.
OR
Delete the archive jobs that are scheduled to run.
I hope this helps.
Mauri -
Block sales order creation based on material qty
Hi,
In my scenario i want to block the sales order creation based on material qty , how i can do this?
Example:
Material qty below 100 = able to create sales order
Material qty above 100 = not able to create SO
Thanks,
ArunHi
For restricting the order if it is less than a specified qty, you can maintain the 'min order qty' in material master.
But your requirement is the other way round - Restrict order if it is more than specified qty.
In this case, you need to use the following sales order exit in progran MV45AFZZ
u2022 USEREXIT_SAVE_DOCUMENT_PREPARE
Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
Hope this helps.
Regards
Madhu
Maybe you are looking for
-
Error while calling RFC when using BSP Web Interface
Hi, we have a problem with the Authorization when we use an Web Interface for BSP. We have assigned all roles to the user which were mentioned in the SAP standard documentation: R_AREA R_METHOD R_PACKAGE R_PARAM R_PLEVEL R_PM_NAME R_PROFILE R_
-
How to create treeControl's node with DynamicViewObject & Link?
Thanks for your help.
-
Sorry if this is in the wrong section but here is my question. I recently received my iPad in the mail and it has some scratching on the sides and bezel. I'd like to return it and purchase one at a later date. The iPad was purchased with a gift ca
-
What is happening to Excel Online? Keep freezing and failing
What's is going on? I typed numbers into a cell, it refuses to treat it as numbers, and align it to the left of the cell. And this is in an existing table, and all the old cells (meaning those with values I typed in before) in the same columns are tr
-
I record a midi keyboard track along with a song, it sounds great, then, when i go to mix, playback, the midi track is behind the beat and out of sync.. i've tried every setting I can think of.. the strangest thing is that I've used this exact keyboa