Hi Team,
We want to delete purchasing condition records for Materials provided in a text file for a specific validity date range. The standard transaction to achieve this is MEK2. I tried doing a Batch Input for MEK2 but it is actually a report with checkboxes in the result list. the batch input recording is not handling the checkboxes (it is an interactive report and when we take an F1 on the checkbox, no information about the field is displayed). Specific questions are:
1) Is there a BAPI or Function module to delete the Condition record. (We have written a program where the flat file is read and can pass each Material to the function module. No user interaction is required. We already tried RV_CONDITION_MAINTENANCE but it calls a screen)
2) Is there a way to manage the batch input for the checkbox. The report always shows more then one lines and we have to select the checkbox pertaining to the A017 records (PB00 condition type).
3) Can we use an IDOC instead.
I've tried everything from my end and looked at various posts but have no other thoughts. Please help.
Thanks for your time.