Delete data from DSO only with a part of the key

Hi experts,
I have a DSO with 9 key fields and i want to delete some entrys. Our source system only provides 2 fields of the key. My problem is, that the BI is not able to delete from DSO unless I have the full key.
Now I want to get the rest of the key fields from the active table of the DSO. Can sombody help me please with the ABAP Code? Or is there another possibility?
I already found this thred in SDN but this is for BW 3.5:
Delete data from ODS with only part of the key
Thanks
Ralf

Ralf,
the thread pointed out by you is for passing deletion entries to the DSO / target using the deletion entries .. namely recordmode = D.
Are you looking at deleting data from the DSO as a one time activity or you want to handle the same using a start / end routine ...? and pass deletion entries to other data targets which get the data from this DSO ?
Arun

Similar Messages

  • Deleting data from DSO(0FIGL_O10) & IC(0FI_GL_C10)

    Hi All,
              I would like to know whether Deleting Complete data from InfoCube(0FI_GL_C10)/DSO(0FIGL_O10) & then doing Fresh init-Update from the Source-Systems(We have two) would create any problems.
    If there isn't going to be any problem apart from the time, Please explain the Procedure?
    Please Reply.
    Regards,
    Srikar

    Hi all,
            Thanks for the replies.
            The reason I wanted to delete the entire data was because by accident someone had deleted the Initial source-system
    assignments for one SS(We have two SS; the other one is working properly). So i have decided not to delete the entire data from the Data-Targets(0FIGL_O10 & 0FIGL_C10) as the data from other SS is working properly.
           Data has been loaded only once(Init-Update) from the SS in which i am having the problem. However it was Loaded a long way back & has been data-marted to the InfoCube. Moreover, Init-Load is still present in the PSA.
          1.  I want to know whether reloading the PSA(Init-load) data to ODS is going to reassign the Initial SS assignment.
               A) If yes, Do i need to first delete the Init-Data Request from the DSO(which has been data-marted) & from the InfoCube
                      as  well. and do i need to change the Requests from Green to Red(In both IC & DSO).
               B) If No, then what am i supposed to do?
    Regards,
    Srikar

  • Deleting data from another table with multiple conditions

    Hi frnds
    I need to delete some data from a table based on multiple condition I tried following sql but its deleteing some rows which is not meeting the criteria which is really dangerours. When i trying = operator it returns ORa- 01427 single -row subquery returns more than one row
    delete from GL_TXNS
    where TRN_DT in (Select trn_Dt from GL_MAT)
    and BR in (select ac_branch from GL_MAT)
    and CODE in (select CODE T from GL_MAT)
    and (lcy_amt in (select lcy_amt from GL_MAT) or
    fcy_amt in(select fcy_amt from GL_MAT)
    rgds
    ramya

    My answer is the same as Avinash's but I will explain a little bit more.
    ORa- 01427 single -row subquery returns more than one rowmeans that you have a subquery that Oracle is expecting one value from that is returning multiple values. In your case you need one value for the equijoin ("=") and you are getting more than one value back. The error happens even if all the values are the same - multiple values being returned will cause the error.
    The solution is to either allow multiple values to be returned (say, use the IN condition istead of "=") or only return one value if possible (say, forcing one value by using DISTINCT, GROUP BY, or a WHERE clause condition of ROWNUM=1) - but these workarounds must be checked carefully to make sure they work correctkly

  • "Transfer structure  does not exist" while deleting data from a DSO

    Hello experts,
    while deleting data from a DSO I get the following messages:
    @5B\QInformation@     Database table /BIC/AAKIVO1400 was deleted and recreated
    @5C\QError@     Transfer structure  does not exist
    When I try it twice process works without any problems. I get then the following msgs:
    @5B\QInformation@     InfoCube / DataStore object "AKIVO14" contains no data (yet)
    @5B\QInformation@     Database table /BIC/AAKIVO1400 was deleted and recreated
    So I think the first deletion works but ended with errors. What could be the reason?

    Please check if data from new and chage log table is also deleted.
    For the error message : Do you have 3.5 flow ? Check your transfer structure , if it is active and then again try to right click and delete data from DSO.
    - Monika

  • Errror while loading data from dso to info cube....

    Hi All,
    When i am running dtp from dso to cube i get a error i.e :
    1.  Data package processing terminated
         Message no. RSBK229
    2.  'Processed with Errors'
         Message no. RSBK257
    3. Error while updating to target 0FIGL_C10 (type INFOCUBE)
        Message no. RSBK241.
         So these are the errors i am getting , i am new to BI so how could i solve this errors....
         All the transformation are active with no errors.
    Thanks in Advance
    Regards,
    Mrigesh.
    Edited by: montz2006 on Dec 7, 2009 8:45 AM

    Hi All,
    Now i deleted data from dso and data source and again run the dtp,
    this time i got data from data-source to dso but , when i am running dtp between dso and cube , i am not finding an error.
    Now when i go to cube and see the data the request has came but data has not transferred .....
    The Request Status is green in cube but data is not cuming....
    Regards,
    Mrigesh.

  • Error  While  Deleting Data  From ODS

    Hi all,
    We are getting short dump while deleting data from a perticular ODS.
    Part of short dump is--
    trigger Location of Runtime Error
       Program                                 SAPLRSAC
       Include                                 LRSACU75
       Row                                     535
       Module type                             (FUNCTION)
       Module Name                             RSAR_TRANSTRUCTURE_ACTIVATE
    help is desperately required
    Regards
    Srini--

    try to activate InfoSource and later delete data.
    Check if all ODS related objects are consistent and active.
    also pls attached the whole dump for more clarity if this does not work.

  • Issue while loading of data from DSO to InfoCube

    Hi Experts,
    Can you tell me what might root casue if data is coming into DSO from R3 its correct and fine as required but while loading it to InfoCube from DSO its showing wrong data like some of Line Items that were closed were shown open in Cube AND also KF values were not right
    Also there is no Routine code involved b/w DSO and InfoCube.
    Thanks in adv .
    NP

    Hope you didnt delete some req from DSO without deleting change log . This might cause inconsistency.
    If so , delete data from dso by right click delete data  and reload .

  • Issue in Data from DSO to DSO Target with different Key

    Hello All,
    I am having Issue in Data from DSO to DSO Target with different Key
    Source DSO has Employee + Wage + Post numner as key and Target has Employee + Wage Type as key.
    DSO semantic grouping works like Group By clause in sql, is my understanding right ?
    Also if someone can explain this with a small example, it would be great.
    Many Thanks
    Krishna

    Dear, as explained earlier your issue has nothing to do with semantic grouping .
    Semantic grouping is only usefull when you have written a routine in the transformation for calculations and in error handling .
    Please go through this blog which explains very clearly the use of semantic grouping .
    http://scn.sap.com/community/data-warehousing/netweaver-bw/blog/2013/06/16/semantic-groups-in-dtp
    Now coming to your above question
    DSO 1
    Employee WageTyp Amount
    100          aa          200
    200          aa          200
    100          bb          400
    100          cc          300
    If we have semantic group as Employee .   If we have Employee as key of the target DSO and update type as summation .
    then target DSO will have
    Emp                Amount
    100                 700
    200                 200
    In this case Wage type will be the last record arriving from the data package . If the record 100  cc  300 is arrivng last then wage type will be cc .
    2) Case 2
    DSO 1
    Employee WageTyp Amount
    100          aa          200
    200          aa          200
    100          bb          400
    100          aa          300
    if we do Semantic grouping with Emp and Wage Type   If we have Employee and wage type as key of the target DSO and update type as summation .
    then target DSO will have
    Emp     Wage      Amount
    100          aa          500
    200          aa          200
    100          bb          400
    Hope this helps .

  • Error while deleting data from a write optimized DSO using a Process Chain?

    Dear Bwers,
    I am facing a strange error while using process chains to delete data from data target which is a write optimized DSO. The process shows as failed but the data gets deleted in the DSO. The error message is as below. Did anybody have a similar problem? Any suggestions.
    Thanks
    Raj
    Error while deleting content of InfoCube/DataStore object ZLSD_G03
    Message no. RSDODSO153

    Please, check if you get any short dump in ST22 related to this issue.

  • Problem in deletion of data from DSO

    Hi All,
    We are facing a problem in deleting data from Data Store Object.I am trying to delete data by using right click option on DSO -->Delete Data.It is saying "The system has not finished loading request no : XYZ".
    I have tried to trace that request and found that request is running in background and the related process chain was deleted.Also no jobs of that request are available.
    Now i want to delete one field from that particular DSO and it is not allowing because we are unable to delete data.Actually no data is present in Active table but we have data in Change Log table which we are unable to delete.
    Thanks in Advance.
    Regards,
    Jaya.

    Hi,
    Any way u r deleted that processchain if it is there u can kill that job through process chain by killing that job,if it is not possible
    u should ask ur BASIS people in SM50 or SMICM tcode we can kill our job but ask the basis people.
    once u deleted that then delete the data in hange log then (other once the data is there through that DTP it will not allow u to delete so u delete the data) then go for deleting that DTP also.
    Thanks & regards
    sathsih

  • Delete data from infocube which is older than 7 days.

    Hi Gurus,
    I have a Cube with the time dimension characteristic as 0CALDAY. This cube gets data from a DSO ,which has 0calday as one of its key fields, in Delta mode. I am in a need to delete the data with calday in the previous week. i.e SY-DATUM - 0CALDAY >= 7 in the infocube.
    I just tried to create a transformation such that both the data target and the source is the above mentioned DSO and used the technical rule group to set the record mode as "D" for the older records and it works fine with the DSO.
    But the Cube still has the data. Just the keyfigure becomes zero. But i want to completely delete the data. I do not want to use "DELETE-FACTS" or the FM "rsdrd_sel_deletion."
    Please help me get out of this problem.
    Thanks in advance,
    Rajesh.

    Hello Rajesh
    Not sure if I understood the problem correctly, but what I understood is you need to keep only last 7 days data in the cube and anything else got loaded earlier should need to be deleted.
    If this is correct then can you delete the whole cube content and load only last 7 days data from DSO to cube via DTP filter ( or some start routine).
    In this case first time delta ( or full) will never read from change log table but it will read from active table of DSO only
    Regards
    Anindya

  • Issue when uploading Sales data from DSO to Cube.

    Dear All,
    I have an issue when I am uploading Sales data from DSO to Cube.  I am using BI 7.0 and I have uploaded all sales document level data to my DSO.  Then I use a transformation rule to calculate the Sales Value when I am doing DTP to cube.  Cube has customer wise aggregation data.
    In DSO I have NetPrice(KF) and Delivered_QTY(KF).  I do a simple multiplication routine in the transformation from DSO to Cube.
    RESULT =   SOURCE_FIELDS-NET_PRICE * SOURCE_FIELDS-DLV_QTY .
    At the moment I use Active Table(With out Archive) on the DSO to get the data since this is my first load.
    Issue is that the figure (Sales Value) in the cube is incorrect. I am getting a very large values which is impossible.
    Can someone please help me.
    Shanka

    Hi,
    are you sure that cube has customer wise aggregated data..since it will always aggregate the values of the key figures for the same set of characters...
    did you checked the values for the key figures as well and if even they are inflated or is the problem with this key figure only.
    During the data load the records may aggregates first for the same values of characters and then multiplication will be happening....if that is the case then you may have to multiply the values before storing it in the data package and then let it aggregate....can be achived through start routine...
    but first verify if other key figures are also having the same issue.
    Thanks
    Ajeet

  • Unable to load data from DSO to Cube

    Good morning all,
    I was trying to load data from DSO to Cube for validation. Before loading the new data, I deleted all from DSO and Cube. They contain no request at all. Cube has "Delta Update". First DSO was loaded 138,300 records successfully. Then Activated the DSO. The last when I clicked Exectue (DSO --> Cube), it loaded 0 record. I was able to load the data yesterday. What might be the reasons for this situation?
    Thank you so much!

    Hi BI User,
    For loading delta upload into the data target, there should be an initialization request in the data target with same selection criteria.
    So..first do the initialization and perform delta upload into the cube.
    Regards,
    Subhashini.

  • Regarding  Loading the data from DSO to cube.

    Hello Experts,
    I have DSO which loads data from psa  using 7.0 tranformation (using DTP).  And i have a cube which loads the data from that DSO using 3.x transfer rules. Now i have deleted the init request for a infopack before load the data into DSO. But when i load the data from DSO to cube by  right click on DSO -> click On Additional Functions -> update the 3.x data to targets, It is giving me an error like 'Delete init. request REQU_4H7UY4ZXAO72WR4GTUIW0XUKP before running init. again with same selection
    Please help me with this.
    i want to load the data in the init request to cube..
    Thanks

    Hi Shanthi,
    Thanks For reply. I have already deleted the init request from source system to DSO and then i have tried still i am getting the error.
    Thanks

  • Unable to Delete Data from PSA

    Hi Experts,
    I have a process chain which delete data from PSA on weekly basis . it running good . Since one month one of data target PSA data not deleting.
    it gives me error like DDL time(___1): .........2 milliseconds
    Delete request REQU_03RM2LOJ284N3GLM7Q574WLAO from PSA 8Z0MM_O39_OA: Error - subrc: 2
    When i am tring to delete manually it gives me above error only.
    I used programme (RSAR_PSA_CLEANUP_DIRECTORY)
    for deleteting PSA Data this programme gives me errors request already deleted from data base. But still those request available when i am looking into PSA data.
    it's happen only quality system not in the Production.
    Kind Regards,
    ve.

    Hi Srinath,
    when i am looking into system there is no programeme with name(SAP_PSA_ZEROCORREC) But another programme RSAR_PSA_CLEANUP_DIRECTORY is available i tried with these programme for deleting PSA it gives me error like request deleted from database.
    But it gives me an error indicator only.
    i  am tried to delete manually by selectiong those request from PSA it gives me error DDL Time (______1) 2 milliseconds.
    Kind Regards,
    ve.

Maybe you are looking for

  • WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work

    oracle.forms.webutil.file Transfer.File Transfer bean not found. WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work. while loading image from client machine through foms 10g in a three tier environement ,i am getting this error.can anyone help me wit

  • I phone 4s

    the problem is i created new acccount and filed all details when i enter my card no sucrity no after then there is one option of i thunes gift card and down side there is showing code so i m asking avout this code what i have to file in if i do not f

  • Calling a Axis2 Secure Web Service with JDeveloper 11g

    We are attempting call a Blackboard (Axis2) web service using Oracle JDeveloper 11g. We are currently unable to generate the security header required, could anyone please point me in the right direction? I have following the following steps highlight

  • When I google a topic, I am directed to a third party search page. How do I eliminate that from happenning

    I am not sure this is Firefox, but I will start here. When I Google something, I am directed to what appears to be a third part website. Nothing like the site I am seeking. Example Dean Foods request takes me to the Google site with what looks normal

  • Spell checker in Spanish and Portuguese

    How do I change spell checker and dictionary to Spanish or Portuguese?