2006 Feb 01 5:30 PM
Hi, (sorry for my english because i'm french)
i'm writing a CU50 simulation program and i have a problem when reading the values of a charcteristic.
All is correct unless the read characteristic has no value (values are assigned by rules on variant table).
Here are the functions i use :
CUX1_CFG_NEW
CAVC_I_CHARS_GET_ALLOWED_VALS
CAVC_I_CHARS_GET_VALID_VALS
Which function should i use when i want to read the allowed and the valid values for a characteristic which all values are assigned by rules on variant table ?
2006 Feb 01 5:36 PM
Hi Marc,
Please use function module :
CARD_TABLE_SELECT_LINES
CALL FUNCTION 'CARD_TABLE_SELECT_LINES'
EXPORTING
VAR_TAB = P_TAB "table name
FL_WITH_ENTRIES = C_X
TABLES
SELECT_WHERE_VALUES = I_CHAR_VAL "Char Values
VAR_TAB_ENTRIES = I_VAR_TAB_N
EXCEPTIONS
WARNING = 1
ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT I_VAR_TAB_N BY VTLINNOINT.
Need Any help on VC please let me know.
Lanka
2006 Feb 01 5:36 PM
Hi Marc,
Please use function module :
CARD_TABLE_SELECT_LINES
CALL FUNCTION 'CARD_TABLE_SELECT_LINES'
EXPORTING
VAR_TAB = P_TAB "table name
FL_WITH_ENTRIES = C_X
TABLES
SELECT_WHERE_VALUES = I_CHAR_VAL "Char Values
VAR_TAB_ENTRIES = I_VAR_TAB_N
EXCEPTIONS
WARNING = 1
ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT I_VAR_TAB_N BY VTLINNOINT.
Need Any help on VC please let me know.
Lanka
2006 Feb 02 10:52 AM
Thanks for your response but your solution gives all the values (the rules are not played so the values are not constraint). Another idea ?
2009 Jan 16 9:59 PM
Hi Marc,
I am wondering if you have been able to fix it. I have the same requirement. I need to simulate CU50 for mass creation of material variants. I would appreciate if you can please help me.
Thanks
Arvind
2009 Oct 26 7:07 AM
Hi Murthy,
We have a similar kind of requirement to simulate the costing for different combination of configuration materils...
i want to know, is it possible to write a report and get costing details as similar to CU50...
if it is possible, please share with me the sample code or related information...
Thanks in advance..
Regards, Sri
2009 Oct 26 7:07 AM
Hi Murthy,
We have a similar kind of requirement to simulate the costing for different combination of configuration materils...
i want to know, is it possible to write a report and get costing details as similar to CU50...
if it is possible, please share with me the sample code or related information...
Thanks in advance..
Regards, Sri
2009 Nov 16 5:57 AM
Hi Murthy,
Is there is anyway to read the characteristic value data from CU50 screen ? after simulating values i need to capture those values , so is there is any way to get the data >
Please help in this regard,
Thanks ,
Gayathri.
2010 Mar 22 5:04 PM
Dear murthy,
I have a an issue with tcode CU50. Here we are trying to create a quotation and order from external system. Our materials are configurable . Suppose if a material have 35 characters we will give only few of them to customer to select as option. I know that limited option is maintained at Cu50. By using the fm CE_C_PROCESSING i can see that screen and characteristics. Can you give me some idea how to fetch that into a table . I am asking you by seeing this thread .
Regards,
Madhu
2011 Jun 15 6:54 PM
I need help where to read the values entered in the configuration editor of CU50.
2011 Sep 01 2:39 PM
Hi All,
You can use the FM 'BAPI_UI_GETDETAIL' to read the Characteristic Grouping detail in CU50.
You can use the FM 'BAPI_UI_SAVEM' or IDOC 'VCUI_SAVEM02' to create Characteristic Grouping tabs in CU50.
Hope this solves your query.
Regards,
Bhawit Kumar
2025 Apr 04 9:08 PM
Hello,
i am also French.
can you please share your program simulation of CU50.
please please please
thanks in advance