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,
Joana
Hi 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
Similar Messages
-
Update rule problem for date in Prod
My scenario is like this:-
ODS 2 is loaded from ODS 1, in ODS 1 there is a data field calendar day (DATS, time characteristic) and there is a data field posting date (DATS, characteristic) in ODS 2. In the update rule, the posting date is updated from calendar day by a formula source.
The problem is the posting date data field is updated into ODS 2 correctly in development box but it is not updated (blank) in production box. I can't figure out what is the cause, hopefully someone can give me some help. Thanks.
Cheers!
CecilThe only different is the development system is having this part of code in the update rules program compare to production system. Do I need to compile the update rules formula manually?
*This ABAP Code was generated automatically *
*Formula Calculator *
*Generated :2008:09:12-10:47
*User: XXX
*Calculation:
result = COMM_STRUCTURE-CALDAY.
ENDCATCH.
if sy-subrc <> 0.
perform error_message using 'RSAU' 'E' '507'
'ROUTINE_0004' g_s_is-recno
rs_c_false rs_c_false g_s_is-recno
changing c_abort.
endif.
Cheers! -
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 -
I have a problem updating my graphs with new data in Illustrator. When I update them with new data each month the y and x-axis tend to change font and size.
What can be the problem? Please help me!Hi Rajasekar
You can purchase the enterprise toolkit fron NI, it includes a "database connectivity toolkit".
As regards the design pattern to do you you describe, it will depends on the refresh rate you need and the rate at which you want to write your data to the database.
I would have 2 loops :
- one acquiring the data and putting it in a queue,
- and a second that get the data from the queue, logging data to database and refreshing the graph.
If the write time to database is too long and slows down the graph refresh you place it in another loop.
Hope this helps
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!" -
Unable to install update rules of 0SD_C03 from BI Content
Hi
I am having problems in installing the update rule of 2LIS_11_VAITM for the IC 0SD_C03 in BI 7.0. I tried installing it from the BI content but only this missing update rule is not being installed. There were problems while creating the transformations hence i deleted the rule and tried to get it back from BI content.
Even after installing the entire cube (with grouping before and after) i am unable to get the update rule for this cube.
To test it i deleted another update rule of this same cube and now i dont have both the rules.
How do i get the rules for the cube back????
thanx
Sujaihi guys,
i am also faced the same issue but some what different way,
when i am going to assign a data source to info source in source system
it automatically take it to the particular transfer rules and transfer structure
in stallion screen in BI content. after selecting the install button, control will
take it to other screen, there i select transfer with out dialogs,
after some time the control will got to sap r/3 system log on screen.
finally it won't install the object's, can anyone resolve this issue
regards
harikrishna.N -
Update rule on master data attribute
Hi
In my cube, I have a master data object 0COMP_CODE, which has attribute 0COMPANY.
Additionally, in the same cube, there's:
Master data object 0CUST_GROUP, which has attribute ZBUSPART
Master data object 0CO_AREA, which also has attribute ZBUSPART
I need to fill a characteristic ZTAXCODE (not a master data object) in the cube, with the following logic:
If 0COMPANY is between 1 and 30, populate ZTAXCODE with value of ZBUSPART from 0CUST_GROUP
If 0COMPANY is between 31-9999999, populate ZTAXCODE with value of ZBUS_PART from 0CO_AREA
I guess this will have to be done in the update rule. Right now I have 0COMP_CODE in the communication structure. How should the code be written to populate ZTAXCODE, with value of ZBUSPART, based on the value of the attribute of 0COMP_CODE - 0COMPANY?
Any help with getting me started here would be appreciated...
Thanks
MartyIn the start routine.
First, for all data package select company code, cust_group and zbuspart from cust_group and store it in the internal table.
Second for all data package select company code, co_area and zbuspart from co_area and store it in the second internal table.
Third for all data package select company and company code from comp_code and store it in the third internal table.
Now in the update rule routine.
read the third table and get the company for the company code and if the value which comes from this company is between 31 and 9999999 then read from second internal table otherwise read from the first internal table and update the result.
hope that is clear.
thanks.
Wond -
Update rule problem - while data load
Hi friends,
I got the following error while doing initialisation for 2lis_02_sgr.
"ABORT was set in the customer routine 9998
Error 1 in the update "
In the forum i searched for this error and this error is something related to the start routine in my update rule.
But i dont know whats wrong with my routine.
Im giving the start routine below,pls go through this and give me your suggestions..
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
<i>TABLES /bic/AZMM_PUR100 .
DATA: T_PUR1 LIKE /bic/AZMM_PUR100 OCCURS 0 WITH HEADER LINE.</i>
$$ 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/CS2LIS_02_SGR.
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
if abort is not equal zero, the update process will be canceled
CLEAR: T_PUR1[] ,
T_PUR1,
ABORT.
SELECT * INTO TABLE T_PUR1 FROM /bic/AZMM_PUR100.
IF SY-SUBRC EQ 0.
SORT T_PUR1 BY DOC_DATE
DOC_ITEM
DOC_NUM.
ELSE.
MONITOR-msgid = sy-msgid.
MONITOR-msgty = sy-msgty.
MONITOR-msgno = sy-msgno.
MONITOR-msgv1 = sy-msgv1.
MONITOR-msgv2 = sy-msgv2.
MONITOR-msgv3 = sy-msgv3.
MONITOR-msgv4 = sy-msgv4.
append MONITOR.
if abort is not equal zero, the update process will be canceled
ABORT = 1.
ENDIF.
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
Thanks & Regards
Raguthanks gimmo and a.h.p,
i have done the correction as you said,pls verify that.
And also kindly explain me what is the reason for this start routine,what exactly it does???
CLEAR: T_PUR1[] ,
T_PUR1,
ABORT.
SELECT * INTO TABLE T_PUR1 FROM /bic/AZMM_PUR100.
IF SY-SUBRC EQ 0.
SORT T_PUR1 BY DOC_DATE
DOC_ITEM
DOC_NUM.
abort = 0. ( added abort = 0 as per your suggestion )
ELSE.
MONITOR-msgid = sy-msgid.
MONITOR-msgty = sy-msgty.
MONITOR-msgno = sy-msgno.
MONITOR-msgv1 = sy-msgv1.
MONITOR-msgv2 = sy-msgv2.
MONITOR-msgv3 = sy-msgv3.
MONITOR-msgv4 = sy-msgv4.
append MONITOR.
if abort is not equal zero, the update process will be canceled
ABORT = 1.
exit. ( added exit as per your suggestion )
ENDIF.
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
Thanks & Regards
ragu -
Sample code in Update Rule to restrict data selection?
We used to restrict data selection in InfoPackage data selection, e.g., for company code range when loading data from a source system (e.g. EBP which is similar to R3), but somehow the company code range we set in InfoPackage data selection not working and we found actually it occurs on the source system side when running RSA3 on EBP side and input the company code range in RSA3 selection section, but still it extracts data beyond the company code range. We don't understand why EBP data selection doesn't work, then we consider in update rule on BW to set the company code range. We know in update rule, we can select Start Routine, formula, or routine to set the company code range. But we would be appreciated if experts here can recommend which one is the most efficient to load data fast for data load performance reason and would be appreicated if you can let us know the sample code!
Thanks in advance!hi Hari,
I copy the whole code of the start routine below:
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
Includes to update generic objects
INCLUDE rsbctgn_top .
INCLUDE rsbctgn_update_rules .
INCLUDE rsbctbbp_generic_objects.
The following section is prepared for you if you compound
the business partner 0BPARTNER with the
Source System 0BBP_SYS_BP or if you compound the organizational
Unit 0ORGUNIT with the source System 0BBP_SYS_BP
TYPE-POOLS: RRSV.
Data: L_HLP_CHAVL_CMP TYPE RSCHAVL.
DATA:
L_S_DEP TYPE RRSV_S_DEP,
L_T_DEP TYPE RRSV_T_DEP.
End of compound
DATA: l_s_errorlog TYPE rssm_s_errorlog_int,
l_hlp_chavl TYPE rschavl.
$$ 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/CS0BBP_CONF_TD_1.
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 0comp_code < 'X300' OR 0comp_code > 'X6ZZ'.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM. -
Unable to find Update rules in BI content
Hi All,
We are unable to find the update rules for the datasource
2LIS_03_BX
2LIS_03_BM
2LIS_03_UF
in the Business Content for the cube 0IC_C03
But we can find the update rules for the datasource 2LIS_40_S278 for the cube 0IC_C03
The BI content was of Release 703 (level 0011) in our system.
What might be the reason for this ?Hi Surya,
How are you collecting the BI content.
In BI content select the datasource and collect data flow afterwards. You will get update rule in it.
Regards,
Viren -
Problem: Exchange rate in Update rules with DELTA mode
Hi experts,
During the loading since the ODS13BIL towards the CUBE, I use in the update rule the function
"CONVERT_TO_LOCAL_CURRENCY" to convert a currency.
The loading mode is DELTA.
If I modify an invoice in the system source (R/3) for example: "change on" (0CH_ON), during the loading delta since the ODS towards the cube, the exchange rate is reversed (sign), which implies that the values of the ratios during the conversion with the function module " CONVERT_TO_LOCAL_CURRENCY" are false.
How could I resolve this problem?
Example:
1-First load:
R/3:
Key figure 1 :100
Exchange Rate :-1,2
Document currency :USD
Local currency :EUR
Change on :00.00.0000
ODS13BIL:
Key figure 1 :100
Exchange Rate :-1,2
Document currency :USD
Local currency :EUR
Change on :#
CUBE:
Key figure 1 :100/1,2
Currency :EUR
2-Seconde load:
R/3:
Key figure 1 :100
Exchange Rate :-1,2
Document currency :USD
Local currency :EUR
Change on :06/01/2006
ODS13BIL:
Key figure 1 :100
Exchange Rate :-1,2
Document currency :USD
Local currency :EUR
Change on :06/01/2006
CUBE:
Key figure 1 :100/1,2
Currency :EUR
and
Key figure 1 :-100*1,2 <-- False
Currency :EUR
Thank you for your precious help.Hello,
Thank you for your answer but that still not works: Give erroneous data is corrected but the data which are not erroneous become erroneous.
I think that if I manage to return the field "Exchange misses" (0EXCHG_RATE) nonmodifiable by the DELTA mode, I cross that will resolve the problem.
With what is used following fields in the definition of the ODS, and it is what impacts it on the existing data: "Non cumulative value" et "Cumulative value"
thanks a lot. -
Program to activate update rule for master data (info objects)..very urgent
Hi all,
I have an info provider(A0CUSTOMN). For this the update rules are not active.In production system i am not able activate.Please let me know if there is any program to activate the update rule for masterdata(info object).
Thanks=points
ManjulaHi Manjula,
Leave the id and infocube field blank. Just provide the infosource name.
BTW is this a direct update master data object? In that case all this is not relevant.
Check if it appears as an Infoprovider.
I did not ask enough questions to start with.
BR/
Mathew. -
Simple creation of Update Rule from BW Data Source
Hi guys,
Pertaining standard SAP Business Content extractors
I am referring to <b>InfoCube : 0PA_C01(Headcount and Personnel Actions)</b>
I am attempting to<u> create </u>an <b>Update Rule</b> from <b>Info Source : 0HR_PA_PA_1(Headcount)</b>
This <b>Info Source : 0HR_PA_PA_1(Headcount)</b> is connected to <b>BW Data Source</b>(Not R/3!) 0HR_PA_PA_1
I have created an Info Package for this Info Source and managed to get 15 records{In Contrast to my 68800 Records from Info Source : 0HR_PA_0(Employee)}
So, when I create an Update Rule to Connect <b>Info Cube: 0PA_C01(Headcount and Personnel Actions)</b> to <b>Info Source to Info Source : 0HR_PA_PA_1(Headcount)</b>, I get the following error
ERROR : <b>IC=0PA_C01 IS=0HR_PA_PA_1 error when checking the update rules</b>
Could you please also advice, why do I only get 15 records for Data Source 0HR_PA_PA_1 ?
P/S : I am on BW 3.5Hey Rohini,
This <b>Data Source: 0HR_PA_PA_1(Headcount)</b> is tricky to me because it`s a BW Data Source.
Exact Error Message is as follows :-
"<b>Error Message : RSAU461
IC=0PA_C01 IS=0HR_PA_PA_1 error when checking the update rules</b> "
My Exact Problem is that I don`t see any values for the following fields in my Info Cube : 0PA_C01(Headcount and Personnel Actions)
Country;
Country Code;
Gender;
Nationality;
Language;
Postal Code;
Region;
Position;
Job;
Payroll Area;
Payroll Group;
Pay Scale's;
Pay Grade's
This is because, this information is supplied by InfoSource : 0HR_PA_PA_1
But I don`t have an Update Rule for this InfoSource in my InfoCube : 0PA_C01
So, that's why I am attempting to create this additional Update Rule
<i> And also, could someone enlighten me why would SAP not include such a standard Update Rule when they have already idenfied those needed fields in a Cube ? This is suppose to be a STANDARD workable Business Content right ?</i>
P/S: I have applied Note : 336229 -
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 -
Mistake in update rules with 0FISCPER
Hi:
I'm having a mistake during de loading of an Infocube. The monitor ends in red cause a message of the update rules (Invalid value '0400401'). This cube is updated by an ODS and the characteristic 0CALDAY. I've checked the dates in the ODS but they're normal.
Any clue where is the mistake.
Points for helpfull answerHi Herr,
If you are updating FISCPER from CALDAY, you can use the Time distribution in the update rule itself.
Correct it and it should work.
Regards. -
BW 3.5 update rules for master data
Hi all,
I create a dummy report in that report lifnr is charactics and name its att. after this i create a application component and assign data source and create infopkg data coming in lifnr and name field properly <b>i assign data source using direct master data update</b> after this i create infocube and assign dim.
but when i rgt click on infocube and display dataflow it shows only one level and when i open bex and open that it shows no application data found why this happened after creating infocube it is nessory that i creat update rule for this am i right plz send your openion.
thxHi Ankit,
Yoy have to load data to the cube.For that you need update rules.
Steps to load data to the cube
1.Replicate the datasource.
2.Assign Infosource
3.Create transfer rules
4.Maintain the update rules to the cube.
5.Right click on the datasource and schedule an infopackage for it.
Execute the Infopackage and pull the data to the cube.
Hope this helps
Regards
Karthik
Maybe you are looking for
-
I updated my iphone -again, and now my girlfriend (and who knows who else) is not reliably receiving messages. I try sending as iMessage and as SMS and have iMessage checked in my options and send as text message if iMessage doesn't work also checked
-
Can I set up a new iPhone using an old iPod backup?
The support articles cover backing up and then restoring from backup but only on like devices. I just got my first iPhone and I need to set it up with my old iPod data. iTunes didn't cue me when I plugged it in and just set up the phone as a new phon
-
HP LaserJet 4050N set up using IP *SUCCESSFUL step-by-step guide*
I have had sooo many difficulties in attempting to set up my HP LaserJet 4050N using an IP address connected to my iMac via Ethernet… but tonight I have finally succeeded! So for the benefit of anyone else who is having difficulties here is a complet
-
How to Block a Vendor for Down Payment. Both f-47, f-48 and automatic f100 should not work for this vendor. please tell me the settings. Thanks in Advance,
-
How to consume SOAP webservice in to my java/j2ee application
Hi, I am a java developer. how to i consume SAP soap webservice in to my java application. scenario : 1 We are migrating 2 specific java modules in to SAP System.But master details are stored in to my java application database.Those details are