on 08-01-2012 7:42 PM
I am new to SAP ME. I'm using the ChangeWorkInstruction web service request (from the WorkInstructionProcessingInBinding WSDL) to add attachment points to an existing work instruction. I'm doing this from MII. The Change or Update web service call completely replaces the current work instruction attachment points with data in its structure. So I'm forced to first copy all the current attachment points that I want to keep, combine that list with the new attachment point, and then push the whole thing back to ME.
I'm using ME v6.0.3.4 Counter 33. In order to copy the current attachment points, unfortunately I can't use the FindWorkInstructionByBasicData web service call because it's broken. I get this error: com.visiprise.frame.mapping.bean.BeanMappingException: Cannot map type java.util.ArrayList to com.sap.xi.me.WorkInstructionAttachmentPointList (field 'attachmentList'). So I'm having to develop a complex query to get the data from ME tables. Is there an easier way to append attachment points to a work instruction that already has attachment points?
Thanks for any help.
Jeff
Hi Jeff,
As far as I know most of webservices use old Data EXchange interface and it was designed to 'replace' everything. I believe you may find some forum threads and SAP Notes about this.
So, you will need to copy all the existing data.
As to the FindWorkInstructionByBasicData web service; I have not tried it in 6.0.3.4 yet. Could you share with us a request you send?
Best regards,
Alex.
P.S.: quite similar SAP Note for your reference: #1503275
Message was edited by: Alexander Teslyuk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.