How to delete the data from KNVP without using the delete statement

Hello friends,
I have a requirement that I have to delete the data from KNVP table without using any delete statement. For it I have to use the Standard BAPI or any standard program.
Can you please tell me the name of the standard program or BAPI to delete the data .
Thanks in Advance
Kuldeep

Hello Raymond,
I have use the function 'CUSTOMER_UPDATE' in which I only gives the data in T_XKNVP table only but still the data is not get deleting. Please see the code below.
=============================================================
REPORT  ZK_TEST2                                .
data :
    I_KNA1     LIKE     KNA1,
    I_KNB1     LIKE     KNB1,
    I_KNVV     LIKE     KNVV,
    I_YKNA1     LIKE     KNA1,
    I_YKNB1     LIKE     KNB1.
Data :
T_XKNAS       LIKE     FKNAS occurs 0,
T_XKNB5     LIKE     FKNB5 occurs 0,
T_XKNBK     LIKE     FKNBK occurs 0,
T_XKNVA     LIKE     FKNVA occurs 0,
T_XKNVD     LIKE     FKNVD occurs 0,
T_XKNVI     LIKE     FKNVI occurs 0,
T_XKNVK     LIKE     FKNVK occurs 0,
T_XKNVL     LIKE     FKNVL occurs 0,
T_XKNVP     LIKE     FKNVP occurs 0 with header line,
T_XKNVS     LIKE     FKNVS occurs 0,
T_XKNEX     LIKE     FKNEX occurs 0,
T_XKNZA     LIKE     FKNZA occurs 0,
T_YKNAS     LIKE     FKNAS occurs 0,
T_YKNB5     LIKE     FKNB5 occurs 0,
T_YKNBK     LIKE     FKNBK occurs 0,
T_YKNVA     LIKE     FKNVA occurs 0,
T_YKNVD     LIKE     FKNVD occurs 0,
T_YKNVI     LIKE     FKNVI occurs 0,
T_YKNVK     LIKE     FKNVK occurs 0,
T_YKNVL     LIKE     FKNVL occurs 0,
T_YKNVP     LIKE     FKNVP  occurs 0 with header line,
T_YKNVS     LIKE     FKNVS occurs 0,
T_YKNEX     LIKE     FKNEX occurs 0,
T_YKNZA     LIKE     FKNZA occurs 0.
T_XKNVP-KUNNR     =     '7000002648'     .
*T_XKNVP-VKORG     =     '0001'     .
*T_XKNVP-VTWEG     =     '01'     .
*T_XKNVP-SPART     =     '01'     .
T_XKNVP-KZ      =     'D'     .
append T_XKNVP to T_XKNVP.
CALL FUNCTION 'CUSTOMER_UPDATE'
  EXPORTING
    I_KNA1        = I_KNA1
    I_KNB1        = I_KNB1
    I_KNVV        = I_KNVV
    I_YKNA1       = I_YKNA1
    I_YKNB1       = I_YKNB1
  TABLES
    T_XKNAS       = T_XKNAS
    T_XKNB5       = T_XKNB5
    T_XKNBK       = T_XKNBK
    T_XKNVA       = T_XKNVA
    T_XKNVD       = T_XKNVD
    T_XKNVI       = T_XKNVI
    T_XKNVK       = T_XKNVK
    T_XKNVL       = T_XKNVL
    T_XKNVP       = T_XKNVP
    T_XKNVS       = T_XKNVS
    T_XKNEX       = T_XKNEX
    T_XKNZA       = T_XKNZA
    T_YKNAS       = T_YKNAS
    T_YKNB5       = T_YKNB5
    T_YKNBK       = T_YKNBK
    T_YKNVA       = T_YKNVA
    T_YKNVD       = T_YKNVD
    T_YKNVI       = T_YKNVI
    T_YKNVK       = T_YKNVK
    T_YKNVL       = T_YKNVL
    T_YKNVP       = T_YKNVP
    T_YKNVS       = T_YKNVS
    T_YKNEX       = T_YKNEX
    T_YKNZA       = T_YKNZA
=============================================================

Similar Messages

  • Can we get the data from list without using any change event...

    It is possible to get the current data from list without passing events?...
    Thanks in advance,
    senthil.

    Can you get what you want by accessing the selectedItem/selectedItems and selectedIndex/selectedIndices properties?

  • How do you download data from your macbook to the ipad?

    how do you transfer data from your macbook to the ipad?

    What data do you want to transfer ? Music, films, tv shows, photos and ibooks are done by syncing in iTunes (for which there is some help in the iPad manual which can be downloaded from here http://support.apple.com/manuals/#ipad). Documents can also be done via iTunes, but it depends upon the app and the transfer method(s) that it supports e.g. file sharing via the bottom of the device's apps tab on your computer's iTunes, via your wifi network, cloud services, email attachments etc
    Edit : have you got the Keynote app on your iPad, or any other app that supports keynote presentations ? Without a 'suporting' app you can't store a document/file on the iPad (unlike computers files have to be stored within an app)..
    Message was edited by: King_Penguin

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • How do I move data from my iPad to the cloud?

    How do I move data from my iPad to the cloud?

    lrc70 wrote:
    My old PC finally died
    Backup, backup, backup...
    Now I am trying to get all 733 songs into my Itunes library and on my macbook
    which you will promply backup, backup, backup, yes?
    And make and maintain regular backups?
    Time Machine is simply to use. Just plug in an external drive.

  • I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vecto​r signal analyzer ) to measure such as RF frequency or power on the instrument​? Thanks

    I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vector signal analyzer ) to measure such as RF frequency or power on the instrument?
    I just want to set something on the front panel that will execute the Serial parameters first and then pass these settings to vector signal analyzer
    Thanks
    Phong

    You transfer data with wires.
    Frankly, I'm a little confused by your question. I can't think of any reason why you would want to pass serial parameters (i.e. baud rate, parity) to a GPIB instrument. Please explain with further detail and attach the code.

  • How does iCloud manage app data like whatsapp ? Does it overwrite the data everytime I backup to I cloud with the data on the phone or it merges the data from previous backups with the new data?

    How does iCloud manage app data( like whatsapp) ? Does it overwrite the data everytime I backup to I cloud with the data on the phone when i backup or it merges the data from previous backups with the new data?

    You need to subscribe to iTunes Match to store your music on iCloud:
    http://www.apple.com/itunes/itunes-match/
    To transfer iTunes Store purchases made on your phone to your computer, connect your phone then choose "Transfer purchases..." from the File menu in iTunes.
    Photostream transfers photos taken on your iOS devices to other devices and your computer. For troubleshooting Photostream see: http://support.apple.com/kb/TS3989

  • I have hidden unwanted books from the purchased area of the iBooks store, but they're are still appearing on the front page of iOS as cloud downloads, is there a way to remove these from iBooks without using the hide iCloud books button?

    I have hidden unwanted books from the purchased area of the iBooks store, but they're are still appearing on the front page of iOS as cloud downloads, is there a way to remove these from iBooks without using the hide iCloud books button?
    Let me explain a little more. I had downloaded a lot of free books in the past as a trial when iBooks was first released and since then I have decided I no longer want them, because of this I hid them from the purchased section of the iBooks store. The 5 books left are ones I decided to keep as seen in the following picture.
    This is how it appears in iBooks on my mac. There are 4 books downloaded and 1 book that I have decided not to download at this time. I would still like to keep this book available in the cloud incase I want to download it again in the future. You’ll notice that hide iCloud books is not selected, if I wanted to hide the book that I have chosen to keep in the cloud, but have not downloaded yet I could.
    This is exactly how I think this feature should work. If you have hidden a book from your purchases it should not show up in the mac Ibooks app. (I am aware you can never actually delete a purchase, just hide them and that hidden purchases can be restored to your account from within the account management section of the iBooks store).
    The iOS app is working differently for me. Here is a picture of the purchased tab on the iBooks store in iOS Ibooks. Again notice that pictures of Lilly is still yet to be downloaded. This is how I expected it to look.
    If we visit the front page of iOS iBooks the view is very different from what I expected. Here we can see the 4 books I wanted to keep on my device and have downloaded. We can also see the 1 book I wanted to keep, but did not want to store locally on the device and left in iCloud (Pictures of Lilly). However we can also see all the books I had hidden from the purchased section of my iTunes account and which I believe should no-longer be visible, Dracula, frankenstein etc…
    I am aware of the hide iCloud books button within the iOS app, but I did not need to use this to hide the books I had removed from the my purchased section of the iBooks store on the mac, why are they still appearing in iOS?
    I’m still not sure if this is a software glitch or not. This article suggests to me that books can be hidden, but I had already completed these steps.
    https://support.apple.com/en-us/HT201322
    A browse of google also suggests people may have been able to hide past purchases from the front page of iBooks on iOS in the past.
    In case there was an issue with syncing I tried logging in and out of my iTunes account via settings in iOS. Force closing the app, disabling automatic downloads and removing my device from iTunes in the cloud. Syncing with iTunes on the mac did not correct the issue either.
    Interestingly I have the same issue on my iPhone 6 running iOS 8.3 as I do on my iPad mini suggesting that this might be an issue either with my account or with iOS iBooks software in general.
    If there is a way to remove the already hidden iBooks in your account from the front page of iBooks on iOS without using the hide iCloud downloads button? Please help community!

    My apologies for the lack of photos, here is my post again with photos.
    I have hidden unwanted books from the purchased area of the iBooks store, but they're are still appearing on the front page of iOS as cloud downloads, is there a way to remove these from iBooks without using the hide iCloud books button?
    Let me explain a little more. I had downloaded a lot of free books in the past as a trial when iBooks was first released and since then I have decided I no longer want them, because of this I hid them from the purchased section of the iBooks store. The 5 books left are ones I decided to keep as seen in the following picture.
    This is how it appears in iBooks on my mac. There are 4 books downloaded and 1 book that I have decided not to download at this time. I would still like to keep this book available in the cloud incase I want to download it again in the future. You’ll notice that hide iCloud books is not selected, if I wanted to hide the book that I have chosen to keep in the cloud, but have not downloaded yet I could.
    This is exactly how I think this feature should work. If you have hidden a book from your purchases it should not show up in the mac Ibooks app. (I am aware you can never actually delete a purchase, just hide them and that hidden purchases can be restored to your account from within the account management section of the iBooks store).
    The iOS app is working differently for me. Here is a picture of the purchased tab on the iBooks store in iOS Ibooks. Again notice that pictures of Lilly is still yet to be downloaded. This is how I expected it to look.
    If we visit the front page of iOS iBooks the view is very different from what I expected. Here we can see the 4 books I wanted to keep on my device and have downloaded. We can also see the 1 book I wanted to keep, but did not want to store locally on the device and left in iCloud (Pictures of Lilly). However we can also see all the books I had hidden from the purchased section of my iTunes account and which I believe should no-longer be visible, Dracula, frankenstein etc…
    I am aware of the hide iCloud books button within the iOS app, but I did not need to use this to hide the books I had removed from the my purchased section of the iBooks store on the mac, why are they still appearing in iOS?
    I’m still not sure if this is a software glitch or not. This article suggests to me that books can be hidden, but I had already completed these steps.
    https://support.apple.com/en-us/HT201322
    A browse of google also suggests people may have been able to hide past purchases from the front page of iBooks on iOS in the past.
    In case there was an issue with syncing I tried logging in and out of my iTunes account via settings in iOS. Force closing the app, disabling automatic downloads and removing my device from iTunes in the cloud. Syncing with iTunes on the mac did not correct the issue either.
    Interestingly I have the same issue on my iPhone 6 running iOS 8.3 as I do on my iPad mini suggesting that this might be an issue either with my account or with iOS iBooks software in general.
    If there is a way to remove the already hidden iBooks in your account from the front page of iBooks on iOS without using the hide iCloud downloads button? Please help community!
    iPhone 6, iOS 8.3, Also an issue on my iPad mini iOS 8

  • How do i get data from a structure using join?

    hi,
    what is the actual use of a structure.?
    my problem is :
    KUAGV is an existing STRUCTURE. it has got one fields each which links to MARA, AND VBKD tables. i want to fetch all related information from KUAGV, mara, vbkd . which is the better way : using joins or views or anything else? how do i
    get data from a structure using join?

    structure temporarily holds  any data passed to it dynamically throughout the runtime but doesnot store it permanently. so
    a structure cannot be included in a join.so instead of incuding structure KUAGV's field in a join 
    search the transparent table in which same field are present and  use it in join.
    A structure if created in DDIC(Data Dictionary) is a global DATA STRUCTURE which is used to group related information, for example you would group all the details of your bank account into a structure BANK_ACCOUNT that contains fields like account_Id, account_holder_name etc.
    If you create a structure in your program then it is local to your program. So you use this structure to create data holders of this DATA TYPE to hold data in your program.
    Edited by: suja thomas on Feb 11, 2008 6:24 AM
    Edited by: suja thomas on Feb 11, 2008 6:31 AM

  • How to read a data from USB port using JAVA

    hi all,
    i need to know how to read a data from USB port using java. any API are available for java ?.........please give your valuable ideas !!!!!!!!!
    Advance Thanks!!

    You can do this. Please use this link
    [http://www.google.co.in/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=uHu&q=java+read+data+from+usb+port&btnG=Search&meta=&aq=f&oq=]
    What research did you do of your own? Have you done some testing application and tried yourself??

  • Manually set up the essbase 11 client (without using the fusion installer)

    Hi All,
    is it possible to install the Essbase 11 client without using the Fusion Installer?
    I tryed to copy the "bin" and "locale" directory from an exisiting installation and set up the ARBORPATH environment variable - without success.
    Did I miss anything? Maybe some Registry entries? Or isn't it possible to set up the essbase client manually?
    Every answer would be appreciated.
    Cheers,
    Martin

    Hi John,
    thanks for the hint that the addin is also available for any version.
    I have an application which uses the C-API (essapinu.dll, essotlnu.dll, ...) and I want to test it with diffrent Essbase Client Versions against diffrent Essbase Servers.
    These are the (client) versions which I want to test:
    EssbaseRtc11110WindowsFiles
    EssbaseRtc11111WindowsFiles
    EssbaseRtc11112WindowsFiles
    EssbaseRtc11113WindowsFiles
    EssbaseRtc9203WindowsFiles
    EssbaseRtc9210WindowsFiles
    EssbaseRtc9301WindowsFiles
    EssbaseRtc9310WindowsFiles
    I hoped it would be enough to replace some directorys on a machine instead of starting a lot of installers.
    Cheers,
    Martin

  • I do not achieveto transfer the files from my PC using the W.M.A. The whole process is normal up to the point where every machine must recognize the numerical code. After that indicates that he is inspecting the computer and no more. Sugerences?

    I do not achieve to transfer the files from my PC using the W.M.A. The whole process is normal up to the point where every machine must recognize the numerical code. After that the assistant indicates that he is inspecting the computer and not show the list of transference (files, emails, etc.). In this point nothing is parked and done any more. Which can be the problem? Thank you.

    I think you posted to the wrong place.  This if for iMacs 2006 & older.  I asked the host to mover you to Lion.
    What version of X are you running?
    Here is how to find out what version of Mac OS you are running:
    Click on the blue apple in the upper left hand of the screen.
    click on this icon
    Click on the first line, "About This Mac"
    Most of these are numbers & that's what we want.
    What version & Processor do you have?

  • While deleting the data from cube..getting the following erros...

    while deleting the data from cube the below error occured in develoment..any help
    i have 4 requets.....2 are deltedd but no records for those...
    2 are not deleted and they have some data..
    please give me u r inputts pelase
    Performing check and potential update for status control table
    Message no. RSM1490
    Diagnosis
    If data is loaded into an InfoCube, or existing data is edited (aggregated/compressed/deleted/got from a DataMart), then there is a change in  the potential reportability of the data , or the possibility of deleting data by request, or of aggregating or compressing.
    This status of each one of these Cubes is stored in a status table, that is updated when there is any change to the status of a request in the Cube.
    The system now analyzes the requests in the Cube and compares the calculated status with the status table.
    If deviations from the status table arise then you are given the option of adjusting the status table.
    System Response Procedure Procedure for System Administration

    Hi,
    Did you tried by right click on cube and delete data? are those requests are compressed or roll up?

  • My old comp crashed! How do I move data from my ipod onto the new one?

    I had a dell laptop; it crashed... I have about 2500 songs and videos on my ipod; is there a way for me to move the data from the ipod to itunes in my new computer? Thanks for any help...

    Hi! Welcome to Apple Discussions Forum.
    If you have purchased songs from the iTunes Music Store, then those are pretty easy to transfer to your computer. You'll just need to follow [this instructions|http://docs.info.apple.com/article.html?artnum=305465].
    All your other songs (for example, those ripped from your CD's), you'll need to use any 3rd party program to transfer them to your iTunes library!
    Some can also transfer your playlists, videos, ratings, podcast...
    *To use with iPod Touch/iPhone and other iPods:*
    [iGadget|http://www.ipodsoft.com/site/pmwiki.php?n=igadget.Homepage] (Mac and Windows)
    [iRepo|http://www.purpleghost.com/index.php?q=irepo] (Mac and Windows)
    [iPod Access|http://www.findleydesigns.com/ipodaccess/index.html] (Mac and Windows)
    *To use only with other iPods:*
    [Media Widget|http://www.bootstrapdevelopment.com/showproduct.aspx?t=b#features] (Windows only)
    [iDump|http://www.download.com/iDump/3000-2169_4-10407429.html] (Windows only)
    [Senuti|http://www.fadingred.org/senuti> (Mac Only)
    I would recommend you to keep your media safe, backing up library. Click [here|http://docs.info.apple.com/article.html?artnum=302392] to learn how to do it, using CD's or DVD's.
    Hope this helps! If you still have doubts, please reply.
    Best Regards,
    !http://signatures.mylivesignature.com/54486/122/A57996D55BE7ABB4A67DE686D381A27 4.png!

  • Is there a simple way to retrieve the data from a resultset using JavaBean?

    I have a result set from a select * from users where userid = xxx statement. However, at the moment I have had to hard code the remainder of the code to get the data from each column as I need the column name as well as its data.
    I had read somewhere using java beans and reflection it is easier. But i do not know know how.
    Is there a simple way to retrieve the data from a result set ?
    thanks in advance-
    kg

    Well, it is not really simple. But there are Open Source components to simplify it for you. See e.g http://www.must.de/Jacompe.htm - de.must.dataobj.DataObject and its subclasses. Feel free to contact me if you have any questions: [email protected]

Maybe you are looking for