I have a situation I am unable to find the solution:
Is there a material that is a plate when I cut it, what's left haul as co-product, this plate is used in various materials, however if this plate that the stock is in trouble, open a production order to consume the stock.
Example: Product A, B consumes the material in BOM.
But I want the product A, consuming the C, or D, material, will in the BOM of the order and I change dynamically.
But to do that this taking too long and I do not understand why. I checked with ABAP and conclude that the delay occurs in the BAPI CS_ALT_SELECT_COUPLED_PRODUCT.
Why is it taking so long?