Problem with AUC to Asset settlement?
Hi,
I want to post the settlement from AUC to main Asset. I have done the first with Investment measure and the balances have been transferred from I/O to AUC asset. Now, I have AUC as Investment measure and have changed the status of I/O to "technically completed" as suggested by the other posts but nothing is working out. We don;t want the line item settlement and we want to settle it via investment measure only.
I have entered the Asset distribution rule with full settlement and want the asset to be posted from AUC to it.
Please help me out what shall I do...
I have searched the sites but nothing userful I have found as i now.
Thanks and Regards
Nitin
Thanks for your quick reply Ravi,
But I have done that already, as per my understanding if we have to settle an order to AUC, then we have create the order and AUC is created automatically and we have to maintain the settlement rule means main asset otherwise we can't save the internal order.
Please suggest ....
Thanks and Regards
Nitin
Edited by: NITIN KANSAL on Feb 21, 2012 6:15 AM
Similar Messages
-
Chapter Problem with Multiple Timeline Assets
Using Premiere Pro 2.0 and DV assets exported from Premiere.
Normally I just create a single export out of Premiere and all works well. This time I decided to try a different workflow, taking advantage of Encore's ability to add multiple assets to the same timeline. This way, I figured, if any changes are needed, only one part will have to be reexported and retranscoded, instead of the whole thing.
So the first asset places in the timeline OK. The second asset generates a warning message, asking me if I want to "replace existing chapters with source marker in the asset".
Now first of all, there are no existing chapters in the section of timeline where the new asset is being added, so I don't know why it's asking if I want to replace them. But that's a minor annoyance. The real problem is that all the chapter markers in the second asset, whether I click Yes or Cancel in response to the warning, end up squished towards the beginning of the second asset. The first chapter marker is correct, and all chapter markers thereafter are redistributed 12 frames apart from there. I only noticed this when I expanded the timeline view.
I thought maybe I had exported from Premiere incorrectly, but if I remove the first asset and place the second asset in the timeline first, the chapters appear where they should. It seems that any asset after the first exhibits this squished marker syndrome, and I don't have a clue why, or how to fix it.
Anyone have any ideas here?OK, I just tried replacing the middle timeline clip here. Logistically, it works.
Here's what I did.
1. New project. Add 3 pre-transcoded elementary mpeg and ac3 streams to the timeline.
2. Check project.
3. Fix the reported error about gaps between clips. Unfortunately, I had to move the 3rd clip 12 frames away from the 2nd clip. This will introduce a 12-frame gap between clips. I did not try to build with the error uncorrected. NB: There was no gap error concerning the boundary between clips 1 and 2, so I expect the problem is clip specific.
4. Build a disc image. All of the audio was ac3, and with the different audio clip lengths (all less than 1/2 second difference), Encore re-transcoded the audio, and only the audio. My suggestion here is to use .wav files only.
5. Use File>Replace Asset to replace the middle clip audio and video streams with new, shorter ones.
6. Trim out the danger stripes in the timeline and butt the video and audio of the 3rd clip perfectly up against the end of the middle clip.
7. Check project. No gap error this time.
8. Build disc image.
I mounted each image in turn and played them in WinDVD. They played as expected. I cannot speak to how truly seamless the playback is because all of the clips I have for testing fade to black at the end. But WinDVD did not hesitate when going from clip to clip and there were no freeze frames that I could see.
So upgrading to CS3 will let you do what you want. It may be a perfect solution, and it may not, but it is certain to be better than what you get from En 1.5 going from timeline to timeline. -
Problems with loading AS2 assets into AS3 container
Hello,
in a Project I use the AS3 Loader Class to load
AS2-swf-files. The swf-files are placed into different subfolders,
since they're using the same filenames and subfoldernames for
config-files etc.
The Problem is: Whatever swf-file I load first, it is
working, but every swf-file after that fails. It seems to be
loaded, but it's not working correctly.
I'm using the attached code (easy as it seems) to unload the
present content and then loading the new one. But also using a
separated second loader to load the second file is not working.
I made some kind of testcase (a loader with 2 content
swf-files) for you, so you can understand what I'm talking about.
Here you can download the
testcase (28
MB).
It seems like there is a bug in the flash player 9 that
prevents the AS2-content from being unloaded correctly from an AS3
file. Can you confirm that there is such a bug? Or do you have an
explanation for this behavior? Or even better: a solution or
workaround?
Thanks a lot!Thanks for your help, but as said ("But also using a
separated second loader to load the second file is not working.")
even when using a second loader (with a different name) the second
file loaded will not work.
I'm removing any EventListener from the first loader,
unloading and then nulling it.
But to me it seems, that the first content is not garbage
collected and because of that, even when loaded with an other
loader the first loaded swf-file interferes with the second.
I came to this conclusion, because the first loaded swf-file
is still working after trying to load the second file. And just
more weird: the first loaded file is in the same state and also
after closing the Flash-Player.
You can see it for yourself: download the testcase. Start the
testcase.swf. Load a contentfile. Skip a few pages. Quit the Flash
Player. Start the testcase.swf again and load the same contentfile.
You will see it's at the same position like before quiting the
Player.
And I can't help, but that seems like a bug to me... -
Problems with Trading partner when settling an internal order
Hi experts,
We are trying to settle an internal order to a G/L account. For this account there is a validation defined, which states error when the trading partner is not entered. Hovewer we cannot change or cancel the validation for business reasons. We cannot use a different G/L account for settlement neither.
Is there any chance to add the trading partner in the order settlement rule? Any other ideas?
Thank you,
MichalSince you cannot disable the validation and cannot use any other GL account, use a substitution as Sridhar suggested. I am adding to this that trading partner is either assigned at header level or line item level. In this case since it is internal order settlement, I guess it has to be at the header level since it is not cross company. For cross company, the trading partner is automatically filled in so rule that out.
That leaves us with the option of substituting TP at the header level. You can use settlement document type as a condition to bring in a trading partner.
In the worst case if the validation is coming before the substitution kicks in, consider modifying the validation to put exclusions for settlement process, say, use business transaction for example.
Regards
Sharabh -
Transaction AIAB (Auc Settlement) - Problem with BDC
Dear Friends,
Problem: I am trying to distribute the amount of a asset (Auc) to other assets on line item basis by using BDC for transaction AIAB. I am facing problems when using amount based through BDC.
Can you please suggest ASAP if any FM or BAPI's available to achive this for transaction AIAB?
Thanks,
Ram.Hi Ravi,
Thanks for your valuable reply..
Everything is fine if i run the transaction in ALLSCREEN mode, but iam facing the problem with the same after running it in NOSCREEN mode 'N'..
Pls help.. -
Automatic creation AUC sub assets at the time of settlement
Hi,
I have created the investment profile,AUC asset class,Source structuce(Hard,Pave and Soft) and cost element group(Hard,Pave and soft) . Then assign these three source structure to Investment profile.
I created WBS element under project and released the WBS.
After that I posted the values against the WBS different cost element . At the time of AUC seetlement thru CJ88.I am getting Three AUC asset with Sub number -0(1000-0,1001-0 and 1002-0) automaticaly. But Business is expecting to settle automatically(1000-0(Hard),1000-1(Pave),1000-2(Soft) respectively.
Is there any way to settle AUC sub asset wise(Eg: 1000-0, 1000-1 ans 1000-2)automatically.
Please share your suggestion on this.
Appreciate your help!
Regards,
Prakash Reddy.Hello VIrendra,
I am trying to settle WBS to AUC settlement thru CJ88. In this case We need to settle WBS to AUC sub number wise 0,1 and 2 respectively based on the cost element. Is there any settings required to create AUC asset sub number wise creation?
Thanks& Regards,
Prakash Reddy. -
Hello,
Can anybody help to do the configuration for wbs settlement with AUC other than below mentioned configuration.
1. New Asset class creation with line iteme settlement.
2. Allocaiton structure added settlement with FXA.
3. New settlement profile created with default object type FXA,document type AA and amount settlement check box activated.
but based on above mentioned configuration i am not moving forward, kindly suggest any more configuration need for this requirement.
Thanks for your advance help.
Regards,
Lakshmi.Hi Lakshmi,
There are quite a few settings to be maintained. I do not remember exact sequence of steps but here are a few pointers.
1. Investment profile needs to be created with 'line item settlement'
2. AUC asset class to be created and assigned to this investment profile
3. Investment profile to be linked to project profile.
4. Source structure to be assigned to investment profile
There may be other steps I am missing but I hope these help.
Also, if you mention any error that you are facing or at which point you are getting stuck, it would be helpful.
Regards -
Problem in Asset Settlement Reversal
Hi,
I have settlement of around 40 assets out of 2 have some problem. They posted in GL account but not shown in asset account and give document no.
Then I want to reverse that asset settlement doc. With t-code: AIST. But its display error message:u201D Acquisition value negative in area 01u201D
Message no. AA617
Please let me know how I can solve it.
Rgds,
Hemant MauryaHi,
Please let us know, how the asset was settled to GL account by-passing the asset module.
Basically, what I could understand is that there is no asset value in asset module.
When you are trying to reverse the settlement, since there is no value in the asset, system will not allow you to post it, since it would result in negative balance in asset.. -
Dear All,
After settling the AUC asset to normal asset, values are not flowing into the group asset number which is tagged to the normal asset master data whereas under normal asset, values are flowing accurately.
Kindly give your suggestions over this.
Regards
AnujHi Anuj,
What i feel is group asset is only for reporting IT Dep Values.
and also please also check the following settings for group assets:-
Asset grouping, depreciation etc) as per Indian IT act from SAP system
Country Version India comes with a report for calculating depreciation on
asset blocks (asset groups) as required by law for calculating a company's
taxable income.
Country Template
The country template for India comes with the following settings:
- Chart of depreciation
- Depreciation keys as per the income tax laws
Year-End Income Tax Depreciation Report
You use this report to calculate the depreciation on your assets and any
capital gains or losses according to the Income Tax Act.
To access the report, from the SAP Easy Access screen, choose *Accounting
(r) Financial Accounting (r) Fixed Assets (r) *Information
System* (r) *Reports
on Asset Accounting* (r) Taxes (r) Country Specifics (r) India
(r) *Year-End
IT Depreciation Report*.
Prerequisites
You can use the Customizing settings delivered by SAP in order to configure
Asset Accounting (FI-AA) with respect to the income tax depreciation area
and so that the report works correctly. For more information about what
settings to make, see the Release Note structure under FI (r) *Release Notes
from Country Version India Add-On* (r) *Customizing Settings for Income Tax
Act*. Given below:
Customization Settings relevant to Income Tax Act Description
In India, depreciation on assets for the purpose of computation of net
income as per the Income Tax (IT) Act 1961 is calculated over a block of
assets instead of individual assets as allowed under the Companies Act 1956
Asset acquisitions and retirements are managed over the block level. The IT
Act prescribes certain rates of depreciation to be used under the Written
Down Value (WDV) method over these asset blocks to compute depreciation.
The following are the customization settings that may be followed in the
R/3 system in order to manage your assets in the income tax depreciation
area.
*Customization settings *
1. Copy the standard chart of depreciation 0IN as provided by SAP and create
your own chart of depreciation.
2. Use the depreciation area 15 for the purpose of management of assets
under the IT Act. Make it statistical in nature. (Reference Transaction
Code: OADB). Do not check the box negative net book value.
3. Specify that the Income Tax depreciation area takes over the APC from the
book but not make it identical (Reference Transaction Code: OABC).
4. Create an asset class for the purpose of income tax blocks. This asset
class will be used to create only group assets. (Reference Transaction Code
OAOA)
5. Specify that the depreciation area for income tax can be managed only for
group assets. (Reference Transaction Code: OAYM). This would mean that
depreciation for this depreciation area would be computed only at group
asset level.
6. Specify that the asset class defined in (b) above will be used for
creating group assets only. (Reference Transaction Code: OAAX)
7. Two period control methods (IT and NL) have been defined in the system
for determination of start or the end of depreciation calculation at the
time of a fixed asset acquisition or retirement. You may use these period
control methods while creating the depreciation keys for the purpose of IT
depreciation.
Calendar assignments have been made for the above mentioned period control
methods in order to reflect valuation requirements as per the Income Tax
Act (Transaction Code: OAVH). You may create your own period control
methods depending on the fiscal year variant you use. The period control
methods supplied are based on the fiscal year variant V3.
8. Depreciation Keys:
The following depreciation keys have been created in the system. They
correspond to the income tax block that are prescribed under Indian tax
laws. They are as below:
*Depreciation Keys : *
1. IN1 - Tax Depreciation - 5% - India
2. IN2 - Tax Depreciation - 10% - India
3. IN3 - Tax Depreciation - 15% - India
4. IN4 - Tax Depreciation - 20% - India
5. IN5 - Tax Depreciation - 25% - India
6. IN6 - Tax Depreciation - 40% - India
7. IN7 - Tax Depreciation - 50% - India
8. IN8 - Tax Depreciation - 60% - India
9. IN9 - Tax Depreciation - 100% - India
The features of the keys supplied are as below:
Depreciation type: ordinary depreciation
Class: declining balance depreciation
Depreciation method: stated percentage
Base value: remaining book value with proportional value adjustments
Percentage rate: will correspond to the depreciation rate of an IT block
Period controls:
Acquisition: IT
Acquisition in following year: IT
Retirement: NL
Transfer: NL
9. For the asset classes corresponding to the IT blocks, default the
corresponding depreciation key for the depreciation area created for income
tax. (Reference Transaction Code: OAYZ). Use an infinite useful life e.g.
999.
10. Create a screen layout rule for depreciation areas (Reference
Transaction Code : AO21) in which the field group asset is mandatory.
11. While maintaining the other asset classes for the income tax
depreciation area, use the screen layout rule as in (j). (Reference
Transaction Code: OAYZ).
12. Create group assets using the asset class defined in (b), where each
group asset master record corresponds to an IT block. You will be able to
view only the income tax depreciation area for the group assets.
13. Maintain the following posting variants for the transaction types
normally used for asset retirements: 200, 210, 250, 260 (Reference
Transaction Code: OAYS) in the income tax depreciation area:
Treatment of retirement: balance revenue
14. Create individual asset master records, where for the income tax
depreciation area, you have to enter a group asset. Choose the group asset
depending to which IT block your asset belongs.
Note :
1. For individual assets, the system will not show any depreciation in the
income tax depreciation area.
2. For the group assets, the system will not display the book depreciation
area.
3. At the time of takeover of old asset data, create the group assets first
and specify the opening gross value and accumulated depreciation for the
income tax depreciation area. Then while creating the individual assets, you
have to specify the opening gross value and accumulated depreciation for the
book depreciation area only.
Features
Selection
Enter the asset numbers of your group assets and other selection data as
required.
Output
The system:
- Calculates the
depreciation on
each asset block
- Calculates any capital gains or
losses
If you deselect Test Run, the system also:
- Posts the depreciation to the income tax depreciation area
- Stores the capital gains amounts from the report in a table for your
future reference.
Calculation of Depreciation
Use
The program calculates the depreciation on each asset block according to the
Income Tax Act.
Features
Depreciation of Asset Blocks
The Income Tax Act requires you to depreciate all assets in blocks (in the
SAP System, called asset groups). In other words, you do not calculate the
depreciation on each individual asset. Instead, an asset group has its own
net book value.
The asset block's net book value increases when you add assets to it and
falls when you sell or retire assets. You also calculate depreciation on the
block's net book value. The depreciation rate depends on the asset block and
is prescribed by the government. Since an asset block may exist for a very
long time, as you add new assets to it, it has an unrestricted useful life.
For example, assume your company has four trucks. At the beginning of fiscal
20X1, the trucks have a total net book value, for income tax purposes, of
INR 300,000. At the end of the year, with no acquisitions and no
retirements, the net book value has not changed. The total depreciation on
all of the trucks is 10% of INR 300,000, or INR 30,000.
The total net book value of the block at the beginning of 20X2 is therefore
INR 270,000.
New Assets Held for Less Than 180 Days
If you purchase an asset less than 180 days before the end of the fiscal
year, you are only entitled to depreciate it at half of the normal rate of
depreciation. To continue the example, on 1 June 20X2 you sell a truck for
IN 30,000. On 31 March the following year, instead of posting INR 3,000
depreciation, you can only post half of that, INR 1,500.
The system handles this requirement by taking half the acquisition cost and
calculating depreciation on that.
Asset Retirements
When you retire an asset, you are not entitled to calculate any depreciation
on it in that fiscal year at all.
Calculation of Capital Gains or Losses on Sales of Assets
Use
The system automatically calculates any gains of losses on sales of assets
according to the Income Tax Act. Any gains or losses have to be taxed.
Features
If you sell an individual asset from a block, the value of the asset block
goes down by the sale price. For example, assume that you have an asset
block of trucks. On 1 April 20X2, the trucks' total net book value is INR
270,000. On 1 February 20X3 you sell one of the trucks for INR 50,000. At
the end of the year, the net book value before depreciation is therefore INR
220,000.
Capital Gains
If the sale of an asset causes the value of the asset block to fall below
zero, the amount below zero constitutes a capital gain under the terms of
the Income Tax Act. For example, on 1 April 20X3 the trucks' total net book
value is INR 198,000. On 1 December you sell a truck for INR 210,000. On 31
March 20X4 the system determines the asset block's net book value as:
INR 198,000 u2013 INR 210,000 = u2013 INR 12,000
This makes a capital gain of INR 12,000, which the system stores in a table
for your future reference.
The following year, the net book value of the asset block is set to zero.
Capital Losses
If you sell all the assets in a block, but the block still has a net book
value, the system posts this value as a capital loss. For example, if you
have a block with only one asset valued at INR 12,000, and you sell it for
INR 10,000, the net book value of the block is still INR 2,000, even though
there are no assets in it.
The system stores the capital loss amount in a table for your future
reference.
Regards,
Raghavendra.M
SAP-Practice
Edited by: Raghavendra Muchukota on Jan 23, 2009 11:31 AM -
Problem with asset sub no (ANLN2) urgent
hi all experts,
Wishing u All very Happy New Year 2007.
in the asset aquisition report i am getting right output but only one problem is there when asset sub no is changed then i am not getting only aqusition value & Depreciation.
what may be the problem.plz modify the logic where this is required to get the right output.
REPORT Z_FA_ACQ NO STANDARD PAGE HEADING
LINE-SIZE 400
LINE-COUNT 65(3).
TYPE-POOLS : SLIS.
TABLES : ANLA, "ASSET MASTER RECORD-SEGMENT
ANLZ, "time dependent asset allocations
ANLC,
ANEP,
ANEK.
DATA : BEGIN OF T_ANLA OCCURS 0,
BUKRS LIKE ANLA-BUKRS,
ANLN1 LIKE ANLA-ANLN1,
ANLN2 LIKE ANLA-ANLN2,
AKTIV LIKE ANLA-AKTIV,
TXT50 LIKE ANLA-TXT50,
ZUGDT LIKE ANLA-ZUGDT,
MENGE LIKE ANLA-MENGE,
MEINS LIKE ANLA-MEINS,
ANLKL LIKE ANLA-ANLKL,
END OF T_ANLA.
DATA : BEGIN OF T_ANLZ OCCURS 0,
BUKRS LIKE ANLZ-BUKRS,
ANLN1 LIKE ANLZ-ANLN1,
ANLN2 LIKE ANLZ-ANLN2,
GSBER LIKE ANLZ-GSBER,
KOSTL LIKE ANLZ-KOSTL,
STORT LIKE ANLZ-STORT,
RAUMN LIKE ANLZ-RAUMN,
KFZKZ LIKE ANLZ-KFZKZ,
WERKS LIKE ANLZ-WERKS,
END OF T_ANLZ.
DATA : BEGIN OF T_ANEK OCCURS 0,
BUKRS LIKE ANEK-BUKRS,
ANLN1 LIKE ANEK-ANLN1,
ANLN2 LIKE ANEK-ANLN2,
BELNR LIKE ANEK-BELNR,
BUDAT LIKE ANEK-BUDAT,
BZDAT LIKE ANEK-BZDAT,
BLDAT LIKE ANEK-BLDAT,
BUZEI LIKE ANEK-BUZEI,
XBLNR LIKE ANEK-XBLNR,
SGTXT LIKE ANEK-SGTXT,
GJAHR LIKE ANEK-GJAHR,
LNRAN LIKE ANEK-LNRAN,
END OF T_ANEK.
DATA : BEGIN OF T_ANLC OCCURS 0,
BUKRS LIKE ANLC-BUKRS,
ANLN1 LIKE ANLC-ANLN1,
ANLN2 LIKE ANLC-ANLN2,
ANSWL LIKE ANLC-ANSWL,
NAFAP LIKE ANLC-NAFAP,
AAFAP LIKE ANLC-AAFAP,
AFABE LIKE ANLC-AFABE,
GJAHR LIKE ANLC-GJAHR,
END OF T_ANLC.
DATA : BEGIN OF T_ANEP OCCURS 0,
BUKRS LIKE ANEP-BUKRS,
ANLN1 LIKE ANEP-ANLN1,
ANLN2 LIKE ANEP-ANLN2,
ANBTR LIKE ANEP-ANBTR,
NAFAB LIKE ANEP-NAFAB,
GJAHR LIKE ANEP-GJAHR,
AFABE LIKE ANEP-AFABE,
BELNR LIKE ANEP-BELNR,
BUZEI LIKE ANEP-BUZEI,
LNRAN LIKE ANEP-LNRAN,
END OF T_ANEP.
DATA : BEGIN OF IT_FINAL OCCURS 0,
ANLN1 LIKE ANLA-ANLN1,
ANLN2 LIKE ANLA-ANLN2,
AKTIV LIKE ANLA-AKTIV,
TXT50 LIKE ANLA-TXT50,
ZUGDT LIKE ANLA-ZUGDT,
MENGE LIKE ANLA-MENGE,
MEINS LIKE ANLA-MEINS,
GSBER LIKE ANLZ-GSBER,
KOSTL LIKE ANLZ-KOSTL,
STORT LIKE ANLZ-STORT,
RAUMN LIKE ANLZ-RAUMN,
KFZKZ LIKE ANLZ-KFZKZ,
BELNR LIKE ANEK-BELNR,
BUDAT LIKE ANEK-BUDAT,
BZDAT LIKE ANEK-BZDAT,
BLDAT LIKE ANEK-BLDAT,
XBLNR LIKE ANEK-XBLNR,
SGTXT LIKE ANEK-SGTXT,
ANBTR LIKE ANEP-ANBTR,
NAFAB LIKE ANEP-NAFAB,
AAFAP LIKE ANLC-AAFAP,
ANLKL LIKE ANLA-ANLKL,
GJAHR LIKE ANEK-GJAHR,
END OF IT_FINAL.
*added for date logic by sanjeev
DATA:V_LOW LIKE SY-DATUM,
V_HIGH LIKE SY-DATUM,
V_MON(02) TYPE N,
V_YEAR(04) TYPE N.
*end of date logic
DATA : LINE_COLOR(4) TYPE C.
DATA : FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
GD_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: EVENT TYPE SLIS_ALV_EVENT OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN : BEGIN OF BLOCK B_FA WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_BUKRS FOR ANLA-BUKRS DEFAULT 'ML',
S_ANLN1 FOR ANLA-ANLN1,
S_ANLN2 FOR ANLA-ANLN2,
S_ANLKL FOR ANLA-ANLKL,
S_AKTIV FOR ANLA-AKTIV,
S_GSBER FOR ANLZ-GSBER,
S_KOSTL FOR ANLZ-KOSTL,
S_WERKS FOR ANLZ-WERKS,
S_STORT FOR ANLZ-STORT,
S_BUDAT FOR ANEK-BUDAT.
SELECTION-SCREEN : END OF BLOCK B_FA.
SET PF-STATUS '100'.
added for date logic by Sanjeev
IF S_BUDAT-HIGH IS INITIAL.
V_YEAR = S_BUDAT-LOW+0(4).
V_MON = S_BUDAT-LOW+4(2).
IF V_MON LT '04'.
V_YEAR = V_YEAR - 1.
CONCATENATE V_YEAR '0401' INTO V_LOW.
V_HIGH = SY-DATUM.
ELSE.
CONCATENATE V_YEAR '0401' INTO V_LOW.
V_HIGH = S_BUDAT-LOW.
ENDIF.
ELSE.
V_LOW = S_BUDAT-LOW.
V_HIGH = S_BUDAT-HIGH.
ENDIF.
end of logic
SELECT BUKRS ANLN1 ANLN2 AKTIV TXT50 ZUGDT MENGE MEINS ANLKL
FROM ANLA
INTO CORRESPONDING FIELDS OF TABLE T_ANLA
WHERE ANLN1 IN S_ANLN1
AND ANLN2 IN S_ANLN2
AND BUKRS IN S_BUKRS
AND ANLKL IN S_ANLKL
AND AKTIV IN S_AKTIV
AND ZUGDT >= V_LOW " added to get the date logic work
AND ZUGDT <= V_HIGH. " added to get the date logic work
CHECK : NOT T_ANLA[] IS INITIAL.
SELECT BUKRS ANLN1 ANLN2 GSBER KOSTL STORT RAUMN KFZKZ
FROM ANLZ
INTO CORRESPONDING FIELDS OF TABLE T_ANLZ
FOR ALL ENTRIES IN T_ANLA
WHERE ANLN1 = T_ANLA-ANLN1
AND ANLN2 = T_ANLA-ANLN2
AND BUKRS = T_ANLA-BUKRS
AND GSBER IN S_GSBER
AND KOSTL IN S_KOSTL
AND WERKS IN S_WERKS.
SELECT BUKRS ANLN1 ANLN2 BELNR BUDAT XBLNR SGTXT GJAHR BZDAT BLDAT BUZEI
LNRAN FROM ANEK
INTO CORRESPONDING FIELDS OF TABLE T_ANEK
FOR ALL ENTRIES IN T_ANLA
WHERE ANLN1 = T_ANLA-ANLN1
AND ANLN2 = T_ANLA-ANLN2
AND BUKRS = T_ANLA-BUKRS
AND BUDAT >= V_LOW " added to get the date logic work
AND BUDAT <= V_HIGH " added to get the date logic work
AND BZDAT >= V_LOW AND BZDAT <= V_HIGH
AND BLDAT >= V_LOW AND BLDAT <= V_HIGH.
SELECT BUKRS ANLN1 ANLN2 ANSWL NAFAP AAFAP AFABE GJAHR
FROM ANLC
INTO CORRESPONDING FIELDS OF TABLE T_ANLC
FOR ALL ENTRIES IN T_ANLA
WHERE ANLN1 = T_ANLA-ANLN1
AND ANLN2 = T_ANLA-ANLN2
AND BUKRS = T_ANLA-BUKRS
AND AFABE = '01'.
SELECT BUKRS ANLN1 ANLN2 ANBTR NAFAB GJAHR AFABE BELNR BUZEI LNRAN
FROM ANEP
INTO CORRESPONDING FIELDS OF TABLE T_ANEP
FOR ALL ENTRIES IN T_ANLA
WHERE ANLN1 = T_ANLA-ANLN1
AND ANLN2 = T_ANLA-ANLN2
AND BUKRS = T_ANLA-BUKRS
AND AFABE = '01'
AND BZDAT >= V_LOW AND BZDAT <= V_HIGH.
SORT T_ANLC BY BUKRS ANLN1 ANLN2.
SORT T_ANLZ BY BUKRS ANLN1 ANLN2.
SORT T_ANEP BY BUKRS ANLN1 ANLN2 BELNR BUZEI LNRAN.
LOOP AT T_ANLA.
MOVE : T_ANLA-ANLN1 TO IT_FINAL-ANLN1,
T_ANLA-ANLN2 TO IT_FINAL-ANLN2,
T_ANLA-AKTIV TO IT_FINAL-AKTIV,
T_ANLA-TXT50 TO IT_FINAL-TXT50,
t_anla-zugdt TO it_final-zugdt,
T_ANLA-MENGE TO IT_FINAL-MENGE,
T_ANLA-MEINS TO IT_FINAL-MEINS.
READ TABLE T_ANLZ WITH KEY BUKRS = T_ANLA-BUKRS
ANLN1 = T_ANLA-ANLN1
ANLN2 = T_ANLA-ANLN2 BINARY SEARCH.
IF SY-SUBRC EQ 0.
MOVE : T_ANLZ-GSBER TO IT_FINAL-GSBER,
T_ANLZ-KOSTL TO IT_FINAL-KOSTL,
T_ANLZ-STORT TO IT_FINAL-STORT,
T_ANLZ-RAUMN TO IT_FINAL-RAUMN,
T_ANLZ-KFZKZ TO IT_FINAL-KFZKZ.
ENDIF.
READ TABLE T_ANLC WITH KEY BUKRS = T_ANLA-BUKRS
ANLN1 = T_ANLA-ANLN1
ANLN2 = T_ANLA-ANLN2 BINARY SEARCH.
IF SY-SUBRC EQ 0.
MOVE : T_ANLC-AAFAP TO IT_FINAL-AAFAP.
ENDIF.
added to get the date logic work
LOOP AT T_ANEK WHERE BUKRS = T_ANLA-BUKRS AND ANLN1 = T_ANLA-ANLN1 AND
ANLN2 = T_ANLA-ANLN2 AND BZDAT >= V_LOW AND BZDAT <= V_HIGH
AND BLDAT >= V_LOW AND BLDAT <= V_HIGH.
MOVE : T_ANEK-BELNR TO IT_FINAL-BELNR,
T_ANEK-BUDAT TO IT_FINAL-BUDAT,
T_ANEK-BZDAT TO IT_FINAL-BZDAT,
T_ANEK-GJAHR TO IT_FINAL-GJAHR,
T_ANEK-XBLNR TO IT_FINAL-XBLNR,
T_ANEK-SGTXT TO IT_FINAL-SGTXT.
READ TABLE T_ANEP WITH KEY BUKRS = T_ANEK-BUKRS
ANLN1 = T_ANLA-ANLN1
BELNR = T_ANEK-BELNR
BUZEI = T_ANEK-BUZEI
LNRAN = T_ANEK-LNRAN
ANLN2 = T_ANLA-ANLN2.
MOVE : T_ANEP-ANBTR TO IT_FINAL-ANBTR,
T_ANEP-NAFAB TO IT_FINAL-NAFAB.
APPEND IT_FINAL.
ENDLOOP.
ENDLOOP.
PERFORM BUILD_FIELDCATALOG.
PERFORM DISPLAY_ALV_REPORT.
PERFORM BUILD_LAYOUT.
FORM BUILD_FIELDCATALOG *
FORM BUILD_FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'ANLN1'.
FIELDCATALOG-SELTEXT_M = 'ASSET MAIN NO'.
FIELDCATALOG-COL_POS = 0.
FIELDCATALOG-OUTPUTLEN = 14.
FIELDCATALOG-EMPHASIZE = 'X'.
FIELDCATALOG-KEY = 'X'.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'ANLN2'.
FIELDCATALOG-SELTEXT_M = 'SUB NO'.
FIELDCATALOG-COL_POS = 1.
FIELDCATALOG-OUTPUTLEN = 7.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'AKTIV'.
FIELDCATALOG-SELTEXT_M = 'CAP.DATE'.
FIELDCATALOG-COL_POS = 2.
FIELDCATALOG-OUTPUTLEN = 10.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'TXT50'.
FIELDCATALOG-SELTEXT_M = 'NAME'.
FIELDCATALOG-COL_POS = 3.
FIELDCATALOG-OUTPUTLEN = 50.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'BUDAT'.
FIELDCATALOG-SELTEXT_M = 'POSTING DATE'.
FIELDCATALOG-COL_POS = 4.
FIELDCATALOG-OUTPUTLEN = 10.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'MENGE'.
FIELDCATALOG-SELTEXT_M = 'QTY'.
FIELDCATALOG-COL_POS = 5.
FIELDCATALOG-OUTPUTLEN = 13.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'MEINS'.
FIELDCATALOG-SELTEXT_M = 'UNITS'.
FIELDCATALOG-COL_POS = 6.
FIELDCATALOG-OUTPUTLEN = 3.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'GSBER'.
FIELDCATALOG-SELTEXT_M = 'BA'.
FIELDCATALOG-COL_POS = 7.
FIELDCATALOG-OUTPUTLEN = 4.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'KOSTL'.
FIELDCATALOG-SELTEXT_M = 'COST CENTER'.
FIELDCATALOG-COL_POS = 8.
FIELDCATALOG-OUTPUTLEN = 13.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'STORT'.
FIELDCATALOG-SELTEXT_M = 'LOCATION'.
FIELDCATALOG-COL_POS = 9.
FIELDCATALOG-OUTPUTLEN = 10.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'RAUMN'.
FIELDCATALOG-SELTEXT_M = 'ROOM'.
FIELDCATALOG-COL_POS = 10.
FIELDCATALOG-OUTPUTLEN = 10.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'KFZKZ'.
FIELDCATALOG-SELTEXT_M = 'LICENSE PLATE NO'.
FIELDCATALOG-COL_POS = 11.
FIELDCATALOG-OUTPUTLEN = 20.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'BELNR'.
FIELDCATALOG-SELTEXT_M = 'DOC NO'.
FIELDCATALOG-COL_POS = 12.
FIELDCATALOG-OUTPUTLEN = 13.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'BZDAT'.
FIELDCATALOG-SELTEXT_M = 'ASSET VAL DATE'.
FIELDCATALOG-COL_POS = 13.
FIELDCATALOG-OUTPUTLEN = 15.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'XBLNR'.
FIELDCATALOG-SELTEXT_M = 'REF NO'.
FIELDCATALOG-COL_POS = 14.
FIELDCATALOG-OUTPUTLEN = 25.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'SGTXT'.
FIELDCATALOG-SELTEXT_M = 'TEXT'.
FIELDCATALOG-COL_POS = 15.
FIELDCATALOG-OUTPUTLEN = 50.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'ANBTR'.
FIELDCATALOG-SELTEXT_M = 'ACQ VAL'.
FIELDCATALOG-DATATYPE = 'CURR'.
FIELDCATALOG-DO_SUM = 'X'.
FIELDCATALOG-COL_POS = 16.
FIELDCATALOG-OUTPUTLEN = 13.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'NAFAB'.
FIELDCATALOG-SELTEXT_M = 'ORD.DEP'.
FIELDCATALOG-DO_SUM = 'X'.
FIELDCATALOG-DATATYPE = 'CURR'.
FIELDCATALOG-COL_POS = 17.
FIELDCATALOG-OUTPUTLEN = 13.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
FIELDCATALOG-FIELDNAME = 'AAFAP'.
FIELDCATALOG-SELTEXT_M = 'UNPLAN DEP'.
FIELDCATALOG-COL_POS = 18.
FIELDCATALOG-OUTPUTLEN = 13.
APPEND FIELDCATALOG TO FIELDCATALOG.
CLEAR FIELDCATALOG.
ENDFORM.
FORM BUILD_LAYOUT *
FORM BUILD_LAYOUT.
GD_LAYOUT-ZEBRA = 'X'.
GD_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
ENDFORM.
FORM DISPLAY_ALV_REPORT *
FORM DISPLAY_ALV_REPORT.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_CALLBACK_PROGRAM = SY-REPID
i_callback_pf_status_set = '100'
i_callback_user_command = sy-ucomm
I_STRUCTURE_NAME =
IS_LAYOUT = GD_LAYOUT
IT_FIELDCAT = FIELDCATALOG[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT = ' '
IT_EVENTS =
IT_EVENT_EXIT = EVENT[]
IS_PRINT =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_FINAL
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
ENDFORM.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EXCEL'.
PERFORM DOWNEXCEL.
ENDCASE.
form downexcel *
FORM DOWNEXCEL.
DATA : B_FILE1 LIKE RLGRAP-FILENAME.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = ' '
DEF_PATH = 'C:\'
MASK = ',.,..'
MODE = 'S'
TITLE = 'SAVE THIS AS'
IMPORTING
FILENAME = B_FILE1
rc =
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
CODEPAGE = 'IBM'
FILENAME = B_FILE1
FILETYPE = 'DAT'
MODE = 'A'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = IT_FINAL
fieldnames =
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
GUI_REFUSE_FILETRANSFER = 8
OTHERS = 9.
ENDFORM.
Message was edited by: sanjeev
sanjeev singhHi Prabhu,
THanks for the update but I couldn't find Capitalized Date in BAPI.
I am again getting a new problem please check the following link for my post and let me know if you have come across such issue.
LSMW - Fixed Assets "unexpected record type" problem
Thanks,
Asha. -
Problem with the creation of asset master record
Hi Gurus,
i am having problem in creation of a new asset master with the use of existing man asset number and different asset sub number. I am trying to create the asset in the same company code but different depriciation area, but the system is not allowing me to do that. Is there a setting in the SPRO by which I can allow the use of creation of the asset number by using the already existing asset number with the new asset sub number. This is actually happening in the system for one type of equipments but not for other.
Can any one tell me what settings are to be made to allow this for all containers.
Thanks in advance
Anoop SharmaHi,
A sub asset master can be created with AS11 only.
You cannot create a asset sub number under a main asset number, in the case, where different set of dep areas needs to be maintained.
When you create a sub asset, all the dep areas will be copied to sub asset's master from main asset master. Since this set of dep areas cannot be different from main asset to sub asset.
Hopw you understood this.
Thanks,
Srinu. -
Problem with depreciation posting for an asset with a '0' net book value.
Hi,
I have a problem with depreciation posting on one asset. I think it should not be calculated and posted at all.
On 1st November 2010 (our Fiscal year starts on 1st November) there was acquisition posted to an asset and then it was reversed on the same day - so the net book value was '0'.
In AFAB depreciation run for April 2011 - it posted depreciatoion of 0.01 Euro, so now the book value is -0.01.
Do you know how this could have happened and what can I do to get the value of this asset back to 0?
Thank you,
KarolHi Murlidhar,
Thank you for your reply.
I just have one doubt - as depreciation of 0.01 Eur was posted in previous period leaving net value of asset equal to -0.01 Eur.
Shouldn't I get ritd of this asset value before I proceed with the steps you suggested?
I think it is not possible to reverse the depreciation - so I struggle to find a way to bring asset value back to zero.
Thank you,
Karol -
RE: Problem with settling time in DAQmx Assistant
Good day.
I am a postgraduate student at the University of Pretoria. We are using a PCI 6229 ADC, SCXI 1001 chassis, SCXI 1102C amplifier and SCXI 1303 terminal block for experimental measurements. We want to take thermocouple measurements at high sampling frequencies but at the moment we cannot log data at more than 500 Hz before the MAX warns of possible inaccuracies due to problems with the settling time. MAX recommends reducing the sampling rate to address this issue.
However, it seems strange to be limited to 500 Hz sampling rate considering that all the aforementioned hardware specifies much greater sampling capabilities; less than half of the SCXI 1001 chassis ports are currently in use. I would like to know whether there are any software and/or background processes inhibiting the obtainable sampling rate? Also, is there any way to work around the settling time problem of the amplifiers to increase the sampling rate that can be accurately achieved?
All help will be greatly appreciated.
Thank you.
Regards,
TUKS_studentHello TUKS,
Are you currently using a Thermocouple task? Does this problem occur if you were to just get raw voltage from those channels? This may be a limitation of the task in software itself, thermocouple measurements are meant to be slow since temperature does not change quickly. If you want to go faster you may have to acquire raw voltage along with the voltage from the cold junction channel and calculate temperature by hand. I would like to note that if you were to sample faster that you would have a considerable amount of data that does not change much at all, is there a reason why you have to go so fast?
Regards,
-Travis E
National Instruments
Applications Engineer -
Hi, I have problem with accesing Assets - Fonts (Synced Typekit fonts)!
Hi, I have problem with accesing Assets -> Fonts (Synced Typekit fonts)!
Can You help me with that problem?Hi Tarik,
I'm sorry you ran into trouble here. There are a few things we can check right away to start debugging this:
- First, would you try signing out of the Creative Cloud app and see if this solves the issue? This can be found under: Gear > Preferences > General > Account.
- Could you try quitting/restarting the Creative Cloud app. Did this solve the issue?
- Could you try Turning File and Font Sync off under: Gear > Preferences > Fonts. Wait a second, then turn it back on. See if the font/s show up and if not, try syncing again. Did this solve it?
- Could you tell me if you're on the Windows/Mac OS X and the version?
If none of those worked, would you attach the CoreSync files and send those to our support email: [email protected]?
On the Mac, the folder can be found here:
/Library/Application Support/Adobe/CoreSync/CoreSync-yyyy-mm-dd.log
(You'll want to open the Finder, click Go, in the menu, hold down the "option" key and you'll see the Library folder.)
On Windows:
You can find the files under: C:\Users\user name\AppData\Roaming\Adobe\CoreSync\coreSync-2013-08-xx.log
I know this is a lot. Thanks for your help here.
Cheers,
Benjamin -
AUC legacy assets uploading through AS91 transaction code with TT- 900
Hi,
I am uploading the AUC Legacy assets through AS91 transaction code.
In AS91 - I need to select Transactions option & should enter the transaction type 900 to give the Legacy AUC valules.
When i give the Transactioon type 900 for AUC assets load in AS91, the system is giving the Asset Value Data as 01/04/2009.
But the Asset Data takeover date given in the system was 31/03/2009. But why the system is taking 01/04/2009 (This is Fiscal year starting date for Country India).
#Now my problem is i should get the *Asset value Date -31/03/2009 but not 01/04/2009.
Kindly advise me how to change this asset value date to 31/03/2009 from 01/04/2009? It would be a great help for me if any one can help me or provide me some inputs...
Thanks
KishoreHi Zubin,
Thanks for your reply.
1. we are using V3 fiscal year variant (March-April)
2. In the Path given by you - I have maintained March -31,2009 for transfer date. In this case system is taking the 1st' April,2009 (This is next financial year first date)
3. But I should get the same date as transfer date (31st march,2009). I dont want next fiscal year first date as AUC asset value date.
4.how can i change this value date?
Thanks
Kishore
Maybe you are looking for
-
IRQ problems?, especially with USB.... read this
Summary: the following things are listed to help people configure or disable USB and USB IRQ related options, some steps may help diagnose/eliminate other IRQ problems. Some Operating Systems/Motherboards may have Similiar or Alternative ways to pref
-
How to use structure in ABAP program
I developing a report in smartforms but i want some fields to be display on the report but unable to find the relvent table as the field is show in structure.i can not find the actual table . is there any specfic way to find the table .or is there an
-
Data upload problem in delta update from 1st ODS to 2nd ODS
Dear Friends, I am loading data from one ODS to another. The update mode was full upload. Sometime back an error occurred in activation of the first ODS. The error was: Full updates already available in ODS ,Cannot update init./delta. So currently da
-
i have a Mac OS X 10 w. Yosemite download. am having trouble downloading library books to ADE, v. 3.0, which i would then like to transfer to my Simple touch Nook. I noticed that the authorization is for a DRM but the books are ACSM. should i chan
-
Hello. Recently, I Add a New Server Node on Java Central Instance. And Java Program Upload on Portal, then following error occured. Error in the listener class com.sap.ip.portal.admin.portalanywhere.QueryHandler during the process of handleTopic Orig