cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module Production order created via Variant Configuration conditio

Former Member
0 Kudos

Hi,

I am looking for a function module which can provide me with the following information.

the component selected in a production order and the corresponding VC condition which forced this selection in the production order.

Any help appreciated.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello ,

There is no proper FM or BAPI that can do the way it is used that all the components are first selected buy FM get_stpo and then configured via FM cubx_configure_object or CUBX_CONFIGURE_STPOB. The ones that fulfill the condition gets deleted. For the Selection condition you can look at table STPO-KNOBJ.

Generally for configuration you should use FM vc_get_configuration_ibase..

Also for SO FM CUKO_ddb_has_components reads from the database but you can check if it can work for PO

Thanks

Amber

Former Member
0 Kudos

Thanks for the response can you tell me. From where I can get the value for the import parameter CUOBJ in the function module

CUKO_DDB_HAS_COMPONENTS

Thanks!