Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CU50 simulation and get values

Former Member
0 Likes
4,008

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 ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,116

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

10 REPLIES 10
Read only

Former Member
0 Likes
3,117

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

Read only

0 Likes
3,116

Thanks for your response but your solution gives all the values (the rules are not played so the values are not constraint). Another idea ?

Read only

0 Likes
3,116

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

Read only

0 Likes
3,116

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

Read only

0 Likes
3,116

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

Read only

0 Likes
3,116

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.

Read only

0 Likes
3,116

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

Read only

0 Likes
3,116

I need help where to read the values entered in the configuration editor of CU50.

Read only

0 Likes
3,116

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

Read only

wbenkahla
Explorer
0 Likes
2,301

Hello,

i am also French.

can you please share your program simulation of CU50.

please please please 

 

thanks in advance