Transfer and Update Rules in BW
Hi All,
I am a SAP Tech.consultant and wants to know the Role of ABAP in SAP BW in transfer and Update Rules. I want to know the general update and transfer rules in BW.
Please search the forum as this has been dicussed in details many times. Thanks!
Similar Messages
-
How to locate inactive transfer reules and update rules
Hi SAP Gurus,
could some one tell me how to locate all the <b>INACTIVE</b> transfer reules and update rules in our system? i <b>DONT</b> want to so the mass activation of transfer/update rules. I just want to locate all the inactivate transfer/upfate rules.
ur help will be appriciated in terms of points..
manmitHi,
Inactive UR can be seen by RSA1->Infoprovider->Settigns(menu bar)->Select Display Options->only display restrictions->All inactive objects...
It will show inactive infoproviders along with inactive update rules.
Similarly inactive infosorce/TR can be seen by RSA1->Infosource->Settigns(menu bar)->Select Display Options->only display restrictions->All inactive objects...
Hope it helps.
Regards,
Aditya -
Transfer Rules and Update Rules
Hello,
What is the exact difference between Transfer Rules and Update Rules ????
NImishaHi Nimesh,
Transfer rules are the combination of communication structure and transfer structure here you are sassing the fields between transfer structure to communication structure..
Updater rules are crating between data marts and info source, here you are creating the update rules based on communication structure.
For more information go through the following link...
http://help.sap.com/saphelp_nw04s/helpdata/en/fc/1251421705be30e10000000a155106/frameset.htm
Regards,
PRK
Message was edited by: PRK -
Diff between the Start routine and Update rules?
Hi Gurus
Diff between the Start routine and Update rules?
Thanks in advance
RajHi,
Routines are like conditions or business rules that could be applied to filter the data while entering the BW system or could be used to apply certain conditions on the info objects itself.Update rule level you manipulate your data and write your start routine.
There are 4 types of routines
1. Start routine- Could be used at two levels (transfer rule level and the Update rule level)
This Start routine written at the transfer rule level helps filter the necessary data coming from the source system.
For Example: If you decide to extract data that contain only quantity greater than 500 , then you could specify the Start rouitne to achieve this.
The Start routine at the Update rule level provides similar functionality but at this point it helps direct specific data to
different data targets. For Example: If there 3 data targets being fed from the Infosource, you may want to apply some condition to each data target, like send year 2000 data ti Data target1, 2001 to data target 2 and so on. This can be achieved by using Start routine at the Update rule level
2. Transfer Routine: This feature is available at the transfer rule levels
While performing the transfer rules operation, there are 4 features available to the developers to create business rules on top pf the Infoobjects.
1. You could do a one to one mappping of the Infoobject
2. Provide a constant value
3. Include a formula
4. Write an ABAP routine.
These 4 options refers to the transfer routine
3. Update Routine:
The limitations of just having 4 options in the transfer routine is overcome at the update rule level. There are various other
sophisticated features avaialable apart from the 4 options mentioned above. These business rules could be specified pertaining to each data target.
4. Conversion Routine: It provides functionality to do Currency and unit conversion.
Regards. -
0SD_C03 transfer rule and update rules do not exist in BI Content
I am working on SAP BI 7.0 support level 16 and BI Content 703 support level 9.
I am not finding these objects in BI Content for the Sales Overview Infocube 0SD_C03:
Update Rules do not exist for 2LIS_11_VAKON,
2LIS_11_VASCL, 2LIS_11_VASTH, 2LIS_11_VASTI, 2LIS_11_V_SCL,
2LIS_11_V_SSL, 2LIS_12_VCSCL, 2LIS_13_VDKON.
Transfer rule does not exist for
2LIS_13_VDITM, but exists for all other DS.
7 Transformations exist only for:
2LIS_13_VDITM
Can somone help me out with why this is so? Which datasources are to be used for 0SD_C03, 3.x or 7?
This is an urgent requirement.
Regards,
SonyMost of the problem has gotten solved by our upgrading to BI Content level 17.
The others, i made a direct mapping of some of the transfer rules manually.
It is working fine now.
Thanks for the replies.
Sony -
How to identify transfer and update routines are applied to my ods/ cubes?
hi all,
how to identify transfer nor update routines are been applied to my ods/ cube?
regds
hariYou need to go through the update Rule and Transfer Rule mapping and if you see any routine then there is a routine. Only manual process and also that is not too bad to go through them.
thanks.
Wond -
Start routine and update rules
Hi,
What is accessed first:-
Start Routines or Update Rules?
What is the use of global variables in start routine?
Please reply.
Thanks.Hi......
You have different types of Routines in BW .
1) Start Routine in Transfer Rules
2) Transfer Routine in Transfer Rules.
3)Start Routine in Update Rules
4)Update Routine in Update Rules.
The routines that you write in transfer rules are applicable to all the Data targets that get the data from that particular Infosource, when you are going to write some code in Transfer rules, you have to understand that you are going to manupilate the data that is going to get into BW .
If you are going to write in Update Rules , then that logic is going to apply only for that particular Data target .
Eg : Let suppose I have a Flat file that gets data from 3 countries, US, Canada and Mexico.
Now I have prepared the data source for the same . But I dont want to have the data of Mexico in to BW itself.
So I will write a Start routine at TR to eliminate the data of Mexico.
My Next step is I want the data of US into one ODS and Canada data in to another ODS.
For this I handle the dataflow at Start routine in Update rules, to eliminate Canada data for US ODS and Vice Versa.
Global variables in Start routine
You can have global variables, internal tables populated by the
startup routine. This data will be available to the field
routines. Create yourself a start routine, declare some
variables in the global section, and then create a field
routine. You will be able to use the globally declared objects
in the field routine
Please check below help link for routines in sap netweaver 2004s
http://help.sap.com/saphelp_sem60/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/frameset.htm
How to guide "How to transformations routines".Please check the below link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/dc1d9990-0201-0010-16aa-db3c4eb8b642
start routine in transfer rules
Look up to load master data
excluding
Start Routine in Transfer Rules
Sample code in Update Rule to restrict data selection?
Append Datapak - transfer start routine
Excluding Blank field in Infopackage Filter
Trans Routine ABAP help ..
transfer routine
Date key figure: Convert DATS format to DEC format
Date Conversion in Flat File
Transfer Routine ABAP
conversion exit
Date Conversion
Problem with conversion char to numc in transference rules
conversion routine..?
update routine
How to call a function in Update Rules to reverse a key figure sign
Need Sample Code for Update Rules
Date calculation
Difference between data in PSA and Data in Infocube
No RETURNCODE <> 0 allowed in update routines in transfer mode
the diffrerece between DEC and (yyyymmdd) 8 char in Time defination
Access master data in update rules
Date key figure: Convert DATS format to DEC format
start routine in update rules
Is it possible to read a third ODS in update rules between two ODS?
update rule coding while loading data from ODS to CUBE
Start Routine in Update Rules to populate additional fields from ODS
Coding in Update Rules accessing a Z-Table
Start routine
Hope this helps you..........
Regards,
Debjani.........
Edited by: Debjani Mukherjee on Oct 1, 2008 4:58 PM -
Diff bet transfer and update routine
Hi experts,
can u plz.. clearly explain me.. the diff bet transfer and updatwe routine.. with scenario... i just want to know.. abt... it.. i went thru.. help.. but... not got clearly...
*points fully assured*
Regards
RekhaBoth the do the same.
Trnsfer routine will perform the required transformation in the transfer rules while the update routine will do the same in the update rules.
The purpose of these routines is when you wish to transform the incoming records by performing some checks and validations before the data get into the data targets.
A realtime example will be:
You bring in profit cemtre transaction data and for each profit centre record you wish to check if it has value type indicator. The business rule is if there is no such indicator, either reject the record or tag a value of 10.
Since this is to be checked for each record, we do it in the transfer routine or in update routine.
Also, you would have heard of start routine; if a logic is to be applied on the whole data package, then you do it in start routine.
In 7.0, all these things got replaced bu start routine, expert routine and end routine.
Ravi Thothadri -
Error while transporting Infocube and Update rules
Hi ,
My infocube is having warnings for 4 key figures as "InfoCube contains the key figure 0DSCT_PCT1 with the impermissible aggregation NOP" .But when I ma trying to transport I am getting eroors in transport but still The cube got migrated in active form.But the update rules are not getting transported.They show me an error Error when activating update rule 3CFLSNV4LN26C1URF15PR6XSA ". This is very urgent for me.
Can any one help me please.I promise to give reward points.
Thanks,
Jyothi.Hi,
My key figures are in active form only.I transported the active keyfigures from development to quality.I am not supposed to make any changes directly in QA .My problem is in transporting update rules.It gives an error message 095 Error when activating update rule "3CFLSNV4LN26C1URF15PR6XSA"
461 IC="0FIAR_C03" IS="80FIAR_O03" error when checking the update rules
Errors occurred during post-handling "RS_AFTER_IMPORT" for "ROUT" "L"
The errors affect the following components:
"BW-WHM" ("Warehouse Management"). -
I turned on my new iMac for the first time today and set it up using a backup on Time Machine from my old Macbook, which is running OS X 10.9.5 and has iPhoto version 8.1.2. When I went to open iPhoto on the new computer, it said I had to update the photos to work with the new version. Now, my photos from part of July 26, 2014 and onwards do not show up in the new iPhoto. The albums and spaces for the photos are there, but only a gray triangle with exclamation point shows in their place. Every other photo from 2003 to half of July 26, 2014 appears to have updated without issue. None of the fixes/rebuilds I tried worked. When I open up TimeMachine, it has no backups that I can use for the new computer (perhaps, because I wanted to still have access to use my old backups for my old laptop so told it not to use them for the new computer). My most recent half a year's photos are the ones I need the most. How do I make them appear on my new iMac?
Do you still have the old Mac? Then check, if the iPhoto Library has the newer events from July 26 onwards.
If yes, copy the iPhoto library from the old Mac to the new mac by connecting both computers. And then try to upgrade the copied library.
If you no longer have access to the old mac, you could try to inherit the backup of the old Mac and try to restore the iPhoto Library from it.
See Pondini's FAQ: http://pondini.org/TM/B6.html -
How-to get transformations from transfer/update rules
Hi all,
we did an upgrade to BI 7.0 frm BW 3.5, how shall we get the new things like transformations,DTP for tha already existing cubes/ODS. is there any procedure to convert transfer and update rules to transformation.
Thanks all,
RegardsMigration - Yu may wish to read below steps
Transformation Rules
automatic mapping without the use of an Infosource.
steps are listed below.
On the InfoSource Tab (Note- Ensure DataSource and Infosource have not been migrated)
1. Right Click > Additional Functions > Create Transfer Rules
2. Activate Transfer Rules
3. Right Click > Additional Functions > Transformation erzeugen
On the DataSource Tab
4. Create Transformation (Map to DSO, should map automatically)
5. Migrate DataSource
6. Create InfoPackage
7. Create DTP
Assessing Migration Scenario's
Transformation Rules
Strategy toward new and 3.x datasource / infosource
Re: Few questions on BC activation..
Replicate NEW/3.x datasource - Methodology
Replicate NEW/3.x datasource - Change back to 3.x datasource Methodology
Re: Datasource Identification
Hope it Helps
Chetan
@CP.. -
Negative sign disappears in Update Rule assignemnt
Hello, I have a strange problem with an update rule. I try to copy a number with comma and sign into an attribute FI_TAXRT of an InfoObject. The number get ther ecorrectly but the sign deiappears.
FI_TAXRT = Key Figure of type Number (Dec =counter or amount field with comma and sign)
The trasfer rule from my Data Source provides a field KBETR. This field is calculated from a an amount field in a condition table. In fact it is a percentage, so to remove the currency field I created a user exit in the data source to copy the amount field in a char field of the same length.
This works fine because I get the correct number with comma and sign (I checked that in RSA3 and also in the PSA).
When I debug the transfer and update rules the negative sign is there. I checked this by lgging a message in the update rule if the field is negative. (See code below)
I get my messages in the log, but in the InfoObject, the field is displayed without sign when I do maintain master data or when I read the underlying table with SE16
IF COMM_STRUCTURE-/BIC/FI_TAXRT < 0.
MONITOR-msgid = 'Z_MSG'.
MONITOR-msgty = 'I'.
MONITOR-msgno = '01'.
CONCATENATE COMM_STRUCTURE-/BIC/FI_MWSKZ ' negative'
INTO l_text.
MONITOR-msgv1 = l_text.
append MONITOR.
ENDIF.
RESULT = COMM_STRUCTURE-/BIC/FI_TAXRT.
RETURNCODE = 0.
ABORT = 0.
I created the routine because a simple assignment of the InfoObject in the UR produced the same thing.
Any ideas why this could happen?Please check if there is any conversioun routine defined for the InfoObject, which might change the sign.
/ Christian -
ABAP Guidelines for transfer rules & Update rules
Is there any guidelines for abap when using it for transfer rules and update rules? I am looking for some best practise in this area.
Thank you,There is no specific differences in the standards/coding procedure for Transfer Vs. Update Rulse.
This can only come from a combination of requirement, design and experience! (in no particular order)
for e.g.
If the converions are the same for all data targets, you would use the transfer routine, start routine in the Transfer rules.
If the converions are different for different data targets, you would use the update routine, start routine in the Update rules.
Key concerns being performance, modularization, reduced effort and ease of maintenance.
Not sure I have answered you question! Please get back if there is something specific you are interesed in (a scenario perhaps!)
Rishi -
hi gurus,
what is difference between transfer rules and update rules? Can we do currency conversion in transfer rules? if yes how? if no why?
as far of my knowledge i think tran rules are info object level and update rules are data target level.
points are rewareded...
thanks
bw bwHello,
Transfer Rules:
When we maintains the transfer structure and the communication structure, we use the transfer rules to determine how we want the transfer structure fields to be assigned to the communication structure InfoObjects. we can arrange for a 1:1 assignment. we can also fill InfoObjects using routines, formulas, or constants.
Update rules:
Update rules specify how the data (key figures, time characteristics, characteristics) is updated to data targets from the communication structure of an InfoSource. You are therefore connecting an InfoSource with a data target.
For Currency Conversion, put a mail to [email protected]
I have an excellent document which would be help ful to you.
Thanks
Ramu -
BW 3.5 Update rule routine and start routine convert to BI 7.0 Endroutine.
I have bw 3.5 update routine and update rules start routine( r/3 to ODS). i need to replicate that routine into BI 7.0 endroutine with the same logic with some minor changes(DSO to DSO).
IN BW 3.5 the data is getting from r/3 where as in BI7.0 the data fetching from DSO itself but the logic is same as bw 3.5.
following is the start routine:
DATA: G_FISCPER_TO TYPE /BI0/OIFISCPER,
G_CALMONTH LIKE /BI0/PCALMONTH-CALMONTH,
G_MONAT TYPE /BIC/OIYRDFMONAT.
ABORT = 0.
------ Globale Variable füllen --------------------------------------*
CALL FUNCTION 'Y_RDF_FISCPER_FOR_INFOPACKAGE'
EXPORTING
I_ISOURCE = '0FI_AA_001' (*** this is infosurce getting from r/3, in 7.0 this one is DSO 'B")
IMPORTING
E_FISCPER_TO = G_FISCPER_TO
E_MONAT = G_MONAT
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 0.
CALL FUNCTION 'Y_RDE_FISCPER_TO_CALMONTH'
EXPORTING
I_PERIV = 'K4'
I_BDATJ = G_FISCPER_TO(4)
I_POPER = G_FISCPER_TO+4(3)
IMPORTING
E_CALMONTH = G_CALMONTH
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC NE 0 OR G_CALMONTH IS INITIAL.
CALL FUNCTION 'Y_RDN_MONITOR_SET'
EXPORTING
I_MSGID = 'YRDFBW'
I_MSGNO = '027'
I_MSGV1 = '0FI_AA_001'
I_MSGV2 = 'YRDF_FIAA_PERIOD'
TABLES
T_MONITOR = MONITOR.
ABORT = 1.
ENDIF.
ELSE.
CALL FUNCTION 'Y_RDN_MONITOR_SET'
EXPORTING
I_MSGID = 'YRDFBW'
I_MSGNO = '027'
I_MSGV1 = '0FI_AA_001'
I_MSGV2 = 'YRDF_FIAA_PERIOD'
TABLES
T_MONITOR = MONITOR.
ABORT = 1.
ENDIF.
Update routine:
RETURNCODE = 0.
ABORT = 0.
CLEAR RESULT.
IF NOT COMM_STRUCTURE-ASSET_MAIN BETWEEN '000000200000' AND
'000000299999'.
CALL FUNCTION 'Y_RDF_GET_CCTR_0ASSET'
EXPORTING
I_COMP_CODE = COMM_STRUCTURE-COMP_CODE
I_ASSET = COMM_STRUCTURE-ASSET
I_ASSET_MAIN = COMM_STRUCTURE-ASSET_MAIN
IMPORTING
E_COSTCENTER = RESULT
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC NE 0 OR RESULT IS INITIAL.
CALL FUNCTION 'Y_RDN_MONITOR_SET'
EXPORTING
I_MSGID = 'YRDFBW'
I_MSGTY = 'E'
I_MSGNO = '061'
I_MSGV1 = COMM_STRUCTURE-COMP_CODE
I_MSGV2 = COMM_STRUCTURE-ASSET
I_MSGV3 = COMM_STRUCTURE-ASSET_MAIN
TABLES
T_MONITOR = MONITOR.
RETURNCODE = 1.
ENDIF.
ENDIF.
How can i write this in BI7.0?
ThanksHi ,
solved on my own. Thankyou very much..
thanks & regards,
M.S
Edited by: M.S on Oct 27, 2009 6:57 AM
Edited by: M.S on Oct 27, 2009 6:59 AM
Maybe you are looking for
-
How to install and run weblogic on windows via Cygwin?
As subject.
-
Ok on Windows XP but not Windows 7
Hi, I made an AIR desktop application using Flashbuilder 4.5. I used a Mac with OS Lion for this and the application works fine. My client tested the application on Windows XP and it was fine but when tested on Windows 7 some part of the application
-
I have this error on tray import jar: <Nov 7, 2011 9:24:03 AM GMT-03:00> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "649" seconds working on the request "webl
-
Place markers on waveform graph
I'm trying to place an obvious marker on a waveform graph programatically. I have a single line continous input, and I need to put a line on the graph each time a certain condition is met. A thin vertical line would be best, but i can't seem to alter
-
I updated to LR 5.5 and later restarted my computer. I didn't use the program for a few days and then when I did, it wanted to backup the catalog. I agreed and closed the program. The next time I opened it, it asked me for my region, saying it was