Friday, February 5, 2016

ALE Delta and Change Pointers

Master data Delta mechanism
Master data delta explained

Change Pointers
ROOSGEN :
MSGTYP will give you the message type for that datasource. Taking an example of 0MAT_PLANT_ATTR : in production it has MSGTYP = RS0011

BD50 Or table TBDA2
we can see if the MSGTYPs are active.

BD52
Here we can see all 'Change document items' which are maintained for this Message Type. Only the fields where 'change document' checked in the dataelement can be present here.[ It also doesn't mean all the fields in the table where the change document is checked will be present. They need to be maintained, I GUESS ].

BD61
Activate Change Pointers Generally

TBD62
'Assignment of change document field to message type' can be seen. [I GUESS it kind of gives the same information as BD52, but in a tabular form . In this table, for the same 'Object Class' and 'Table Name' we find different Message Types.
For example, I am looking for 0MAT_PLANT_ATTR-TRAME and UMLC fields, which are from MARC table. Both of them have Change Documents enabled, but I am not seeing the delta picking up change in the fields. When I look into TBD62, I find entries for TRAME with Object class 'MATERIAL' Table 'MARC' , but they have different Message Class than RS0011. There are no entries for Message Class RS0011 for TRAME.I am ASSUMING that is the reason it is not picking up delta for these fields.

Re-running a failed Master data delta
How to Request a Failed Delta
Because the process indicators have been set to X, and there is nothing in RSA7, how do you request a failed delta.
The solution is to run program RSA1BDCP in the source system.
The ABAP does not validate the selection screen, as such I strongly advise you to validate and fill in all fields.
If a field is left blank, all data will be reset and thus your next delta will be a bit larger than intended!
This ABAP will reset the process indicator field on BDPCS to blank from a given data forward.
The process therefore to request a failed delta is:
  • Set the incorrect infopackage to green
  • Run RSA1BDCP for a date greater than the last successful delta
  • Rerun the delta infopackage




Links to refer




ECC Concepts





Friday, January 29, 2016

0ASSET_AFAB_ATTR

0ASSET_AFAB_ATTRDepreciation Area Real or Derived

This datasource has Assets based on Depreciation Area

Base Tables
ANLB.
This datasource has both real and derived depreciation areas ( eg: 93 and 91 are derived, I guess. They are not in ANLC)

Calculating expired useful life
When a asset is created, the number of useful life years and months is also decided. There will also be start date for the depreciation. 
Useful Life is present in table ANLB-NDJAR/NDPER (Planned useful life in years/periods). Once the asset start depreciating , the useful years also decrease.
Expired useful life is saved in table NDABJ/NDABP (Expired useful life in years at start of the fiscal year/period)

This can also be calculated as follows.
Expired life in years = (Present Fisc Year - 1) - (Year from Start of Depreciation date)
Expired life in months = ( Period of the fiscal year from which Start of Depreciation is starting ) - ( Period of Start of Depreciation period)


Refer Notes :


0ASSET_AFAB_TEXTDepreciation Area Real or Derived

Only FULL load is possible for this datasource.

Thursday, January 28, 2016