on 2022 Apr 27 5:59 AM
Hi All
Within SAP OEE, while doing Report Production Quantity ( Yield, Production and Scrap ) are showing on a different screen whereas Production Activities (ACT_STD_VAL) are showing on a different screen. While confirming the Production, only Production Quantity (ACT_REP_QTY) is getting updated at backend end system whereas Production Activities are not getting updated as those are on different screen.
I have an idea that workflow to confirm production is ORDER_CONFIRM_BAPI but it looks like it is reading value from activity ACT_REP_QTY and not accepting values ACT_STD_VAL
Can we merge two screens mentioned below in a single screens so that data from both screens get updated.
Request clarification before answering.
Hi Adnan,
use the below for controllername and then try. also clear the cache.
controllerName="customActivity.zoeeReportQuantity"
Thanks
Mahalakshmi Syamsunder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adnan,
As i mentioned earlier, you need to ensure the exact following path. i see you have missed WebContent/customActivity folder. please maintain the same and try
http://<host>:<port>/<Project name>/Web/WebContent/customActivity/<View page>
Thanks
Mahalakshmi syamsunder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks , its almost working. Now issue is that view is still referring to controller on path sap.ui.oeeReportQuantity , rather than controller I placed in customActivity Folder.
<core:View xmlns:core="sap.ui.core" xmlns:suite="sap.suite.ui.commons" xmlns:l="sap.ui.layout" xmlns="sap.m"
controllerName="zoeeReportQuantity">
<Page showHeader = "false" showNavButton="false">
<content>
Uncaught Error: found in negative cache: 'sap/oee/ui/zoeeReportQuantity.controller.js' from ./sap/oee/ui/zoeeReportQuantity.controller.js: 404 - error
at t1 (jquery.sap.global-dbg.js:3278:19)
at Object.q.sap.require (jquery.sap.global-dbg.js:3906:4)
at Object.sap.ui.controller (Controller-dbg.js:239:12)
at h (View-dbg.js:469:20)
at I (View-dbg.js:335:19)
at f.c._initCompositeSupport (View-dbg.js:371:5)
at ManagedObject-dbg.js:427:11
at f.constructor (ManagedObject-dbg.js:450:4)
at f.constructor (Element-dbg.js:99:17)
at f.constructor (Control-dbg.js:119:11)
Hi Adnan,
Create a new custom activity of type UI and in url, place the path of the view page of your custom UI5 code (which you enhanced on top of the standard code). Please note that the custom UI5 code should be maintained as in the below path.
http://<host>:<port>/<Project name>/Web/WebContent/customActivity/<View page>
this is the approach to use the custom code in place of an upload option.
further use this custom activity in your dashboard against report production button
Thanks
Mahalakshmi Syamsunder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahalakshmi
I have downloaded the controller and view from standard activity and uploaded on workbench as mentioned below, however when I am assigning same URL on UI activity, it is not showing any screen.
Below mentioned Activity is having URL of above view and assigned to relevant dashboard but it is showing a blank screen.
Hi Adnan,
In any workflow,
Hope this is clear. let me know for any additional questions.
Thanks
Mahalakshmi Syamsunder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adnan,
There are 2 options that i can suggest
1. if the standard values are calculated ones,
then you can create a custom prexslt transaction of Order_confirm_bapi workflow and map the calculated values to ACTIVITY parameters such as activity 1 to activity 6. in this way the standard report data will fetch the qty, rework and scrap plus these mapped standard values.
2. if the requirement of merging qty reporting and std value reporting in same UI and if the standard values are manually reported and not calculated ones
, you have to customize report qty UI to add the standard value parameters plus use option1 for mapping the standard values
Thanks
Mahalakshmi Syamsunder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adnan,
You need to create a new custom activity and assign this activity in dashboard instead of the standard activity.
Also please note, on every version/patch release from SAP, the custom code should be placed in the fresh downloaded code as the new release may or may not have changes in the standard activity.
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
Thanks for your response. I have also created a custom activity, but it is just having option to download UI Code, there is no option to upload the code after changes. Maybe code needs to be uploaded through Web IDE or Eclipse over Workbench.
Secondly do you have any links, from where we can go through how to perform changes in activity screens.
Below screen shot is referring to custom activity, having no option to upload.
Standard activity screen, having option to download the code but there is not button to upload it.
Dear OEE MII Expert,
I am facing same kind of issue, your support and is required to post production order confimation with prodution data (Yield, Rework and Scrap) and Activities Data (Setup, Machine and Labor) through single screen from OEE MIII to S/4Hana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
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.