08-01-2007 11:04 PM
Hi All,
I am facing a huge challenge and will need your help. I need to retrieve configuration data associated with Sales Order rather than Material Configuration data. I have used quite a few Function Modules but they don't work for Sales order variant config data. So far I have used the following FMs using CUOBJ field from line item
CUD0_GET_VAL_FROM_INSTANCE
CE_I_GET_CONFIGURATION
VC_I_GET_CONFIGURATION
VC_I_GET_CONFIGURATION_IBASE
Does anyone know how I can get that data. Does anyone which tables that data is stored in or any other FM that will get me that data.
Please note that I am not trying to get Material Configuration data rather Sales Order Variant Configuration data.
Any ideas or suggestions will be greatly appreciated.
Regards
08-01-2007 11:09 PM
I use this one all the time, and it works pretty well. ALl you need to do is pass the CUOBJ from the VBAP table, and you have your config.
* Internal Table for Characteristic Data
data: begin of i_char occurs 0.
include structure comw.
data: end of i_char.
clear i_char. refresh i_char.
* Retrieve Characteristics.
call function 'CUD0_GET_VAL_FROM_INSTANCE'
exporting
instance = vbap-cuobj
tables
attributes = i_char
exceptions
instance_not_found = 1.
Regards,
RIch Heilman
08-02-2007 12:29 AM
Thanks Rich but this FM won't solve my problem. As I mentioned in my question that SKU is not a configurable Material rather a Configured Material. When I use this FM or any other FM to retrieve these values they return the default value of the Configured material. Any idea where these values are stored?
11-20-2007 10:05 PM
Did you find any solution to this problem?
Appreciate if you could share the solution.
Thanks
Zoaib
12-19-2022 12:33 PM