Migration of update rules to transformations
Hi Experts,
We are in process of migrating update rules to Transformations.
We have following data flow for one info cube.
*Existing*
Data source -
>transfer Rules--->info source->update rules--
>cube
New
Data source -
>transformations----
>cube
When I am trying to create transformations, I am not able to read master data properties for all info objects.
It gives error that No info object is available.
Now my question is
it is not possible to read mster data in one transformation?
If I change my new scenario to this then it workes.
Data source -
>transformations----->info source(new BI7)--
>transformations -
>cube
But then I need to convert All existing info source to new one in BI7 then only I can use read from master data functionality.
Please advice.
<removed by moderator>
Edited by: Siegfried Szameitat on Nov 25, 2008 9:05 AM
In the Transformation maintenance, open the rule details.
Here you see the source fields of the rule.
Update 'IOAssgnmnt' with the InfoObject corresponding to the field from the source system.
Example
Field PERNR
Description Personnel No.
Type NUMC
Length 8
Conversion
IOAssgnmnt 0EMPLOYEE <-- Entered manually
Then you should be able to use the 'Read master data' functionality.
Regards,
Lars
Similar Messages
-
Convert ABAP code in start routine/update rule to transform. start routine
Dear BW ABAPers,
I have created a custom purchasing info cube (YCP_PURC1) based on 0CP_PURC1 standard cube. I would like to convert this new data flow to BI7 (from 3.x), and convert the standard update rule to transformation. I would need to rewrite the below start routine from the standard update rule to a start routine ABAP code in the newly created transformation / start routine. My ABAP knowledge is limited. Will you please help?
*this is the start routine from the update rule. As a side note, the data source is 2LIS_02_SCL.
LOOP AT SOURCE_PACKAGE.
IF ( SOURCE_PACKAGE-cppvlc EQ 0
AND SOURCE_PACKAGE-cppvoc EQ 0
AND SOURCE_PACKAGE-cpquaou EQ 0 ).
DELETE SOURCE_PACKAGE.
CONTINUE.
ENDIF.
no_scl is initial ( e.g. for good receipts, billing)
value has to be set depending on storno
IF SOURCE_PACKAGE-no_scl IS INITIAL.
IF SOURCE_PACKAGE-storno = 'X'.
SOURCE_PACKAGE-no_scl = -1.
ELSE.
SOURCE_PACKAGE-no_scl = 1.
ENDIF.
MODIFY SOURCE_PACKAGE.
ENDIF.
ENDLOOP.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
Many thanks and look forward to your kind feedback.
Kind regards,
CsabaDear All, Durgesh,
thanks to you all for your valuable input. Mainly the ABAP part was more interesting for me.
Durgesh, thanks for your input, it was useful. I just had to change the info objects to data source fields and add the lines before the loop:
DATA: I_PACKAGE TYPE TYT_SC_1.
FIELD-SYMBOLS <i_package> TYPE tys_sc_1.
I_PACKAGE[] = SOURCE_PACKAGE[].
LOOP AT SOURCE_PACKAGE assigning <i_package>.
IF ( <i_package>-BWGEO EQ 0
AND <i_package>-BWGEOO EQ 0
AND <i_package>-BWMNG EQ 0 ).
DELETE SOURCE_PACKAGE index sy-tabix.
CONTINUE.
ENDIF.
no_scl is initial ( e.g. for good receipts, billing)
value has to be set depending on storno
IF <i_package>-NOSCL IS INITIAL.
IF <i_package>-ROCANCEL = 'X'.
<i_package>-NOSCL = -1.
ELSE.
<i_package>-NOSCL = 1.
ENDIF.
ENDIF.
ENDLOOP.
Points have been assigned accordingly.
Thanks,
Csaba -
How to upgrade Update rules to Transformations
Hi
My is to Update/Upgrade UPDATE RULES to TRANSFORMATIONS
How can i do it in BI 7.0.
Is there any programe that will upgrade the update rules to transformations
ThanksHi,
Right click on your update rule
Goto -> additional functions
say create transformations.
It will automatically convert your update rule into BI 7.0 transformation.
Regards
Githen -
Update rule to transformation migration error
Error produced during update rule (BW3.5) to transformation migration. During start routine validation check it states that ' The data object 'COMM_STRUCTURE' has no component called 'BIC/ZCH_FABC1' but there is a component called 'BIC/ZCH_FAAC1'.
Even though this component is exist as part of communication structure, migration setup is producing an error.
System is BI SP 16 level. OSS message is created, if you have experienced any similar issues, pls. share and let us know.
Thanks, Vijay Rama.Hi VJ,
The ideal best practice is to replace the Routines manually. As BI 7.0 wont hold Comm. structure, You are facing this problem.
So you replace Comm.Structure to with Source_Fields.
So while migrating the routines do it manually.
You can find a lot of info in SDN if you search using the related terms
regarding Migration.
Hope this Helps
Regards
Karthik -
Migration of Transfer Rules ( Create Transformation)
Iam loading master data using direct update through 3.5 datasource. Now i want to migrate the data-source as well as the transfer rules.
First thing i do is right click on the transfer rules Additional Functions--> Create transformation
I get the following message
" Initial error occurred during generation of the transformation "
Message no. RSTRAN667
I tried deleting the transfer rules and recreating it, i get the same problem. I think first i need to create transformation against the transfer rules then i need to migrate the datasource.
I also tried just migrating the datasource and the transfer rules are gone.
The same procedure i tried with Business Content master data datasource and that one works.
Note: we are on Suport pack 12.
Please let me know if iam missing anything.
Your suggestions are highly appreciated..
ThanksThanks for your message..
But the thing iam doing is Iam migrating 3.5 stuff to 7.0 iam not creating transformations on the datasource.
In order to attain that migration ,first iam migrating the transfer rules as iam using direct update for master data. While iam doing that Iam getting the error message.
Voodi I'll look at that option and see if i can accomplish my migration by first migrating DS and then transfer rules....
But did u get this message for direct update of the master data...
I tried creating a generic master datasource even for that one also iam getting the same message ...while migrating the transfer rules.... -
BI7.0 _Issue with Migration of Update rules
Hi friends,
I am trying to migrate Sales DataFlow. As per the steps, when i am trying to transform Update rules and Transfer Rules , system is prompting " Before Rules Can Be Copied, You Must Select an InfoSource" . But i heard IS is optional in BI7.0. So what shall i do here?? how to proceed to transform these UR and TR without using Infosource.
Can any body have some doc with steps to migrate any dataflow to BI7.0 , please send me to my id [email protected]
Please suggest some thing.
thanks with advance
-MurthyMurthy,
Did you converted your 3.x Data source to 7.0 Data source or not. If you have already converted you dont need to select any infosource. Goto the Tcode RSDS and migrate 3.x datasource to 7.0 and try to create the transformation rule.
here is link where you can find more info
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
Jagadeesh. -
0py_c02 do not have the update rules or transformations in business content
Dear All,
I ma installing the Business content 0py_c02 cube with before data floe option , i found the infosource and transfer rules between Data source and info source but i can not found the Update rules betweeen the infosource and target.
Even if u consider the data source replicated in RSDS update mode, but ther is no transformations. how we can resolve this issue , if any body faced the same issue please update the same.
For creating mannully also there are routines in that update rules( checked same in IDES version) , i can do it same, but why the SAP not delivered the same, or i am going wrong in some where pls.
Any update please , Not received any replies pls.
Please any updates pls on this, The issue is open and waiting for responce from Experts.please can anybody update me.
Thansk in Advance,
Sathish
Edited by: sathish kakumudi on Apr 21, 2010 8:48 AM
Edited by: sathish kakumudi on Apr 21, 2010 10:34 AM
Not delivered by SAP and SAP raised the same to Development team
Edited by: sathish kakumudi on Jun 13, 2010 10:07 AMHi Satish,
Did you get any update from SAP-team on the same.
Thanks,
SC -
Error during converting update rule into transformation
Hi,
I'm convertng update rule 2lis_03_bx in to transformation. Not all the keyfigure abap routine are changed in ABAP 00.
Like 0RECVS_VAL, 0ISSVS_VAL are not converted where as some of them are converted. Will i need to make changes manually..
Sachin KHi Sachin,
Please take a look at this OSS note - 981194.
Hope this helps,
Bye... -
How-to get transformations from transfer/update rules
Hi all,
we did an upgrade to BI 7.0 frm BW 3.5, how shall we get the new things like transformations,DTP for tha already existing cubes/ODS. is there any procedure to convert transfer and update rules to transformation.
Thanks all,
RegardsMigration - Yu may wish to read below steps
Transformation Rules
automatic mapping without the use of an Infosource.
steps are listed below.
On the InfoSource Tab (Note- Ensure DataSource and Infosource have not been migrated)
1. Right Click > Additional Functions > Create Transfer Rules
2. Activate Transfer Rules
3. Right Click > Additional Functions > Transformation erzeugen
On the DataSource Tab
4. Create Transformation (Map to DSO, should map automatically)
5. Migrate DataSource
6. Create InfoPackage
7. Create DTP
Assessing Migration Scenario's
Transformation Rules
Strategy toward new and 3.x datasource / infosource
Re: Few questions on BC activation..
Replicate NEW/3.x datasource - Methodology
Replicate NEW/3.x datasource - Change back to 3.x datasource Methodology
Re: Datasource Identification
Hope it Helps
Chetan
@CP.. -
0CCA_C11 Infocune : Update Rule Migration Error
Hello,
I have installed the cube 0CCA_C11 from the standard BI content and started the migration of the update rule.
Here, i am getting an error in one routine. There is one field in the cube "0CO_REPLINE", which is mapped with all fields of infosource.
there is a routine on the field 0CO_REPLINE.
when i tried to migrate the update rule it will give me following error.
Rule (target: 0CO_REPLINE, group: 01 Standard Group): Syntax error in routine
And when i cheked the routine it will give the following error
E:The type "_TY_S_SC_1_FULL" is unknown
Please guide me and suggest.
Regards,
Macwan James.Hi ,
There is a small change inthe routine whichi your have to do.
Here is the code for the routine. Hope this helps
$$ begin of routine - insert your code only below this line -
Data:
COMM_STRUCTURE type tys_TG_1_full,
l_subrc type sy-tabix,
l_abort type sy-tabix,
ls_monitor TYPE rsmonitor,
ls_monitor_recno TYPE rsmonitors.
REFRESH:
MONITOR.
Runtime attributs
SOURCE_SYSTEM = p_r_request->get_logsys( ).
MOVE-CORRESPONDING SOURCE_FIELDS to COMM_STRUCTURE.
Migrated update rule call
Perform routine_0002
USING
COMM_STRUCTURE
CHANGING
RESULT
l_subrc
l_abort.
*-- Convert Messages in Transformation format
LOOP AT MONITOR INTO ls_monitor.
move-CORRESPONDING ls_monitor to MONITOR_REC.
append monitor_rec to MONITOR.
ENDLOOP.
IF l_subrc <> 0.
RAISE EXCEPTION TYPE CX_RSROUT_SKIP_RECORD.
ENDIF.
IF l_abort <> 0.
RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
ENDIF.
$$ end of routine - insert your code only before this line -
ENDMETHOD. "compute_0CO_REPLINE
Regards,
Macwan James. -
ASSERTION FAILED error while migrating update rules
Hi all,
We are migrating the 3.x datasource for sd - lo cockpit.
Migration steps are as follows...
1. Make a copy of the infosouce. Activate it.
2. Migrate transfer rules. Activate it.
3. Migrate datasource.
4. Migrate Update rules for the respective info providers.
But while migrating update rules ASSERTION_FAILED runtime error occurs.
the assert condition was violated.
CL_RSTRAN_TEMPLATE========CP or CL_RSTRAN_TEMPLATE======CM003
Please help i tried all the means to rectify but none succeds.
It is occuring for each datasource .
Thanks in advance.
aravindHello
Assertion statement is like a conditional break point in ABAP. When you are trying to migrate the update rules,it is failing with Assertion statement it means there is some error with your update rules. Either the mapping is wrong or the the target to which it is mapped is in inactive state. Please check these and retry your migration.
Regards,
Krishna Tangudu -
Can we migrate all trasfer rules to trasformatioms at one go
Hello Goodmorning,
Can you please help me to understand " can we Migrage all the transfer rules and update rules to transformations at one go"
If we have large number of infocubes, going to each and every infocube and migrating its transfer rules and datasources and update rules is a tedious process , what i think, is there a process of converting them automatically at one go .. if so please explain me the process
In one of the article, I read about SAP BW migration tool, is there a seperate tool, we need to install or is that option present in
SAP BI 7.0 .
Thanks in advance
points assured****
Regards
RekhaHi martin,
Thanks for your reply, in the SAP note 1052648
"The migration tool cannot migrate scenarios of unlimited complexity.
Therefore, the transformation created during migration may be incomplete or
incorrect in rare cases."
The above lines are from SAP NOTE 1052648, they mentioned about migration tool, are they speaking about any tool or an option in SAP BI itself..
Please reply
Regards
rekhs -
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 -
Error in Update Rule migration using "Create Transformation"
Hi gurus,
We are encountering errors in the migration of our 2LIS_03_BF and 2LIS_03_BX update rules into a transformation via URs Context Menu Additional functions - > Create transformation
This action creates a new transformation, but is only generating very little Routine assignements in our KF fields. That is, some KF have their old ABAP converted automatically into ABAP OO while the rest (majority) of KF fields have no rule (routine) assigned at all.
However, the most surprising thing is that after executing the "Create Transformation", the log shows everything correct and warnings (message 652 "Routine created. Verify sintax").
Have you ever faced this problem?
Is the automatic migration tool working correctly?
If not, do we need to manually create all those KF routines that have not been correctly been migrated? Even after two years since new dataflow that was released?
We are on SP 15...
Thanks and best regards,
EnricHi Juanjo,
In fact, if I understand you correctly, I'm facing the same situation: all FORMS based on OLD individual KFs routine are now available in the global transformation routine in ABAP OO, but what I'm missing is the individual source to target KF field mapping to routine, where the method with the perform to each coding should be done.
Shall I understand this is a common bug? Manual correction proposed?
Thanks,
Enric -
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.
Maybe you are looking for
-
How can I return to the previous version?
''locking this thread which was started back in February about Firefox 26 / 27'' Yesterday, while trying to get rid of the uninvited AVG elements in my Mozilla opening page I some how installed the latest version of Mozilla which I really dislike. Gi
-
Double-tap issue on my Lumia 920
A few days ago the phone asked me to a backup, there was a problem backing-up in the first time then everything has gone well, after that when i double-tap to wake up the phone a black window appear written on it 'resuming' stands for seconds and the
-
Any advice on mixing broadcom and intel iscsi nics between hyper-v hosts?
Hello, Way back in 2008 when we configured our virtualized datacenter (used Virtual Iron, now defunct) it was recommended practice to use identical iscsi cards for all hostnodes. We have since migrated to hyper-v 2008 r2, and are now moving on to hy
-
Apple why don't you try to help your customers, your itunes 7 update is faulty and needs fixing urgently,I can't use my machine.If you don't help me I'll never touch another Apple machine ever again!I can't believe that you are still posting this sev
-
How to export single object of LSMW to already existing project
I want to export one object of LSMW project to another project which is already exists and conatins some subprojects and objects. Menas I want to export one object to already exsiting project. How can I do this?