on 2023 Oct 30 1:51 PM
Request clarification before answering.
in DM 2402 use public Tool APIs to fulfill this request
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Approach of custom data is right and it should work. if not, need to check with SAP only unless SAP has a case where in equipment custom data is not supported. unfortunately, i am unable to do this quick check in my system.
Thanks
Mahalakshmi.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
There is no option in the workflow to set the logging value.
Use the below structure for the custom data.
<customFieldDTOList>
<customFieldDTO>
<attribute>XYZ</attribute>
<value>value_1</value>
</customFieldDTO>
<customFieldDTO>
<attribute>ABC</attribute>
<value>value_1</value>
</customFieldDTO>
</customFieldDTOList>
Thanks
Mahalakshmi.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adjusted request payload (see below) same result: The custom data field "TOOL_ITEM_ID" on Tool "11439156" has not been filled with "Test".
Mange Tools APP:
Payload:
tns:Tool_Out xmlns:tns="http://sap.com/xi/APPL/Global2" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<MessageHeader>
...
</MessageHeader>
<equipment>
<plant>0001</plant>
...
<equipmentNumber>11439156</equipmentNumber>
<toolNumber>11439156</toolNumber>
...
<customFieldDTOList>
<customFieldDTO>
<attribute>TOOL_ITEM_ID</attribute>
<value>Test</value>
</customFieldDTO>
</customFieldDTOList>
</equipment>
</tns:Tool_Out>
Hi Daniel,
You can use Log tool usage within a production process design to set the automatic logging. for custom data you can try by adding custom data segment in the xslt
Thanks
Mahalakshmi.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahalakshmi,
thank you for your immediate reply.
Regarding the first topic: "You can use Log tool usage within a production process design to set the automatic logging"
Yes, we are aware that via toolUsageLogs API you can increase counter for usage. However, to make use of this functionality, the respective tool/equipment in advance must be set to Logging Method "Automatic" in Mange Tools APP according to our tests. My question therefore was, if I can set this option automatically when tool/equipment is generated via Intergration Workflow.
Regarding the second topic: "for custom data you can try by adding custom data segment in the xslt"
I already tried this (see request payload below) but the respective custom data field in SAP DM has not been filled. I am not sure if the right XML tags (CustomFieldList, CustomField) are used as there is no template in standard XML and they differ between other Integration Worksflows (Order Download, Material Download). Further, I don't know if I'm in the right XML section (equipment).
<tns:Tool_Out xmlns:tns="http://sap.com/xi/APPL/Global2" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<MessageHeader>
...
</MessageHeader>
<equipment>
...
<CustomFieldList>
<CustomField>
<Attribute>TOOL_ITEM_ID</Attribute>
<Value>Test</Value>
</CustomField>
</CustomFieldList>
</equipment>
</tns:Tool_Out>
BW,
Daniel
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.