ABAP Program to activate transformation rule

Does anybody know an ABAP program to activate transformation rules (BI 7.0 object) similar to the ones that activate transfer structures, update rules etc. (RS_TRANSTRU_ACTIVATE_ALL or RSAU_UPDR_REACTIVATE_ALL).  I tried using the RSAU_UPDR_REACTIVATE_ALL one, but it didn't seem to work.
K-D Vo

Hi K-D Vo
Just try with the following program and give the ds name so that it will take care about the transformation it is similar like transfer structure activation program in earlier bw 3.5 flow
RSDS_DATASOURCE_ACTIVATE_ALL
Hope its clear a little..!
Thanks
K M R
Winners Don't Do Different things,They Do things Differently...!.
K-D Vo wrote:
Does anybody know an ABAP program to activate transformation rules (BI 7.0 object) similar to the ones that activate transfer structures, update rules etc. (RS_TRANSTRU_ACTIVATE_ALL or RSAU_UPDR_REACTIVATE_ALL).  I tried using the RSAU_UPDR_REACTIVATE_ALL one, but it didn't seem to work.
>
> K-D Vo

Similar Messages

  • Any abap program for copying transformation in bi 7.0

    Hi guys
    Could you please let us know is there any abap program to copy transformation in BI 7.0 as we used to have copying update rule in Bw 3.5 or is there any other way ! It is for same datasource , ODS but different source system...
    Advance thanks

    Hi,
      It is there in support packs. we use to have similar kind of problem but we applied and it works pretty neat.
    i think the support pack is sp17 or sp16.
    thanks
    syed

  • Do we have standard function module or program to activate transformation?

    Hi Gurus,
    Do we have any standard function module or program to activate transformation in BI system? If yes please let me know or let me know how to proceed with to create custom program to activate transformation.
    Thanks,
    Manoj

    Hi Sven,
      Thanks for your help.
    Even I am facing the same problem, we didnt want to open the production system to activate the transformation also it take time to transport them every time from development
    can you please explain how to use these methods, what parameters to pass
    do you have a sample code, it will be of great help.
    use this methods
    cl_rstran_trfn=>factory
    cl_rsds_rsds=>if_rso_tlogo_general~get_instance
    l_rsds->if_rso_tlogo_maintain~is_active
    l_rsds->if_rso_tlogo_maintain~activate

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

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

  • Abap program in pc failed and aggregation failed

    hi friends,
    we are using process chains and one of the proces chain has an abap program which activates and
    fills the aggregates. its failed and for yesterday.. can you please help on best action? <removed by moderator>
    regards,
    Bhavani
    Edited by: Siegfried Szameitat on Nov 7, 2008 9:46 AM

    Hi Sanjai,
        Check out what your ABAP program is doing. It is really odd that though the job called for invoking the ABAP program is not finished ... the next process is starting. If my understanding is wrong please correct me here.
       How can you say that the next process is starting before the current process finishes?
    Best regards,
    Kazmi

  • Program for activating transformations

    Hi All,
    Can you plz tell me is there any standard program to activate transformations in BI.
    Thanks,
    Chella.

    Hi,
    By using  program RSDG_TRFN_ACTIVATEwe will activate Transformations and their corresponding DTPs automatically.
    But for this we have to implent the sap note.
    Regards,
    Sai

  • How to activate transformations/DTPs related a DSO all together?

    Hi
    In Bi, i am changing a DSO Description Name only but it invalidates all its associated transformations/DTPs. Then I need to activate all its Transformations/DTPs to activate one by one. Is there any way I could activate all its Transformations/DTPs alltogether.
    Thanks.
    Edited by: Harpal Singh on Oct 11, 2010 9:09 AM

    Hi harpal,
    There is no standard program given by sap to activate Transformations and DTP. you need to activate them manually.
    for transformation you need to activate them manually or you need to create your own program to activate them.
    Check the below link which shows a program to activate the Transformatins and DTP
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d02513b2-7fb6-2c10-3a8b-887fc115d61b?quicklink=index&overridelayout=true
    If your service pack is 25 and Bi 7.0 then there is a program to activate the Transformations
    Got the below note which give the Program name which can be used to activate the Transformations.
    Note 1408161 - Program for transformation activation
    Program to activate transformations RSDG_TRFN_ACTIVATE
    But the its available only from the BW 7.0 it is SP25.
    Transformations in active
    Regards
    KP

  • Write ABAP routine in transformation rule

    Dear all,
    I am very new to ABAP. Currently I would like to transfer some data from cube A to cube B. The problem is
    Cube A and B have different Unit of Mesure. The product standard cost is based on each Item's UOM. For example:
    Cube A data:
    ItemNo }      UOM   }     Standard cost
    ABC     }      P5      }            30
    Cube B data:
    ItemNo }      UOM        }     Standard cost
    ABC     }      EACH      }            5  (30/5)
    In transformation rule, I plan to use ABAP routine to calculate each record to new Stand cost if Cube A has different UOM than Cube B.
    Can I call a program in this ABAP routine?
    In ABAP routine, how can I delare other source table and fields?
    Thanks for you help!

    The preferable method, if you're on BI 7 or later, is to create a filter in the DTP so that the records where 0CLR_DOC_NO is blank aren't even passed into the Transformation.
    If not, then you can add the following code into the Start Routine of your Transformation.
    DELETE
      source_package
    WHERE
      clr_doc_no EQ ' '.

  • Creating abap program to develop and activate a global table type and global structure.

    Hi friends,
    I want to create and activate a global structure and global table type by coding in ABAP editor only. so can I do that anyhow.
    Please help me.
    Thanks in advance.

    Thanks guys for your fruitful replies, as most of you asked the main purpose of my question, the answer is as follows:
    in fact my purpose to do so is to create a function module that can fetch data dynamically from different database tables based on the codings in different abap program.
    for example: in one abap program i am coding as follows:
    tables: kna1.
    types: begin of itab,
              kunnr type kna1-kunnr,
              name1 type kna1-name1,
              end of itab.
    data: it_tab type standard table of itab,
             wa_tab type itab.
    similarly in other program i am coding as follows:
    tables: vbrp.
    types: begin of itab,
              posnr type vbrp-posnr,
              matnr type vbrp-matnr,
              arktx type vbrp-arktx,
              end of itab.
    data: it_tab type standard table of itab,
             wa_tab type itab.
    so now for both programs i want to call the same function module and fetch data as required in relative programs as mentioned above. in that case how to create that function module?

  • ABAP Program or Function Module to activate infospoke/openhub table

    Hi,
    Post migration to production, when i am trying to load the data in open hub table, its showing OH table is not active. i had tried to all aspect but i am unable to load the data.
    is there any ABAP Program or Function Module to activate infospoke/openhub table
    Thanks & Regards,
    Pankaj Bansal

    Hello Pankaj,
    Please check whether you have access to TCode SE14 . If Yes , You can use this TCode to activate the Tables.
    There are lot of  Posts talk about the procedure for activation through SE14. please refer the same
    Thanks & regards,
    Prasath

  • Problem with the active version of the transfer rule ABAP program with sour

    Hi,
    I have a problem with the active version of the transfer rule ABAP program with source system EXCEL. 
    The system does not react to changes done in the transfer rule coding. For FISCPER I have hardcoded the result 'BABABA' and still the results delivered are those from the CSV.
    Resetting the system buffers does not help. The problem is systematic in combination with source system EXCEL (i.e. not only 1 InfoSource).  Checking the active program Extras->Display Program shows the coding (result='BABABA') being there, but
    as stated, the system does not produce the result BABABA, but instead the result of the CSV.
    It seems as if the original version from the very first activation of the transfer rule program remains somewhere and continues to be used.  Does anybody know how to flush it out and get the system to actually use the coding appearing as the active program.
    I have posted an OSS note, but SAP takes it time to answer and I am under time pressure so I figured that maybe one of you know who to solve it before SAP does.
    Greetings and thanks,
    Martin

    Hi martin,
    just try to go out the RSA1 and then return to your infopac. ...
    sometimes there some "cache" trouble

  • ABAP program running time-BW update Rules

    Hi All,
    I have an ABAP program that is in one of the update rules from source ODS to destination ODS. Source ODS has 20million records. When we are loading the records to destination ODS , Is there any way I can find howmuch time will take to process 1 record and also when it is running how do I know howmany records it has processed or howmany yet to process ? I have tried with SM50 but not able to find much useful information?
    Please help me and if you have any documents please send it to [email protected]
    Regards
    Vennela

    Hi Vennela,
    just choose one request and click on monitor -> details. Click on processing -> Data Package 1 -> Update Rules. If you put the cursor on the first node, you'll see a date and time field on the screen (below). If you click on the last node you'll see how long it took to process the records.
    Another possibility would be to run it in simulation mode and check the response time. To do so, you'll have to click on 'Response Time' in the SAP GUI field below at the right side of your screen (normally it shows the system name and mandant).
    Hope that helps!
    Regards
    Nicola

  • ABAP Program to delete the update rules

    Hi guys,
            Is there any ABAP Program to delete the update rules if any body knows.

    Hi dear,
    try with FM RSAU_UPDR_DELETE...
    Hope it helps!
    Bye,
    Roberto
    ...and please dont forget to reward the answers...it-s THE way to say thanks here !

  • How to Activate Transformations and DTP in PRODUCTION

    Hi Experts,
    I Have done some modifications in datasource in R/3 when i treid to run the Infopacakge in BI, I see the Datasource is inactivate.
    So I have activated the DS through the program in se38 rsds_datasource_activate_all, after that i see the transformations and DTP is inactivate.
    In 3.5 we have program to activate the transfer rules and updates though rsds_transtru_activate_all  i dont have idea for update rules program to activate.
    *Is there any program to activate the transformations and DTP in Production.Rather than re-transport entire thing.*
    Regards.

    There is no activation program for Transformations. In order to do that in production, you would have to have the client opened for modification and manually activate the Transformation(s) that are in a deactivated state. This isn't advisable however. The best approach to activate deactivated Transformations is to capture on a transport in the development environment and move that transport throughout the landscape to production.
    The SAP delivered ABAP program RSDKDTPREPAIR is available for activating DTPs. There is no selection screen for this program, however, and therefore it would try to activate all DTPs. This program should only be executed in background.
    Here are the other activation programs in case you need them or are interested (I realize that you mentioned or more already):
    RSDG_CUBE_ACTIVATE (InfoCube)
    RSDG_IOBJ_ACTIVATE (InfoObject)
    RSDG_MPRO_ACTIVATE (MultiProvider)
    RSDG_ODSO_ACTIVATE (DSO)
    RSQ_ISET_MASS_OPERATIONS (InfoSet - Requires client to be opened)
    RSDS_DATASOURCE_ACTIVATE_ALL (DataSource)
    SAP delivered program RSDS_TRANSTU_ACTIVATE_ALL is for activating Transfer Structures, which aren't relevant for 7.x DataSources.

  • Transformation Rule Type "Read from DataStore

    Hi All,
    i have two DSO's (Header and Item) my requirement is in the Item DSO i have a field Bill-to party in the same way in my header DSO also Bill-to party
    i need to fill Bill to party field in header DSO with Item DSO Field Bill-to party by using the rule type Read from Data store
    in the item DSO i have two key fields. in both the DSO's (header and item) only one common key field Document Num .i am assigning Docnum in transformation but i am failed to fill bill-to(Error-Cannot read from Datastore ). Please guide me how to achieve this.

    Hi.
    I think the problem is that the transformation rule needs the full target key fields (at item level) to be mapped in order to get the result value. Elsewhere, if more than one record are found more than one result values are to be found as well.
    It would work if you are reading Header DSO as all Items will get just one record as result.
    This can be solved using start/end routines ABAP programming.
    Hope this helps.
    regards.

Maybe you are looking for