cancel
Showing results for 
Search instead for 
Did you mean: 

Variant Configuration API

0 Kudos

Hello Experts,

I am writing an external product configurator using function modules CAVC_I_CHARS... (e.g. CAVC_I_CHARS_GET_ALLOWED_VALS).

This is working well for configuration scenario "Order BOM". (configuration scenario = "Process" in TAC CU42).

However, it is also necessary to use configuration scenario "Sales Order (SET)".

Now, if I try to initialize my configuration environment using CAVC_O_ORDER_BOM_INIT I get error CX164:

"Item 000010 cannot be used for order BOMs".

Ok, obviously there is no order BOM used in this scenario. Nevertheless, I would need all the CAVC_I_CHARS... function modules for configuration (e.g. checking allowed values, completeness, consistency...).

Is there a way to use CAVC function modules without Order BOMs? Are there other function modules for sales configuration which do not require the "Order BOM" scenario?

Configuration of a customer order with "Sales Order (SET)" is possible in dialog. Why shouldn't there be a way to do the same with function modules?

Thanks for any help!

Best regards,

Wolfgang

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Wolfgang,

CAVC FM's are only for order boms. For configuration is SD SET , you can use different bapi's in sales orders BAPI_SALESORDER_CREATEFROMDAT2 or BAPI_SALESORDER_CHANGE. Do they not fulfill your requirement. Please advise your requirement. There is an exit you can use in dialog transaction SD to call external configuration. Or do you want to call it in the background ?

Thanks

Amber