Regd Dropping ODS Data

Hi All,
In an unusual requirement to create a specific requirement, we are updating data from a Info Cube to an ODS. In long run this ODS needs to give data to non SAP systems.
We wish to keep only last 8 weeks of data on the ODS . The planned data loading cycle is weekly once. What is the best option to drop off the data which is more than 8 weeks old on the ODS.
Share your exp'
SreeRam

Hi Bhanu,
In my system it is "RSDRD_DELETE_FACTS" , the program which you mentioned does not exist.
What do you think which is better option in terms of performance - start routione or this program?
Also we can generate deltion program/report using above program which we can use in process chain..
Thanks

Similar Messages

  • How to update DSO data in Data targets (ODS data into Data Targets)

    Hi,
    In 3.5 version we have a option <b>Update ODS data in Data Targets</b>
    to Transfer Data From ODS to Info cube.
    In 7.0 How to transfer DataStore Object data to Info Cube, I can't find
    Update DSO data in Data Target option.
    can any body Help me to solve this problem.
    Thanks
    prasanna

    Hi prassna,
    0RECORDMODE are auto generated infoobjects which are requried to be mapped if you are going for a delta update  from your DSO otherwise you can proceed further without mapping the 0RECORDMODE and neglect the system generated warning
    check this for the <b>Creation of data targets</b>
    •     In left panel select info provider
    •     Select created info area and right click to create ODS( Data store object ) or Cube.
    •     Specify name fro the ODS or cube and click create
    •     From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    •     Click Activate.
    •     Right click on ODS or Cube and select create transformation.
    •     In source of transformation , select object type( data  source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    •     Activate created transformation
    •     Create Data transfer process (DTP) by right clicking the master data attributes
    •     In extraction tab specify extraction mode ( full)
    •     In update tab specify error handling ( request green)
    •     Activate DTP and in execute tab click execute button to load data in data targets.
    cheers
    Sunil

  • Special character '#' ODS data upload

    Hi experts!!
    I have to load R/3 data from PSA to ODS. I have found problems during data load with 0postxt field (description field) because in several FI documents there is '#' inside the text field, for example: "COMPANY X FOR # SALES".
    The PSA is upload fine but when the system tries to activate ODS data, it gives me an error in this register.
    I have checked RSKC transaction and it is defined '#' character as a permited character:
    ÇÉÀÇÊÈÏÌÅÉÒÙÁÍÓÚÑÑÈÍÌÓÒÚÙÉÈÍÌÓÒÚÙ·.'#
    What else can I check?
    Thanks a lot for your help.
    Kind regards,
    GP

    Hi,
    It may not be because of that.
    SID error comes during activation of ODS because the related MD is not available for assigning SIDs.
    Whenever Master Data is loaded SID's are generated for those Master Data records.
    Now when you load Transaction Data these SID's will be used (for the records which use above master data values). This results in performance gain.
    If Transaction Data is loaded first than the system checks for SID's. If they are not available system generate SID's. This results in a loss of performance.
    Now in the case if you don't have the setting selected (Further Processing Without Master Data/Always update data, even if no master data exists for the data) system will throw error No Sid’s found and load will terminate.
    So as a first step ensure that the related master data is loaded and Attribute change run has been triggered.
    OR
    Load the MD and Activate the MD (Modeling > InfoObject > Search the Infoobject > Right click > Activate Master Data)
    Once you perform this you can retrigger the activation. It should work fine.
    Else as a workaround you can blank out these particular values and activate.
    There is also one more workaround wherein you can create the Master data entries directly in BW itself. But both the above step should be done after consulting Business and considering data volume that needs to be edited/created.
    In most case once you perform the loading and activation of MD your activation should work fine when repeated.
    OR
    In the infopackage goto Update Tab and make the setting Update the records even if no master data exist and reload
    This may work.
    Try Searching in SDN for this Topic and you will find much detailed info as this is discussed very frequently.
    Thanks,
    JituK

  • Error in Activation of ODS Data

    Dear All,
    I am getting this error msg while activating ODS Data, It says its not able to execute one of this statements while activation
    Program Name: GPBUJ6PU7X5TA8TLJSDOPVSU2Z7
    The program terminates at this line
    Types corresponding to Change-Log-structure
      l_s_chgdata TYPE  /BIC/B0000103000,
    The DDIC does not have an table name by /BIC/B0000103000 which the program is trying to refer, Kindly do provide me your help and input on this.
    Thanks.
    Fayak.

    Hi Siggi,
    Thnx for your reply, I did as suggested by you, activated the ODS and update rules again but it was not able to activate the data again I ran the RSRV as suggested by you i got an list of errors
    Test for Activation Program
    Active generated load program not available
    Activation Program is not Current
    Lines in temporary program: l_s_chgdata TYPE /BIC/B0000103000
    Activation program has to be generated again
    I ran the correct error but not to any avail, could you kindly guide me on this, I was previously loading data to this ODS successfully from a 300 client now I am trying to do this from an 400 client and I am facing this error.
    Thanks,
    Fayak.

  • Error during activation of ODS data

    Hi all,
    I am getting error during activation of ODS data.
    Error: Error occur during activation.
    How to check , where that error exactly occurs.
    Appreciating any response.

    Hi Santosh,
    SM37 is mainly for monitoring the back ground jobs...... both in R/3 side and BW side this is same.. just for monitoring the background jobs... fisrt by using SM36 basis people will schedule in background.. and we just identify.. which are completed and which are not completed... in SM37.
    there are various status they are
    PLANNED
    RELEASED
    CANCELLED
    ACTIVE
    FINISHED
    READY
    Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a8016505211d189550000e829fbbd/frameset.htm
    In Sm37 u can see the different options for background jobs, like Scheduled, released, ready,active, finished, canceled.. If u want to know the Status of the current running job, U just type the job name, user name then click execute(F8).
    hope this helps
    regards
    Karthik
    Assign points if helpful

  • Error in deletion of ODS data

    Hello Gurus,
    We have three ODS's in our project to which we will do daily loads.
    Before full upload we will delete all the present from the ODS's. The deletion process we will do automatically using process chains.
    It was working fine. but from the past week we are getting an error while deleting ODS data. ITAB_DUPLICATE_KEY - Error, Please explain me why we are getting such error and how to rectify it.
    We tried to delete the requests manually one by one from ODS.
    The data is deleting from the Active table but still it is showing that request in the <i>Manage</i> screen of ODS.
    How to rectify this error. kindly give me some inputs.
    Regards,
    Ala.

    Hi,
    In the BW server you can try one of the report program to delete the entire requests in infocube or ods.
    Report program is RSDELPART1
    Just run this report program in se38.
    In the selection screen of the program,give the name of the data target from where you need to delete all the existing requests.
    This technique was once used.
    Please let me know whether it works.

  • Error Activating the ODS data

    Hi Guys,
    I am facing an error while activating the data in the ODS.
    The data is loading perfectly fine but when activating the ODS data the following error is coming
    <b>Request REQU_3ZI9CZ369HR6SM49OL9ULRVKM, data package 000031 incorrect with status 5 in rsodsacstreq
    System error occurred (RFC call)
    No confirmation for request ODSR_3ZI9DUVOMM02L1I777X5YX9QU when activating the ODS object PA_ODS1
    There is no PSA for InfoSource 8PA_OA001 and source system BWPCLNT641 ( The data laod is without PSA )</b>
    This is happening after we had a BWQ refresh .
    I thought this has something to do with the BASIS guys but they say they checked everything.
    Need Help

    Hi Sidhu,
    There were red requests in the ODS but I deleted them and tried activating the green requests , even when there are only 4 records it is not activating the data.
    I checked the RESREQDONE table but I dont see these requests in there.
    I checked the SM58 there I saw a lot of errors
    <u><b>ALEREMOTE    RSAR_TRFC_DATA_RECEIVED       BWQCLNT641    10/17/2005 18:50:48 ERROR REQU_3ZHNIS265F9F6HJQ8PY838046 PG# 21 In BW</b></u>  
    one line in that is this . can u throw some thought on this. when I try to execute this LUW it says that function module RSAR_TRFC_DATA_RECEIVED doesnot exist or exception raised message. I got these yesterday but today I got only one and when I executed that LUW it gave me the same message but that error message is not showing now
    Regards
    Majeed

  • Error while extracting ODS data using Infospoke

    Hello Gurus,
    I am not able to extract any ODS data using Infospoke. Let me describe the step by step process:
    I have created one infospoke for ODS data and i am selecting a 'File' option in the destination tab of infospoke. We are trying to land this file over to BW Server (on the default directory DIR_HOME). When I start executing the Infospoke in a dialog mode, I am getting the following error in the monitor screen:
    - Editing or Reading of data packet cancelled
    - System Error: RSDRC/FORM AUTHORITY_CHECK
    - Extraction Cube: Error in DataManager API
    - Cancelled.
    I can see two files created on BW Server in the Transaction screen AL 11. But the data file is empty.
    Does anyone know, why is doing this?
    Is there any authorization restriction, for extracting this transaction data? (I checked my profile and I have all the authorization granted)
    Is there any directory size related restriction, which prevents to extract and land this data over to default DIR?
    I am able to extract the Master Data files but not ODS data. Why is that?
    any idea or step by step procedure will be highly appreciated.
    Points will be assign to helpful answer(s).
    thanks in advance.
    Maulesh

    check this link
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/ee14e25d-0501-0010-11ad-8eb2861a7ec0 [original link is broken]
    for the
    How to Extract Data with OPEN HUB to a Logical Filename

  • How to do reconcilization of ODS data and CUBE data

    Hi All,
    How to do reconciliation of ODS data and CUBE data,I know how to do reconciliation of R/3  data and BW data.
    Regards.
    hari

    Hi,
    create a multicube based on your ODS and cube, identify commen characteristics and perform the key figure selections; create then a query showing both information from the cube and ODS with perhaps some formula showing differences between key figures.
    hope this helps...
    Olivier.

  • ODS data activation problem

    Hi,
    I have to load description from the flat file into the ODS since the ODS data needs to be a replica of the flat file.
    As the description is greater than 60 CHAR, I have split the description into 3 infoobjects in the transfer rule, using the individual line routine.
    After data is loaded into the ODS, the technical status as well as the total status is green, but when I activate the request for that corresponding load, the activation fails i.e. the data is present in the 'New Data' table, but it is not moving into the 'Active Data' table.
    Then, I tried a different method.
    I activated the setting in the ODS; 'Activate ODS object data automatically' and tried to load the same data with the same conditions to the ODS.
    This time the loading failed, giving multiple errors like;
    1) Value 'Absence Transactrion Dataload Failure ' (hex. '416273656E6365205472616E7361637472696F6E204461.
    2) Value 'ifying days ' (hex. '696679696E672064617973 ') of characteristic Z_LDES2 contains invalid cha.
    3) Activation of data records from ODS object DES3_ODS terminated.
    4) System error: RSDU_ANALYZE_TABLE_ORA/ ORACLE.
    5) Error getting SID for ODS object DES3_ODS.
    6) Error when assigning SID (details in long text).
    7) Error when assigning SID (details in long text).
    Please provide a solution for this.
    <b>*********Points will be rewarded*********</b>

    Hi Praveen,
    Thanks for the soltion.
    I checked in RSRV. There were no errors.
    So, I tried loading the data again. This time, I got the same error.
    But when I checked the contents of the Active table of ODS, the data was loaded, although in RSMO the status was RED.
    The laoding was successfull as of now, but lets hope this problem doesnt occur again.
    Please help, if you have any idea regarding this problem.

  • Load ODS data to Application server file

    Hi,
        I need to upload ODS data to application server.
        I can not use Open Hub service.  I need to do the upload process in background as there is around 5 million data in ODS. Can anybody please guide
    deep

    Hi,
    You can use Analytic Process Designer for your requirement.
    Use 'RSANWB'.
    It will allow you to select the source as DSO and also you can choose target as some logical path where you can define Application server path as Physical path. Use "FILE'
    Also you can schedule the process in background.
    Further you can refere to :
    http://help.sap.com/saphelp_nw04/helpdata/en/49/7e960481916448b20134d471d36a6b/frameset.htm
    Regards,
    anil

  • RSA3 check generated datasource error, ODS data can't be updated into cube

    Hi Experts,
    I create an ODS( T_ODA01 ), and loaded data from flat file into this ODS. Of course, I activated the ODS after the loading process.
    Now Created an Infocube( T_CUBE01 ) similiar with the ODS.
    Next I want to update the data from ODS T_ODS01 into T_CUBE01.
    Following are my steps:
    1, Create Update rule from the InfoCube T_CUBE01, input the ODS T_ODS01 as the datasource.
    2, Activate the update rule
    3, Selected the 'Update ODS data in data target' in the context menu of ODS T_ODS01
    I checked the status of this process in the monitor. But it failed informed me that 'No IDoc generated in BW', and sent 0 records.
    Then I wanted to check the Generated DataSource 8T_ODS01 in RSA3. But when executed the check process, it noted me that Runtime Error.
    Syntax error in program "SAPLXRSA ".
    What happened?
    &#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;&#65293;
    The following syntax error occurred in the program SAPLXRSA : "The type "RSR_T_RANGESID" is unknown." Error in ABAP application program.
    The current ABAP program "SAPLRSAP" had to be terminated because one of the statements could not be executed.
    This is probably due to an error in the ABAP program.
    Error analysis
    The following syntax error was found in the program SAPLXRSA : "The type "RSR_T_RANGESID" is unknown."
    Information on where termination occurred
    The termination occurred in the ABAP program "SAPLRSAP" in  "CALL_DATA_CUSTOMER_FUNCTION". The main program was "RSFHGEN2 ".
    The termination occurred in line 117 of the source code of the (Include)  program "LRSAPF06" of the source code of program "LRSAPF06" (when calling the editor 1170).
    Source code extract
    001140   * Call Customer-Exit
    001150     message s299 with 'BEGIN EXIT' sy-uzeit.
    001160     clear sy-subrc.
    >     call customer-function '001'
    001180          exporting
    001190               i_datasource             = l_datasource
    001200               i_isource                = l_12b_source
    001210               i_updmode                = p_updmode
    001220          tables
    001230               i_t_select               = p_t_select
    001240               i_t_fields               = p_t_fields
    001250               c_t_data                 = p_t_data
    001260               c_t_messages             = l_t_messages
    001270          exceptions
    001280               rsap_customer_exit_error = 1
    001290               others                   = 2.
    001300     message s299 with 'END EXIT' sy-uzeit.
    Would you pls guide me how to crorrect this error?
    Many thanks for your help.

    Hi Kenneth,
    this user exit is called everytime you request transactional data, as you said, system wide.
    Then in the exit you have usually a CASE WHEN I_SOURCE = .... where you code your enhancement for a particular datasource.
    Needless to say that if you enable the exit, even for testing, you shall write something in; at least
    CASE I_SOURCE.
       WHEN 'your_data_source'.
    ENDCASE.
    hope that sheds light
    Olivier

  • Function Module to Delete ODS Data based on Request

    Hi All,
    Is there any specific function module to delete ODS data based on Request.
    I found the program RS_DEL_ODS_1 which is using the FM RSAR_ODS_API_DEL.
    But this FM is deleting the request at PSA level.
    Is there any alternate FM?Or is there any ABAP Program or so?

    Hi,
    Deletion of specific request is not perimitted for ODS objects. You can delete the most recent request, but if you delete any previous requests, all the requests up to that request will also be deleted.
    You can do it by write an ABAP program to identify the specific requests to be deleted for ODS.
    Regards
    CSM Reddy

  • ABAP Dump ITAB_DUPLICATE_KEY deleting ODS data

    Hi,
    We've got an abap dump while trying to delete the ODS data content. The abap dumps registers a ITAB_DUPLICATE_KEY in the program SAPLRSAODS function module RSAR_ODS_GET. We're using BW3.5 patch 4.
    Tried looking at the OSS notes but could not find any relevant oss notes that is on BW3.5. Has anyone manage to solve/experience this issue ?

    look at these previous threads
    What does this runtime error mean?
    "Runtime Error ITAB_DUPLICATE_KEY"
    ITAB_DUPLICATE_KEY dump in the PSA tree or search
    Hope it helps.
    Regards

  • Missing Data Target in Infopackage for Update ODS Data in Data Target Cube

    Hello & Best Wishes for the New Year to all of you,
    I have 3 ODS (1 on Full Update and 2 with Delta Updates). All these 3 ODS update data to a single CUBE. In my development system this works correctly. Data load from PSA to ODS to Cube.
    Now I transported this to my QA and Production System. In QA and Production System, I am able to load data upto all the 3 ODS and ACTIVATE Data in all these 3 ODS.
    When I am trying for "Update ODS Data in Data Target" to load data from ODS to Cube in QA /PD, the system created Infopackage (ODS to CUBE), doesnot get the Data Target details. (Initial Upload / Full Upload). The Data Target Tab is Blank (expected Cube details).
    I have tried to transport again after deleting the update rules.
    Can you suggest what could be the problem ?
    regards - Rajesh Sarin

    Thanks Dinesh,
    I have the ODS to CUBE Update Rules ACTIVE in the QA and PD system. Still the problem exists only in QA and PD. In DV the ODS to CUBE Data Target is available in the Infopackage and loading the data correctly to Cube.
    Listing all the trials I have done :
    1) Originally transported with all the Collected Objects. Inspite of having Active Update Rules, Data Target Cube was missing in QA and PD.
    2) After this problem, I again transported only the Update Rules through the Transport Connection, still the problem didnot get solved in QA and PD.
    3) Again, I sent a transport to delete the Update Rules which deleted the ODS to CUBE update rules in (DV), QA, PD. After that I sent another request to CREATE the ODS To CUBE UPDATE Rules in (DV), QA and PD. Still the Data Target is missing, inspite of having Active Update Rules in QA and PD.
    In DV the ODS to CUBE Data Target is available and loading the data correctly to Cube, even now.
    4) I have also tried "Generate Export Data Source" for the 3 ODS in QA and PD. Still it doesnot help.
    Can you please suggest ?
    regards - Rajesh Sarin

Maybe you are looking for