Hello Folks,
Please help on the following requirement.
I am using BDC procedure in my program to add and delete Published Freight and Discount Freight condition types for Deliveries in VL02N. Consider we may or may not have other conditions types along with above said 2 condition types in all deliveries. I am not worrying about adding them in any position between available condition types. But i am facing issue while deleting them since we don't know the positions of Published and Discount condition types per each delivery.
In BDC, we provide fixed position to identify them to delete. But we don't know which condition is available in those positions. We many not expect all deliveries condition types with fixed positions right? So i guess, we need to identify them dynamically to apply our logic.
Is there any BAPI FM (or) other procedure to identify Published and Discount condition types in VL02N --> Header --> Conditions Tab ?
Based on that i want to delete them when required.
The following is the screen shot for your reference. Thank you.
Thanks,
Rajesh