2007 Mar 14 1:49 PM
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
2007 Mar 14 2:01 PM
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
2007 Mar 14 2:08 PM
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
2007 Mar 14 2:12 PM
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
2007 Mar 14 2:19 PM
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,
2007 Mar 14 8:46 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |