‎2007 Mar 02 7:43 PM
Hi, I have a process that uses SD_SALESDOCUMENT_CREATE to create the sales documents on background (there are too many of them), and now I need to activate the use of substitute materials, but the substitutes are not taking the conditions entered for the original material, I think there must be a parameter that does that.
Any ideas?
Thanks!
‎2007 Mar 08 10:35 AM
I believe that no additonal programming should be required for the material substitution, as long as it's configured properly. But why are you going to SD_SALESDOCUMENT_CREATE directly? I'd suggest using a BAPI (BAPI_SALESORDER_CREATEFROMDAT1 or ...2) or IDocs.
‎2007 Apr 13 5:34 PM
It was solved changing the sales order, after it's created, a review is performed to check any substitutions, if they exist, the conditions are added via bapi_sales_order_change