Dep irrespective of date
Hi All,
Amourtisation on Intangible Assets is required to be posted at 33.33% on cost, irrespective of date of addition.
How to capture this in the system.
Regards
have a look to the option Dep. to the day in your depreciation key:
Any period control methods entered in the depreciation key are ignored for the entire useful life of the asset. This applies to all transactions (acquisitions, retirements, and transfers). The system always uses the asset value date as the depreciation start date.
The "depreciation to the day" function becomes active for an asset as soon as the asset has a corresponding depreciation key and the asset is capitalized (posted to). Once this takes place, it is no longer possible to switch off this function for the asset, even if you change the depreciation key. On the other hand, it is not possible to activate this function for an asset after it has already been capitalized using a different depreciation key.
Similar Messages
-
Attributes of Time Dep. Master data getting overwritten
Hi,
I've one Time dependent master data 0PERSON, which gets data from Flat file and R3.
We first load from flat file and then from R3.
Now consider this:
Say for Person ID '123', flat file has "address" attribute as ABC. I load it and it gets loaded successfully.
But after R3 load for same Person ID i.e. '123', "address" attribute gets overwritten with R3 values e.g XYZ. Even though the time fields are non-overlapping.
I.e. I've now two records in 0PERSON for different time periods (as expected), but with same "address" values. I could not understand why R3 data is overwriting flat file data?
Could anyone help me in this.
Regards,
Vikrant.Hi Eugene, Dinesh,
I think we missed one point here, attributes themselves can be time-dependent or time-independent.. even though the master data characteristic itself can be time-dependent.
What this means, is that for same Person ID.. time-dependent attributes will have different values (i.e. in our case by Flat file or R3).. but time-independent attributes will get overwritten by the last load.. whether R3 or Flat file.
And this is what happening in my case.. my last load is from R3, which is overwriting Flat file data.. and too only for time-independent attributes !!
Correct me if my analysis is wrong.
Thanks for spending time on this,.
Regards,
Vikrant. -
hey there, whenever i try to start iTunes in my laptop amsg coming up saying : data execution prevention prevented iTunes from starting (Dep), would you Pls help me out.I have windows vista installed.
No, i do not have quickTime player.
I have tried to close dep off for iTunes but failed to do so as i got a msg that iTunes can't work without Dep in execution data prevention. -
Important tables used for Configuring BI apps Irrespective of source data
Hello Folks,
i am trying to know "WHAT ARE THE COMMON TABLES OR COLUMNS OR SUBJECT AREAS" available in ETL/BI Apps
irrespective of data from any source data applications
for example: i am trying to use siebel crm or oracle apps or peoplesoft
this will have pre-configured adopters in the ETL Workflow designer
but irrespective of this sources, i think there is some common tables or columns used which are used by DAC or ETL for internal pupose
so want to know what are they, where are they and whats the purpose
if possible, explain me in detail
thank you
kumrHi,
This information is all available in the data model reference for the applications version you are looking at, for instance:
Oracle® Business Analytics Warehouse
Naming Conventions and Domain Values Guide
Version 7.9.5
E12088-01
Navigate to the section:
2.3 Internal Tables in Oracle Business Analytics Warehouse
This shows the internal tables used by OBIEE Apps in the transactional database and the datawarehouse.
Regards,
Matt
Edited by: mod100 on 07-Sep-2009 07:03 - Added tags -
Date problem in selection screen
hi all,
in my selection screen i have two select options as follows
select-options: s_budat for anek-budat obligatory, (report date)
s_budat1 for anek-budat. (posting date)
means first date i have taken as report date and second as posting date.
my requirement is that whenever i should input some date i should get data
between those dates.
so how to do this bcoz i have done it and it is woking fine for the first but not working for the second.
so plz guide me and bfor answering keep in mind that my both dates refers to same field.
i have given logic like this
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 = s_budat-low.
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.
i want in the same way s_budat1 should also work ie if we give some range of date in it then it should show data in between those dates only but it is now showing full data irrespective of date entered in second select option.
Message was edited by:
sanjeev singhhi dinesh as u told me i have already done like this but i am not getting the output
when i am entering data in second selectoption s_budat1 it is still considering the
date entered according to date entered in s_budat select option.
i have debuged it also in which i found that after taking date from s_budat
it is not going to s_budat it is simply jumping out.
so here i am sending my code if u can solve it then i will be gratefull to u.
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, "Asset-value fields
ANEP, "Asset line item
ANEK. "Document header asset posting
*Internal Table Declaration
DATA : BEGIN OF T_ANLA OCCURS 0,
BUKRS LIKE ANLA-BUKRS, "Company code
ANLN1 LIKE ANLA-ANLN1, "Main asset number
ANLN2 LIKE ANLA-ANLN2, "Asset sub-number
AKTIV LIKE ANLA-AKTIV, "Asset capitalization date
TXT50 LIKE ANLA-TXT50, "Name of asset
ZUGDT LIKE ANLA-ZUGDT, "Asset value date of the first posting
MENGE LIKE ANLA-MENGE, "Quantity
MEINS LIKE ANLA-MEINS, "Base unit of measure
ANLKL LIKE ANLA-ANLKL, "Asset class
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, "Business area
KOSTL LIKE ANLZ-KOSTL, "Cost center
STORT LIKE ANLZ-STORT, "Asset location
RAUMN LIKE ANLZ-RAUMN, "Room
KFZKZ LIKE ANLZ-KFZKZ, "License plate no. of vehichle
WERKS LIKE ANLZ-WERKS, "Plant
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, "Posting date in document
BZDAT LIKE ANEK-BZDAT, "Asset value date
BLDAT LIKE ANEK-BLDAT, "Document date in document
BUZEI LIKE ANEK-BUZEI, "Line item number within the accounting
XBLNR LIKE ANEK-XBLNR, "Reference document number
SGTXT LIKE ANEK-SGTXT, "Item text
GJAHR LIKE ANEK-GJAHR, "Fiscal year
LNRAN LIKE ANEK-LNRAN,"Sequence number of asset line items in fis
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, "Acquisition value reducing transactions f
NAFAP LIKE ANLC-NAFAP, "Planned ordinary depreciation for the yea
AAFAP LIKE ANLC-AAFAP,"Planned unplanned depreciation for the yea
AFABE LIKE ANLC-AFABE, "Real depreciation area
GJAHR LIKE ANLC-GJAHR, "Fiscal year
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, "Amount posted
NAFAB LIKE ANEP-NAFAB, "Ordinary depreciation on transactions
GJAHR LIKE ANEP-GJAHR, "Fiscal year
AFABE LIKE ANEP-AFABE, "Real depreciation area (01)
BELNR LIKE ANEP-BELNR, "Accounting document number
BUZEI LIKE ANEP-BUZEI,"Line item number within the accounting do
LNRAN LIKE ANEP-LNRAN,"Sequence number of asset line items in fi
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.
End of Internal table Declaration
*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
*Declaration for Field Catalog
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.
End of field catalog Declaration
*Selection Screen Desing
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 VISIBLE LENGTH 2.
SELECTION-SCREEN : END OF BLOCK B_FA.
*SKIP 2.
SELECTION-SCREEN : BEGIN OF BLOCK B_FA1 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS : S_ANLKL FOR ANLA-ANLKL VISIBLE LENGTH 4,
S_AKTIV FOR ANLA-AKTIV,
S_GSBER FOR ANLZ-GSBER VISIBLE LENGTH 4,
S_KOSTL FOR ANLZ-KOSTL VISIBLE LENGTH 8,
S_WERKS FOR ANLZ-WERKS VISIBLE LENGTH 3,
S_STORT FOR ANLZ-STORT,
S_BUDAT FOR ANEK-BUDAT DEFAULT SY-DATUM.
SELECTION-SCREEN : END OF BLOCK B_FA1.
*SKIP 2.
SELECTION-SCREEN : BEGIN OF BLOCK B_FA2 WITH FRAME TITLE TEXT-003.
SELECT-OPTIONS : S_BUDAT1 FOR ANEK-BUDAT.
SELECTION-SCREEN : END OF BLOCK B_FA2.
*End of Selection screen design
Logic for date
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 = S_BUDAT-LOW.
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.
ELSEIF S_BUDAT1-HIGH IS INITIAL.
V_YEAR = S_BUDAT1-LOW+0(4).
V_MON = S_BUDAT1-LOW+4(2).
IF V_MON LT '04'.
V_YEAR = V_YEAR - 1.
CONCATENATE V_YEAR '0401' INTO V_LOW.
V_HIGH = S_BUDAT1-LOW.
ELSE.
CONCATENATE V_YEAR '0401' INTO V_LOW.
V_HIGH = S_BUDAT1-LOW.
ENDIF.
ELSE.
V_LOW = S_BUDAT1-LOW.
V_HIGH = S_BUDAT1-HIGH.
ENDIF.
end of logic
*Start-of-selection
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 GSBER.
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-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
gsber = t_anlz-gsber
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
AND BUDAT >= V_LOW AND BUDAT <= 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
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 = 'BZDAT'.
FIELDCATALOG-SELTEXT_M = 'ASSET VALUE DATE'.
FIELDCATALOG-COL_POS = 4.
FIELDCATALOG-OUTPUTLEN = 17.
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 = 'BUDAT'.
FIELDCATALOG-SELTEXT_M = 'POSTING 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. -
Excel 2013 PowerPivot Error - "PowerPivot is unable to load the Data Model"
I'm attempting to use the PowerPivot add-on in Excel. When clicking 'Manage Data Model' or attempting to 'Load to data model,' I receive the error 'We couldn't load the Data Model. This may be because the Data Model in this workbook is damaged.',
followed by 'PowerPivot is unable to load the Data Model.' This happens irrespective of data source type. I have Excel 2013 32-bit, PowerPivot 32-bit, running on Windows 7 OS 64-bit. I am not running an SSAS instance on my machine.
Any suggestions?Hi
Have you ever tried to repair your office?
Also we may refer to the following blog :
http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/11/12/powerpivot-for-excel-2013-errors-after-october-update-kb-2825655.aspx
This issue seems to be caused by the October 2013 update (KB 2825655) for Excel 2013. Try to remove it or restore the system to an earlier point and check the result.
Regards
Tylor Wang
TechNet Community Support -
Asset Value Date - Wrong posting
Dear All,
Company code is on live, Assets legacy data taken as on 31st-March-09.
Later we find that some of the assets [new purchases, in previous fiscal year (2008)] was not posted.
For that recently we posted that transactions F-90 using posting date is current date and document date is Actual acquisition date.
Due to document date in previous fiscal year system taten posting date as asset value date. So, depreciation posting missing for previous year.
I need your help. How can I rectify this???
Other than reversing the existing posting, what is the scenario????????
Thanx
Regards
parthaHi,
In order to post ,post capitalization please closed the previous asset accounting year.In ABNAN T.Code screen please update the original val date field with the date of the previous year from where you need to start calculating the dep. Doc date and posting date should be of the current FY.Also check T.Code Ao90 for updating the field Revenue from post capitalization with proper GL Account.
If your statutory audit for 2008-09 is not yet completed then you can think about T.Code AS91.While using T.Code ABNAN the following line items are generated.
Asset dr
Acc Dep cr
Rev form post capitalization cr
The system will only calculate dep of previous year.For the current year dep which are yet to be posted will be posted in the next schedule dep posting run.
Thanks
Monoj -
JDBC to RFC Scenario large data
Hi,
I have jdbc to rfc scenario. I have no problem with the small size data (about 10 mb ). if resultset is very large ( about 80 -120 mb ) , i received resultset and proceess it but when PI try to send these data to RFC it stucks status Scheduled in sxmb_moni , and in rwb is to be delivered and doesn't send to rfc.
What can i do ?Since you are using JDBC as sender, I would think you query from the sender and resultset is mapped to RFC for the target system. PI gives optimum performance upto 5 mb message size. YOur message size is pretty big.
Suggestion:
A) Make a minor change and do the query to result less records.
Example: Select Fields from tablename where rownum < 500 and
in update statement set flag = true for the read records so that next time you will not reread those old records again and every time you query only for 500 or 300 or your desired number records and keep the mesg size always constant irrespective of data available.
Hope that helps. -
Data Table Fixed rows and Scroll Bar
Hi
I have data table which displays the data dynamically, but when there is no data , the table is shrinking and moving the other elements of the page. Is there any way i can keep to fixed number of rows irrespective of data presence?
Like i need to display only 10 rows at a time, if there are 7 rows in DB, i have t o display 7 rows containing data and rest as blank .
If my data increases more than 10 rows how can i enable Scroll Bar Automatically on this?
Thanks in advance.Then add empty row objects to the collection or datamodel which is been passed to the datatable value.
-
Data Conversion Design Patters
I'm looking at building a conversion program that will import data from several different formats and convert into one common format. The convertor should simply be pointed to a database or a flat-file and it will extract the data and populate tables in the target database. All the logic is mind-numbingly simple, but as far as an overall design, what are your thoughts?
For example, should I build a separate tool that does validation of source data? Or should the validator be part of the convertor?
Are there design patterns out there that anyone can recommend?This problem u can go for strategy pattern. A strategy is nothing but an algorithm to reach the soution.
Strategy pattern deals with different algorithms(strategies) to achieve the same result.The client will have some indicator. Using the indicator, stategy manager will decide which algorithm to invoke.
In ur case,the algorithm may differ depending on the data format. For (eg) if you have five different formats of data , then you may have to write five different type of logic to achieve the solution.
So firt of all u need to identify the strategies u r going to use.
Now you may require following classes
1) SourceReader -- > this class is responsible for getting the data either from file/database.It just reads and holds data.
It identifies which strategy to use by parsing the data . No data processing happens here
2) StrategyManager --> Strategy manager is the one who reads the data from source reader and decides and instantiate the strategy to use.
3) Strategy --> It could be an interface or an abstract class. It can be decided upon any common operation involved irrespective of data format.
4)ConcreateStrategy --> This implemenattion class, here actual data extraction process will happens.
5) DataLoader --> this calss loads the data in to the destination database
6) YurEntity --> The data to be populated can be kept in the form object. if ur object contains many attributes, we can have data in the form objects. (this class is required only if all the data are realted and fall in to same logical group).
Class SourceReader{
Vector data;
public void do(){
readData()
StrategyManager.getInstance().process(data,findStrategy());
public void readData()
read from file or db and populate data
public int findStrategy()
logic for identifying format
class StrategyManager
public static StrategyManager sm = new StrategyManger();
public StrategyManager getInstance()
return sm;
public void process(Vector data,int indicator)
//read the indicator and instantiate the appropriate startegy class
Strategy s = new Strategy1();
s.process();
abstract class strategy{
public abstract void parse();
public void validate{};// if the validation logic is common, u can have implemenation here itself.
public updateDB()
update destination db;
public void process()
validate();
parse();
updateDB();
} -
Data Execution Prevention preventing iTunes from working
I have iTunes 8.0.2.20 running on Windows Server 2008 SP1. Whenever I plug in my iPod Nano, Data Execution Prevention (DEP) shuts down iTunes. I can't create an exception for iTunes in DEP since it gives the following error message:
+"This program must run with data execution protection (DEP) enabled. You cannot turn off DEP for this program."+
Any ideas on what might be causing this issue?No, i do not have quickTime player.
I have tried to close dep off for iTunes but failed to do so as i got a msg that iTunes can't work without Dep in execution data prevention. -
Regarding the dates to retrieve the required records.
Hi,
In the selection screen, i have radiobuttons for reporting period like ALL, PAST, FUTURE, TODAY,OTHERKEYDATE ,e.tc.
My report should run for the date which i have selected on the selection screen.
For today, we can write the condition as
Begda < = sy-datum and enda > = sy-datum.
But i have to write in general for everydate which i selected.
I am writing report for OM. i am not using PCH LDB.
if i use LDB , i can write Begda < = pnp-enda and endda >= pnp-enda.
But iam not using the LDB PCH.
how to write query to retreive the required date.hi,
let us say your radio buttons have the name as follows:
P_ALL -> for all
P_TODAY -. for only today
P_PAST -. for all dates in past from today.(not including today)
P_FUTURE -> for all dates in FUTURE from today( not including today)
P_OTHERKEYDATE -> for any other date that user enters.
*Logic:
if P_ALL = 'X'.
code is as such the program runs for all records irrespective of dates.
elseif P_TODAY = 'X'.
p_date = sy-datum. " this p_date is a variable used to hold today's date.
now code it so that it runs only for the records having date = p_date.
elseif P_PAST = 'X'.
*write code to pick all the dates which are in past , I don't know what you have as begin and end dates and what they for, use the begin and end dates to calculate past dates and run the code only for those past dates.
elseif P_FUTURE = 'X'.
*do as done in past,for future dates.
else p_date = otherkeydate "hope this is entered by user somewhere on the screen.
*run the code for only that p_date.
endif.
<REMOVED BY MODERATOR>
deepti.
Edited by: Alvaro Tejada Galindo on Feb 5, 2008 4:54 PM -
IPhoto 09 Problem with Events and Dates
In iPhoto 08, when adding pics and videos to an event (irrespective of date) they were all grouped together in a folder named by the Event.
Now in iPhoto 09 when I add pics and videos they do not go into the event folder but a new folder named with a the date. In iPhoto everything is grouped together correctly but the underlying file structure is different.
This is especially troublesome because when iMovie reads videos from the iPhoto library it labels the videos with the Date instead of the Event. I recently converted a bunch of my old videos (which now have the same creation date) and they are all mixed up now even though the are appropriately grouped in events in iPhoto.
Does anybody know a workaround for this?Yes, I can access the movies in iMovie but they all are grouped by the same date. My old videos are grouped by the event name from iPhoto. It seems like iMovie 09 is reading from the iPhoto 09 library file structure which in the past had folders for each event but now only adds folders with the date name.
-
Advanced Benefits:Dependent Coverage Start Date
Hi,
I have a an employee with the following life events.
Intially the Employee has Employee Only Option
1) 28-Feb-2010 -- New Child --> Emp+Children --> Child Cvg Start Date --28-Dec-2010
2) 01-JAN-2011 -- Open --> Emp+ Children --> Emp CVg Start Date -- 01-Jan-2011 and Dep Cvg Start Date 01-jan-2011
3) 01-APr-2011 -- Marriage --> Emp+Family --> The Cvg start date of the Child is Changed to 01-APr-2011 and the Employee CVG start date also changed to 01-apr-2011
I am curious to find why did the child coverage start date changed to 01-APr-2011 and we have added spouse only in the marriage life event and changed the
option from Emp+Children to EMp-Family
Thanks for any input.
regards,
AHi Shivam,
You have mentioned previously that Ct. is triggering the Gain Dep. LE by adding a new dependent child. This means that the person already had a life event in started status which enabled the Family Member page and allowed the user to add a dependent.
If so, then there might be a Collapsing Logic defined between the Current LE[Say New Hire or Open] and the Gain Dependent. [I have seen this setup with most of the Ct.'s].
So, there is a good chance that instead of the Gain Dependent, the Current LE will be reprocessed and hence is taking the setup of Current LE instead of GD.
You can confirm the LE processed in the Current Benefits page.
Regards,
Aneesh N -
100% dep for small assets
Hi All,
While going through the Depreciation Statement it is found that depreciation on small items (eligible for 100% Depreciation, covered under various Asset Classes ) is being calculated prorata on monthly basis.
As per the provisions of law, full depreciation at 100% should be charged irrespective of date of addition. How & where can i make the necessary correction,so that 100% depreciation is calculated in respect of small items eligible for 100% depreciation.
Regards
SAP4MEHello
for the first query you need to check the period controls. As i under stood system should depreciate the total value of the asset with in the same acquisition year irrespective of period.
Please check the period controls for the depreciation key.
For your second query
You need to create the (MANU) manual depreciation key.
The same depreciation key need to be assigned to all the assets for which you want to post the deprectioan manually.
Tcode for posting the manual depreciaiton: ABMA
This is manual posting system should not object whether the amount of depreciation is increased or decreased.
Please check and update.
Regards
HK
Maybe you are looking for
-
Enterprise manager not installed.
Hello everybody I have installed the SOA 11.1.1.2 suite as per the documentation. But when i am starting teh weblogic server,during startup it throws error regarding enterprise manager. stacktrace is like this <Jan 8, 2010 12:00:40 AM GMT+05:30> <War
-
Can't download Solaris 10 with SDM
Hi there ! i'm trying to download the Solaris 10 using the Sun Download Manager, but getting the following error : Wrong data size in destination file. I'm doing this starting the download and the SDM from internet explorer. It works fine or the comp
-
Saving into a String ...
Here in this code i tried to put every row to a string from the database.. But i'm getting a nullpointerexception .. Would anybody please tell me or give me any hints to complete this.... Thanx.. <%@ page language = "java" import = "java.sql.*" %> <h
-
HT4437 how to mirror ipad air to apple tv
hw does it work
-
Differences between cookies and sessions
Hi there, I want to learn the differences between sessions and cookies in PHP.Please help me. Please let me know if there any video demonstrations that explain sessions and cookies. Thanks in advance.