2022 Aug 23 12:05 PM
2022 Aug 23 8:13 PM
Hi akjayaa,
If You are performing ABAP Code on Standard Table, Visit This Link It Might Help You Delete Entries from Standard Table
If You are performing ABAP Code on Custom Table, with the help of select query in ABAP Code can perform the operation, Here is the piece of code
DELETE it_at WHERE customer_id = '86427520'. " it_at - Internal Table
Absorb the picture (8642750) data contain after writing code of delete statement it's going to remove the record
* One More Important thing is that it deletes the Data record from the Program Itself, It's not going to delete data from the table in which data is contain...
Thanks,
Suggu Sandeep.
2022 Aug 23 12:14 PM
Hi,
do you want to set the delection indicator for the related PO-items or do you want to delete the whole PO?
Setting the deletion indicator can be achieved by an ABAP-program that uses the BAPI-module BAPI_PO_CHANGE.
In case you want to completly remove the PO, SAP does provide options for archiving and deletion of PO. Please check transaction SARA for more details (archiving object: MM_EKKO).
Kind regards
Jens
2022 Aug 23 3:15 PM
2022 Aug 23 8:13 PM
Hi akjayaa,
If You are performing ABAP Code on Standard Table, Visit This Link It Might Help You Delete Entries from Standard Table
If You are performing ABAP Code on Custom Table, with the help of select query in ABAP Code can perform the operation, Here is the piece of code
DELETE it_at WHERE customer_id = '86427520'. " it_at - Internal Table
Absorb the picture (8642750) data contain after writing code of delete statement it's going to remove the record
* One More Important thing is that it deletes the Data record from the Program Itself, It's not going to delete data from the table in which data is contain...
Thanks,
Suggu Sandeep.
2022 Aug 24 6:20 AM
Hi akjayaa
What actually you are referring to Opened PO.
Is this
You can achieve to delete the PO through ABAP program in two ways
Please clearly mention the exact requiremeht with respect to deletion of PO.
2022 Aug 24 9:18 AM
Hi Sir Good Aft,
My Question is ................. How to delete the PO History through ABAP Program?
Thank You!