Calculation in badi for FAA_EE_CUSTOMER for asset depriciation
Hi,
I have a requirement in asset depriciation...
Say Useful life initiall was 10 for net value 10000 and expired life is 2. So it has posted 2000 in last 2 periods.
Now if Useful life is changed to 5 then the system recalculated the depriciation to ajust it for remaining 3 period, so the new calculation is 2000 per period but already 2000 has been posted in the last 2 periods so it posts 2000 of current period + 2000 the difference of last 2 period in the 3d period i.e total of 4000 and then for periods 4 & 5 again it will post 2000 each for each period.
This is what system does but my requirement is the remaining net value i..e 8000 should be divided equally in the last 3 periods how can this be achieved, I am using the badi FAA_EE_CUSTOMER for base value calculation already but nt able to split the values.
Regards,
Vaibhav B Gawali.
Rohan, any solution for this? I am in the same spot.
Similar Messages
-
Calculation of depreciation and interest for a particular asset class
Hi,
I have a problem with the calculation of depreciation and interest for a particular asset class. The assets are financial leases. The depreciation key defined is LEAS. The following are the attributes of this key:
Dep/int phase base met dec-bal prd cont mult lvl chn ov
Ord.depreciation 1 0011 001 006 001 5
Ord.depreciation 2 0002 001 003 003
Interest 1 0028 001 003 010
An example of an asset is:
Aquisition value: 1041552.71 (as migrated on 01.04.2007)
Ordinary dep already posted: 56243.88
Net book value: 985308.83
Scrap Value:729086.90
Useful life: 50 years
Expired useful life: 9 years 1 month
Remaining useful life: 40 years 11 months.
Depreciation start date: 28.03.1998
Interest calculation start date:30.03.1997
Depreciation calculated by the system:6261.83
Interest calculated in the year:15682.68
I'm not able to undersatnd on what basis the system calculated the interest. I will be thankful if anyone can help me resolve this. An early reply will be greatly appreciated as I'm facing major problems due to this issue.Hi Mahesh,
As per my analysis of the case the interest rates are as under
Acq. Year Int.Percent
9999 4 01 10.%
9999 7 01 5.%
9999 25 01 2.5%
9999 999 12 01 2.5%
As per this the Acquisition value less the Scrap Value Rs.312,465.00 @ 2.5% p.a will be Rs. 7811.64.
Based on the above you analyse for which period interest is calculated.
Hope it will help.
Regards,
Vijay -
Badi & User Exit for ME21N & ME22N
Hi,
My requirement is when a Purchase order is created using ME21n or when a line is added or changed using ME22n, the system should copy the vendors tax jurisdiction to the purchase order line items jurisdiction code. I tried badi (ME_PROCESS_PO_CUST) but could not suceed. Can any one tell me if any badi or user exit available for the same???
Thanks in Advance.hi,
Enhancement/ Business Add-in Description
Enhancement
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number
Business Add-in
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
SMOD_MRFLB001 Control Items for Contract Release Order
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_PURCHDOC_POSTED Purchasing Document Posted
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
No.of Exits: 35
No.of BADis: 55
Arunima -
Calculation of Depreciation for Tax for India
Hi
In India, there is a requirement that the Depreciation for Income Tax should be calculated based on the date of Acquisition. If an asset has been acquired before or on completion of 180 days of a Financial Year, than the calculation of Depreciation is allowed for full year. If the asset has been acquired after 180 days , depreciation is allowed only for 180 days. Hence for an asset acquired on 25/09/2009, system should allow calculation of depreciation from 01/04/2009, assuming that the fiscal year starts from 01/04/2009 and ends on 31/03/2009. However, if the asset is acquired on 07/10/2009, the system should allow depreciation from 01/10/2009. Sap has delivered standard depreciation keys for the same in reference chart of depreciation for India 0IN.
But if the asset has been acquired on 01/10/2009, still the asset has to be depreciated from 01/04/2009, since the asset has been acquired for less than 180 days into the fiscal year. The system is working fine for asset capitalized on 25/09/2009 and 07/10/2009. But we are not able to map the same if asset is capitalized on 01/10/2009 and 02/10/2009. For these two dates, the depreciation should start from 01/04/2009.
I have checked the period control setting and calender assignments and everything seems to be in place. How can we tackle the issue?
Regards
Sanil K BhandariHi
The same has been resolved.I Created a new assignment in Period Control IT for my fiscal year variant. For month 10, i added a new line item with no of days as 2 in addition to no of days as 31 for month 10.
Regards
Sanil Bhandari -
Process for Impairment of asset
Hi,
Please expalin me the process for impairment of asset. my client want to perform impairment process for one of the assets.
Thanks&Regards,
Bhaskar SuruvuHi,
In some countries, it is legally required that companies calculate depreciation after asset impairment. To do this, you have to use specific depreciation rates and base values that are contained in a special formula. The localization of the New Depreciation Engine for these countries implements this formula and enables you to calculate asset depreciation after impairment postings have been made, in accordance with the requirements. The following depreciation keys are delivered for this purpose:
Depreciation Key Description
IDB Declining balance method for impairment with 5% scrap value
IDM Declining balance method for impairment with 0% scrap value
ILI Straight-line method for impairment with 0% scrap value
ILT Straight-line method for impairment with 5% scrap value
Features: Each depreciation key calculates depreciation using a specific formula, as follows:
● Depreciation key IDB
Depreciation = Book value after impairment * Rate
where Rate is calculated as: 1 - (( Remaining Value / Book value after impairment )1/Remining useful life).
Depreciation is calculated in the following years based on the net book value of an asset.
● Depreciation key IDM
Depreciation in the year of impairment = Book value after impairment * Rate * 10/9
where Rate is calculated as: 1 u2013 0.11/Remining useful life.
Depreciation in the following years = Remaining depreciable value * Rate * 10/9
where Remaining depreciable value is calculated as: book value after impairment * ( 1 u2013 Rate ) past years.
● Depreciation key ILI
Depreciation = Book value after impairment * 1 / n
where n is remaining useful life.
● Depreciation key ILT
Depreciation = ( Book value after impairment u2013 remaining value ) * 1 / n
where n is remaining useful life.
Hope this helps.
Rgds
Manish -
Hi Experts,
I need to do difference calculation in posting date and document date. I have made the code but not able to find exact BADI or exit for MFBF tcode.
BADI i searched - RM_BFLUSH_GOODSMVT
EXIT ???
Please suggest, where I have to put below code so that when user put dates into this, then it will not allow him to get more than 7 days.
data: d_days like po347-scrdd,
budat like mkpf-budat,
bldat like mkpf-bldat.
budat = rm61b-budat.
bldat = rm61b-bldat.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
I_DATUM_BIS = budat
I_DATUM_VON = bldat
I_STGMETH = '2'
IMPORTING
E_TAGE = d_days
if d_days > 7 .
message 'date exceeds' type 'E'.
elseif d_days < 0.
message 'document date should be greater than posting date' type 'I'.
endif.
Please suggest experts,
Thanks.
DeepanshuHi,
Include - LBARMFS1
FORM - FORM get_hr_data .
Create a implicit enhancement in the beginning of above mentioned form FORM get_hr_data and put below code inside that.
FORM get_hr_data.
ENHANCEMENT 1 ZTEST_TEST.
data: d_days like po347-scrdd,
budat like mkpf-budat,
bldat like mkpf-bldat.
budat = rm61b-budat.
bldat = rm61b-bldat.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
I_DATUM_BIS = budat
I_DATUM_VON = bldat
I_STGMETH = '2'
IMPORTING
E_TAGE = d_days
if d_days > 7 .
message 'date exceeds' type 'E'.
elseif d_days < 0.
message 'document date should be greater than posting date' type 'I'.
endif.
ENDENHANCEMENT.
BR,
Vijay -
User exit / BADI /OSS notes for VL02/VL03 TCODES
Hello ,
Can anybody please proide the inforamtion
if there is any user exit or BADI or OSS notes available to enhance VL01 / VL02 / VL03 tcodes
regardsHi
Enhancement
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
Business Add-in
DELIVERY_ADDR_SAP Address Change in Delivery Processing
DELIVERY_PUBLISH Announcement of delivery data during database update
regards
Pavan -
WHT calculation for IRRF for Brazil
hello,
We are implementing SAP in CHEP Brazil and needed help with WHT configuration for IRRF WHT for natural person. The standard SAP configuration doesnu2019t have space to enter deductable tax amount.
I am referring to 'Imposto de Renda Retido na Fonte'.
It has to be calculated in the following way:
For example:
From R$ 1.434,60 to 2,150 you have to withhold 7,5%, BUT from this 7,5% tax amount you have to deduct 107,59 R$ and then the slab varies fro tax deduction.
There is no place in SAP deduct tax amount from the calculated amount of withholding, the only possibility is to deduct from the base amount.
Thanks for your help.
Regards
JDJD, was talking with Fernando on this one further yesterday as I am in the process of updating rates for the coming year right now. First and foremost and I would agree with the suggested sol'n for entering 'calculation formula'. Basically transposing what is indicated by the Brazil gov't into that view in the config. Depending on min/max configuration that you have, then you can deduce the logic of your posting using SAP utility RFWT1000. In walking through this utilty we were able to ascertain that the "parcela" value is applied to base value minus exemption result. The parcela is calculated as follows (I believe) ...
1,499.15 0.00 0.00 0.00
2,246.75 7.50 0.00 1,499.16
2,995.70 15.00 0.00 2,246.76
3,743.19 22.50 0.00 2,995.71
99,999,999,999.99 27.50 0.00 3,743.20
First you take 1499.15 * 7.5 % gets you 112.43 this is parcela value used in calculation in second level. Then you take 2246.757.5% + 112.43 to get 280.94, this is parcela value used in calculation in third level. Then you take 2995.77.5%280.94 to get 505.62, this is parcela value used in calculation in fourth level. Then you take 3743.19*5%505.62 to get 692.78, this is parcela value used in calculation in fifth level. Note the change in the multiplier to 5 % in the last example. All of this falls in line with entries on Brazil Gov't website:
[http://www.receita.fazenda.gov.br/Aliquotas/ContribFont.htm]
Hope this helps, please revert if not.
Thanks,
Jay -
How can I create a tree tab for a flex asset definition ?
I have several tabs in my content tree and I want to show specific tabs to users with specific roles.
The problem is, for instance, the asset product has the subtype cellphone and the subtype tablets and I want to create a tab to show just cellphones to a users with role A and I want to create a tab to show just tablets to a users with role B.Hello,
I don't think its just possible with UI, you will have to build a custom tree tab and add your own logic. Example is provided for proxy asset in guide, modify according to your requirement - http://docs.oracle.com/cd/E29542_01/doc.1111/e29634/proxy_assets.htm#WBCSD6369
Added:
Or you can use the same logic to add in your custom element as present in - OpenMarket/Gator/UIFramework/LoadOrphanNodes and OpenMarket/Gator/UIFramework/LoadOrphanChildrenNodes.
In LoadOrphanChildrenNodes, there is this line - <ASSET.GETSUBTYPE TYPE="Variables.AssetType" OBJECTID="PList.assetid" OUTPUT="stype" />
After this line you can add a check, if subtype = "SubtypeA", then proceed else not. Similarly, another element for the SubtypeB where you will have subtypeB check.
After your custom element are ready, you can create tree tab with correct element selected and add the correct role.
Regards,
Guddu -
While creating PO for Low value assets error
Hi Seniors,
When user creating PO for low value assets ,system throwing error as
u201CMaximum Low value amount exceeded in the case of at least one asset .u201D
Details about this issue:
1.User creating ONE PO for 8 assets as 8 line items, each line item
value below 5,000 only.
2.In this year only they created 8 new asset master records with ref to
Particular asset class(below 5,000) asset class.
3.Non Taxable item P0 (p zero).
Checked:
1. checked at AW01N, no values in each asset.
In configuration:
2. at OAYK Specify amount for Low value assets,
Value is 5,000 rs
3. at OAY2 selected option is u201CCheck maximum amount with qtyu201D
I created POu2019S for below 2 options
1 Value based maximum amount check
2 Check maximum amount with quantity
But same error.
Note:
In development server i created some POu2019s like user creating in
Production server but no error in Dev server,
Plz guide me.
Thanks in advanceHi,
I think you are using a single asset master record in all your line items in the PO.
If you use individual asset master record for each line item in the PO, you issue might solve.
Post again for further queries.
Thanks,
Srinu. -
Badi / Exit / Enhancement for replacing INSMK during PO creation
Hi Gurus,
we want to default the INSMK field (stock type) during Purchase Order creation..
Can someone help me findind the right BAdI / exit / enhancement for it?
Thanks in advance,
Regards,
AlessioHi Alessio,
You may check these first:
Re: Negative postings to MVER table
Re: select stock type
Thanks,
Gordon -
BADI/User Exit for Order processing
Hi Experts,
I have a requirement that whenever someone modifies the order belonging to a specific order category then some error/ warning is issued. Can you please suggest some User Exit/BADI in APO for the same.Hi Tiago,
My requirement is to block the processing of Released process order from both Product view and Detailed Scheduling Board.
If I am getting you correctly then in the mentioned BAdI and Method --I should call FM --/SAPAPO/OM_PEG_CAT_GET_ORDERS (to fetch orders by order category) to see whether the order category is for released process order or not.
If its Released process Order --then I should block the change. Is that correct for both Product View and Planning Board? -
BADI / user exit for Tcode IW32?
Hi
Are there any BADIs / user exits for changing component data in Transaction IW32 for a maintainance order?
regards
csEnhancement
IWO10012 Maintenance order: Priority handling on central header
Business Add-in
IWO_UI_USEFLEX BAdI for Calling Up an Alternative UI
I hope it helps.
Best Regards,
Vibha
Please mark all the helpful answers -
BADI/User exit for MIGO fi postings
Hello Experts,
I have one requirement regarding at the time of MIGO accounting entry is generating based on the OBYC settings,now the client want along with this entry, want to create one more FI document through background,In the background we will give the debit g/l and credit g/l.That means at the time of MIGO two FI documents has to generate one is with OBYC setting gl's and second FI entry is from programe hard coded gl's.
For this requirement has any BADI/USER Exit.I appriciate your valuable inputs.
Regards,
Nivas.Hi,
May I know why you need two accounting documents?
You may refer the similar thread: BADI / Exit required for MIGO for posting FI document
And about the number ranges - I would suggest a custom number range object and a different number range for these additional documents.
Also refer the doc: Methods to find Customer/User Exit's & BADi's for a Transaction Code!
Regards,
AKPT -
Dear Experts,
When I'm setting the BUDGETED status manually to Internal Order (With out distributing the Budget to Order in IM52) and after if I m setting RELEASE status the system is accepting. So, I want to stop this without giving the budget in IO, it should not accept to release IO.
This is not possible with User Status, coz' User may go and set manually "REL" Status.
can anyone suggest me the BAdi/User Exit for KO02(Internal Order Change) tcode.
Thanks,
Sanju.When you set a User status , you can assign an Authorization Object on who can change the status .
Follow the path in SPRO--> Controlling --> Internal orders --> Order Master Data > Status Management> Define authorization Keys for Status Management
Define Authorization Keys for Status Management
In this step you define authorization keys which you can use to set up authorization checks when you manually set or delete a user status. When the system sets a user status as a reaction to business transaction, it does not perform an authorization check.
When you set or delete a user status, the system checks whether the user is authorized for this action. In addition to the status profile and the object type, the system also checks the authorization key assigned to the user status in question.
Example
You want to define that certain user statuses can be changed only by a specified employee group.
To do this, create an authorization key and assign it to the relevant user statuses.
In the general authorization maintenance you can then assign authorizations for this key via the authorization object B_USERSTAT.
Activities
1. Check whether you want to define authorizations for your user statuses.
2. If necessary, create authorization keys as follows:
a) Choose "New entries".
b) Enter a key and an explanatory text in the appropriate fields and choose "Save".
You have now created the authorization key.
3. Assign the authorization key to one or more user statuses in your status profile.
4. Define corresponding authorizations and include them in the relevant authorization profiles.
Maybe you are looking for
-
Where is Bridge support in Dreamweaver 2014?
Dreamweaver 2014 does not have Browse Bridge in File menu and you can't drag files from Bridge into Dreamweaver without being told the file is not in the root folder even though it is. Has Adobe removed Bridge support from Dreamweaver 2014? That is a
-
How can I get my App Store to open so I can download Lion?
I want to download Lion from the Mac App Store. The App Store does not open. It has never opened but I never used it so didn't care. Now I want to download Lion but I can't get the Lion App because the Store won't open. It just hangs and then you
-
Mac Pro and Raid and boot camp.
Hi. I was not sure where to ask this exactly but here is the question. I have 3 500gig drives. 2 are setup on a striped raid as the start up disk with the Mac OS. I wanted to setup the 3rd drive with Vista using Boot Camp. Reading the threads I was u
-
Hi all, I have been using a PDF e-book version that comes with one of my school textbooks to read it on my mac, make annotations and such. I have always used Preview; I have never installed Adobe Reader. Today however when I opened the PDF using Prev
-
Songs not showing up in Itunes 11?
Music that I have bought on amazon is showing up in the music folder on my hardrive, but when I select "open with itunes" itunes opens, but the song does not show up in my library.