I create quotations by using the function module BAPI_QUOTATION_CREATEFROMDATA2. So far I was able to create price conditions on the item level by using the following code:
I Switch for activating the new condition item handling: Import parameter LOGIC_SWITCH-COND_HANDLE = 'X'. <br>
However, when I try to create with custom (ZI30) condition values, the standard BAPI doesn't work. I checked ZI30 via VK12, and I was able to see all variant details.
Unfortunately the above piece of code does not work. When I call the BAPI I don't even get any error message in return table of BAPI.
When I create a quotation manually I can add the condition with an new value via GUI.
Is there a special flag which I have to set when I want to create a custom condition?
regards and many thanks in advance.