Skip to Content
Author's profile photo Kevin Xu

How to finish a Notification Attachment download synchronously on Demand Fetch for SAP Work Manager

If you are the first time to use the Agentry Backend System and want to add a notification with attachment and transmit the data from Backend System to Agentry Client successfully, this quick start guide will be good for you.


Note: All the contents of this article are the minimum requirement on this topic.

Prerequisites:

  1. For the Work Manager Application Part
    1. Install the work manager 6.3 and deploy it on the SAP Mobile Platform following the link.Quick Start Guide to install SAP Work Manager 6.3 with SMP 3.0
  2. For the Agentry Backend Part
    1. Create a work center and associate with a existed plant
    2. Assign your personnel id to this work center
    3. Associate your Backend user with the personnel id

For the Agentry Backend part, you can follow the link below for the reference if have any query.

http://scn.sap.com/community/mobile/blog/2016/04/11/configuration-related-to-personnel-id-issue-in-agentry-sap-erp-backend

Test Environment:

SAP Mobile Platform 3.0 SP10

Work Manager 6.3

WPF Agentry Client v70.11.0

Step by Step guide:

Log on the Agentry Backend ERP system and run the Transaction code /SYCLO/CONFIGPANEL and open the web page.

/wp-content/uploads/2016/04/image002_937074.jpg/wp-content/uploads/2016/04/image004_937072.jpg

Select “Mobile Application Configuration” and choose the work manager 6.3 application. Press “Client Globals” tab and change the ‘Attachment.Synchronous’ setting’s value to ‘Y’ if the content was “N” before, also the active flag should be clicked.

/wp-content/uploads/2016/04/image006_935952.jpg

Run the Transaction code IW21 to create notification, choose a notification type and click the notification button to enter the detailed setting screen./wp-content/uploads/2016/04/image008_935953.jpg/wp-content/uploads/2016/04/image010_935954.jpg/wp-content/uploads/2016/04/image012_935955.jpg

Input name in the notification title field, scroll down the list to the bottom of Notification tab, navigate to Responsibilities’ field and enter the Plant number, Work center and the Personnel id who has been associated with this work center./wp-content/uploads/2016/04/image014_935956.jpg/wp-content/uploads/2016/04/image016_935963.jpg

Click the save button and make sure the notification has been created successfully./wp-content/uploads/2016/04/image018_935964.jpg/wp-content/uploads/2016/04/image020_935965.jpg

Run the Transaction code IW22 to edit the notification created before and press the Notification button and enter the detailed information screen./wp-content/uploads/2016/04/image022_935966.jpg/wp-content/uploads/2016/04/image024_935967.jpg

Click “System” in the header and select Service for Objects -> Create -> Create Attachment./wp-content/uploads/2016/04/image026_935968.jpg/wp-content/uploads/2016/04/image028_935969.jpg

Attach one of each file with following format: .doc, .xls, pdf, .ppt, jpg, .bmp,.gif, .png,.txt and save./wp-content/uploads/2016/04/image030_935970.jpg/wp-content/uploads/2016/04/image032_935973.jpg

Close the attachment screen, press “put in process” button to publish the notification and save the notification.

/wp-content/uploads/2016/04/image034_935977.jpg/wp-content/uploads/2016/04/image036_936002.jpg

Run the Transaction code IW23 to display the notification modified before and click “System” in the header and select Service for Objects -> Attachment list. Make sure the object has been attached successfully.

/wp-content/uploads/2016/04/image038_936003.jpg/wp-content/uploads/2016/04/image040_936028.jpg

Open the WPF Client and log on the Backend User, input the work manager 6.3 application path URL in the SMP Admin Cockpit and start to transmit data. /wp-content/uploads/2016/04/image042_936044.jpg/wp-content/uploads/2016/04/image044_936045.jpg

Select notification tab on the client and we will see the new notification has been uploaded to client from backend system. Press the attachments option in this notification and the attachment should be there with “Not Downloaded”./wp-content/uploads/2016/04/image046_936075.jpg

After press the download button, the downloading process bar would popup on screen. After finishing the transmission, we should find that the attachment status has been changed to “On Device”.

/wp-content/uploads/2016/04/image048_936101.jpg/wp-content/uploads/2016/04/image050_936102.jpg/wp-content/uploads/2016/04/image052_936103.jpg

Click the downloaded button, this attachment would display on the client directly or remind you to save it in the local folder depending on different format./wp-content/uploads/2016/04/image054_936104.jpg/wp-content/uploads/2016/04/image056_936105.jpg

Related link:

http://scn.sap.com/docs/DOC-50070

https://scn.sap.com/docs/DOC-63417

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Yun-zheng Zhang
      Yun-zheng Zhang

      Great job, thanks for sharing.