2010 Apr 14 10:47 AM
Hi Experts ,
I have a report program to display purchase requisition line items with quantity in alv grid , there I have a check box(delete) field when user check this check box that line item should be deleted from purchase requisition(me52n). can any one help me, is there any function module or bapi to perform this operation .
Thanks,
Shiva.
2010 Apr 14 11:09 AM
Hi Shiva,
You can use this BAPI to delete PR line item.
BAPI_REQUISITION_CHANGE
BAPI_REQUISITION_DELETE
Regards,
Raghava.Channooru
Hi Experts ,
I have a report program to display purchase requisition line items with quantity in alv grid , there I have a check box(delete) field when user check this check box that line item should be deleted from purchase requisition(me52n). can any one help me, is there any function module or bapi to perform this operation .
Thanks,
Shiva.
2010 Apr 14 11:09 AM
Hi Shiva,
You can use this BAPI to delete PR line item.
BAPI_REQUISITION_CHANGE
BAPI_REQUISITION_DELETE
Regards,
Raghava.Channooru
2010 Apr 14 11:23 AM
Use "BAPI_REQUISITION_CHANGE". Existing list of LIne items should be filled in the structure "REQUISITION_ITEMS_OLD" & New list of line items should be included in the structure "REQUISITION_ITEMS_NEW"
OLD - will contain the records currently in database.
NEW - fresh list of records (in your case exclude the line item which is to be deleted)
Regards
Vinod
2010 Apr 14 11:43 AM
2010 Apr 29 6:58 AM
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |