CRM datasources inactive after transport

Hello,
I have few CRM data source which I have transported from Dev to QAS.
The datasources in Dev are fine however the datasources which are transported to QAS are in inactive status when I look in BWA5 except for datasource 0CRM_SALES_ORDER_I. All the other datasource are inactive in BWA5
When I check in RSA3 I get an error as Errors occurred during the extraction Message no. RJ012
However the Datasources are transported and are available in RSA6.
Is there a step I need to do to activate them. Could you please help me with this.
Regards,
KK

Hi KK
I debugged this and found that the missing component is an entry in table SMOXHEAD_S for your datasource which must match the entry in SMOXHEAD exactly.   Check in your dev box to be sure - the entry is there.
So I wrote this program which copies the entry from SMOXHEAD to SMOXHEAD_S.
Run the program at your own risk your CRM QA box.  If the entry is there already then it will do nothing.
Please post to say if it works for you.
Good luck,
Guy
report  zbi_fix_extractor.
data: ld_datasource type smoxhead-datasource value '0CRM_SALES_ACT_1',
        ls_smoxhead   type smoxhead.
*.check that the smoxhead_s table is empty
  select single * from smoxhead_s into ls_smoxhead
    where datasource = ld_datasource.
  if sy-subrc ne 0.
*..only do if there was no entry in the shadow table
    select single * from smoxhead into ls_smoxhead
      where datasource = ld_datasource.
    if sy-subrc eq 0.
       insert into smoxhead_s values ls_smoxhead.
    else.
       write 'no data available in SMOXHEAD for datasource'.
    endif.
  else.
      write 'no change made: entry already in SMOXHEAD_S'.
  endif.

Similar Messages

  • CRM Datasource Problem After Transport

    Hi,
    I am using CRM datasource 0CRM_SRV_PROCESS_H in CRM 5.0. The datasouce is installed through RSA5 and enhanced successfully in CRM Development System. Its BWA metadata is also activated automatically(as i am on CRM 5.0). I have transported it successfully to CRM Quality system without any warnings/errors. But when i check it in T-Code BWA5, its "Active" flag is not checked. And  when i check in RSA3, sytem is throwing error message " Errors Occurred During Extraction".  I can see the datasouce in RSA6 in Quality system with its enhanced fields.
    How can i make the "Active" flag checked in CRM Quality system? Or How can i activate BWA metadata in CRM Quality system?
    Urgent response would be appreciated.
    Regards,
    Prasad

    Definitely this is not related to replication. Some times this error 'Error in extraction" is related to SMOXHEAD table entry.
    Try following steps..
    Copy Smoxhead entry CRD> se16 > SMOXHEAD > DataSource > select the resulting line, copy
    se16 > SMOXHEAD_S > DataSource > paste
    Table Entry > Transport Entries of SMOXHEAD_S
    After transport try running RSA3. It shall be fine.
    Regards,
    Assgn pts if helpful.

  • What are the objects that goes inactive after Transportation

    Hi,
    Usually,What are the objects that goes inactive after Transportation?
    If you have any  links for tranportation ,please send.?
    Regards.,
    Naresh.

    HI,
    the main reason for most of the transports to fail is:
    1)Transporting each and every object in the same transport request.
    Ideally,
    u2022The Infobjects should be transported first in a separate request.
    u2022Then the Data source and the Info providers (Cube, ODS, Data source and Multiproviders) together in a separate request.
    u2022At the end the transformations and the DTPu2019s in an another separate request.
    If the above mention sequence is followed while transporting the transport failures can be avoided.
    2)Also when a change is made to an ODS (I object added or deleted) it should again be transported along with the transformation but in separate request.
    I.e. the ODS 1st and the transformation.
    Hope this helps.
    regards,
    mahesh.

  • Infospoke inactive after transport

    Experts,
    In version 3.5, I have created an infospoke with transformation and unit tested in Dev box. After transport I have got an error 8 while importing in QA. I checked all objects if anything missing or inactive in dev box related with this transport. But could not find anything.
    Looking into QA, I noticed infospoke was in revised version. Do you have any suggestions about what could be missing in transport? Or what should be the next possible steps to resolve the issue, please. Thanks.
    Regards,
    Nimesh
    Message was edited by:
            Nimesh Patel

    Hi Anil, I am having the same problem. My ABAP routine puts the correct selection variables, but the infospoke is getting into 'Revised' version. Can you please let me know, if you have a fix for this?
    Thanks,
    Naveen

  • Objects does in QA/PRD remains inactive after transporting.

    Hi,
    I've been having an extrange problem.
    some objects remains inactive in QA/PRD after they are trasnported from DEV.
    when I see the transport log, everything is perfect, and the final code is 0.
    ¿does anyone knows why the objects does not activates in destitation system??
    thanks for the help.
    Mauricio

    hi,
    I check the job logs (User DDIC and job name RDDIMPDP), and there is no warning or error message.
    The object I was trying to transport is an Update Rule. This Rule connects an ODS with an Infocube, and they both are ACTIVE in the QA System, and in the DEV system too.
    Any suggestion??
    thanks
    Mauricio

  • Form is inactive after transport

    Hi,
      I have a smartfrom it is available in DEV and Quality.
    I have made some changes to the form in DEV and transported the same to QA but I can see the form is inactive in QA. whereas active in DEV.
    I tried by creating a new TR and transprted the Form but I can still the form in inactive in QA.
    the transport log tells the transport is successful, can anyone please advise me what can be the problem ?
    Thanks & Regards,
    Kalyan

    Hi All,
    Thanks a lot for your input,
    I have checked the form in  QA by uploading in DEV there are no errors in the Form.
    I am not getting the reason why the Form is showing as inactive in QA even if all the other things are transpoerted.
    The transport log also tells that import is successful.
    Thanks & Regards,
    Kalyan

  • Info Objects Inactive after transport

    Hi,
    I have done a transport from PRD to DEV by collecting some info objects.
    While doing the transport 'Overwrite' option has been taken. Most of the objects in Transport are overwritten in traget System(DEV).
    But the info objects are inactive. Can anybody give reason why the info obejcts are inactive.
    Any ideas are helpful.
    Thank you,

    Hi ,
    I have checked the transport request and it is giving return code 4 at method execution.
    the log says that program 'RDDEXECL' is cancelled, because of an ABAP Dump
    'DBIF_RSQL_TABLE_UNKNOWN'.
    Any ideas..
    Thank you.

  • ODS and Transformations get inactive after i transport it in PD.

    i have transported my  ETL model in production , Now Everything what we have transported has come into production system but transformation and ODS in our ETL model get inactivated . Also while i want to display the transformation it give massege that " 'the infosource that we have created  before the transformation in not active and can not be used . ' 
    Our ETL model is like
    Cube(now Active)  --- tranformation(Now is in not active state) --  ODS(Now is in not active state) -- transformaion(Now is in not active state) -- infosource(Now in active state) -- transformation(Now in active state) -- PSA .
    the part    ": tranformation --  ODS -- transformaion " gets inactivated after transportation also DTP which pull data from ODS to cube also get inactive .
    Please suggest me to how i can activate these inactive object  or i have to transport these object again to PD
    Thanks .

    Hi Bryan ,
            Yes data was their inside the ODS  while transporting , Now i have successfully transported the request , nd now activating ODS transformation nd DTP . Actually i got a prog to activate transformation and DTP and want to share with all ...  . i juz activate mt DTP and transformation though these prog .
    Program for DTP ACTIVATION
    *& Report  ZDTP_ACTIVATE
    *Coded by NBS BI team
    *Date: 15-JAN-2010
    *Function: For DTPs activation
    REPORT  ZDTP_ACTIVATE.
    TYPES: BEGIN OF t_dtp,
    dtp LIKE rsbkdtpstat-dtp,
    objstat LIKE rsbkdtpstat-objstat,
    src LIKE rsbkdtp-src,
    tgt LIKE rsbkdtp-tgt,
    END OF t_dtp.
    TYPES: i_dtp TYPE STANDARD TABLE OF t_dtp.
    DATA: lv_output(255) TYPE c,
    lv_subrc TYPE sysubrc,
      tab_dtp TYPE i_dtp,
      r_dtp TYPE REF TO cl_rsbk_dtp.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS: p_id TYPE char35.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      FIELD-SYMBOLS: <fs_dtp> TYPE t_dtp.
      REFRESH tab_dtp.
      SELECT * FROM rsbkdtp AS a JOIN rsbkdtpstat
             AS b ON adtp = bdtp INTO
            CORRESPONDING FIELDS OF TABLE tab_dtp
             WHERE a~dtp = p_id AND
                a~objvers = 'A' AND
                  b~objstat = 'INA'.
      IF tab_dtp IS NOT INITIAL.
        LOOP AT tab_dtp ASSIGNING <fs_dtp>.
          CALL METHOD cl_rsbk_dtp=>factory
            EXPORTING
              i_dtp   = <fs_dtp>-dtp
            RECEIVING
              r_r_dtp = r_dtp.
          IF sy-subrc = 0.
            CALL METHOD r_dtp->activate
              EXPORTING
                i_objvers             = rs_c_objvers-modified
                i_force_activation    = rs_c_true
                i_show_check_protocol = rs_c_false
                i_with_cto            = rs_c_true
              IMPORTING
                e_subrc               = lv_subrc.
            IF lv_subrc = 0.
              CONCATENATE 'Activated DTP : ' <fs_dtp>-dtp ' : ' <fs_dtp>-src '->' <fs_dtp>-tgt INTO lv_output.
            ELSE.
              CONCATENATE 'DTP : ' <fs_dtp>-dtp ' : ' <fs_dtp>-src '->' <fs_dtp>-tgt ' Could Not be Activated' INTO lv_output.
            ENDIF.
          ENDIF.
          WRITE:/ lv_output.
        ENDLOOP.
      ELSE.
        WRITE:/ 'DTP is not Inactive'.
      ENDIF.
    Program for TRANSFORMATION ACTIVATION
    **& Report  ZTRFN_ACTIVATE
    *Coded by NBS BI team.
    *Date: 15-Jan-2010
    *Function: Activates in-active transformation only.
    REPORT  ZTRFN_ACTIVATE.
    TYPES: t_tran TYPE rstran,
    i_tran TYPE STANDARD TABLE OF t_tran.
    DATA: r_tran_maintain TYPE REF TO cl_rstran_maintain,
    lv_subrc TYPE sy-subrc,
    lv_output(255) TYPE c,
    tab_tran TYPE i_tran,
    i_s_source TYPE rstran_s_tlogo,
    i_s_target TYPE rstran_s_tlogo.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS: p_id TYPE char35.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      FIELD-SYMBOLS: <fs_trans> TYPE t_tran.
      REFRESH tab_tran.
      SELECT * FROM rstran
      INTO TABLE tab_tran
      WHERE tranid = p_id AND objvers = 'A' AND objstat = 'INA'.
      SORT tab_tran.
      IF tab_tran IS NOT INITIAL.
        LOOP AT tab_tran ASSIGNING <fs_trans>.
          TRY.
              CREATE OBJECT r_tran_maintain
                EXPORTING
                  i_tranid       = <fs_trans>-tranid
                  i_s_source     = i_s_source
                  i_s_target     = i_s_target
                  i_expert       = rs_c_false
                  i_mode         = rsawc_c_tfc-display
                  i_with_message = rs_c_true.
            CATCH cx_rstran_not_found .
            CATCH cx_rstran_input_invalid .
            CATCH cx_rstran_cancelled .
            CATCH cx_rstran_not_authorized .
            CATCH cx_rstran_display_only .
            CATCH cx_rstran_already_exist .
            CATCH cx_rstran_error_with_message .
          ENDTRY.
          CALL METHOD r_tran_maintain->check
            EXPORTING
              i_with_display = rs_c_true
            IMPORTING
              e_subrc        = lv_subrc.
          IF lv_subrc = 0.
            CONCATENATE 'Activated Transformation : ' <fs_trans>-tranid ' : ' <fs_trans>-sourcename '->' <fs_trans>-targetname INTO lv_output.
          ELSE.
            CONCATENATE 'Transformation : ' <fs_trans>-tranid ' : ' <fs_trans>-sourcename '->' <fs_trans>-targetname 'Could Not be Activated' INTO lv_output.
          ENDIF.
          IF lv_subrc = 0.
            TRY.
                CALL METHOD r_tran_maintain->execute
                  EXPORTING
                    i_wrkmode = cl_rstran_stat=>wrkmode_activate
                  IMPORTING
                    e_subrc   = lv_subrc.
              CATCH cx_rstran_cancelled .
              CATCH cx_rstran_error_with_message .
              CATCH cx_rstran_display_only .
            ENDTRY.
          ENDIF.
          WRITE:/ lv_output.
        ENDLOOP.
      ELSE.
        WRITE:/ 'Transformation is not Inactive'.
      ENDIF.

  • In which situation I need to active objects after transport

    Hi Experts,
        I'm wondering in which situation I need to active object after transport?  In some cases, I have to active transformation, DTP, infoobject, multiprovider....  Does any one make a conclusion of that?
        thanks in advance.
    Eric

    Sometimes, because of impact of a transport some other objects will be deactivated, then we need to manuaaly activate the objects after transport.
    Also, sometimes transport after import process could not be able to activate the objects, then also we have to activate them manually.
    Or suppose, you have moved and infoobject, due to which some other objects become inactive (where ever infoobjects is being used), then we have to activate them manually, if you dont want to transport them.

  • Test System (BQ1) Objects showing up wrong Source System after Transport.

    Hi Experts,
    We are working on IS-U BI7.0 Project. We have finished with our Development and have transported the DataSources, Transformations and DTPs from Development (BD1) into Test (BQ1) Systems.
    We have entered values in the Conversion of Logical Source Systems correctly.
    When we select the DataSource and Click Object Directory Entry from the Extras Menu, we found that the Original Source System is defined as BQ1 instead of BD1 (Development System), which is where the Object is getting Transported from.
    We have implemented an SAP Note:1008633 (Incorrect Source System after Transport (RSTRAN 514) but couldn't resolve the issue.
    We basically want all the Objects in the BQ1 (Test System) showing the Original Source System as BD1 (Development System) but only the DataSources and it's connected Transformations and DTPs are originating from the BQ1 (Test) System itself (The Transformations when Transported from BD1 to BQ1 are Transported with a different Technical Name which is very strange).
    Had anyone faced similar problem and if so, what was the effective solution implemented.
    Any help in this regard is very much appreciated.
    Thanks in Advance.
    Best Regards,
    Chandu.

    It is resolved by our Basis.
    Thanks,
    Chandu

  • DTP error: Type conflict when calling FM - after transport to Prd

    Hi ,
    i have asset_attr datasource.it was working in my BW dev.
    however after transport to BW prod. when i try to upload data using DTP it gives me an Abrupt error
    "0ASSET_ATTR IPDCLNT030 : Type conflict when calling a function module (fiel
    Message no. RSDS666"
    no more information is given, & the request ends in red.
    This is first time i'm using this Infoobject upload.
    however all my other transaction data & other master data all are getting uploaded fine.
    even Asset_text datasource is working fine.
    Did anyone face similiar probs ?
    can anyone guide me on this error ?
    thanks
    ramesh

    Hi
    Take a look at note 1130907.
    Regards,
    Chandu.

  • Web Dynpro automatically activate service after transport

    Hi all!
    Well - I've searched SDN.  I've read notes.   I googled.  I can't seem to find exactly what I want.    When a web dynpro component transports it automatically activates in the new system.  However, the application creates an ICF entry.   That "service" does not automatically activate.  I can go to SICF and activate, but I don't want to do that in all the systems.  Nor do I have the authority in all systems.
    Everything I've read on SDN seems to point to the fact that it can't be automatically activated.  The notes that I've read seem to piont to the fact that it can be activated automatically with the correct Basis settings.
    When the application is created it automatically creates a "service" in http:server//sap/bc/webdynpro/sap/application.   Maybe it should be in a custom namespace?
    Anyway I'm stuck - any help you could provide would be great.  I'm on ECC 6.0.
    I've already read these notes that seem like they would help:
    1088717
    1124553
    1043195
    I've tried running RSICF_SERVICE_ACTIVATION. 
    I can activate the service manually.   It just isn't something that I'd like to do. 
    This may not be the correct forum, but as it relates directly to WDA, I thought I'd give it a try here.
    Thank you!
    Michelle
    I've looked at these threads:
    web dynpro service inactive after migration
    Why Web Dynpro Application can not work in UAT ?

    Hi Thomas,
    I just want to add that a user who creates this variant, still needs authorization for Tcode SICF. But you're right, this could be done ones for a range of services.
    Steffen

  • Enhancing the CRM datasource

    Hi experts,
    i have to enhance the CRM datasource with some additional fields and fill them.
    so far i am succesfull in doing the below.
    1. i have appended the fields to the extractstructure and also regenerated the datasource
    2. and when to the BADI for Messaging Flow for writing the code.
    the problem here is its giving a small popup screen in which it has few implementations given by SAP in which do i need to put the code (i am assuming that its the same as our old exit concept where we use the same exit for all transaction datasoruces just by using the case statement) so in that four which one should i use for putting the code and what others are used for.
    The below are the implementations available when i execute the badi for messaging flow.
    CRM_BTX_EEW_BWA
    CRM_BWA_ENHANCE_EX
    CRM_BWA_ORDER_1
    CRM_CSDR_BWA_MFLOW
    If not a big trouble i will be greatfull if somebody can give me the code sample for getting a field filled from someother table with simple logic.
    thanks and regards
    sreedhar

    Pls chk this link for Crm enhancement
    Enhance standard data sources in CRM
    BWA1 is for all standard crm datsource maintaince
    rsa2 for generic datasource
    BWA5 i think we use this Tcode after RSA5 activation additionally.
    yes(incase of delta)
    BWA7 do we have to use this tcode along with BWA1 for standard datasources also or else only for generic datasource.
    irrespective of the type of dtasource,use it if you want to load delta(you need to delta enable the datasource here)
    So we don't need to put the code as we traditionally do it for R/3 , if we just mapp the fields that would bring the data for these fields.
    as i told in CRM we willwrite code in BADI in case you have done enhancement
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/customer%20enhancements%20and%20userexits%20in%20bw%20-%20sap%20netweaver%20%20know-how%20network%20webinar.pdf
    also chk this(credit goes to the writer)
    CRm enhancement:
    1. Enhance Extract Structure with the required fields. (Create & include an append structure to the extract structure via transaction RSA6).
    2.a) Release the fields of the append for usage. ( To do this, double click on the Datasource and remove the flags in the column 'Hide Field' for all fields of Append).
    2.b) If the new fields cannot be seen in the extract structure of the transaction BWA1 then change and save the datasource, and then activate it in RSA6.
    3. Define your mappings in BADI (CRM_BWA_MFLOW) to fill these fields.
    Goto SPRO . Follow the path ->SAP Implementation guide ->Implementation with other mySAP components ->Data transfer to the Business Information Warehouse-> Settings for the application specific datasources (CRM)->Settings for BW adapter-> Badi :BW adapter :Enhancement of datasources in messaging flow.
    4. Replicate the new Datasource to BW.
    5. Expand the Communication Structure in BW.
    6. Maintain transfer Rules for the new Datasource.
    7. Activate the trasfer rules and perform the upload.
    Refer to the SAP Note 692195 for more info ......
    send ur mailid, mail u some good step by step- doc abt this.
    *pls assign points,if link is useful*
    Regards
    CSM Reddy

  • Delta Field for CRM Datasources

    Dear All,
    I am using the CRM datasources such as
    0CRM_SRV_PROCESS_H
    0CRM_SRV_PROCESS_I
    0CRM_SRV_CONFIRM_H
    0CRM_SRV_CONFIRM_I.
    I just want to know the delta for this datasources.. Please suggest.
    Thanks,
    Siva.

    Hi,
    Thanks for the quick reply..
    I have checked the table and find the field called "Delta". It is specified as
    AIMD -After-Images with Deletion Flag Via Delta Queue (e.g. BtB)
    I just want to know what is the delta field for this datasource.
    Thanks in advance.
    Thanks,
    Siva.

  • Issues in Process chain after Transporting to Q

    Hi All
    I have couple of issues with my process chain (in Q). We have recently upgraded from BW3.5 to BI7.0. After upgrade i have a change made to one of my Process chain. i have transported it successfully to Q system. I have collected all the related objects associated with the change in the transport. But when try to see the changes changes in the process chain in Q system i have the following issues.
    1. i do not see my changes in display mode. But i am able to see all the changes if i go to change mode (this looks weird and i dont know why)
    2. i am unable to schdule the process chain in Q system as i was able to do earlier. Now it is asking for Transport when i try to schedule the process chain. this was not the case earlier.
    3. In the transport i also collected a newly created infopackage and added it to the Process chain. But i do not see any link between the infopackage and the process chain (it was supposed to have a link as it had in DEV), i mean when i go to  infopackage it used to give me a mesage saying the infopackage is already available in Process chain which i got in DEV.
    All the above cases were working per normal in DEV systems tested and were collected as required in the transports and moved to Q
    Please let me know ASAP if any of you have encountered similar problems before and have solutions. i saw couple of related threads (some suggested to directly activate the process chain in Q system by opening the Q systems as an alternate) but could not find a solution
    Any sort of help will be really appreciated
    Thanks
    HK

    1. Display mode shows only the active version of Process chain. When you go into change mode, it displays the inactive version (if any available). Make sure you activate the process chain in the change mode. Then the chain you see in display and change mode will be in sync.
    2. When you try to schedule, the Process chain will be activated as well. If your Q system is prompting for transport then probably the system is open for changes. If you want to modify process chains in Q and P systems, make appropriate Object Changeability settings in Transport connection in Q and P systems and make sure the system is closed for changes (SCC4).
    3. Use Transport connection to collect the objects required for Process chain. After transport, check the transport log and make sure all the objects are imported successfully.
    Regards,
    Sree

Maybe you are looking for

  • USB Mic won't show up in Drivers Menu

    I just bought an Audio Technica 2020 USB microphone, and I can't get it to work with Logic Pro 7.2.3. When I open up the audio/midi setup it is listed there, and it works with other programs, but it doesn't show up in the Driver drop-down list on the

  • Conky lua

    while trying to run a conky lua script i get this out put no field package.preload['cairo'] no file './cairo.lua' no file '/usr/share/lua/5.1/cairo.lua' no file '/usr/share/lua/5.1/cairo/init.lua' no file '/usr/lib/lua/5.1/cairo.lua' no file '/usr/li

  • How to get CV03N object link tab data

    Hi friends,      In the tcode cv03n, OBJECT LINK tab is there. in that object link screen has 2 tabs 1 is legal entity and another one is Project code.      I want to get the project link tab data. is there any function module. Thanks & Regards, Vall

  • Anyone else having trouble with HBOgo on mountain lion

    It told me I needed to update my flash player and I did that and then it tells me Application Error We're Sorry! Is it just my cable provider and not my compter?

  • Preserve the layer order imported from photoshop

    Is there a way to import photoshop files to after effects and keep the layer order from photoshop? I don't want to have to go back to all of my photoshop files and rename them. And I'd like to use the folders instead of compositions (the ones that ar