Problem While Activating Transformation
Hi BW Gurus,
I am currently working on BW 7.0 on Purchasing Area, I found some problem while modifying the transformation or activating the transformation. I have mapped the data source 2LIS_02_SCL Purchasing Data (Schedule Line Level). I have written a routine for mapping rules of 0ORDER_VAL base on the source field of BWVORG, BWAPPLNM, BWEFFWR, BEDAT, WAERS, HWAER, WKURS. And it shows no error while syntax check. But while activating the Transformation it leads to dump. And after that if I try to change the routine, it leads me to the same dump.
Please advice.
For reference, find the code what I wrote in the routine below,
IF ( SOURCE_FIELDS-BWVORG = '001' or SOURCE_FIELDS-BWVORG = '011'
or SOURCE_FIELDS-BWVORG = '021' or SOURCE_FIELDS-BWVORG = '004'
or SOURCE_FIELDS-BWVORG = '014' or SOURCE_FIELDS-BWVORG = '024' )
AND SOURCE_FIELDS-BWAPPLNM EQ 'MM'
AND SOURCE_FIELDS-BWEFFWR 0.
PERFORM LOC_CURR_CONVERT
USING SOURCE_FIELDS-BWEFFWR
SOURCE_FIELDS-BEDAT
SOURCE_FIELDS-WAERS
SOURCE_FIELDS-HWAER
SOURCE_FIELDS-WKURS
CHANGING RESULT.
ENDIF.
where the LOC_CURR_CONVERT is given below
FORM LOC_CURR_CONVERT *
--> LC_DOCUMENT_VALUE *
--> LC_DATE *
--> LC_DOCUMENT_CURRENCY *
--> LC_LOCAL_CURRENCYY *
--> LC_RATE *
LC_LOCAL_VALUE *
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.
Thnaks
Regards,
Deep.
Hi,
Please check routine if any for 0CO_REPLINE and also expert routine.
Regards,
Rema.
Similar Messages
-
Error while activating Transformations
Hi gurus,
Iam facing a problem while activating Transformations.
Its a flat filre loading consisting of 4 objects , 3 are standard and one is customised key figure ZPLN_VAL Data type is Amount, currency is fixed INR.
But iam getting following errors while activating transformations.
1,RULE(target ZPLN_VAL, Group;01 standard group); Conversion type missing.
2.RULE7 (Target field:ZPLN_VAL) Field planned value must be assigned to an Infoobject.
3.RULE(TARGET FIELD ZPLN_VAL) NO SOURCE UNIT ASSIGNED.
Regards
Amar.Hi,
Map it with required Unit filed from your Source .
Mayank -
Error while activating transformation
Hi Experts,
I need to activate a transformation between a cube and DSO.
But I am getting an error message while activating the Transformation the messages are as followed.
1. Error when writing routines
Message Number. RSAA561
2. Error while activating transformation
Message Number. RSTRAN510
3. Error activating transformation.
Message number. RSO404
I have checked the transformation and each field is mapped to correct field and there are no routines its just 1:1 mapping can any body tell how to check the error on basis of Message Number as there is no other information available when we are displaying the error.
Regards
Shubh KaranMight be a problem with the time conversion routines. delete the transformationa nd try again.
Good luck,
vijay -
Start routine errors while activating transformations 2LIS_13_VDITM
Hi Friends,
I have an error while activating transformation for Cube: 0SD_C03
Transformation Z2LIS_13_VDITM
The start routine error is like this->
Start Routine: Syntax error in routine
Rule (target: 0SUBTOT_1S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0SUBTOT_2S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0SUBTOT_3S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0SUBTOT_4S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0SUBTOT_5S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0SUBTOT_6S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0QUANT_B, group: 01 Standard Group): Syntax error in routine
Rule (target: 0DOC_ITEMS, group: 01 Standard Group): Syntax error in routine
Rule (target: 0NET_VAL_S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0COST_VAL_S, group: 01 Standard Group): Syntax error in routine
Rule (target: 0GR_WT_KG, group: 01 Standard Group): Syntax error in routine
Rule (target: 0NT_WT_KG, group: 01 Standard Group): Syntax error in routine
Rule (target: 0VOLUME_CDM, group: 01 Standard Group): Syntax error in routine
Rule (target: 0BP_GRP, group: 01 Standard Group): Syntax error in routine
Rule (target: 0CP_CATEG, group: 01 Standard Group): Syntax error in routine
S:RSTRAN:552 38 0CRM_PROD 01 Standard Group 0MATERIAL
Rule (target: 0DEB_CRED, group: 01 Standard Group): Syntax error in routine
Rule (target: 0PROD_CATEG, group: 01 Standard Group): Syntax error in routine
Key rule 43 (target field: 0VERSION): Initial update set
pls guys if some one can suggest me to solve this i would be very greateful
Bala
Edited by: bala dondeti on Jun 20, 2011 12:32 PM
Edited by: bala dondeti on Jun 20, 2011 12:43 PMThanks for the info Umesh,
Just to be sure - I should simply change "SOURCE_PACKAGE" to "DATA_PACKAGE" in the code of the start routine? "Source_Package" is present in two places in that code:
METHODS
start_routine
IMPORTING
request type rsrequest
datapackid type rsdatapid
EXPORTING
monitor type rstr_ty_t_monitors
CHANGING
SOURCE_PACKAGE type tyt_SC_1
RAISING
cx_rsrout_abort.
and then after that in:
Migrated update rule call
Perform routine_9998
TABLES
SOURCE_PACKAGE
CHANGING
l_abort.
Or should I revert to the 3.5 version? (as a side note, that Data Source (2LIS_13_VDITM) has been activated in 7.0 version by default, when I replicated data sources in BW).
Praveen, as to your remarks, I have the datasource 2LIS_13_VDITM (in version 7.0) active, along with the appropriate Infosource. Transformation between the DataSource and InfoSource is active, and only the transformation between the InforSource and the Cube poses problems.
BR,
Alek -
Error while activating transformation ---- Message no. RSTRAN510
Hi,
while I am Extrating Data From Flat File I encountered this Error.
I am working on <b>ECC 6.0 , BI 7.0.</b>
I am trying this one in IDES, it is newly installed server.
For Flat File Extraction I follwed the Steps
1) I created Data source -
let us assume I have created a Flat File with 3 fields
SNO SNAME MARKS
File is located in workstation
Data source created successfull , I have checked in preview.
2) I have created 2 key Figures, 1 characteristic
3) I have created Infocube
<b>here I have some doubt</b>
while I am creating Infocube, the look and Feel is very different to 3.XX
when i try to create in 3.XX , we can see the Tabs for Kef figs,chars,Time chars and we assign chars to Dimenstions.
when i am creating Infocube in BI 7.0 , I don't Find such a Tabs and how I am assign the chars to Dimension
I created Like this
select
Info Area -
> create Info cube -
given name of the cube and create (F5).
the Info cube window displayed on the Right side
Then I did like this
select
key Figures -
> Info object Direct Input
Then I inserted my two key figures SNO,MARKS
--- continue (F5)
Dimension 1 -
> Info object Direct Input
I inserted the 1 char SNAME
--- continue (F5)
Then I saved the Info cube
Info cube saved successfull and activated successfull
<b>Is it Right way For create InfoCube ?</b>
4) I created Transfomation for the Data source
Data source -
> create Transfomation
I have given
Object Type : InfoCube
Name :YSTU - i selected which I already created.
It automaticall taken these parameters
Obejct Type : DataSource
Data source : YSTU
source system :PC_FILE
create Transformation (Enter)
I got the Error
<b>Cannot generate proposal</b>
<b>Message no. RSTRAN017</b>
Then I try to activate, I got the Error.
<b>Error while activating transformation</b>
<b>Message no. RSTRAN510</b>
Before I post this , I had searched in Previous SDN post for this Error , But I can't understand the solution.
I have lot of doubts like <b>Basis Guy need to install any Patch</b> or
I did mistake any where.
Help me to Find the solution...
sure you can get the points
Thanks
prasannaThank You so much Voodi, yes you are Right , I am not concentrated on Mapping, Now Transformation is activated.
and i created Info Package too for the Data source , created successfully.
I am struck on Final step <b>creating DTP</b>
when I am creating DTP
Data Transfer Proc : here I need to give the Dtp name ex: YDTP
DTP Type : Standard (Can be sheduled)
Target of DTP
<b>Object Type</b> : Info cube
<b>Name </b> : YSTU (This is my Cube Name)
Source of DTP
<b>Object Type</b> : Data source (It automatically Taken)
<b>Data source</b> : This is Disabled
<b>Source system</b>: This is Disabled
continue (Enter)
I got the message ?
<b>Specify Name of source</b>
and courser is in <b>Data Transfer Proc </b>
Thanks
prasanna -
Error while activating Transformation CO_OM_WBS_3
Hi everybody,
i get the following error message while activating the transformation for CO_OM_WBS_3 in Dev
Error while activating transformation
Message no. RSTRAN510
Error when writing routines
i checked the routine for co_om_wbs_3 the syntex was correct.
i have checked in forum am not getting clear picture please guide me and
sap component version : SAP EHP 1 for SAP NetWeaver 7.0
SAP_BW 7010006 SAPKW70106
BI_CONT 704 0006 SAPK-70406INBICONT
Regards,
SunderDear anand,
thankyou
Regards,
sunder
Edited by: sundersham on Mar 28, 2010 12:34 PM -
Error while activating transformation in BI 7.0
HI,
Error: Error while activating transformation.
Does anyone know how to solve this.
SheelaHi,
There may be many issues like:
If you have any routines, check the syntax.
Check all the fields are mapped properly or not.
Check any currency or unit conversion in transformation.
Data type mismatch -> make sure source and target infoobject either numerical or interconvertible.
Length mismatch between source and target infoobject.
Rgs,
I.R.K -
Error while activating transformations? can you please help me
Hi
I am trying to create info cube , i created info objects, info cube,datasource. when i am trying to creat transformation it is throwing and error :
Error while activating transformation
Message no. RSTRAN510
Can any one help me?
SrinathHi
I think you are trying to activate the transformation.
Have you tried to generate proposal?
I think you will get the following error message :
Cannot generate proposal
Message no. RSTRAN017
the system would never generate a proposal . u need to map the fields manually in the transformations... after u map it ... check the mapping and activate it ...
Due to this when you are going to activate the transformation it is throwing this error message.
If this works kindly assign me some points.
Regards,
Debjani.. -
While activating Transformation 0PS_C041 - 0CO_OM_WBS_2 am getting error
Dear all
While activating the Transformation 0PS_C041 - 0CO_OM_WBS_2 am getting the following error
Error when writing routines
Message no. RSAA561
Error while activating transformation
Message no. RSTRAN510
Error when activating Transformation 0N7SM4TBBDTRG1KKDKS3QRMWAHMV490Q
Message no. RSO404
plz guide me seniors
Regards,
SunderHi,
Make sure your routines are syntatically correct in the transformation before activation.
still it is giving the same error please elaborate the issue and post it over here.
Thanks
Suresh -
Syntax Error in Routine while Activating Transformation
Dear All,
I am activating whole scenario for 0SD_C03. we have made transformation for 2lis_11_vaitm, during installation we get below errors:
- Rule (target: 0SUBTOT_1S, group: 01 Standard Group): Syntax error in routine
-Rule (target: 0NET_VAL_S, group: 01 Standard Group): Syntax error in routine
-Rule (target: 0PROD_CATEG, group: 01 Standard Group): Syntax error in routine
I really appreciate your any input for this.
Thanks & Regards,
DarshanHi,
I hope there is inbalance in between SOURCE Datapackage and Target Datapackage. So in the start routines pls check it and it not found then add in DATA_PACKAGE...
Check with ABAPer
under ,
TYPES:
BEGIN OF tys_TG_1_full,
SUBTOT_1S TYPE /BI0/OISUBTOT_1S,
and also you can fin dsimilar kind of threads in SDN.
Re: Syntax Error in Routine while Activating Transformation
Re: Issue while creating Transformation from Update rule.
Re: 0IC_C03 activation of Transformation rule ends with ERROR
Re: Error in activation of transformation
Thanks
Reddy -
Problem while activating message mapping
Hi all,
I am facing a problem while activating message mapping in IR.It says Object being edited by XXXX and cannot be activated.It's giving my user name itself and even it doesn't allow to go to edit mode even.But I am not opening it twice.How to monitor all the XI users logged into the XI system and find the users using IR and ID objects.Please help in this regard.
Thanks.Hi Jaya
It is .....
http://<host:port>/rep/support/public/LockAdminService
Hope this helps !!!
Regards,
J Augastine -
Having problem while activating my product please help
having problem while activating the product
gifted,
Depending on your version, you may try a chat here or here:
Creative Cloud support (all Creative Cloud customer service issues, chat open between 5AM and 7PM PST/PDT on workdays)
http://helpx.adobe.com/x-productkb/global/service-ccm.html
Serial number and activation support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
http://helpx.adobe.com/x-productkb/global/service1.html -
Problem in activating Transformation
Hi All,
I have a calmonth field coming from the source system with with sinlge digit value. I am using the info object 0calmonth2 in BI. So I have created a small formula in the transformation to prefix the value from source system with a zero. A zero padding needs to be done for the months 1 -9, before loading to BI.
During activating the transformation, it throws a dump.
The formula I used was
IF( STR_LEN( CALMONTH2 ) = 1, CONCATENATE( 0, CALMONTH2 ), CALMONTH2 ) where calmonth2 is the value coming from the source system.
The dump I got while activating the transformation :
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
Could anyone help me with resolving the isue.
Possible solutions expected :
1)SAP Note to fix the dump
2)ABAP Routine to handle the above formula(I dont know ABAP)
Regards,
ArunThe ABAP routine should be something like this:
if <month> ne 10 or <month> ne 11 or <month> ne 12
concatenate '0' <month> into result.
else.
result = <month>
endif.
However, I'm not sure this will fix your problem.
Can you check if you have no incorrect assignments?
If no, I think OSS will help.
Which Support package are you on? -
Error in routine while activating transformation
Dear all,
While activating 2LIS_04_P_ARBPL Transformation activation , I am facing following error while checking in Routine
E:Field "COMM_STRUCTURE-TGTPROCCAP" is unknown. It is neither in one of
the specified tables nor defined by a "DATA" statement. "DATA"
statement.
I replaced COMM_STRUCTURE with SOURCE_FIELDS as suggested in on eof the forum as its field level routine.
Then I got the error as :
*E:Field "SOURCE_FIELDS" is unknown. It is neither in one of the
tables nor defined by a "DATA" statement. "DATA" statement.*
please help me out for thisWhere are you writing this Routine?
Start Routine or Field Routine?
Start Routine:
You cannot use SOURCE_FIELDS. You will have to use SOURCE_PACKAGE.
SOURCE_PACKAGE does not have a header line, so you cannot use it directly.
You can just use commands like Sort SOURCE_PACKAGE or Delete SOURCE_PACKAGE.
Field Routine:
You can use SOURCE_FIELDS.
Check if you have selected the field as your source field while writing the field routine.
Please let us know where you are facing the error.
Edited by: Vishal Sanghvi on Jun 2, 2011 2:04 PM -
BI7.0 Hexdecimal values problem while activating the data in DSO
Hi Friends,
I've got the data upto PSA and i've run DTP also from PSA to DSO, but while activating the data in DSO from New Data Table to Active Data Table, it's giving the error given below:
Error when assigning SID: Action VAL_SID_CONVERT table
0DOC_HD_TXT
Value '1st disb' (hex. '00310073007400200064006900730062') of characteristic 0DOC_HD_TXT contains invalid characters
Process 000037 returned with errors.
it isn't accepting the values like with numberels and chars together
ex: 1st disb, 70 cr Gen Hsg.
I want the same to be in the report, how these are to be allowed?, i don't want to edit in PSA and there are a lot of values like that i can't edit all those, since there are thousands of records.
Regards,
BalajiReddyHi Anil,
Thanx for your quick replay, i've allowed ',' in RSKC and i've checked the check box LOWER CASE LETTERS for IO 0DOC_HD_TXT, the problem was almost solved out. What does ',' mean by?
Why lower case letter has to be checked only for this IO (0DOC_HD_TXT), not for others? if it is checked, it allows only lower cases, doesn't allow upper cases i think. won't there be any problem? if it is done like that?
pls tell me the reason, i'm really thankfull for your quick replay
Regards,
BalajiReddy
Maybe you are looking for
-
I can't figure out how to sync my ipod shuffle?
I cannot figure out how to sync my shuffle?
-
I installed a program called iMesh to play music on my computer via the internet. When I used Firefox now the search windows have been taken over by 'iMesh Web Search' and they don't bring up the same lists when I searched Firefox previously; e.g. it
-
How do I allow firefox to allow most content to be shown?
pop up from firefox frequently says that application prevented from being shown and I am prompted to allow or disallow. How do I increase standards to allow more to be allowed?
-
Checking delete datafile's log from oracle i.e. deleted from root user.
Can any body help me finding the log for checking any trace for datafiles that are deleted from root user in hp-ux server ( and the sys log has alredy been modified by root user ). So is there is any way to check through database or server level to c
-
Oracle 9i for Windows XP Home Edition
Would like to know which version can be downloaded to install oracle 9i for Windows XP Home Edition .. Would like to download Oracle 9i Developer as well...