on 03-14-2016 4:13 PM
Hi,
I have the requirement to report activity times on each NC routing step completion, since these are cost related.
SAP ME doesn't send yield confirmation from NC routing steps automatically, also NC routing steps do not include original ECC work center related information needed for confirmation (e.g. activity types and their proposed values)
In order to solve this we came up with a possible solution concept:
So far I came up with the following implementation idea:
Questions:
Thanks in advance,
Laszlo
Hi Laszlo, I don't recommend to implement custom collaboration plugins, as they were deprecated as extension type starting from SAP ME 6.1. I recommend to implement custom POST Service extension class to 'completeSfcBatch' method , API com.sap.me.production$SfcCompleteService#completeSfcBatch. This API method is invoked when you complete SFC on the POD. Your business logic in service extension should call MIIMessageDeliveryDBService API to insert data to SAPMEINT_ME_MESSAGE table. Example : MessageDeliveryInterface messageDeliveryService = Services.getService("com.sap.me.integration.erp","MIIMessageDeliveryDBService"); messageDeliveryService.deliver(request); //create request with required data Regards, Oksana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the quick answer straight to the point!
To achieve the final goal I also need to collect the data for the confirmation message.
Basically the functionality of the ERP_YIELD_CONFIRMATION directive needs to be replicated.
Is there there a way to re-use a part of that functionality from the service extension to produce the standard part of the confirmation message and than just add the custom data to it and pass it on?
Hi,
Core collaboration plugins are not exposed as public API, so you can't invoke or re-use them in any custom class.
If you just need to add custom data to existing yieldConfirmationRequest message then it is much easier to implement as customization for SAPMEINT. You just need to implement MII transaction that will read custom data from CUSTOM_FEILDS table , this transaction will append XML structure with custom fields to original yieldConfirmation request. Then you will need to modify core XLST structure that will build required BAPI call that will include your custom fields.
Regards,
Oksana
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
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.