Transfer Rules and Update Rules
Hello,
What is the exact difference between Transfer Rules and Update Rules ????
NImisha
Hi 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
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 -
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 -
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!
-
What is the Relationship between Update Rule and Infopackage/Transfer Rules
Hello Experts,
can you help explain these scenarios to me:
What is the relationship between update rules and infopackges?
What is the relationship between transfer rules and infopackges?
What is the relationship between update rules and transfer rules?Hello,
Info-packages trigger the data load into BW system from the source system. An info-package is created for a specific data source and info source combination.
1) When you trigger the info-package it sends an request to the source system to start the extraction process and this corresponds to the step "Data Request Received" in monitor under details tab. It is the first step.
2) Then the selections specified in the info-package are transferred to the source system to select the requested data from BW system. Then it is sent back to BW system.
3) Once it reach BW, it gets into the PSA and then it gets updated into the data target (depends on what settings are made in IP). No rules (Transfer rules / update rules) comes into picture when data is stored in PSA. Only the transfer structure is used to map the BW info-objects with the source system fields.
4) After data is stored into PSA, the update into the data targets begins. First the transfer rules are applied -> data then flows through the communication structure -> update rules are applied and finally the records gets updated into the data target.
The extraction flow is: -
Source System (DS) -> PSA -> Transfer Rules -> Communication Structure -> Update Rules -> Data target.
Info-package actually triggers the whole data flow in BW system.
Hope it gives you a clear picture.
Thx,
Soumya -
How can I activate the transfer rules for the ODS updating a data target.
We are on BW 3.5 and I'm loading data into the 0FIGL_O10 ODS and then uploading the data into the cube 0FIGL_C10. The data loads just fine to the ODS but when I try to <u><b>'update the data target'</b></u> I get a date & time stamp' error on the info-package transfer rules.
I then Replicate the datasource 80FIGL_O01.
I must then <u><b>'activate' the transfer rules</b></u>.
However I cannot get the transfer rules for 80FIGL_O10 in CHANGE MODE to activate them.
How can I activate the transfer rules for the ODS updating a data target.
The error text is as follows:
DataSource 80FIGL_O10 has to be replicated (time stamp, see long text)
Message no. R3016
Diagnosis
DataSource 80FIGL_O10 does not have the same status as the source system in the Business Information Warehouse.
The time stamp in the source system is 02/15/2007 10:42:33.
The time stamp in the BW system is 11/07/2006 13:11:54.
System response
The load process has been terminated.
<b>Procedure
Copy the DataSource again and then activate the transfer rules that belong to it. You have to activate the transfer rules in every case, even if they are still active after the DataSource has been copied.</b>
Thanks for your assistance.
DennyHi Dennis,
Try, using Business Content to activate your data source
hope this will help you
How activate business content?
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm -
Error in creating transfer rules beween infosource and datasource in BI 7.0
Hello Guys
I am gettting the following error when trying to create transfer rules between infosource and datasource.
1. Error while activating transformation
2. Deletion of Objects with Type Transformation
3. Preprocessing/Collecting DDIC Objects for Transfor mation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
4. Post Processing/Checking the Deletion for Transfor mation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
5. Object Transformation 094TBEAT814OF89GQXFOFI0DX7ATMS4K has been deleted
6. Name of object of type 'TRCS' is missing
7. Name of object of type 'TRCS' is missing
8.Key rule 1 (target field: 0COMP_CODE): Initial update set
9. Key rule 2 (target field: 0PLANT): Initial update set
10. Key rule 3 (target field: 0OI_EBELN): Initial update set
11. Key rule 4 (target field: 0AC_DOC_NO): Initial update set
12. No rule exists
13. Saving Objects with Type Transformation
14. Saving Transformation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
15. Transformation 094TBEAT814OF89GQXFOFI0DX7ATMS4K saved successfully
16. Activation of Objects with Type Transformation
17. Saving Objects with Type Transformation
18. Internal Activation (Transformation )
19. Preprocessing / Creation of DDIC Objects for Trans formation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
20. Post Processing/Checking the Activation for Transf ormation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
21. Transformation 094TBEAT814OF89GQXFOFI0DX7ATMS4K was activated
22. Syntax error in GP_ERR_RSTRAN_MASTER_TMPL, row 1,644 (-> long text)
23. Error during generation
24. Error when activating Transformation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
25. Resetting of Incorrect Objects Back to the Active Version (Transformation )
26. Preprocessing / Creation of DDIC Objects for Trans formation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
27. Post Processing/Checking the Activation for Transf ormation 094TBEAT814OF89GQXFOFI0DX7ATMS4K
28. Transformation 094TBEAT814OF89GQXFOFI0DX7ATMS4K was activated
29. Transformation 094TBEAT814OF89GQXFOFI0DX7ATMS4K was reset to the active version
Can anyone send me a document on how to create cubes, info and data sources,ODS's,multicubes and t/f and update rules in BI 7.0
Thanks.Transformations in BI7
http://help.sap.com/saphelp_nw04s/helpdata/en/f8/7913426e48db2ce10000000a1550b0/content.htm
Regards,
R.Ravi -
Unable to collect Update/Transfer rules Info & Data sources from BI content
Hi,
We are tyring to activate Infoprovider 0PY_CO2 from BI content by selecting the option - In data before. BI is unable to collect all corresponding objects such as Update rules, Info source, transfer rules and the data source for the selected Infoprovider. Only Info area and associated info objects are being collected for the installation.
We are experiencing same problem whilst acitvating most of the info providers. However, in some cases, either of these objects get activated but not all the necessary objects that feed data to the Infoprovider (cube or multi provider).
Also, Infopackages and Info object catalogs are not being collected for any objects activated/installed so fare from the BI content.
We are trying to activate BW 3.5 content on the BI 7.0 environment. BI Content release is 703 and support pack level is 008.
Kindly share any pointers to troubleshoot this probelm please.
Thanks
VenkatShiv,
For some Info providers, all associated info objects(including transfer & update rules and info source and data sources) are getting collected and got successfuly installed. But this is true for only 10% of the Info providers that we have installed so far.
Remaining all the objects, we are unable to proceed further.
Thanks
Venkat. -
How to write ABAP Routeines in Update/Transfer Rules ?
Hi Experts,
Iam new to BW and i don't have ABAP knowledge.Can any body help me ..to write ABAP Routeines in Update rules/Transfer rules.Give me some basic knowledge with proper example.and what type of routeines we need to write ?
I will appreciate if some one helps me with proper Documentation.My mail id is [email protected]
Points will be rewarded.
Thanks in advance,
Nayanasri.Hi Nayanasri,
It is not mendatory that u need to write Update routines for all update rules. It depends on the requirement. Without update routine u can always manage. My last implementation was for a small chemical firm where i did not use any of the update routine. Suppose if u want to change the records in datapackage depending on certain conditions, then u can go for this. I'm just pasting one of my update routine program
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
The follow definition is new in the BW3.x
TYPES:
BEGIN OF DATA_PACKAGE_STRUCTURE.
INCLUDE STRUCTURE /BIC/CS8YGTGDCL6B.
TYPES:
RECNO LIKE sy-tabix,
END OF DATA_PACKAGE_STRUCTURE.
DATA:
DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
DATA_PACKAGE STRUCTURE DATA_PACKAGE
USING RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
to make monitor entries
DELETE DATA_PACKAGE WHERE /bic/yverbr NE 'V2'.
DELETE DATA_PACKAGE WHERE /bic/ydpbasfs = 0 AND /bic/yoplqty = 0.
ENDFORM.
Where the delete statement deletes the records when the field /bic/yverbr noe equals to 'V2' or deletes it when /bic/ydpbasfs equals zero.
If the explanation is not suffecient, pls post further
Regards
Sriram -
Find break-points source code (update rules, transfer rules)
Hi all,
Is there any effective and efficient way to find (active) break-points in source code, more specfic update rules, transfer rules or other objects where custom code is implemented? Or in other words look for strings in source code or programs.
I looked and searched everywhere but could not find any answer.
RSRSCAN1 (does not work)
RPR_ABAP_SOURCE_SCAN (does not exist)
We are on SAP BW 3.5 with SAP Basis 640.
Thanks all.Hi,
Try this
1) if you're checking any program from SE38 ..goto Utilities -> find in the source code-> give breakpoint and search.
2) else. load data , Goto details tab in the monitor and right click on any of the data packages.
Simulate update -> choose transfer rules or update rules for debuging.-> It will take you debuging screen. -> Create a watch point with key word "break-point" and execute (F8).
It will go and stop where there is "break-point" -
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 -
?Difference: To create 2 Transfer Rules or 2 Update Rules
Hi,
I need to load 2 similar flat files to a single ODS. Only change is that, during the load, in the first file, File1, I want to set a field, FileType, as File1; and during the load of the second file, File2, I want to set FileType, as File2.
One update rule which loads File1, already exists. I wanted to create the second update rule(for File2), but I encountered problems because I kept receiving a message that the update rule already exists for the ODS.
I went to the InfoSource tree and under the infoSource for File1, I could see the transfer rule; at this point, I was able to create a second transfer rule where I was able to set the second constant while loading File2, as FileType as File2.
What is the effect of creating 2 transfer rules for the InfoSource, as against creating 2 update rules for the ODS, which was I originally wanted to do?
ThanksHi Amanda,
If both file formats are same, it better to populate File1 or File2 dynamically then a constant. Every time not supposed to create new transfer rules and data soruce for new flat file.
Instead of constant, write a routine for File Type. Based on file name sinply pass File1 or File2 in routine. Or
Use function module "BAPI_IPAK_GETDETAIL" to get infopackage details including file name. from flat file name also File type can be derived.
In this way no need to maintain multiple transfer rules or update rules. Existing flow is enough.
Hope it Helps
Srini -
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. -
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 -
Hello Bi experts,
Actually i am implementing standard Purchasing module in BI system.
While implementing , i have installed cube 0PUR_C04 with data flow before options.
After installation , i am not getting transfer rule for 2LIS_02_HDR , 2LIS_02_ITM and 2LIS_02_SCL .
I am getting transfer rule for 2LIS_02_S011 only.
0PUR_c04 contains these 4 dataspurces - 2LIS_02_HDR , 2LIS_02_ITM and 2LIS_02_SCL , 2LIS_02_S011 .
So how can i get these transfer rule. and if we want to implement std Purchasing module in BI , which Cubes are required or necessary.
In metadata repository also , for Cube 0PUR_c04 , it does not showing transfer rule HDR/ITM/SCL. there also it is now showing transfer rules.
I will be also very thankful if anybody just give me overview of purchasing.
Thanks,
Sada.Hello Mani,
Thanks a lot.you are the first one who has answered my que. which i expect .
Look at following floe in infoprovider in my system. and please tell me what exactly i should do?
Cube->Purchasing Groups 0PUR_C04
Update Rule->0PUR_C04 2LIS_02_HDR AY0XVMCJPXXXXXXXXXXXXXXXX
Infosource->Purchasing Data (Document Header Level) as of 2.0B 2LIS_02_HDR
Update Rule->0PUR_C04 2LIS_02_ITM 4YSO2PF9XXXXXXXXXXXXXXXXX
INfosource->Purchasing Data (Document Item Level) as of 2.0B 2LIS_02_ITM
Update Rule->0PUR_C04 2LIS_02_S011 CSB3FHGQXXXXXXXXXXXXXXXXX
Infosurce->Purchasing groups 2LIS_02_S011
Transfer Rule->from 2LIS_02_S011 for SC4 Client 600 2LIS_02_S011 SCXCLNTXXX
Datasource->Purchasing groups 2LIS_02_S011
Update Rule->0PUR_C04 2LIS_02_SCL 4ZZ0DMZXXXXXXXXXXXXXXXXXX
Infosource->Pur.Data (Document Schedule Line Level) 2LIS_02_SCL
Mani i am expecting answer from you.
Thanks,
Sada
Maybe you are looking for
-
How to get the VIEW_ID from VIEW Controller Class?
Hi, In my BADI(CRM_BP_UIU_VIEW_CONFIG), I have a view controller variable(IR_VIEW_CONTROLLER) referring to CL_BSP_WD_VIEW_CONTROLLER. Now, I have to get VIEW_ID using this varibale. However, the VIEW_ID attribute is Protected in the class .CL_BSP_WD_
-
Problem with Corelation in BPM
Hi, I am desighning the multiple idoc to file scenario with reference to following blog. https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2223. [original link is broken] [original link is broken] [original link is broken] in adition to above
-
Please give an option to just open and run a download without saving. I have a bunch of the things saved in the download folder that I have no clue what all of it is. Please I do not want to save everything I download, I would like to just open a fil
-
Two line graphs in a single chart
Hello Experts, I am having set of values each for one line graph. But I want to plot these two graphs in a single chart.(2 line graphs in a single chart) Please help me how to plot? Regards, Apex User
-
Amount field to be non editable at line item level in MIRO
Hi, Plz let me know the steps, how to make the "Amount" field at line item level to be non editable in Invoive verification (MIRO). Regards,