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

CUCB_GET_CONFIGURATION

Former Member
0 Likes
2,981

Hi, i have to retrive the configuration values from a sales document relative to a material.

The function CUCB_GET_CONFIGURATION returns in the

CONFIGURATION table the names(ATINN) and the values of the caractheristic (ATWRT).

For the ATNN we can use the conversion routine for to retrive the description, but for the ATINN field i go directly on tables CAWN, CAWNT with key

In some cases (re-classification of the caract.) this does not works.

Is there another function or object which returns the correct value ?

Thanks in advance.

Riccardo

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,811

Ric,

Use table AUSP. I donot know how SALES ORDER created variants are stored here. enter your ATINN value in SE12 for AUSP and determine the format of OBJEK for sales order

Regards,

alwyn

Hi, i have to retrive the configuration values from a sales document relative to a material.

The function CUCB_GET_CONFIGURATION returns in the

CONFIGURATION table the names(ATINN) and the values of the caractheristic (ATWRT).

For the ATNN we can use the conversion routine for to retrive the description, but for the ATINN field i go directly on tables CAWN, CAWNT with key

In some cases (re-classification of the caract.) this does not works.

Is there another function or object which returns the correct value ?

Thanks in advance.

Riccardo

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,811

I don't think that there is any guarentee of the data if the configuration of classification/characterisitics is constantly changing.

Here are some more function modules to try.

<b>CUD0_GET_VAL_FROM_INSTANCE

VC_I_GET_CONFIGURATION</b>

Regards,

Rich Heilman

Read only

0 Likes
1,811

Thanks for help, the second function is good.

Read only

0 Likes
1,811

Hi Rich,

faster than VC_I_GET_CONFIGURATION ist the fm

VC_I_GET_CONFIGURATION_IBASE - at least in our system.

It has almost the same output-table as VC_I_GET_CONFIGURATION.

Regards

Juergen Schoetteler

Read only

Former Member
0 Likes
1,812

Ric,

Use table AUSP. I donot know how SALES ORDER created variants are stored here. enter your ATINN value in SE12 for AUSP and determine the format of OBJEK for sales order

Regards,

alwyn