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,
Arun

The 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?

Similar Messages

  • 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.

  • 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 Karan

    Might 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 PM

    Thanks 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

  • Problem in activating 0sd_c03 IC

    Hi all
    Here i am facing problem in activating BC IC 0sd_c03 .I have installed the IC with data flow  before  and when i migrate from 3.5 to 7 . here for the datasource 2lis_13_vditm , the transfer rules are migrated successfully but here i am getting problem when i create transformation on update rule . The problem is with the routine net weight kg,gross  weight kg and with the volume . here that infoobject has some routine in update rule and when i created the transformation , in that transformation there is no routine for that infoobject and also there is no mapping present for that infoobject . plz help me in solving this.
    Thanx

    Hi Ravi,
    If you any start routine written on your Update rules or transformations, then when you open that one you will have Display start routine.
    If you don't have any routines, then you will have create start routine which implies it doesn't contain any start routine.If you want you can create start routine by click on create start routine.
    Creating routines is purely based on business requirement.
    when we go for creating routines:
    1)If you want to populate some new filed in target based on 2 or 3 fields from source.
    2)If you want to delete some records based on certain condition
    there are few more scenarios
    please go through the below article
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609eea32-455e-2c10-c08a-c23adf8c934e?quicklink=index&overridelayout=true
    If it is enough of one to one mapping for you business, then no need to use any routines just do one to one mapping in transformation
    Regards,
    Venkatesh
    Edited by: Venky1903 on Aug 19, 2011 12:30 AM

  • 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
    prasanna

    Thank 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,
    Sunder

    Dear 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.
    Sheela

    Hi,
    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

  • Dear , please help me to solve my problem in activating my iPhone Where I lost it since 3 months and when found it cannot activating my ID Where give me (Your Apple ID has been disabled for security reasons. To enable your account, reset your password at

    Dear , please help me to solve my problem in activating my iPhone
    Where I lost it since 3 months and when found it cannot activating my ID
    Where give me (Your Apple ID has been disabled for security reasons. To enable your account, reset your password at applied.apple.com)
    And try to reset my password but cannot please help me where am a poor man and cannot pay another money to solving this problem to any one
    My iPhone data
    Ime:  ****
    Model: A1332
    FCC  ID : BCG-E2380A
    IC: 579C-E2380A
    MY id at cloud   ****
    Password    ( ****)
    My country : Egypt
    MY EMAIL : ****
    Tell no: ****
    <Personal Information Edited By Host>

    The following may help:
    Apple ID: 'This Apple ID has been disabled for security reasons' alert appears - Apple Support
    If you didn't receive your Apple ID verification or reset email - Apple Support

  • 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?
    Srinath

    Hi
    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,
    Sunder

    Hi,
    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,
    Darshan

    Hi,
    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

  • Problem in activation of communication structure.

    Hi frnds,
    I have a problem in activation of comm. structure.
    Am on Version 3.5.
    Its a master data mapping using flexible update.
    So i have mapped all the relevant object in the same order as that of csv source file.
    But for 1 field, I have a requirement wherein I should write a transfer routine.
    So for that single field i have written the code and ACTIVATED the structure.(I got the prompt that Infosource activated)
    But when I saw the infosource in Infosource tab, its in White colour(rathar then green). I suppose this means that the  infosource is still not activated.
    Please let me know what is the problem behind. And also I am not able to activate the Infosource.
    thanks in advance.
    dubbu.
    Edited by: Dubbu on Jul 16, 2009 1:45 PM

    Can you just lemme know what field is that?
    i hope its ot an automatic generated field which are created automatically for the amount or quantity fields.
    morever if this is not the case then please try to refresh the tree.. u might see the diffrence.
    Thanks,
    Purva

Maybe you are looking for

  • Network Drives Disappear from Finder Intermittently

    I'm periodically having problems with my Mac recognizing an Iomega Home Media Network Drive. Everything's connected together using an Airport Extreme. Usually the drive will show up under the "Shared" category in the Finder, and I can connect and use

  • [SOLVED]No sound on new i686 install with ALSA using SB Audigy 2 ZS

    Previously posted at https://bbs.archlinux.org/viewtopic.php?id=146400 I replaced Xubuntu 12.04 on my 32bit legacy workstation which uses an Audigy 2 ZS soundcard (emu10k1) and analog outputs to a 5.1 amplified speaker set. The old reliable "speaker-

  • How to load movie clip internal in .fla file

    Hi - How do I load a movie clip inside a .fla file?........I know the script to load a .swf file but I do not know the script to load a movie clip (New symbo l= movie clip) made in the same .fla file. I have a series of movie clips I woud like to loa

  • Setting a form field as mandatory

    Hi,             I want to set a field as mandatory field in one of my transaction document under the tab folder.

  • How to add a search/find field

    Hi all, On page 1 I have a report of all the employees from employee table. I want to add a text field for search on page 1. and to enter a last_name say 'THOMAS'. I need to get a report on page with all employees with last name 'THOMAS'. Can someone