Update Rules
Hi,
i get an error while activating transformation it first says cannot generate proposal and in the update rules i get this " error while activationg transformation : key rule 2 (target field "ZTRDPRO): Initial Update set
Can someone tell me what need to be done??
Thanks,
Hi,
While we are creating the Transformations, system proposes few Transafermations.For reamining fields you need to make the transformations by selecting the source field by clickin the mouse and the drag and drop on target fields.
With rgds,
Anil Kumar Sharma. P
Similar Messages
-
Error while Activating update rule in BW
Hi,
I am getting an ABAP dump while activating an update rule. The rule is from DSO to cube.
"MESSAGE_TYPE_X" " "
"%_T020N1" or "%_T020N1"
"INSTANTIATE"
I have added some new fields in a DSO. The rule is from DSO to cube. While activating it, I am getting this ABAP dump. There are few other rules from this DSO to other DSO which got activated but this one is causing dump.
Any ideas/suggestions on this would be really helpful.
Thanks,
NaveenHi
Check if your Cube , DSO and UR's are active. If not reactivate them. Ideally you could recreate the UR's and check the status by running the extraction.
I would also recommend to use elimination method to check if any particular field is creating an issue. While recreating the UR's , create them for a few fields - active - check extraction - this will also let you know if the issue is within any oif the rules.
Cheers
Umesh -
Error while Transporting Update Rules.
hi xperts,
I am getting Error while Transporting the Update rules,i already transported the INFOCUBE,INFOPACKAGE EVERYTHING.
Start of the after-import method for object type R3TR ROUT (Delete Mode)
Errors occurred during post-handling RS_AFTER_IMPORT for ROUT L
The errors affect the following components:
BW-WHM (Warehouse Management)
Is the error,I didn't change any thing in the Cube or changes to Update rules.
Can anybody Help me?.
thanking you,
with regards,
Narendra.Hi,
Are you still facuing the issue ?
No need to worry about the routines, once you save the update rules if there is any routines in it it will be saved in the same request. If you want to check the routines you can check in the transport connections. Transfer the update rule to the right hand side of the screen and you can see all the routines that belong to the UR.
If you know the technical names of the routines you can check in the TADIR table.
Have you transported the info-sources for this update rules ? why not you again capture the info-source and the update rule in a single request and transport again.
Hope it helps.
Thanks,
Soumya -
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 -
Error in activating the update rules
Hi All
I am getting an error while activating Business Content update rules.
I have activate Cube and corresponding InfoCube and was trying to select update rule for the Cube and installing it.
It however gives an error saying Update Rules (Technical Name) are not found.
Anyone encountered this in the past.
If yes let me know the remedy
Regards
PBHi P B,
This might be a long shot, but I still want to see if I can be of any assistance:
Have you encountered SAP note 789272 and SAP note 787875?
They should be contained in SP 19 for BW 310, and your errors do resemble those we encountered, albeit using a different version of BW. These notes are relevant for both mine and your version.
Otherwise, I'll gladly have a look at your error messages you can send over here.
Best Regards,
Daniel -
Error in activation of update rules.
Hi,
I get an error - 'IC=0PP_C02 IS=2LIS_04_P_MATNR error when checking the update rules' while activating the update rules in BI content. Rest all the data flow is activated except update rules.
Can anyone throw some light on this?
Thanks & Regards,
ManishaHi ,
Check the update rule.
In that there are two routines.
In the first one Goods being processed & 2nd one as well , there is syntax err.
/BI0/APP_O010 doest exist.
Mostly it is fetching some data from some dso in this routine.
So it should be activated.
Then update rules will be activated.
Regards,
Devina -
Using an internal table from a strt rountine in an update rule
I created a start routine and i now want to take the value from the internal table and set my result to it in my update rule. I try that and it says it isn't a header table but I defined it this way. here is the code
DATA: T_BILL_DATA LIKE STANDARD TABLE OF /BIC/AZBIL_O5300,
Ls_data like line of T_BILL_DATA.
$$ end of global - insert your declaration only before this line -
FORM compute_key_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS2LIS_12_VCSCL
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/VZSD_C51T-SALESORG
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
result value of the routine
READ TABLE T_BILL_DATA WITH KEY
DOC_NUMBER = COMM_STRUCTURE-DOC_NUMBER
S_ORD_ITEM = COMM_STRUCTURE-S_ORD_ITEM
REFER_DOC = COMM_STRUCTURE-DELIV_NUMB
REFER_ITM = COMM_STRUCTURE-DELIV_ITEM
BINARY SEARCH.
RESULT = T_BILL_DATA-SALESORG.Hi LMM,
The definition is not correct, your table doesn't have header line.
try this,
DATA: T_BILL_DATA LIKE STANDARD TABLE OF /BIC/AZBIL_O5300 with header line.
Hope it helps.
Thanks,
Soumya -
I want to replace all '# ' values showing up in a report with space. For this I plan to write a Start Routine in the Update Rules which should scan all the data coming in into the cube and replace all null or '' with space.
What is the best way to write this routine. It should check all data in all the fields of the data load coming in.
ThanksHi,
The space is shown as # in the BW Reports, to confirm check the value in the cube for this field, so
you need to change that to some other character like X or Y or explain your end users that SAP
designates a space as # and it will be displayed that way in the reports.
Regards,
Raj -
Can you help me interpret the following lines in UPDATE rule?
Hi,
Can you help me interpret the following lines in UPDATE rule?
1. What is the role of role of u201CCHANGING RESULT.u201D and u201CCHANGING lc_local_value.u201D?
2. What is the role of the CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY', in particular the Exporting and Importing parts?
3. Can I say that u201CCOMM_STRUCTURE-ORDER_VALu201D in the subroutine is passed to u201Clc_document_valueu201D in the u201CFORM loc_curr_convertu201D; and further passed to u201Cforeign_amountu201D in the u201CCALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'u201D?
4. Finally, what becomes of my original u201CActual Goods receipt quantityu201D( 0GR_QTY ) which I am writing the routine for? I donu2019t see any where in the code that it is being referred to? Do any of these codes affect the value of 0GR_QTY?
5. Also, if there are 3 different subroutines in the INCLUDE and I am making the change described in #4 above, how do I know which of the 3 subroutines to call?
===============================
===============================
So I am reviewing a transfer routine in for u201CActual Goods receipt quantityu201D and routine an INCLUDE statement: INCLUDE RS_BCT_MM_UPDATE_RULES.
The update rule also includes the following properties to run the following subroutine in the Include:
IF u2026..
perFORM LOC_CURR_CONVERT
USING COMM_STRUCTURE-ORDER_VAL
COMM_STRUCTURE-DOC_DATE
COMM_STRUCTURE-ORDER_CURR
COMM_STRUCTURE-LOC_CURRCY
COMM_STRUCTURE-EXCHG_RATE
CHANGING RESULT.
I verified in the INCLUDE (RS_BCT_MM_UPDATE_RULES) and the subroutine is as follows:
FORM loc_curr_convert
USING lc_document_value
lc_date
lc_document_currency
value(lc_local_currency)
lc_rate
CHANGING lc_local_value.
conversion of lc_rate from floating-point to decimal. Necessary for *
call of CONVERT_TO_LOCAL_CURRENCY.
data lc_rate_dec type p decimals 5.
lc_rate_dec = lc_rate.
IF lc_document_currency = lc_local_currency
no conversion necessary -> Main case 1
AND NOT ( lc_document_currency IS INITIAL
OR lc_local_currency IS INITIAL ) .
lc_local_value = lc_document_value.
ELSEIF NOT ( lc_document_currency IS INITIAL
OR lc_local_currency IS INITIAL OR lc_date IS INITIAL ) .
conversion necessary with lc_date -> Normally not possible
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
date = lc_date
foreign_amount = lc_document_value
foreign_currency = lc_document_currency
local_currency = lc_local_currency
rate = lc_rate_dec
IMPORTING
EXCHANGE_RATE =
local_amount = lc_local_value
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5.
IF sy-subrc NE 0.
message a802 with lc_date lc_document_currency lc_local_currency
sy-subrc.
ENDIF.
ELSE.
if conversion not possible -> assign target values
lc_local_value = lc_document_value.
lc_local_currency = lc_document_currency.
ENDIF.
ENDFORM.HI,
Thanks so much the explanations.
I just verified again on our dev system and the update rule for 0GR_QTY (Actual goods receipt quantity) include the following:
perFORM QUANTITY_CONVERT
USING COMM_STRUCTURE-CPQUAOU
COMM_STRUCTURE-po_UNIT
COMM_STRUCTURE-base_uom
COMM_STRUCTURE-numerator
COMM_STRUCTURE-denomintr
CHANGING RESULT
Now, in the include, I also found:
FORM QUANTITY_CONVERT
USING QC_SOURCE_VALUE
QC_SOURCE_UNIT
VALUE(QC_TARGET_UNIT)
QC_UMREZ
QC_UMREN
CHANGING QC_TARGET_VALUE.
i. Does it mean it actually does quantity conversion?
ii. If you have access to the INCLUDE I will appreciate some hints on what the subroutine QUANTITY_CONVERT is doing. It does not appear do to be saying anything about quantity conversion; but it is supposed to be doing something with the parameters being passed from the update routine.
iii. In your response to #5, after all the computation in the INCLUDE, what comes back to the Update rule i.e. what comes back to become the value of 0GR_QTY?
Is it the u201CRESULT.u201D in the update rule or u201CQC_TARGET_VALUE.u201D in the subroutine in the INCLUDE.
iv. So, am to create an Update rule for 0PSTNG_DATE and the source is BUDAT; and I need to write a routine using the include INCLUDE RS_BCT_MM_UPDATE_RULES.
I looked through the INCLUDE and identified all the subroutines in this INCLUDE as follows:
QUANTITY_CONVERT
LOC_CURR_CONVERT
GET_WEEK
WEEK_DAY
QUARTER_DAY
--Does it mean that to use this subroutine, I can only use the USING parameters of one of these listed subroutines?
--Also, does it mean that because 0PSTNG_DATE is a date, I can only use one of
GET_WEEK
WEEK_DAY
QUARTER_DAY
--Or, are there other includes to be used for 0PSTNG_DATE
Thanks -
Can not view update rules on production BW server
This can be quite a time-consuming problem as I can't always tell if the latest update rules are successfully transported to production.
Most every where else in production I can choose to DISPLAY however this is not the case with update rules only.
Is this a typical setting for most companies? Can I turn off this setting so I can at least DISPLAY the update rules?hi,
as far as I know you can only see any rules (transfer, update etc.) in BW in change mode.
if you know where to change this setting (i.e. to see rules) - do it
you only have to remember to change it on dev and transport.
Regards,
Andrzej
ps. work around would be to debugg it with simulate data package processing, how to do this?
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/advanced sap bw data transformation
page 12
Message was edited by: Andrzej Krysiuk -
Key Figure missing in update rules
Hi All,
A Key figure is missing in Update rule of ODS & Infocube.
But it is listed in infosource ( comm. & transfer structure) of ODS.
Why it is so . Any suggestions.
infosource->ODS_>infocube.
Please help me.
Edited by: anand k on Mar 24, 2008 12:16 PMHi,
I will give the process that I followed (as you specified) now:
1. I deleted the Source System Assignment for the Infosource.
2. Next went to Source Systems. Right click on source system and replicate it.
3. Select the InfoSoucre and assign the Data Source.
4. Here I automatically got the Field(ZZMBGBTR).
5. I added the field in the Communication Structure. and then assigned the Transfer Rules. Next activated the InfoSource.NExt checked the InfoCube for the KeyFigure. That InfoObject ZQTY is available.
6. I activated the InfoCube. Right Click and select Create Update Rules. Still I didnt got that InfoObject.
Regards
Jay -
Key figure routine in update rules
I have a Cube (X) that gets data from a ODS (A) but one of the key figures gets the data from another ODS (B) with a routine in update rules and I want to change it to ODS (C)
A (All objects except one) - X (All objects except one)
B (0DEB_CRE_LC) - X (0DEB_CRE_LC)
select sum( DEB_CRE_LC )
into RESULT
from /BIC/AZDOC_SUB00
where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
and PSTNG_DATE LE l_datafim
and PSTNG_DATE GE l_datainicio
and /BIC/ZTPOPER = '9'.
My problem is that my ODS (C) doesn't have 0DEB_CRE_LC and the values are divided in 2 key figures (D) & (E), I want to sum both key figures into 0DEB_CRE_LC of the cube.
I tried a tip from a friend but didn't work, I'm lost (newbie), and apreciated some tips, it doesn't seem to sum anything
data: result1 type /BIC/AZPUR_S0100-/BIC/ZSLIQ_VAL,
result2 type /BIC/AZPUR_S0100-/BIC/ZSIVA_VAL.
select sum( /BIC/ZSLIQ_VAL ) sum( /BIC/ZSIVA_VAL )
into (RESULT1, RESULT2)
from /BIC/AZPUR_S0100
where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
and PSTNG_DATE LE l_datafim
and PSTNG_DATE GE l_datainicio.
write result1.
write result2.
Many thankxdata: result1 type /BIC/AZPUR_S0100-/BIC/ZSLIQ_VAL,
result2 type /BIC/AZPUR_S0100-/BIC/ZSIVA_VAL.
select sum( /BIC/ZSLIQ_VAL ) sum( /BIC/ZSIVA_VAL )
into (RESULT1, RESULT2)
from /BIC/AZPUR_S0100
where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
and PSTNG_DATE LE l_datafim
and PSTNG_DATE GE l_datainicio.
write result1.
write result2.
<u>RESULT = result1 + result2</u>
I still have to test it, first i was getting syntax errors because I didn't put spaces right sorry -
Fields missing in Update rules
I am creating snap shot DSO for inventory management and after that i created the update rules for it linking it to the info source 2LIS_03_BX. When i do this i am missing the info objects that i created to include in the DSO. How do i solve this issue as those info objects are very important and i have to create the routines for it.
I have got the units for those fields and they are mapped but the info objects itself are missing.
Thanks for any help in advance
NaveenHI Naveen,
Yes, you can include the missing infoobject in DSO. for that you need to follow bellow steps:
a). Delete the data from DSO.
b). you have to include the infoobject in DSO.
Double click on DSO>select chage mode->select keyfield /data field node--->right click select Infoobject Direct Input.
c). Activate the DSO
Brief Description about 2LIS_03_BX :
The 2LIS_03_BX is used to extract an opening stock balance on a detailed level (material, plant, storage location and so on). At this moment, the opening stock is the operative stock in the source system. "At this moment" is the point in time at which the statistical setup ran for infosource 2LIS_03_BX.Loading the opening stock balance InfoSource 2LIS_03_BX into data target.In the InfoPackage, choose the upload mode u201CCreate opening balanceu201D.
Regards,
Suman. -
DATA Transformation Vs Update Rules ?
Hi guys,
I have a scenerio , where I need to have data from 2 DSOs in to one combined DSO. Lets Says the 2 DSOs as DSO A and DSO B. and the Third as DSO C.
I want to get DSO C Structure as exactly as DSO A. and DSO B structure is only few fiew fields from DSO A (Key Fields are same). I have loaded the data in to DSO A and DSO B using Transformation and DTP . Now How to load DSO C data I mean combined data of DSO A and B.
1.If I create update Rules to DSO C using DSO A and DSO B. Iam not getting any data in to DSO C. (Do I need to make any settings in DSOs to update the data of A and B in to C ?).
2.If I create 2 transformations between DSO A -C and DSO B-C. I am sure I need to create DTPs to get the corresponding data. When I do that Iam getting 2 separate sets of data for DSO C. But I need data as one set from DSO A & B in to C.
Please help me ASAP and let me know if you need more information on it.
Thanks in advanceHello Harish,
I just got confusedwith the requirement. When u r loading from 2 sources (here it is DSO A and DSO B), then obviously u will get 2 rows whne u manage your DSO C.
But, in case u r referring to data, then there should be some commonality between A, B and C, thenonly it will not come as seperate rows in your report.
Can u send the details of DSO A, B and C ?
-- Plz assign points if helpful --
Regards,
Mainak -
Hi guys,
I have a scenerio , where I need to have data from 2 DSOs in to one combined DSO. Lets Says the 2 DSOs as DSO A and DSO B. and the Third as DSO C.
I want to get DSO C Structure as exactly as DSO A. and DSO B structure is only few fiew fields from DSO A (Key Fields are same). I have loaded the data in to DSO A and DSO B using Transformation and DTP . Now How to load DSO C data I mean combined data of DSO A and B.
1.If I create update Rules to DSO C using DSO A and DSO B. Iam not getting any data in to DSO C. (Do I need to make any settings in DSOs to update the data of A and B in to C ?).
2.If I create 2 transformations between DSO A -C and DSO B-C. I am sure I need to create DTPs to get the corresponding data. When I do that Iam getting 2 separate sets of data for DSO C. But I need data as one set from DSO A & B in to C.
Please help me ASAP and let me know if you need more information on it.
Thanks in advanceHarish,
as i told you earlier, if the fields you are looking from DSO B is not available in DSO A, you can create transformation usign respective DSO if your Key fields are same in both DSO A and DSO B..
assume...F1, F2, F3 are key fields in both DSO A and B.
DSO A:
F1, F2, F3, F4, F5, F6, F7.
DSO B:
F1, F2, F3, F8, F9.
DSO C:
F1, F2, F3, F4, F5, F6, F7, F8, F9.
If you load data from DSO A to DSO C, it will create one record in DSO C with updation of F1, F2, F3, F4, F5, F6, F7(because f1, f2, f3, f4, f5, f6, f7 only mapped).
If you load data from DSO B to DSO C, it will <b>Update</b> existing entry using Key fields for other 2 fields(which mapped from DSO B to DSO C).
Change log table of DSO C update with 2 records(i'm talking about Standard table).
write optimized works differently.
all the best.
Regards,
Nagesh Ganisetti.
assign points if it helps. -
Getting error while activatinb update rule 2LIS_02_SCL
Hello BW gurus,
I have activated and replicated datasources for PP and activated the 0PUR_C01 infocube now I am activating the update rule 2LIS_02_SCL but while activating the update rule iam getting error message
"Object UPDR CD2NYEJKIIFCCFA9FW1OQRONE could not be found"
which is nothing but the technical name of 2LIS_02_SCL. in GROUPING TAB I have selected " only necessary objects" option.
Any help on this is greatly appreciated can you please suggest me how I can troubleshoot this.
I will assign points to all appropriate answers.
Thank you,
KrishHi Krish
Don't worry about the error message.
RSA1-> Business content-> here select the update rules from 2LIS_02_SCL to cube 0PUR_C01 and with only necessary objects option-> Install update rules with applicable routines. Then refresh RSA1 and check for update rules. If still you don't get update rules, please let me know
Regards
Pradip
Maybe you are looking for
-
Due to file size reasons, I found myself several years ago with the need to move my iTunes Library from my desktop's internal drive to an external drive [which I also used via partition for a backup of my internal drive] I now have to move to a diff
-
I've been trying for a few days to convert a CS1 GoLive site to a CS5 Dreamweaver site... and nothing has worked. I have studied about 5 online discussions for various procedures. I downloaded the GL2DW extension and loaded that into the CS5 Dreamwe
-
File adapter polling stops after reboot of third party system
Hi, We noticed that whenever we reboot our third party system, XI File Adapter is losing it's connection to that third party system and polling stops. As a result File Adapter is not processing any files from that particular server. To fix this probl
-
How to remove random icons in Finder tool bars...
How do I get rid of these things? My finder windows all have, in addition to the normal items, the poster art for an MP4 file I haven't watched in weeks, a question mark and the icon for an app I rarely use. When I normally click on the MP4 it opens
-
I had a translate function in my tool bar when I updated firefox it went awa
had a translate function in the toolbar, when I updated firefox it went away and I cannot figure out how to get it back. Basically ifyou were on a e mail or website that was in a different language you just hit this and it translated it no highlighti