Update Rules to an InfoProvider
Is there any limitation to the number of Update Rules that you can have to an InfoProvider? Thanks
Hi Niten,
No restriction on the no. of update rules as per SAP. Update rules can be created based on Infosources (which are again datasource dependent) , Cubes and ODS.
In your ODS providing data to another ODS you would have as many update rules as the no. of datasources/Infosources. If 5 ODS provide data to 1 ODS then 5 update rules would be existing.
Hope this helps.
Bye
Dinesh
Similar Messages
-
Error while transporting update rule.
Hi experts
I am trying to transport one update rule to production..
But it is ending with error code 8 n it is giving me following error :
Errors when activating update rule XXX
IC=0PP_DS03 IS=0CO_OM_OPA_6 error when checking update rules
Kindly tell me what need to be done now.
Regards
SwatiHi Swati,
Before transporting the update rule, in the present scenario, you have to transport the infosource which contains the corresponding "0recordmode".
Whenever you transport anything into the quality or production, the list should be as followed in the given manner :
Seq No Objects in Request
1 Package(DEVC), InfoArea(AREA), Application Component(APCO)
2 Function Modules
3 Keyfigure Catalog(IOBC), Keyfigures(IOBJ), Units(IOBJ)
4 Characteristic Catalog(IOBC), Characteristic Infoobjects(IOBJ)
5 Infosources (ISCS, ISTD, ISMP, ISTS, ISFS, ROUT) and
Generic Data Sources(DataSrce Active Version(OSOA), ISMP, ISTS,DataSourceReplica (ISFS)
and Tables (TABL)
6 Infoproviders(ODS(ODSO), Cube(CUBE), Infoset(ISET))
7 Update Rules(UPDR, ROUT)
8 Infopackages(ISIP)
9 Queries(ELEM)
10 Webtemplates(TMPL, BLTM, BPTM)
Just transport all your things in the above sequence, and it will be done successfully.
Also, remember there should not be any data in the corresponding infoprovider while you transfer the update rule, else it will fail.
Hope it helps,
Regards,
Neha. -
Update Rule error while loading the data
Hello All,
I tried to do the init load for the datasource 2LIS_02_VAKON (Sales Document Condition), But it error's out in the Update rule saying:
Short text: Error when generating the update program
Long Text: Diagnosis
An error occurred during program generation for InfoSource 2LIS_11_VAKON
and InfoProvider 0SD_C15 . This may be extrapolated to incorrect update
rules.
Procedure
Check and correct your update rules and then generate the update program
again. You can find help on the error in the error log.
The update rule looks very fine. I even deleted it and re created, but no success..... Please give me your thoughts abt it..... Any suggestions will be great for me.....Hello Gokul,
I could'nt see any analyse button in RSMON. This is the only error message I could get from the Process monitor:
Short text: Error when generating the update program
Long Text: Diagnosis
An error occurred during program generation for InfoSource 2LIS_11_VAKON
and InfoProvider 0SD_C15 . This may be extrapolated to incorrect update
rules.
Procedure
Check and correct your update rules and then generate the update program
again. You can find help on the error in the error log.
Do you expect something else ? Also I went through your OSS note, they are asking to apply support pack 18. Is this a serious issue to apply SP? Because in Quality and Prod it loads fine......
Please let me know your idea -
"Old" update rule from ODS not working
Hi Gurus,
I need to set up the "old" fashioned update rule to load data from an ODS1 to another ODS2.
The thing is that I need to set up an update rule because I need to implement a Return Table Routine that is not supported (as far as I know) by the new Transformation/DTP.
When I select option (through the right mouse click over ODS1) "Other Options" - "Create Update Rule" it takes me out of the RSA1 and leaves me in the main menu making it impossible to create a new update rule.
The strange thing is that I have this working from and ODS to an InfoCube.....
Suggestions, a workaround??
Andrea.Hi Jerry,
Just to confirm that this is not working. The tys_TG_1 structure only shows me the target infoprovider structure. Check that in the how to, to be able to derive employee first you need to assign eache source_filed to the result_field leaving employee blank.
I need to have in the same place, the source_field structure (source infoprovider field structure) and the result_field structure (target infoprovider structure). That is what the "old" return table gives me as in the same place I can have the communication_structure (source infoprovider field structure) with the return_table structure (target infoprovider structure).
Just to understand, in the source infoprovider I have 12 Key Figures (1 for each period) and I have to split each incoming record to 12 records. If I work only with the result_field structure tys_TG_1 and the result_package tyt_TG_1 I'm not able the see those 12 KF.
So... return table functionality is not fully supported by BW 7 as far as I know.
Any other ideas why I'm not able to create the old Update Rules from an ODS?
Regards,
Andrea. -
How to access basic cube data as part of update rule routine?
Dear colleagues:
I am developing a routine as part of the update rule to define a characteristic value to feed an infocube. However, I need to peek up a data that is available on another infoprovider, in this case a basic cube.
So far, I have done that by peeking up data form ODS as part of the update routine, but this is the first time I need to peek up a data from a basic cube.
<b>Does that works the same way as ODS?</b>
Best regards
WaldemarHi Krzysztof Konitz:
I have posted an inquire about getting that from the PSA. By mistake I have posted that once before your reply and another after that. Then I red you reply.
However, you replay solved the problem.
Best regards
Waldemar -
Update Rule Routine not deleted properly
Hi all
I have deleted a routine from an update rule, removed the key figure from the infoprovider and reactivated both the ODS and the update rule.
The update rule therefore no longer contains the datafield.
Unfortunately the the code for the routine still exists in the system (RSAABAP and other tables) and references in this routine to other fields are preventing me carrying out other actions, so I need to properly remove the routine from the system.
I cannot go back to the old generated code for the update rules as there is no version management. I have tried putting the field back on the ODS and recreating the routine, but the system generates a new key for the routine so it looks as though I have lost the link completely.
Any suggestions? Is there a way of deleting an object type R3TR ROUT consistently without doing it through the Update rules change screen?
Regards
HayleyHi,
Let me give the solution, we are also having the same issues..
thanks in advance
sree -
Function Module where-used list does not find update rule programs
We have function modules called in update rules. The where-used list in the function builder does not find the update rule programs.
For example, function DATE_GET_WEEK is called in an update rule to InfoCube YCUBE001. The activated program name for this update rule is GP3PWI6PKM5Y3K75A370DIS8I77. When I goto SE37, enter the function DATE_GET_WEEK, click the where-used button, check the programs option and search. The system does not find the program GP3PWI6PKM5Y3K75A370DIS8I77.
Without this search capability it is difficult to do an impact analysis of changing function modules. Does anyone know of a solution?hi,
i think the reason is the code of update rules' generated program are stored line by line in table(rsaabap), update rules program itself stored in table rsupdrout, link with field codeid, another useful table is rsupdinfo which store infocube, infosource related. other info may stored in some other rs* and rsa* tables.
try to create following program in your system, and run, type in the function module name, and will display out the update rules program id, with additional useful info : which infoprovider, infosource, and detail info of the routine and infoobject in the update rule that using that function module. you may modify the program to have better display out list.
hope this helps.
REPORT Z_FM_UPDRUL_WHEREUSED.
data : lv_sfm,
lv_line type string,
lv_where type string.
tables : rsaabap,RSUPDROUT,rsupdinfo.
select-options:
s_fm for rsaabap-LINE.
start-of-selection.
loop at s_fm.
concatenate s_fm-low ' ' into lv_sfm.
concatenate '%' s_fm-low into lv_line.
concatenate lv_line '%' into lv_line.
write : / 'function module', 'update rule id', 'routine id', 'infoobject', 'infocube', 'infosource'.
select * from rsaabap
where line like lv_line and objvers = 'A'.
select * from rsupdrout
where codeid = rsaabap-codeid and objvers = 'A'.
select single * from rsupdinfo
where updid = rsupdrout-updid and objvers = 'A'.
write: / lv_sfm, rsupdrout-updid, rsaabap-codeid,
rsupdrout-iciobjnm, rsupdinfo-infocube,
rsupdinfo-isource.
endselect.
endselect.
endloop. -
Error installing business content update rules
Hi,
I'm trying to install the below updates rules from the business content
0PLANT$T 0PLANT_TEXT 53AFFWD74OI3CT3RDE3RI9THU
0PLANT 0PLANT_ATTR 5UZVD7UWYN4T81H24YBKGH6KY
I get the error
IC=0PLANT$T IS=0PLANT_TEXT syntax error: rows 0
Long Text:
IC=0PLANT$T IS=0PLANT_TEXT syntax error: rows 0
Message no. RSAU466
Diagnosis
When generating the update program for InfoProvider 0PLANT$T, InfoSource 0PLANT_TEXT, a syntax error in line 0.
System Response
The update rules cannot be activated.
Procedure
If error message :
is cut off, proceed as follows to get the complete complete error message:
Go into update rule maintenance, choose Extras -> Display Activated Program and perform a syntax check. This allows you to find out what the error is.
If I select the Display Activated Program it says does not exist.
Can anyone help me figure out this issue?
ThanksWe are currently on SAP EHP 1 for SAP NetWeaver 7.0
SAP_BW Release 701 Support Package SAPKW70107
BI_CONT Release 705 Support Package SAPK-70501INBICONT -
i have transported an infoprovider up to our target system and the update rule got deactivated. it was last changed by IMPACTED, and i have checked the structure of the infoprovider moved and there are no structural changes (e.g. addition/deletion of fields). the nav attributes and dimensions are the same as well. is there any thing else i should be checking? im not sure if the IO's structure should impact this, can someone verify?
points to be awardedHI Mark Siongco
Yes You should activate the update rules and you need to do a transport .though u
r transporting the info provider alone..
Hope its helpful..!
Regards
R M K
Assining points is the only way of saying thanx in SDN *** -
BI Content for HR: 0PY_C02 Doesnot have any Update Rules.
Hello,
I am trying to install the Busness Content for 0PY_C02 Infocube, but unable to find the SAP-delivered Update rules. Please let me know if there is any other option to install it.
Thanks,
SCHello,
For the cube 0PY_C02 and infosouce 0HR_PY_1, there is no longer
delivered 3.x transfer rules or update rules for this cube.
Therefore if you want to use transfer rules and updates rules,
you have to manually create them (the characteristics and key figures
should have a 1:1 mapping) in your system.
To create, please follow the steps below:
RSA1 > InfoProvider > Choose: 0PY_C02 > click with right button :
"context menu" and choose Adittional Functions > create update rules.
There is same issue on SDN network for reference
0PY_C02
Hope this helps
Best Regards
Barry -
Querying Cubes on Update Rules?
I have an update rule that currently queries an ODS to get the value of a key figure and then apply that key figure to the cube the update rule is intended for.
Basically, this is the select statement I use in the routine:
select defect_quantity from table_a
where notification = notification
and notif_item = notif_item.
Since the ODS is a flat table, this works fine. However, I am having trouble figuring out how to write this same query against a cube.
Is there a way to query a cube with ABAP in an update rule? Any info or link to how to do this would be appreciated.
Thanks,
BrentHi,
There is simple example:
**> You must fill G_T_RANGE table with selection conditions for
**> InfoCube data. In this case char 0VERSION = '1' and
**> 0CALYEAR = '2005'.
CLEAR G_S_RANGE.
G_S_RANGE-CHANM = '0VERSION'.
G_S_RANGE-SIGN = 'I'.
G_S_RANGE-COMPOP = 'EQ'.
G_S_RANGE-LOW = '1'.
APPEND G_S_RANGE TO G_T_RANGE.
G_S_RANGE-CHANM = '0CALYEAR'.
G_S_RANGE-SIGN = 'I'.
G_S_RANGE-COMPOP = 'EQ'.
G_S_RANGE-LOW = '2005'.
APPEND G_S_RANGE TO G_T_RANGE.
**> You should also provide information for which combination
**> of characteristic you need value
CLEAR G_S_SFC.
G_S_SFC-CHANM = '0VERSION'.
G_S_SFC-CHAALIAS = '0VERSION'.
G_S_SFC-ORDERBY = 0.
INSERT G_S_SFC INTO TABLE G_TH_SFC.
G_S_SFC-CHANM = '0PROFIT_CTR'.
G_S_SFC-CHAALIAS = '0PROFIT_CTR'.
G_S_SFC-ORDERBY = 0.
INSERT G_S_SFC INTO TABLE G_TH_SFC.
G_S_SFC-CHANM = '0CALYEAR'.
G_S_SFC-CHAALIAS = '0CALYEAR'.
G_S_SFC-ORDERBY = 0.
INSERT G_S_SFC INTO TABLE G_TH_SFC.
**> And finaly which keyfigure should be aggregated
CLEAR G_S_SFK.
G_S_SFK-KYFNM = '0AMOUNT'.
G_S_SFK-KYFALIAS = '0AMOUNT'.
G_S_SFK-AGGR = 'SUM'.
INSERT G_S_SFK INTO TABLE G_TH_SFK.
**> I_INFOPROV - InfoProvider name. In this case InfoCube name
**> I_TH_SFC - table with selected chars
**> I_TH_SFK - table with selected keyfs
**> I_T_RANGE - table selection conditions
**> I_PACKAGESIZE - number of records in one function call
**> You should call this function as many times as parameter
**> E_END_OF_DATA will receive 'X' which means that last data
**> packet has been read
**> G_T_DATA - table with aggregated data from InfoCube
CALL FUNCTION 'RSDRI_INFOPROV_READ'
EXPORTING
I_INFOPROV = 'ZINFOCUBE'
I_TH_SFC = G_TH_SFC
I_TH_SFK = G_TH_SFK
I_T_RANGE = G_T_RANGE
I_PACKAGESIZE = 10000
I_ROLLUP_ONLY = ''
IMPORTING
E_T_DATA = G_T_DATA
E_END_OF_DATA = END_OF_DATA
CHANGING
C_FIRST_CALL = G_FIRST_CALL
EXCEPTIONS
OTHERS = 1.
Krzys -
Update rule and comm_strucutre error.
dear all,
i want to read field 0material from my update rule and do some abap coding with it but i keep getting this error
E:Field "COMM_STRUCTURE-COMPUTE_0MATERIAL" is unknown. It is neither in
one of the specified tables nor defined by a "DATA" statement. "DATA"
statement. "DATA" statement.
i'm using a virtual infoprovider with direct access to the datasource via DTP. how can this be solve?got it, source_fields-material
-
Unable to map Update Rule with u201CMaster data attribu201D option
Hi,
Does anybody know the reason why sometimes, in update rules to an ODS, I cannot map an InfoObject with the option u201CMaster data attribu201D?
I have the characteristic in the ODS, and for another update rule, to the same ODS, I am able to map this field correctly, but for a specific rule, the u201CMaster data attribu201D field appears in blank when I press F4.
Strange this behaviouru2026
Can anybody help me with this issue?
Thanks,
Best Regards,
JoanaHi Shanthi,
I didn't insert the InfoObject as an InfoProvider.
The problem is that I have two update rules for the same ODS object. For one I can map the characteristic correctly, and for the other, when I press F4 in the "Master Data Attrib", no characteristics appear.
Thanks,
Joana -
Hello All,
When iam deleting an update rule it is not getting deleted and iam getting message saying underlying infosource does not exists .The underlying infosource is deleted long before any way how come deleting update rule depends on infosource. Please give me solution to delete update rule.Try going into RSRV and choose All Elementary Tests => Database => Database Information about InfoProvider Tables and Databank Paramerters of *-Schema Tables for Infocube.
Those two options may help to correct the inconsistent state the database is currently in.
Another option .. copy your data target as a backup. Delete the data target, then copy it back.
Brian -
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
Maybe you are looking for
-
Dear Gurus, Please help me on how can I get the report for proof of delivery. I can create a POD for a delivery. so creating POD is not an issue anymore. Thing is that I want to know for which delivery I have created the POD? Because the report on De
-
Question: I am new to LR and have it set up on a Mac desktop and laptop. On the laptop, the Basic function under Develop simply disappeared. I am lost. Help.
-
Notifications wake up the phone screen even when t...
Notifications wake up the phone screen even when the phone is in pocket or case. It wasn't the case earlier. Using - Windows Phone 8, Lumia 720Problem - Notifications wake-up the screen even when in case(or pocket). **I am not talking about the glanc
-
Please can someone help me trying to upload Muse CC site with godaddy and contact form wont work do i need to configue anything in go daddy
-
My iPod is stuck on the startup screen, showing just the apple logo. Has anyone had this problem before? If yes, then how did you solve it?