07-27-2007 5:21 PM
07-27-2007 5:54 PM
Thanks for the quick response,
I want to list the Formula components which are configurable characteristics of this formula..everything that shows in MM03 MRP configurable material.
Message was edited by:
Paul Schaefer
07-27-2007 5:50 PM
Are you trying to access the configuration of a material in a sales document, production order or planned order?
In all of these cases, you can use the internal object number CUOBJ field and pass to the funciton module CUD0_GET_VAL_FROM_INSTANCE to get all of the characterisitcs and there values for that specific configuration.
Regards,
Rich Heilman
07-27-2007 5:54 PM
Thanks for the quick response,
I want to list the Formula components which are configurable characteristics of this formula..everything that shows in MM03 MRP configurable material.
Message was edited by:
Paul Schaefer
07-27-2007 6:06 PM
Ok, no problem, the CUOBJ field is in table MARC. Just get that value and pass to the function module and you will get the config for this material.
report zrich_0001.
data: ichar type table of comw with header line.
data: xmarc type marc.
data: xcabn type cabn.
parameters: p_matnr type marc-matnr,
p_werks type marc-werks.
start-of-selection.
select single * from marc into xmarc
where matnr = p_matnr
and werks = p_werks.
* Retrieve Characteristics.
call function 'CUD0_GET_VAL_FROM_INSTANCE'
exporting
instance = xmarc-cuobj
tables
attributes = ichar
exceptions
instance_not_found = 1.
loop at ichar.
clear xcabn.
select single * from cabn
into xcabn
where atinn = ichar-atinn.
write:/ xcabn-atnam, ichar-atwrt.
endloop.
Regars,
RIch Heilman
07-27-2007 7:03 PM
09-17-2014 8:53 AM
Hi ,
I have a requirement like below.
I want to get Variant condition values of a Configurable Material, these values we can see in tcode CU50 but i want to find from where these values are getting displayed i mean i want to know where these values getting stored. below is the screen shot for your reference.
Please help me on this,
Note: I have tried to use CLAF_CLASSIFICATION_OF_OBJECTS, BAPI_OBJCL_GETDETAIL , but no luck. I checked CUOBJ in MARC but it is initial there.
Thanks
Nagesh