Deleted data records from R3 to BW system

Hi Friends,
We are using standard Extractors in BW system and data loads are running daily.
Now IF we delete some Sales Orders, Billings and Deliveries permanently in R3 data base (not just deletion flag) which already loaded in to BW system in previous data loads.
So, After next BW data load, Is BW data = Equal to R3 system or not? that means whether these documents are deleted in BW system too..or not?
Please advice..
Tony

Hi Shiva,
    There is no need to delete any data incase you have a deletion flag (If the record is deleted in R/3) or a canceled flag(If the record is cancelled). You can use this flag to control your values of your key figures. What usually happens with standard SAP extractors is that when a document is cancelled or deleted, the extractor usually negates the value of the KF. So when this deleted or cancelled data gets loaded into BW, the values of the KFs cancel each other.
Eg PO   Cancel flag/Delete flag      Quanity
    1                      _                          10
    1                      X                         -10
Hope this helps,
Regards.

Similar Messages

  • How to restrict number of Data Records from Source system?

    Hi,
    How can I restrict the number of Data records from R3 source system that are being loaded into BI. For example I have 1000 source data records, but only wish to transfer the first 100. How can I achieve this? Is there some option in the DataSource definition or InfoPackage definition?
    Pls help,
    SD

    Hi SD,
    You can surely restrict the number of records, best and simplest way is, check which characteristics are present in selection screen of InfoPackage and check in R3, which characteristics if given a secection could fetch you the desired number of records. Use it as selection in InfoPackage.
    Regards,
    Pankaj

  • Deleting a record from Master data

    Hi all,
    I need some help with deleting a record from the master data.I did go to the master dta maintenance screen and selected the record to be deleted. I saved it. I received the message, "master Data record cannot be deleted".
    I then went into transaction slg1 to check for the details of the record. A message stating " Master data record XXX is being used in the cube /BIC/Dzzzyyy312.
    This record is no longer needed by the end user and was requested to be deleted. Could some one tell me if there is a possibility to delete this unused masterdata record. Your suggestions are appreciated.
    Regards!

    Hi Sumana,
       Check this...Similar Post..
    MAster data deletion throws a dump
    Hope it helps
    Srini

  • Customized delta data source for deleting data record in the source system.

    Hello Gurus,
           there is a customized delta data source,  how to implement delta function for deleting data record in the source system?
    I mean if there is record deleted in the source sytem, how to notify SAP BW system for this deleting change by this customized delta
    data source?
    Many thanks.

    Hi,
    when ever record deleted we need to write the code to insert the record in  Z table load this records into BW in a cube with similar structure.while loading into this cube multiply the Keyfigure by -1.
    add this cube in the Multi Provider.The union of the records in the orginal cube and the cube having deleted records will result in zero vale and will not be displayed in report .
    Regards,

  • How to delete data-records with BI-planning in BEx?

    Hi folks, masters and gurus,
    we just upgraded some of our functions from BPS to BI-Planning.
    Only one thing I could not resolve up to now:
    In BPS (web based) it was easily possible to delete data-records by choosing a radio-button beside the data-entry-field and click the "delete"-button (a red "-") on the top.
    When I tried to find a delete-function in RSPLAN now I only found one that deletes the data, but not the record itself.
    Does anyone know how to build a function that I can use to delete data-records?
    Thx in advance for your help,
    Thomas

    Oh yes ... it´s not necessary as it is easily possible to supress lines with only 0 in it with
    query-properties / rows/coloumns / supressing Zero / activ ...
    Edited by: Thomas Kejik on Jan 19, 2009 9:46 AM

  • Error on activation of data records from ODS object

    hi,
    Kindly help with my BW Problem, the error occured on the
    activation of ODS. The error says "<i>Request
    REQU_43MNOPW29W4F5M037J7OAFP52 in ODS ZPUR_O01 must have QM
    status green before it is activated</i>" and "<i>Activation of data
    records from ODS object ZPUR_O01 terminated</i>"
    I tried to check the data in the ODS Object by choosing
    <LS>Administrator Workbench > data targets > context menu on ODS
    Object ZPUR_O01 but the status are green and when i tried to
    activate it the logs says "<i>ODS object ZPUR_O01 was built
    incorrectly. Cannot update request
    REQU_43MODQ3GF69X17B71ZKQMN85I(20,154)
    ODS object ZPUR_O01 was built incorrectly. Cannot update request
    REQU_43MQ8A8F0L1US5COQTUUWX3BA(20,155)
    ODS object ZPUR_O01 was built incorrectly. Cannot update request
    REQU_43MQ8OQQTY21YQ37RMA1WMO06(20,156)
    Data to be activated successfully checked against archiving
    objects                                   
    Activation of data records from ODS object ZPUR_O01 terminated</i>"
    Please help me with this problem.

    Hi Jay
    U need to update these requests to ODS
    REQU_43MODQ3GF69X17B71ZKQMN85I(20,154)
    REQU_43MQ8A8F0L1US5COQTUUWX3BA(20,155)
    REQU_43MQ8OQQTY21YQ37RMA1WMO06(20,156)
    1) delete the current request
    2)Reconstruct the requests above three request
    3)and then Load the current reqest (REQU_43MNOPW29W4F5M037J7OAFP52)
    Then only u will be able to activate the ODS....
    This is an serialization issue...
    hope it helps
    regrds
    AK
    assign points if usefull

  • Deleting partner records from CRM order.

    Hi Experts ,
    I have a requirement where I need to delete partner record from order. For that I am using the function module 'CRM_ORDER_MAINTAIN' . This is the code that I am using but  I  am  unable  to  delete the record.
    REPORT  ZSDTESTORDER5.
    parameters: guid1 type crmd_orderadm_h-guid.
    data: guid2(32) type c.
    data: ls_new_partners type CRMT_PARTNER_COM.
    data: lt_new_partners type CRMT_PARTNER_COMT.
    data: guid type COMT_PARTNERSET_GUID.
    data: ls_input_fields type CRMT_INPUT_FIELD.
    data: lt_input_fields type CRMT_INPUT_FIELD_TAB.
    data: ls_logical_key type CRMT_LOGICAL_KEY.
    data: ls_input_field_name type CRMT_INPUT_FIELD_NAMES.
    data: IT_OBJECTS_TO_SAVE type CRMT_OBJECT_GUID_TAB.
    data: ET_OBJECTS_NOT_SAVED type CRMT_OBJECT_GUID_TAB.
    data: ET_OBJECTS_NOT_SAVED_WA type CRMT_OBJECT_GUID.
    data: IT_OBJECTS_TO_SAVE_WA type CRMT_OBJECT_GUID.
    data: txt1(42) type c.
    move guid1 to guid.
    CLEAR ls_new_partners.
    guid2 = guid1.
    ls_new_partners-ref_guid = guid.
    ls_new_partners-ref_kind = 'A'. "A
    ls_new_partners-kind_of_entry = 'C'.
    ls_new_partners-ref_partner_handle = '0000'.
    ls_new_partners-partner_fct = '00000004'.
    ls_new_partners-ref_partner_fct = '00000004'.
    ls_new_partners-partner_no  = '9000000112'.
    ls_new_partners-ref_partner_no  = '9000000112'.
    ls_new_partners-display_type = 'BP'.
    ls_new_partners-ref_display_type = 'BP'.
    ls_new_partners-no_type = 'BP'.
    ls_new_partners-MAINPARTNER =''.
    ls_new_partners-REF_HANDLE = '0000000000'.
    INSERT ls_new_partners INTO TABLE lt_new_partners.
    CLEAR ls_input_fields.
    REFRESH ls_input_fields-field_names.
    ls_input_fields-ref_guid  = ls_new_partners-ref_guid.
    ls_input_fields-ref_kind = ls_new_partners-ref_kind. "A
    ls_input_fields-objectname = 'PARTNER'.
    ls_input_fields-ref_handle = '0000000000'.
    "move ls_new_partners to ls_logical_key.
    "concatenate guid2 ls_new_partners-ref_kind ls_new_partners-kind_of_entry ls_new_partners-ref_partner_handle ls_new_partners-partner_fct ls_new_partners-partner_no ls_new_partners-display_type ls_new_partners-no_type into ls_logical_key.
    "concatenate '0000' '00000004' '9000000111' into txt1.
    "write  'BPBP' to txt1+0(28) .
    "txt1 = '0000000000049000000111      BPBP          '.
    ls_input_fields-logical_key =  '0000000000049000000112    BPBP           ' ."  '0000'  ls_logical_key.
    write:/ ls_input_fields-logical_key.
    ls_input_field_name-fieldname = 'PARTNER_FCT'.
    "ls_input_field_name-changeable = 'X'.
    INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
    ls_input_field_name-fieldname = 'NO_TYPE'.
    INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
    ls_input_field_name-fieldname = 'DISPLAY_TYPE'.
    INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
    ls_input_field_name-fieldname = 'PARTNER_NO'.
    INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
    ls_input_field_name-fieldname = 'KIND_OF_ENTRY'.
    INSERT ls_input_field_name INTO TABLE ls_input_fields-field_names.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    "ENDLOOP.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
      it_partner        = lt_new_partners
    CHANGING
      ct_input_fields   = lt_input_fields
    EXCEPTIONS
      error_occurred    = 1
      document_locked   = 2
      no_change_allowed = 3
      no_authority      = 4
      OTHERS            = 5.
    "CALL FUNCTION 'CRM_ORDER_INITIALIZE'
    EXPORTING
      IT_GUIDS_TO_INIT                 =
      IV_INITIALIZE_WHOLE_BUFFER       =
      IV_INIT_FRAME_LOG                =
      IV_LOG_HANDLE                    =
      IV_KEEP_LOCK                     = FALSE
    EXCEPTIONS
      ERROR_OCCURRED                   = 1
      OTHERS                           = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    commit work.
    IT_OBJECTS_TO_SAVE_WA = guid.
    append IT_OBJECTS_TO_SAVE_WA to   IT_OBJECTS_TO_SAVE.
    CALL FUNCTION 'CRM_ORDER_SAVE'
       EXPORTING
         IT_OBJECTS_TO_SAVE         = IT_OBJECTS_TO_SAVE
       IV_UPDATE_TASK_LOCAL       = FALSE
       IV_SAVE_FRAME_LOG          = FALSE
       IV_NO_BDOC_SEND            = FALSE
      IMPORTING
       ET_SAVED_OBJECTS           = ET_SAVED_OBJECTS
       ET_EXCEPTION               =
        ET_OBJECTS_NOT_SAVED       = ET_OBJECTS_NOT_SAVED
    CHANGING
       CV_LOG_HANDLE              =
    EXCEPTIONS
       DOCUMENT_NOT_SAVED         = 1
       OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    commit work.
    *loop at ET_OBJECTS_NOT_SAVED into ET_OBJECTS_NOT_SAVED_WA.
    write:/ ET_OBJECTS_NOT_SAVED_WA.
    *endloop.
    Through this code I  want  to  delete the  partner  number  '9000000112' for the partner function  '00000004'.
    But  this is not  coming. Please tell me if I  am  missing  out  something . This is  very urgent.
    Thanks & Regards,
    Samrat Dutta

    Hi Samrat Dutta,
              Looks like this FM can not be used to delete partner functions. Generally other parameter structures like appointment etc will have one field called MODE, there we give whether it is creation,change or delete mode. unfortunately for partner parameter structre CRMT_PARTNER_COM does not have MODE field in it to identify whether we are creating,chaging or deleting. i would recommond you try to find out some other FM to delete partners of Order. will let you know if i get come clue on this
    Siva

  • How to delete a record from a form

    Hello!
    I'm trying to delete a record from a table called PETS. The pet name is in a textbox from a data block called DELETE_PET.
    So i wrote in the WHEN_BUTTON_PRESSED_TRIGGER of the Delete button:
    select PETNAME into p_name from pets where PETNAME = :DELETE_PET.PETNAME;
    DELETE from PETS where PETNAME = p_name;
    clear_block(NO_VALIDATE);
    alert_id := find_alert('PET_DELETED');
    choice := Show_ALert(alert_id);
    commit;
    exception
    when NO_DATA_FOUND then
         alert_id := find_alert('PET_NOT_FOUND');
         choice := Show_ALert(alert_id);
         clear_block(NO_VALIDATE);
    rollback;
    end;
    And it's not working!!!!! :( :( :(
    Any help would be greatly appreciated!
    Thank you.

    Hi ,
    Write your trigger as....
    begin
    begin
       select PETNAME into p_name from pets where PETNAME = :DELETE_PET.PETNAME;
      exception
        when no_data_found
          then
            alert_id := find_alert('PET_NOT_FOUND');
            choice := Show_ALert(alert_id);
            clear_block(NO_VALIDATE);
            return;
    end;
    DELETE from PETS where PETNAME = p_name;
    clear_block(NO_VALIDATE);
    alert_id := find_alert('PET_DELETED');
    choice := Show_ALert(alert_id);
    commit;
    end;Question: Does your select statement return a value 'as you expect'...????
    Try to run your form in debug mode , and you may discover the deletion is not taking place.....
    Regards,
    Simon

  • How to delete a record from BSEG table

    Dear Experts,
    How to delete a record from BSEG table.
    If there possible to delete some records from transparent table ?
    Please help.
    Regards,
    Tan

    Hi,
    Deleting a record from a standard table can be done only if table maintenance exists - Cehck tcode - SM30.  But it is not advisable to delete records, coz the records may be dependent on many other tables.  If u delete in a single place, there may be chance that inconsistency in the data happens and hence will affect ur financial statements.
    Pls. assign points, if useful
    Regards,
    Sridevi

  • Is it possible to delete data selectively from Business content cubes

    Dear Experts,
             Requesting you to help me out to know, is it possible to delete data selectively from Business content cubes.
    When I'm trying to delete selectively from Business content cubes, the background job gets cancelled with ST22 logs stating
    A RAISE statement in the program "SAPLRSDRD" raised the exception  condition "X_MESSAGE".                                                                               
    Since the exception was not intercepted by a superior program, processing was terminated.  
    and i tried  with few more Technical content cubes but the same thing happens.
    Pls let me know how to selectively delete data from Business content cubes if it's possible?.
    Thanks in advance for your favorable assistance.
    Regards,
    Ramesh-Kumar.

    Hi Ramesh,
    Follow below steps for selective deletion:
    1.     Transaction code: Use the Transaction code DELETE_FACTS.
    2.     Generate selective deletion program:
    A report program will be generated of the given name, here .
    3.     Selection screen:
    Take the deletion program u201CZDEL_EPBGu201D to the transaction code SE38 to see/execute the program.
    After executing it will take you to a selection screen:
    As we need to carry out deletion selective on Calendar week, we need to get the screen field for the field Calendar week. For this, click on the Calendar week field and press F1.
    Click on the technical information button (marked in red box above) you will get below screen:
         ABAP program to carry out the Calendar week calculation
    Problem scenario: As stated earlier the requirement is to delete the data from the cube based on the calendar week. Thus a code must be developed such that the number of weeks should be taken as input and corresponding calendar week should be determined. This calendar week should be then passed to the deletion program in order to carry out the data deletion from the InfoCube.
         Transaction code: Use T-code SE38 in order to create a program.
    Logic: Suppose we need to delete the data older than 100 weeks.
    a.     Get the number of weeks and system date in variables and calculate the total number of days :
    lv_week = 100.      *number of weeks      
    lv_dte = sy-datum.     *system date
    v_totaldays = lv_week * 7.      *total days
    b.     Get the corresponding calendar day from the total days. This is obtained by simply subtracting the total no. of days from the system date.
    lv_calday = lv_dte - v_totaldays. *corresponding calday.     
    c.     Now in order to get the calendar week corresponding to the calculated calendar day we must call a function module 'DATE_TO_PERIOD_CONVERT'. This function module takes input as Calendar day and Fiscal year variant and returns the appropriate fiscal period.
    Get the sales week time elements
      call function 'DATE_TO_PERIOD_CONVERT'
        exporting
          i_date                      = lv_calday
          i_periv                     = lc_sales
        importing
          e_buper                     = lv_period
          e_gjahr                     = lv_year
        exceptions
          input_false                 = 1
          t009_notfound               = 2
          t009b_notfound              = 3.
      if sy-subrc = 0.
        ls_time-calweek(4)      = lv_year.
        ls_time-calweek+4(2)    = lv_period.
      endif.
    v_week = ls_boots_time-calweek.
    Note: We can pass the fiscal year variant which can be obtained from the table T009B.For e.g. here fiscal year variant lc_sales = Z2. LS_TIME will be any table with suitable time units.
    d.     Now we have obtained the required calendar week in the v_week variable. This calendar week is the week till which we need to keep the data. And older data than this week will be deleted. This deletion will be done by the deletion program
    Submitting the Data deletion program for ZEPBGC01 and key field
    SUBMIT ZDEL_EPBG WITH C039 LT v_week.
              Here the calendar week value is submitted to the deletion program ZDEL_EPBG with the screen field of calendar week.
    Hope ... this will  help you..
    Thanks,
    Jitendra

  • Moving the 80 Million records from Conversion database to System Test database (Just for one transaction table) taking too long.

    Hello Friends,
    The background is I am working as conversion manager and we move the data from oracle to SQL Server using SSMA and then we will apply the conversion logic and then move the data to system test ,UAT and Production.
    Scenario:
    Moving the 80 Million records from Conversion database to System Test database (Just for one transaction table) taking too long. Both the databases are in the same server.
    Questions are…
    What is best option?
    IF we use the SSIS it’s very slow and taking 17 hours (some time it use to stuck and won’t allow us to do any process).
    I am using my own script (Stored procedure) and it’s taking only 1 hour 40 Min. I would like know is there any better process to speed up and why the SSIS is taking too long.
    When we move the data using SSIS do they commit inside after particular count? (or) is the Microsoft is committing all the records together after writing into Transaction Log
    Thanks
    Karthikeyan Jothi

    http://www.dfarber.com/computer-consulting-blog.aspx?filterby=Copy%20hundreds%20of%20millions%20records%20in%20ms%20sql
    Processing
    hundreds of millions records can be done in less than an hour.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Delete Multiple Records from Item Master

    Hi,
    We received wrong master data which has been uploaded and two groups have to be deleted. All the items in those particular groups have also to be deleted. Can anyone suggest how to delete multiple records from Item Master?
    Currently I am navigating through each Item and doing a Right Click + Remove. It is very painful given the huge number of records.
    Regards
    Sudatt

    Hi Sudatt.....
    I recommend you not to run any kind of delete or update SQL query as it harms DB.
    You can create your own front end application with the help of any technical consultant which can be
    achieved very easily. Else such problems create a big problem during upgradation to next version.......
    Regards,
    Rahul

  • ODS activation error"Activation of data records from ODS object terminated"

    Hi All,
    While activating ODS request I am getting following error
    "Activation of data records from ODS object KFI02O50 terminated ".
    data load is suceesful for ODS but during activation of the request it is giving error.
    I tried to change the status to green manually & then activated the request but still same problem.
    Also I tried to delete request & loaded again from PSA & then activated the request but still same problem
    If anybody has some solution please let me know.
    Thanks in advance
    Regards
    Sonal

    Hi Sonal,
              Sometimes when there is erroeneous records that time while activating the Request request get fails.To check this go to manage tab of the ODS there under log u can see the log icon click on that and check y activation got failed..
    Assign points if its helpful
    Regards,
    vid.

  • How to check data records in R/3 (source system)

    Hello,
    I need to check the data records in R/3 (source system). Is Transaction RSA3 the only option or is there another way. When I use RSA3, all I see is the sandbox and cursor. Nothing seems to happen.
    Pls help.
    SD

    Hi Sebastian,
    To some extent this works out i.e Comparision of Tables in R/3 Vs ODS at BIW.
    Tables in R/3 like VBAK(Order),VBRK(Billing),MKPF(inventory Management) and LIKP(Delivery)
    compare them with the respective Datasource/PSA/ODS
    2LIS_11_VAITM
    2LIS_12_VCITM
    2LIS_13_VDHDR      
    2LIS_03_BF
    in the BIW.
    The Total numbers of Document Numbers ,Quantity or Value should match !!!!!!!!
    Hope it helps !!
    Rgds
    SVU123
    Edited by: svu123 on Mar 3, 2009 1:16 PM

  • Need to transfer data records from one version of sap to another version of

    hello,
            i have a requirement where i need to transfer the tables  with the records in it from sap r/3 4.7 version to sap ecc 6.0 version,now the present issue is how to tranfer the data records from old version to new version......kindly help me in this requirement

    Hi,
        Write a program in SAP 4.7 to download all records to a flat file. Then write a program in ECC6 to upload all records from the flat file...........
    Thanks,
    Aditya.

Maybe you are looking for

  • Droid Razr problems

    Has anyone else had problems with the Droid Razr flickering (flashes on and off in about a second) and it does it all day long for no apparent reason? I have turned it off for awhile to see if it stops, I have removed my gmail accounts (saw in a disc

  • Acrobat pro Download on new PC (I have an active subscription)

    I have an active 12 month subscription to Acrobat pro. I have a new laptop on Windows8.1 and need to download Acrobat Pro again. All I can find is the trial version to download. Where do I find a link to download it so I can use it with my subscripti

  • Create bootable flash drive for Windows 8 in Boot Camp

    I am running a Windows 8-based marine navigation program ("Coastal Explorer") in Boot Camp, on MacBook Air.  I would like to create a bootable flash drive for emergencies. Should it have Maverick or Windows 8 OS?  - or do I partition the key drive fo

  • Link Buttons Disappearing

    I am working on a help project extracted from a .chm file. I am unfamiliar with the creation of the original help file but when viewing the compiled .chm file a series of topics following a particular browse sequence (for a Quick Tour) include button

  • Tell me the perameter to set maximum gui auto logout time for limited users

    hi gurus... i want to know the perameter to set the maximum gui auto logout time for limited users... at present i have auto logout time as 30 minutes..but i need to set the value as 10 minutes for some group of user... if any one know any perameter