Deleting items from R/3 are not reflected into BW

Hi all,
We are facing an issue in the extraction of sales data. (2lis_11_vascl)
If the items in a sales document are deleted in R/3 through the transaction VA02 then these changes are reflected into BW system.
But if the items in a sales document are deleted through a background job in R/3 system then these changes are not triggering any delta records and are not transferred to BW system.
How to enable the R/3 system to capture the change even when the records are deleted using a background job?

The delta is not that simple....
The delta is based on certain fields being changed. These fields are controlled by change pointers set into the tables..
It is a long process but then the summary is :
1. You have change pointers set for each table to capture changes... these change pointers write back to your dellta queue whenever these fields change. If you change a field which does not have a change pointer attached to it then the delta is not recognized..
2. Also it depends on how you do the deletion in the background job - if you are just deleting from VBAP then this is not right - there will be a standard SAP function module for deletion which has to be used - the reason being that when you delete sales orders then the stock , allocations etc for the same have to be adjusted...
3. You will have to find out the change pointers in place currently for the sales extractor ( I think it is ROOSOURCE ) and then identify the fields which are linked to this change pointer. You will then have to create either a new change pointer or change the existing one to capture these fields also and then the delta should start flowing...
You can ask an ABAPER or a R/3 functional person about the way these change pointers are configured and setup in R/3

Similar Messages

  • Delete records from tableA which are not in tableB

    Table A contains milions of records which is the best way to delete records from tableA which are not in tableB
    delete from tableA where empno not in (select empno from tableb)
    or
    delete from tableA where empno not exists (select empno from tableb
    where b.empno=a.empno)
    any help

    Hi
    If you can do this, do with this:
    create table tableC
    as select a.*
    from tableA a,
    (select empno from tableA
    minus
    select empno from tableB) b
    where a.empno = b.empno;
    drop table tableA;
    rename table tableC to tableA;
    Ott Karesz
    http://www.trendo-kft.hu

  • Delete Rows from T1 which are Not in T2

    Hi
    I've 2 Tables like below
    T1
    N1
    N2
    2
    11
    2
    22
    3
    33
    8
    44
    8
    88
    T2
    N1
    N2
    2
    22
    8
    88
    If I Run Delete query, I must delete Rows from T1 which are Not in T2
    For example, I must delete Rows 1,3,4 from T1
    So how to write that delete query? Please advice

    Delete from T1
    Where not Exists (select * from T2 Where t1.N1=t2.N1 and t1.N2=t2.N2)
    --or
    Delete t
    From t1 t
    left JOIN t2 m
    ON m.N1=t.N1 and m.N2=t.N2
    WHERE m.N1 is null and m.N2 is null
    --Or
    ;With mycte as
    select N1,N2 from T1
    Except
    select N1,N2 from T2
    Delete t
    From t1 t
    INNER JOIN mycte m
    ON m.N1=t.N1 and m.N2=t.N2

  • While deleting project from CJ20N entries are not deleted from table PRPS

    Hi,
    I am deleting project from CJ20N then from PROJ table entries are getting deleted but WBS element entries are not deleted from table PRPS.
    Any deletion Flag should also be checked?
    Thanks in advance!
    Regards,
    Jyoti

    Hello,
    Thanks for reply !
    My problem is I am deleting project and WBS Elements from CJ20N but WBS element entries are not deleted from PRPS table.
    Why they are appearing in PRPS table and how it can be deleted?
    Thanks !

  • Deleted Items on my iPhone are not syncing with my deleted items in Outlook

    Prior to OS 3.0 whenever I deleted an item on my iPhone and then deleted it from the trash it would sync and do the same on my pc. I am using Outlook Exchange.
    My inbox, outbox and sent mail are all syncing. Just not the trash.
    My trash is showing as empty on iPhone and full on Outlook.
    Thanks.

    i figured it out.... before syncing your phone to your macbook or whatever:
    -go into settings
    -select icloud
    -go to calendars
    -change the selector from ON to OFF
    -sync phone to computer
    -ical syncing with phone will now work like it did before iOS5 and iCloud, but in a good way

  • How to delete images from folder which are not in the database

    I am created windows form
    i wont to delete images from the folder where i have stored images but i only want to delete those images which are not in the data base.
    i don't know how it is possible . i have written some code
    private void button1_Click(object sender, EventArgs e)
    string connectionString = "Data Source";
    conn = new SqlConnection(connectionString);
    DataTable dt = new DataTable();
    cmd.Connection = conn;
    cmd.CommandText = "select * from tbl_pro";
    conn.Open();
    SqlDataAdapter da = new SqlDataAdapter(cmd);
    da.Fill(dt);
    int count = Convert.ToInt32( dt.Rows.Count);
    string[] image1 = new string[count];
    for (int i = 0; i < count; i++)
    image1[i] = dt.Rows[i]["Image1"].ToString();
    string[] image2 = new string[count];
    for (int i = 0; i < count; i++)
    image2[i] = dt.Rows[i]["Image2"].ToString();
    var arr = image1.Union(image2).ToArray();
    string[] arrays;
    String dirPath = "G:\\Proj\\";
    arrays = Directory.GetFiles(dirPath, "*", SearchOption.AllDirectories).Select(x => Path.GetFileName(x)).ToArray();
    int b= arrays.Count();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    var del = arrays[j].ToString();
    else
    foreach (var value in del) // ERROR DEL IS NOT IN THE CURRENT CONTEXT
    string filePath = "G:\\Projects\\Images\\"+value;
    File.Delete(filePath);
    here error coming "DEL IS NOT IN THE CURRENT CONTEXT"
    I have to change anything .Will It work alright?
    pls help me
    Sms

    Hi Fresherss,
    Your del is Local Variable, it can't be accessed out of the if statement. you need to declare it as global variable like below. And if you want to collect the string, you could use the List to collect, not a string.  the string will be split to chars
    one by one.
    List<string> del=new List<string>();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    del.Add(arrays[j].ToString());
    else
    foreach (var value in del)
    string filePath = "G:\\Projects\\Images\\" + value;
    File.Delete(filePath);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why can't I delete items from  my iPod (and not from my library)- I tried creating a playlist as manual suggested but this no longer works,  any ideas?

    Previous to latest changes in iTunes I have been able to delete items on my iPod by simply clicking on and deleting when prompted for action by right click.  This has become impossible and even the instructions to creat a playlist by clicking on "add to" no longer work.  I seem to be unable to delete anything unless I delete it from my iTunes library.  Anyone out there know the solution or working on the problem?  Seems to me that if the product wasn't broke Apple should not fix it.....they should stop tinkering with it, please.

    You've posted to the iTunes Match forum, which your question isn't related to. You will have better luck posting to the iPod Nano forum: https://discussions.apple.com/community/ipod/ipod_nano

  • How to delete items from itunes library but not from computer

    I was wondering if there is a way to remove items from my itunes library but still keep them on my computer in case I want to put them back in the library later. For instance, I bought the first season of Desperate Housewives, which takes up about 4.5 GB, and since I have the 30 GB ipod and lots of personally ripped DVDs, I'm running out of room. But it seems a waste to trash the files, since I paid for the show. I know I should back up the files to an external source anyway, and I've done that with my purchased music, but I don't have a DVD burner, and I'm not sure how many CDs it would take to back up the show. And I don't want to manually update the ipod because I think it's much easier to just plug it in and let it do its thing. Any suggestions/help would be appreciated. Thanks.

    Go to that File(s) and right-Click to Remove; then it will ask you if you want to send it to the Recyle bin or Keep Files on your computer; Say Keep Files on your computer and should be fine.

  • Changes are not reflected into SEM-BPS 1 layout.

    Hi,
    1st, I've included code in SAPAfterDataPut that copies data from SEM-BPS 1 into New Sheet.
    Now, I've inserted a method in the sheet module of New Sheet. This method takes care of reflecting changes from New Sheet into SEM-BPS 1 layout. but, finally am not getting changes back to SEM-BPS 1 sheet.
    I've tested this in excel (outside of BPS) and it works fine.
    in BPS, I went into VB debugging mode (after inserting a break point) and I can see that change that has been made in New Sheet was reflected back to SEM-BPS 1. But, when i test the same out of debugging mode, am not getting the same result.
    Looks like,after changes in New Sheet, SAPAfterDataPut is again being executed and is overwriting the changes that I made in new sheet.
    Do i need to inlclude code only in SAPBeforeDataPut to reflect changes from new Sheet into SEM-BPS 1?
    In excel (outside of BPS), this method works in such a way that, as soon as i make changes in Sheet2 will get reflected into Sheet1 without runnning any macro.
    but, with same code, this doesn't work in BPS. (instead of reflecting changes to SEM-BPS 1, changed value in New Sheet is reverted back to original value that is same as the value in SEM-BPS 1)
    Appreciate any ideas/thoughts on this.

    Hi,
    Usually you work with a second sheet in the following way: write a macro that copies the data from the SEM-BPS 1 sheet to the new sheet. In order to run that macro include it into the macro "SAPAfterDataPut" and set the flag in the check box of in the popup of the third screen of the layout builder. The system will call the macro after the data has been written to the sheet SEM-BPS 1.
    There is a second predefined macro that the system will executed provided that the flag is set on the popup in the layout builder. This macro is called "SAPBeforeDataGet". It is called before the BPS reads data from the SEM-BPS 1 and should be used for transferring the data back to the first screen (similar to the coding you have done in SAPAfterDataPut). Using this macro should solve your problem.
    I did not understand how the changes are transferred from the new sheet in your (stand alone) case. Unfortunately it sometimes does make a difference if you test a macro in a stand alone Excel or in the Excel inplace. Some features are disabled in Excel Inplace (by Microsoft!!).
    Best regards,
    Gerd Schoeffl
    SAPNetWeaver RIG BI EMEA

  • Some of my clips from my camera are not importing into iMovie`

    I just got a new video camera and I started using iMovie for my first time with it. It's a Panasonic DVD video camera. The first time I loaded my DVD into my computer with it, it imported all of my clips just fine. But now it seems, random clips will not import. When I get my import screen, where I can check and uncheck movies from my DVD to import into iMovie, some clips have thumbnails and import correctly. Other clips have no thumbnail, but instead just have the little "filmstrip" graphic on them. iMovie still knows how many seconds those "mystery" clips are, and it still acts as if it is importing them when I check them. However, they don't show up in iMovie when I go to edit them. They are not blank clips, they simply just don't show up. However, on my camera, ALL of the clips play fine.
    Why is iMovie not gathering thumbnails/importing certain clips but it gathers thumbnails/imports the others? I know the disc and the camera is fine because the camera will play them, sound and video. What is up with my iMovie/computer?

    I'd like to add that after I import these clips without thumbnails, iMovie does give me an error and say that they could not be imported. No explanation as to why, though. Again, they play fine on my camera.

  • How do you delete songs from iphone5, that are not in your iTunes library on the computer?! I have the spot unchecked where it says show all music and I still have songs on my iPhone that I want gone, but they're not in my iTunes library...HELP

    I have a iPhone 5 with the most up to date software and I have songs appearing on my phone that I've deleted prior too from iTunes on the computer. How do I remove them from my phone, I've tried the left to right swipe and that just plays the songs! :/ Can anyone help me, I'd be forever grateful if I didn't have to go back to the store! I went I today abc he unchecked the show all music and there's still songs I don't want on my iPhone! :(

    The answer to the question in the title of the thread is yes, but it is not necessarily a good idea. At some point you are likely to find you need to restore your iPod for one reason or another, or it could be lost, stolen or damaged. If your songs aren't on your computer, and backed up too, then you will be less than happy.
    tt2

  • How do I delete songs from iPhone that are not in my iTunes library. "Swiping" to delete it does not work as the delete option does not appear.

    Just tried to remove all songs by changing synch entire music library to selected playlists, didn't select anything and says 0 songs at top, however the 5 **** songs that I'm trying to remove are still left on my phone!! This is so stupid but bugging me so much!!

    Hi, Jixx0615.
    Thanks for using Apple Support Communities.
    When you try to delete from a device running iOS 7, make sure to hold your finger on the song for a few seconds before swiping to the left. This should expose the red Delete button.
    Try Again,
    -Marcus

  • How to synchronise calenders. Appointments from the iphone are not copied into Outlook 2010

    has anyone been successful in synchronising the calenders between the Iphone and Outlook 2010? Appointments written into my iphone do not appear in the Outlook calender. I did try "via the Google"calender, but no luck that way either..
    It would make life easier ...

    See if this article helps: http://office.microsoft.com/en-us/outlook-help/synchronize-outlook-and-apple-iph one-or-ipod-touch-calendars-HA010266829.aspx

  • Cannot delete items from ipod...recently installed 1.4.1 and itunes 7

    i just did the restart in 'services', and my ipod mini is now recognized in itunes 7. thanks to all who offered advice....especially ivan.
    hp pavillion ze1210
    windows xp
    ipod mini
    software 1.4.1 *
    itunes 7 *
    *itunes 7 and software 1.4.1 were both installed within the last 24 hours and the ipod mini is approx 2 years old
    i can add music and podcasts from my computer, but i cannot delete them from the ipod....i can delete items from specific playlists but not from the ipod itself.
    when my ipod is selected in itunes under devices, i get a main screen that has four options...
    summary
    music
    podcasts
    contacts
    when i select 'podcasts', it shows me the podcasts i subscribe to on the main screen, but i can't do anything ....they appear to be somewhat greyed out. the same is true with 'music' i can see the playlists on my ipod, but i can't manage them. however, i can delete anything from specific playlists on the left...but they remain on the ipod.
    how can i access the main middle screen to delete items from the ipod?
    before installing 7, if i selected my ipod in itunes, i could delete anything from the ipod itself...not just playlists.
    please help ASAP as i only have approx. 300 MB of space remaining.

    Click on the disclosure triangle in front of the iPod name.
    This will show you the contents of your iPod. Click on Music below the iPod name to see the songs on the iPod.

  • Changes are not reflect in PRD

    Hi All,
    i have an issue that is
    i want to be small change correction in one report in BI DEV system,the changes had done successfully with one transport request,when i transport the request into BI PRD which has been not reflect but in quality changes been accommodate
    suggest any one
    Thanks In Adv
    muraliv

    hi bhanu thank you for your response
    sap doesn't do magic i know ,but cahnges are not reflected into my production system ,it was the fact,i am not here to waste my time to post the unreliable things
    the released transport request ended with RC 4 but i didnt find any chane but in quality its getting reflected,
    i am also tried one more new request to my query and then release but i didnt work
    thnak you

Maybe you are looking for

  • File adapter doubt

    i have doubt regarding file adapter can a file adapter work dynamically? for example: we are configuring one file name and a path. whether multiple files can be taken from the path dynamically when using file adapter. Message was edited by:         a

  • MuVo TX FM display and power prob

    hello to all! good evening...i've been the owner of a creative MuVo TX FM for a little over a year now and im extremely satisfied with it. it was extremely reliable and handy and was a worthy competitor against the shuffle...it never gave me any prob

  • Abstract static?

    Hi. I have this question. I have a class, say "City", which has a static method, City.getList(), which returns an Object[] with all the available cities. I also have a Class "State" , which also has a .getList() method which returns an Object[] with

  • Changing brightness in gnome-power-manager has no effect

    Well it's mostly all in the title. When I change the brightness slider in gnome-power-manager it has no affect on brightness. However the fn key combo for changing the brightness does have change the brightness yet it brings up the volume like dialog

  • Podcast title has a boxed "clean" next to it

    Was is the meaning of this boxed "clean" at the end of the podcast title?