on 10-10-2013 1:31 AM
I will be using the API to assemble components. I found the discussion describing exactly how I need to make the call to do the assemble, including the Component Data Fields to be collected. However, I can't find out how to get the configuration of the Data Fields to be collected. I can find the DataTypeRef in the Material (component) and the BOM Component line items, but I can't find the Package/Classes/Interface/APIs to use that Reference to get the list of Data Fields that are configured for collection at assemble time. any directipon would be appreciated.
As far as I understood your question, you should look for AssyDataValue tag in the AssembleComponents request.
Br, Alex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I guess I didn't phrase my question clearly
I understand how to send the Component Data Values to the Assembly Transaction. What I can't find is how to tell what Data Values to send.For example, The Vendor Id might be required for some components and not allowed for others. This is configured in the Data Type that is referenced in the Component or BOM. I can't find the API calls to retrieve the list of Data Fields that need to be sent with the Assembly Transaction.
I guess you should use ItemConfigurationServiceWS (if BOM does not explicitly assign Assy datatype to its components but rather inherits Assy datatype from Material Maintenance) or BOMConfigurationServiceWS to read the actual Assembly datatype assigned to the component and then use DataTypeConfigurationServiceWS to find out the list of data fields.
Sergiy,
I am starting to have the suspicion that my API guide is incomplete. I had already found the ItemConfigurationService and BOMConfigurationService interfaces, but not the DataTypeConfigurationService interface. The absence of any classes or Interfaces having the words Data Type or Data Field is what has been so frustrating. Do you know what package DataTypeConfiguration is in? ItemConfigurationService is in com.sap.me.productdefinition. I'm thinking perhap the entire package may be missing fromthe javadoc.
Thanks Sergiy, that's almost certainly it then.
We're a new site, so I'm doing early design to the documentation to the documentation while the environments and dev systems are being set up. Apparently, the docs have gaping holes, as this is not the first gap, but certainly the largest. Once we get set up, I'll be using NWA also. Thanks!
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.