cancel
Showing results for 
Search instead for 
Did you mean: 

Variant configuration read function

Former Member
0 Kudos

We use multi level product variant configuration and we would like to know if there is a function available to read that configuration when we print the work order. In that multi level configuration we can have same component twice with different characteristics.

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Daniel,

Please try CUXI_GET_SINGLE_CFG_BY_REMOTE. In order to get the GUID, you can use the function CUCB_GET_PERSISTID_OF_INSTANCE by passing the AFPO => CUOBJ as Persistance ID.

Hope this helps.

Johnson George

Former Member
0 Kudos

Hi Daniel,

I'm also working with Variant Configuration material and have had similar issues when downloading the production orders from SAP. I haven't found a clean way to get the material characteristics using the JCo connector... The only way I have figured out is to download the production order and then get the characteristics by directly reading the tables through RFC_READ_TABLE.

The cleanest solution I have found is to use a Enterprise Service (SAP ECC web service) call to read the production order. This web service provides the material characteristics as described in the documentation:

http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=04BE184C8B3711DA36BB000F...

Check the WSDL description on this link:

http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19...

look for the ConfigurationPropertyValuation field in the PO Item and in the Materialinput and MaterialOutput fields in each Operation.

Regards,

Marcelo