Update rule/transfer routine
i have create the update rule and transfer rule in infosource.now what woudlbe the next step to check in dso or infocube data.
pelase explain
Hi
What exactly is your question?
Did you create an Infopackage?
Similar Messages
-
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" -
Copy Update rules with routines
Hi,
How can i copy the update rules (with routine) for a cube from the predefined update rules of some cube.
Like its giving error when i am creating update rule, with using the Template functionality in that.
Please give step by step explanantions....Hi,
Try this.
Copying/Transferring Update Rules from a Template
http://help.sap.com/saphelp_nw04/helpdata/en/02/70f837329cb402e10000009b38f889/frameset.htm
Hope this helps.
Thanks,
JituK -
How to find all the cubes update rules transfer rules ,programms ,ds,ect
HI SDN
Is there any tables for finding update rules,cubes,multiproviders in the system.
can any body tells me the tables for the objects all the objects
thxHi Rubane,
These the tables which gives relevant info,
Here are few of those -
Thought it may be of some use if we make a list of useful BW tables
for instance
v_rszglobv = variables
/bic/f (cubename) is the fact table of a content cube
/bic/D (cubename) P is the package dimension of a content cube
/bic/D(cubename) U is the unit dimension of a content cube
/bic/D(cubename) T is the time dimension of a content cube
/bic/D(cubename) I is the userdefined dimension of a content cube
/bic/m (object name) master data of object
/bic/t (object name) text data of object
/bic/H (object name) hierarchy data of object
you can replace the BIC with BI0 for business content object and cubes
RSDIOBJ - index of all InfoObjects
RSSELDONE - Monitor: Selections for executed request
RSREQDONE - Monitor: Saving of the QM entries, state of the uploads, all info about the upload via request number, field: RNR
ODS Table names
1.New data: /BIC/A (ODS NAME)40
2.Active data: /BIC/A (ODS NAME)00
3.Change log: /BIC/B ( NUMBERS)
RSRREPDIR which is the table containing all your reports.
RSTSODS - table that contain relation between "ODS Name" and PSA Table.
TBDLS - Logical system customization, when you run TA: BDLS
EDP21 - Partner Profile, when you run TA: WE20
RSBASIDOC - Assignment of source systems to BIW systems incl. IDoc type
In V_COMPDIR_COMPIC you can also see all your reports. The advantage is that you can see the name/text of the query, not only the technical id.
RSDCUBEIOBJ Objects per InfoCube (where-used list)
RSDODSOATRNAV InfoObject in ODS (navigational attributes)
RSDODSOIOBJ InfoObject in ODS
RSDIOBJT InfoObject texts
RSDIOBJ Directory of all InfoObjects
RSDKYF Key figures
RSDBCHATR Master data attributes
RSBBSQUERYDIR BW: Directory of the Query Sender
RSBBSQUERY BW: Query Receiver
RSBBSQUERYT BW: Texts for Query Receiver
TQOP Compare Operators for View Maintenance Query
TQOPT Compare operators for view maintenance query (texts)
TQLOT Logical operators for view maintenance query (texts)
ROMSDIOBJ BIW: Assignment of master data attributes to InfoObjects
RODCHA BIW: InfoObjects / characteristics
RODIOBJCMP BIW: InfoObjects / compounding
RODKYF BIW: Key figures
ROAPPLT BIW: Name of the application components
RSUICDONE BIW: Selection table for user-selection update ICs
RODTIM BIW: Time characteristics
RODUNI BIW: Units
RSIST InfoSource texts
RSIS InfoSource (transaction data)
RSISOSMAP Mapping Between InfoSources and OLTP Sources
RSOSFIELDMAP Mapping Between OLTP Source Fields and InfoObjects
RSUPDDAT Update rules key figures
RSUPDKEY Update rule: Key per key figure
RSUPDROUT Update rules - ABAP routine - check table
RSRWBINDEXT Titles of binary objects (Excel workbooks) in InfoCatalog
RSRWORKBOOK 'Where-used list' for reports in workbooks
RSDDIME Dimensions directory
RSDDIMEIOBJ InfoObjects per dimension (where-used list)
RSDDIMET Dimension Texts
RSZCOMPDIR Directory of reporting components
RSZELTATTR Attribute selection per dimension element
RSZELTDIR Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSZGLOBV Global Variables in Reporting
RSDCUBET Texts for the InfoCubes
SMEN_BUFFC-Table for Storing Favorites.
tables which hold the list of BEx Queries, Web Reports, and Workbooks,
RSRREPDIR
RSZCALC
RSZCEL
RSZCHANGES
RSZCOMPDIR
RSZCOMPIC
RSRWORKBOOK
RSZCOMPDIR - Directory of reporting components
RSZELTDIR - Reporting Component Details
RSBCT_NAVKEY_T
RSBCT_NAVKEYDET
check it in the following table
RSDDAGGL
RSDDAGGLF
RSDDAGGRDIR
RSDDAGGRDIR_M
RSAABAP - Routines
Thanks,
Sudhakar. -
Diff. bt update rules & transfer rules....,
Hi all,
wht is the diff. bt update rules & transfer ruls...,
mainly i want to know that when we use for update & when for transfer rules we have to choose........,
let me know from any one plzzzzzz...,
Regards,
Swetha.Hi Swetha
Transfer rules :use the transfer rules to determine how you want the transfer structure fields to be assigned to the communication structure InfoObjects
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.
Basically update rules are specific to Data Targets where as Transfer rules applies to InfoSource.When you want rule to apply to all the datatargets from a Infosource ,you write it in Transfer rules.
Hope this helps.
<i>Sudh</i>
Assign points if this helps -
How to determine InfoCube name within the update rule start routine?
We are attempting to delete all the records where all key figure values are zeroes. We have about 15% of such records and we really don't need them.
We have yearly InfoCubes. We copy the InfoCube and update rules at the end of every year. So, we don't want to hard code any field names within the update rules.
If I could determine the target InfoCube name within the update rule start routine, I can find out all the key figures dynamically. But, I don't see a way of finding out the InfoCube name.
If you would share any ideas, I would really appreciate.
Thanks.
Sudhi Karkada.Hi Sudhi,
I dont know if this is what you are looking for.
if you want to delete a record from being inserted when all the Key figure values are ZERO then you can use a Update Routine for some characteristic in the below way
If looking for the InfoCube:
if COMM_STRUCTURE-KF1 = 0 and COMM_STRUCTURE-KF2 AND....
RETURNCODE = 4.
else
RESULT = COMM_STRUCTURE-ChanracteristicObject.
endif.
If it is to an ODS / InfoCube in the start routine.
DELETE DATAPACKAGE where KF1=0 and kf2=0 and .....
Hope it helps.
Regards,
Praveen.
ENDLOOP.
Message was edited by: Praveen -
Calculations in Update rules/Start routine/End Routine
Hi Friends,
I have loaded data to a DSO and i have three fields in to it. Lets say Filed1, Filed2 and Field3. Field1 and Field2 are being populated through an update rule in transformation. Aggregation type for these two fields are "Summation".
Now, after the transformation executed, the Field1 and Field2 are filled with values. I want to calculate the value of Field3 as follows:
Field3 = Field1 - Field2
Can anyone tell me where can i do this calculation? I know we can do this in End routine and in Query but i want to know if there is any other place i can do this calculation in transformation? In try to do this calculation in the update rule for Field3 in transformation, i dont see Field1 and Field2 as these are not source fields. I can not write formula also because we can write formula only on source fields not the data target fields.
Your help will be appreciated in terms of points.
Thanks,
manmitHi,
in the start routine in the global section define the two fields:
data: g_amount1 type /bic/oi<your keyfigure name>,
g_amount2 type /bic/oi<your keyfigure name>.
in the routines to your 2 keyfigures store the result in that fields too.
routine for field1.
g_amount1 = result.
routine for field2.
g_amount2 = result.
and in the routine to field3
result = g_amount1 - g_amount2." or whatever calculation/derivation has to be done.
kind regards
Siggi
Message was edited by:
Siegfried Szameitat -
No update in update rule by routine
Hi,
Is it possible to set to no update in update rules using a routine?
I am updating to ODS in the update rules if value is 'X' for an char want no update - so that it will retain the value in the target ODS for that char for the key combination. The value 'X' is being derived in the start routine.
Thanks
UnniHi Unni,
I've tried in the past to, but it didn't work ... since you are updating an ODS a workaround (not so good I know) is to replace the value of the field sent by the Comm Structure with the result of a SELECT SINGLE pointed on the active table of the ODS.
I mean
IF FLAG = 'X'
SELECT SINGLE FIELD_XXX INTO RESULT
FROM /BIC/A<YOUR_ODS>00
WHERE KEY1 = COMM_STRUCTURE-KEY1
AND KEY2 = COMM_STRUCTURE-KEY2
ENDIF.
I know it's not a pretty solution from a performance point of view ...
Let me know if you find a better solution
Hope it helps
GFV -
Identify ODS change log request from Cube update rules init routine
Hello all.
I need to use a logic in the Start routine of a cube, whcih change log request are move from an ODS when doing a delta.
Anyone knows if this is possible???
Thnaks and best regards,
Alofnso.Hello Oscar.
Basically my requirement is to do a selective deletion of the cube, before I load the new data, but the selective deletion has to be done according to some fields of the data that is going to be load to the cube.
That´s why I need this.
Best Regards,
Alfonso. -
Order of update rules execution of multiple key figures
Can anyone explain the order in which update rules execute if I have 10 key figures and defined one update routine for each key figure?
Hello GKR
This is applicable for yupdate rule as well as transfer rule
start routine executes first ( update rule/transfer routine)
In update rule the rule which u have defined first, executes first...same in transfer rule..the rule which u define first in transfer rule window executes first...
Thanks
Tripple k -
Is difference between update routine,start routine and transfer routine
Hi All,
What is difference between transfer routine and update routine.Hi Venkat,
Routine is a set of ABAP code which is used to select a record or transform the field value at the time of loading the data.
Types of routines:
Tranfer Routines in Transfer Rules:
Start Routines in Transfer Rules:
Update Routines in Update Rules:
Start Routines in Update Rules:
Transfer/Update routine:
It's the set of ABAP code used in Transfer/Update rules. Transfer/Update routine is used to change the value of a particular field/object at the time of loading data.
Ex: Populate the amount/discount field by using Price and Quantity based on the given conditions.
Start Routine:
Start routine can be used in both Transfer Rules and Update Rules. Start routine is used to determine whether to load a particular record or not.
Ex: From the data related to the year 2005, we can select only the records which belong to a particular month or fiscal period.
Ultimately Transfer/Update routines are to update the value of a particular field. Start routines are used to select entire record.
You can get more details about routines at :
Routines
ROUTINES
Routines and Examples
Start Routines
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/60cecb1d-0a01-0010-8289-b14fd99062fa
take a look this doc for abap used in bw
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4493c4a6-0301-0010-62a2-efd6ded61e04
ABAP book that always mentioned :
http://cma.zdnet.com/book/abap/
assign points if useful ***
Regards
CSM Reddy -
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 -
Problem with routine and it's infoobject (update rules)
In Metadata Repository my comm structure doesn't have an infoobject that is there in Adm. Workbench. That infoobject was included in a routine in update rules for other infoobject that was removed from the cube. In Metadata Repository the routine is still present in update rules, but not in Adm. Workbench. That makes me unable to remove it from the comm structure and of course delete the object.
How can I remove this routine? How can I make changes in Metadata?
BD - TRules - URules - Cube
A(numc) - A(numc) - B[routine converting A(numc to date)] - BJerry,
I had two objects:
ZDWIP_AUX is in comm structure and datasources
ZDWIP_REM is in Cube and Update Rules (the routine mentioned ZDWIP_AUX)
I deleted ZDWIP_REM from the cube and from catalogue.
Automatically removed in update rules.
ZDWIP_AUX is unmovable from comm structure and can't be deleted because it says that is in use by a routine that I can't see.
By recreating IObject do you mean, recreate all the scenario and remove in a different, like first the clean the recreated routine?! -
Conversion of Update rule to new Transformation
Hi All,
I'm using BI 7.0 SP9. I have a scenerio where in I need to load standard cube 0SD_C03 cube from the standard extractors like 2LIS_11_VAITM etc..
Based on the the thread below I have done the follwoing steps.
how to migrate old transfer rule/update rule to new transformation?
- Activated Business content cubes, update rules, infosources etc...
- Done all the required work in Source system.
- Later migrated data sources.
- Now the problem comes, Based on the above tread I have gone to the context menu and selected "Tranforamation erzeugen". It asks to create new Infosource created a new infosource and the the transformation came up. But I can see its not mapped to Source system datasource. I mean its not linked to the datasource in Source system. Its just created in BW and when i load nothing happen. I understand this is not correct process.
But when it pops up for Infosource If I select existing Infosource I dont see the old one's just because they were migrated already.
Now how do I link with the source system with out creating transformation manually. because there are lots of standard routines in update which cant be rewriten in new transformation manually.
Please let me know if there is a way to directly copy them and also correct me If i'm doing some thing wrong.
Thanks in advance,
Reagrds,
Prashanth ReddyAs Alex said delete the existing datasources and try to replicate it again as 3.x datasources. The process will work fine.
When you replicate datasources it will pop-up screen for you to replicate as 3.x datsources or as a new datasource.
Whenever you will plan to migrate from 3.x to new one, do migrate update rule, and transfer rules first. As when you migrate datasource, it deletes existing update rules/transfer rules also. For each update rule/ transfer rule it will create transformation for you after migration.
After migration your scema will look like:
datasource (new)-> transformation( replacement for transfer rule)->infosource(new)->transformation (replacement for update rules)->data target.
Anyways when you will createmodel from scratch in 2004s system, i hope you know infosource is now more mandatory in 2004s system. -
Issue regarding update rules--Table RSUPDKEY
Hi Friends..
Can anyone please tell me something about the table RSUPDKEY?
I knw the use of this table.......but how the fields are getting updated.......how the value in the filed BOOLEAN getting populated?
I am facing a strange problem...
In Production system.....For one keyfigure....one characteristic is not mapped...initial value option is selected.But in the field Source Characteristic that charecteristic name is selected but that option is not selected.......it means the field is not blank......
For Prod......in the table RSUPDKEY.........for this rule......in the Source Infoobject field that infoobject name is coming and Boolean field = X
When I am trying to do the same thing in the development box............i.e. in the Source Characteristic field I have selected the infoobject and i have selected the Initial value option............after that when I am saving it.......the Source characteristic field remains blank......
In Dev box in this table both the fields are blank.
Thanks and Regards,
Debjani.....Hi,
You can check End Routine .
An end routine is a routine with a table in the target structure format as input and output parameters. You can use an end routine to postprocess data after transformation on a package-by-package basis
http://help.sap.com/saphelp_nw70/helpdata/EN/43/bcdc6001344defe10000000a422035/content.htm.
Below is the lSAP help link for migration of 3.x update rules & transfer rules.
http://help.sap.com/saphelp_nw70/helpdata/EN/43/f00e2696d24c5fe10000000a155369/frameset.htm
Hope this helps!
Edited by: Meera Murali on Mar 4, 2009 9:52 AM
Maybe you are looking for
-
Where can I buy an iPhone 3GS for cheap?
Hello. Does anyone know where I can buy a used iPhone 3GS for cheap, and how much money do they go for?
-
Script logic to calculate average value on nodes - SAP BPC NW 10.0
Hi experts, I need to have in the parent members of the dimension TIME (2014.Q1, 2014.Q2, 2014.Q3, 2014.Q4, 2014.TOTAL) the average value of their children and not the sum. For example : 2014.01 2014.02 2014.03 2014.Q1 1
-
Value contracts Maintenance Orders (service Orders) for particularly period
Hi Experts, My client wants Value contracts Maintenance Orders (service Orders) for particularly periods. How can I maintain this scenario in sap MM. Thanks in advance, Chandhu
-
Required application context reporting is not available
I've just installed HPM 11.1.1.1 (product: ESSBASE/foundation/planning/Financial reporting) and I'm now testing Financial Reporting. I created a financial report as indicated in http://oraclebizint.wordpress.com/2008/06/07/hyperion-financial-reportin
-
This is is program whereby there exiext a button and a textfield , a figure is entered into the textfield , anytime the user presses the button th efolowing procedure is invoked. I have written a try statement to check if the correct numbers are inpu