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

how to read configuration structure (SD)

RichardWagner
Explorer
0 Likes
1,803

Hello,

i've to read the whole configuration structure of an SD-order item, which isn't expanded to sub-positions. Means: the material in item 10 is an BOM head-material and a KMAT. The materials in the multi-level BOM are configured via the configuration of the head material. If you press the "Configuration" button in the SD-sales order, you see the whole configuration structure. Does anybody know how i can read the whole structure from the database if i know only the SD-order and the item number?

Thanks,

Richard

Hello,

i've to read the whole configuration structure of an SD-order item, which isn't expanded to sub-positions. Means: the material in item 10 is an BOM head-material and a KMAT. The materials in the multi-level BOM are configured via the configuration of the head material. If you press the "Configuration" button in the SD-sales order, you see the whole configuration structure. Does anybody know how i can read the whole structure from the database if i know only the SD-order and the item number?

Thanks,

Richard

5 REPLIES 5
Read only

Former Member
0 Likes
1,134

Hi,

All configuration details will be available in SPRO TCode .You have to go to the right thread and go to each node and to find out the details.

Regards,

Anji

Read only

0 Likes
1,134

Hi Anji,

you missunderstood me. I've to read/select the configuration of a material configured in a sales order (VA0x) with ABAP means.

Has nothing to do with the IMG (TCode SPRO).

regards,

Richard

Read only

0 Likes
1,134

Hi,

Sorry!

You wants to know the CLassification of a configurable material which we do using the Varient configuration.

Try the following fun modules/BApi:

BAPI_OBJCL_GETDETAIL

CLAF_CLASSIFICATION_OF_OBJECTS.

Regards,

Anji

Read only

Former Member
0 Likes
1,134

Hi,

if you want to view a specific configuration for a SD document,

you can use BAPISDORDER_GETDETAILEDLIST,

with sales_doc as input.

The configuration data are in the tables:

ORDER_CFGS_CUCFGS_OUT

ORDER_CFGS_CUINS_OUT

ORDER_CFGS_CUPRTS_OUT

ORDER_CFGS_CUVALS_OUT

regards,

Read only

Former Member
0 Likes
1,134

use FM to get config, you'll have to pass cuobj there.

call function 'CUCB_GET_CONFIGURATION'

exporting

instance = vbap-cuobj

importing

configuration = z_instance_tab

exceptions

invalid_instance = 1

instance_is_a_classification = 2

others = 3