Skip to Content
0

Push function for Assignment type 2: Operation level personnel number of the work order

May 30, 2017 at 01:31 PM

139

avatar image

Dear All,

I am working with Work Manager 6.4 application . The PUSH functionality is working fine in case of Assignment type 1: Header level person responsible for the work order (default, no change required).

Now due to client requirement I have to change it to Assignment Type 2: Operation level personnel number of the work order.

I am following the config guide WM641_Configuration and made all the changes mentioned:

-------------------------------------

To configure push for assignment type 2 (personnel number assigned to the work order operation), make the following changes:

Set the Assignment Type global = 2

Set the PUSH.WorkordersPushForEvent = SWM64_EMERGENCYWORKORDER_OPERATION_PUSH

Set the SWM64_WORKORDER_GENERIC of the mobile data object WOASSIGNMENT_TYPE data filter = 2

Check the Active Flag for the SWM64_EMERGENCY_WORKORDER_OPERATIONPUSH push scenario and uncheck the Active Flag for the other two push scenarios

Check the Active Flag for the SWM64_EMERGECY_WORKORDER_OPERATION_PUSH in the EFI Assignment for /SYCLO/PM_EFI_AUFNR_EX_INCL

Set the filter OPER_PARENT_UPDATE = X for the SWM64_WORK_ORDEROPERATIONPUSH in the Exchange Object Configuration for plant maintenance.

------------------------------------------------------------

7.13.3.1 Configuring Operation/Sub-Operation Push Scenarios

Procedure

Within the Mobile Add-On for ERP Configuration Panel main page, select the EFI Assignment menu link. This displays EFI Assignment configuration page.

In the Enhancement Implementation Includes list on the left of this page, expand the node /SYCLO/PM. Under this node, select the /SYCLO/PM_EFI_AUFNR_EX_INCL item. This displays this EFI ASsignment in the EFI Assignment Detail page. Here, select the Assignment tab.

In this list of assignments, select the SWM63_WORK_ORDER_OPERATION_PUSH exchange object in the list. Click Change at the top of the page. Below the list of exchange objects are the settings for the one currently selected. Here, check the Active Flag box and then click Save.

On the same line, uncheck the Active Flag box for SWM63_WORK_ORDER_PUSH.

Return to the ConfigPanel main page. Here, select the Push Scenario Definition menu link. This displays the Push Scenario configuration page. In the list on the left of Push Scenarios by Mobile App, expand the node for SAP_WORK_MANAGER_63. Under this node select the item SWM63_EMERGENCY_WORKORDER_PUSH. This displays the push scenario in the configuration page.

Click Change at the top of the page. In the Activation section, change the Active Flag setting by un-checking this box. This disables this push scenario. Click Save to apply this modification.

In the list of push scenarios on the left of the page, select either the SWM63_EMERGENCY_WORKORDER_OPERATION_PUSH or SWM63_EMERGENCY_WORKORDER_SUBOPER_PUSH scenario, depending on the desired behavior. This displays the selected push scenario in the configuration page.

Click Change at the top of the page. In the Activation section, check the Active Flag check box. This enables the selected push scenario. Click Save to apply this modification.

Return to the ConfigPanel main page and select the BAPI Wrapper menu link. In the BAPI Wrapper List on the left of this page, expand the node /SYCLO/BAPI_PM. Under this node, select the BAPI Wrapper /SYCLO/PM_DOPUSHWORKORDER1_GET. This displays the BAPI wrapper in the configuration page. In this page select the Assignment tab to list the MDOs to which the BAPI wrapper is currently assigned

---------------------

But this is not working and I am getting an error : No valid recipients found for the push instance

I can see the entries of push in Admin :

Also there are entries in tables PSH01 and PSH02

If anyone has worked on this scenario, Please share your view and help me solve my issue.

Thanks and Regards

Neha Mahanty

vfhcu.png (62.1 kB)
z8ou0.png (16.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member
Oct 19, 2017 at 04:51 PM
0

Hi Neha,

For Assignment type 2 push.

1.Set the PUSH.WorkordersPushForEvent = SWM64_EMERGENCYWORKORDER_OPERATION_PUSH

Actual Value should be "SWM64_EMERGENCY_WORKORDER_OPERATION_PUSH" --> "_" missing after "SWM64_EMERGENCY".

2. In EFI Assignment, For AUFNR_EX three assignments should be active.

->work order exchange

->work order operation exchange

->emergency work order operation push exchange

Thanks,

Jhansi.

Share
10 |10000 characters needed characters left characters exceeded