cancel
Showing results for 
Search instead for 
Did you mean: 

Download Attachment not working for WM 6.2

Former Member
0 Kudos

Hello Experts,

Need your expert comment to get the attachment pushed to device.

I am able to upload document to SAP but not able to get it pushed.

Followed the troubleshooting guide for Attachment, did all the changes but still not working.

I am on SMP 3.0 SP06.

Please find some screen shots for reference.

netstat -anop TCP | findstr 8282

Task Manager Screen shot:

Logs:

2015/04/08 11:27:57.246:     + WorkFunction=000000015C6EF628

2015/04/08 11:27:57.246:       + User=SAPWM62-madhur

2015/04/08 11:27:57.246:         + Application=SAPWM62

2015/04/08 11:27:57.246:           Server timezone = Malay Peninsula Standard Time, Daylight Savings = No, Time difference = -28800

2015/04/08 11:27:57.249:           Received Client Time Info: client 11:27:57 AM 4/8/2015 server 3:27:57 AM 4/8/2015

2015/04/08 11:27:57.265:           Client Time Zone 'Malay Peninsula Standard Time' alias was not found in TimeZoneAliases in Agentry.ini

2015/04/08 11:27:57.266:           Client Time Zone 'Malay Peninsula Standard Time' is not recognized and no alias was found in TimeZoneAliases in Agentry.ini

2015/04/08 11:27:57.267:           + User=SAPWM62-madhur

2015/04/08 11:27:57.267:             + ANGEL Vine=1116392356

2015/04/08 11:27:57.267:               Sending response, type 27

2015/04/08 11:27:57.271:               + ANGEL Connection=127.0.0.1

2015/04/08 11:27:57.271:                 Attempt to send 43 bytes of data

2015/04/08 11:27:57.273:                 + Data Chunk=0

2015/04/08 11:27:57.273:                   Sending 43 bytes of data (with header)

2015/04/08 11:27:57.294:     + WorkFunction=000000015C6EF628

2015/04/08 11:27:57.294:       + User=SAPWM62-madhur

2015/04/08 11:27:57.294:         + Application=SAPWM62

2015/04/08 11:27:57.294:           Received Object Fetch: DocumentPushRequest

2015/04/08 11:27:57.298:           Return type expected: DummyFetchObject

2015/04/08 11:27:57.300:           0 client objects

2015/04/08 11:27:57.301:           Clearing transactions for SAPWM62

2015/04/08 11:27:57.459:           Fetch 'DocumentPushRequest': Getting back end connections

2015/04/08 11:27:57.462:           Fetch 'DocumentPushRequest': Beginning transactions for Client Exchange

2015/04/08 11:27:57.464:           Fetch 'DocumentPushRequest': Executing 0 Client Exchange steps

2015/04/08 11:27:57.465:           Fetch 'DocumentPushRequest': Committing transactions for Client Exchange

2015/04/08 11:27:57.467:           Fetch 'DocumentPushRequest': Begining transactions for Server Exchange

2015/04/08 11:27:57.468:           Fetch 'DocumentPushRequest': Executing 1 Server Exchange steps

2015/04/08 11:27:57.469:           Fetch 'DocumentPushRequest': Executing Server Exchange step 'DocumentPushRequestSteplet'

2015/04/08 11:28:00.022:           Fetch 'DocumentPushRequest': Committing transactions for Server Exchange

2015/04/08 11:28:00.028:           Fetch 'DocumentPushRequest': Begining transactions for Removal

2015/04/08 11:28:00.032:           Fetch 'DocumentPushRequest': Executing 0 Removal steps

2015/04/08 11:28:00.034:           Fetch 'DocumentPushRequest': Committing transactions for Removal

2015/04/08 11:28:00.037:           Fetch 'DocumentPushRequest': Begining transactions for Object Read

2015/04/08 11:28:00.039:           Fetch 'DocumentPushRequest': Executing 0 Object 'DummyFetchObject' Read steps

2015/04/08 11:28:00.041:           Fetch 'DocumentPushRequest': Committing transactions for Object 'DummyFetchObject' Read

2015/04/08 11:28:00.045:           0 to delete

2015/04/08 11:28:00.049:           0 to send

2015/04/08 11:28:00.053:           Everything sent, sending Ack

2015/04/08 11:28:00.054:           + User=SAPWM62-madhur

2015/04/08 11:28:00.054:             + ANGEL Vine=1116392357

2015/04/08 11:28:00.054:               Sending response, type 0

2015/04/08 11:28:00.058:               + ANGEL Connection=127.0.0.1

2015/04/08 11:28:00.058:                 Attempt to send 2 bytes of data

2015/04/08 11:28:00.061:                 + Data Chunk=0

2015/04/08 11:28:00.061:                   Sending 2 bytes of data (with header)

2015/04/08 11:28:00.066:     + WorkFunction=000000015C6EF628

2015/04/08 11:28:00.066:       + User=SAPWM62-madhur

2015/04/08 11:28:00.066:         + Application=SAPWM62

2015/04/08 11:28:00.066:           No extended data for pushes

2015/04/08 11:28:00.072:           Enabling Push with User locale of 'en-US'...

2015/04/08 11:28:00.208:           + Application=SAPWM62

2015/04/08 11:28:00.208:             Creating new Push Manager with User locale of 'en-US' using AppDef locale of ''.

2015/04/08 11:28:00.230:             + Application=SAPWM62

2015/04/08 11:28:00.230:               User 'madhur' added to push list

2015/04/08 11:28:00.236:             + Application=SAPWM62

2015/04/08 11:28:00.236:               + Application=SAPWM62

2015/04/08 11:28:00.236:                 1 modules to load

2015/04/08 11:28:00.240:               Creating Pushes: 1 modules

2015/04/08 11:28:00.244:               Creating Pushes: Module 'PM' has 4 pushes defined

2015/04/08 11:28:00.245:               Creating Pushes: Created 0 pushes

2015/04/08 11:28:00.247:           Push Enabled

2015/04/08 11:28:00.248:           + User=SAPWM62-madhur

2015/04/08 11:28:00.248:             + ANGEL Vine=1116392358

2015/04/08 11:28:00.248:               Sending response, type 0

2015/04/08 11:28:00.252:               + ANGEL Connection=127.0.0.1

2015/04/08 11:28:00.252:                 Attempt to send 2 bytes of data

2015/04/08 11:28:00.254:                 + Data Chunk=0

2015/04/08 11:28:00.254:                   Sending 2 bytes of data (with header)

Please advise and help.

Thanks,

Madhur Kanungo

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Team,

I am getting the following error while downloading the uploaded document at the SAP backend server for WM 6.2 as

Attachment list Error saving the document to a temporary file

Message no. 00398

Could you please help me on how to resolve this?

i834235
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please open new  thread.

Thanks

Manju

agentry_src
Active Contributor
0 Kudos

Locking this thread to prevent additional necromancy.  Please start your own Discussions.

If you say the issue is the same as you experience but the posted solution does not work, then you have a different issue.

Regards, Mike (Moderator)

SAP Technology RIG

Former Member
0 Kudos

Hello Everyone,

I am still facing the attachment download issue. Please let me know if any one has any suggestions.

Thanks,

Madhur Kanungo

agentry_src
Active Contributor
0 Kudos

Hi Madhur,

At this point, you may want to open a CSS ticket.

Hey ,

Any thoughts on this problem?

Regards, Mike

SAP Technology RIG

i834235
Product and Topic Expert
Product and Topic Expert
0 Kudos

Madhur,

First think is to need to identify where the problem exists  like a) SAP backend configuration for document management and /syclo/configpanel configuration settings b) push port settings c) SMP  server not reachable from SAP ( specify  IP address --if FQDN didn't work. d) check push queue status from /syclo/admin  and so on so  forth.

You need to look at below blog and make sure that you have applied all the OSS notes in your system .

http://scn.sap.com/community/mobile/blog/2014/03/25/troubleshooting-sap-work-manager-60-attach-docum...

You can also execute BAPI on SAP side which is called by Agentry to cross  check if required  document is downloaded.  if document is not download then check SAP configuration else check why SMP 3.0 is not reachable  from  the SAP side.

Thanks,

Manju - SAP RIG

Former Member
0 Kudos

Hi Manju

I Followed the troubleshooting guide for Attachment, did everything but still not able to get document.


I also followed

and


When I went to Syclo Admin panel, status of the push notification is also NEW.

I have configured 8282 port in [HTTPXML-2] section of Agentry,ini and Syclo Config panel outbound trigger.


I executed BAPI on SAP side but i am getting "No push data found" under return table.


Please let me know if anyone has any suggestions.


Regards:

Sumit Gupta

Former Member
0 Kudos

Hello Manju,

Even i executed the BAPI at the backend after requesting download from Mobile device but getting same message "No push data found".

Thanks,

Madhur Kanungo

Former Member
0 Kudos

Hi Madhur,

I solved this problem "No push data found" do one thing make a test data with new User_GUID. You just need to copy the User_GUID from console during requesting download from Mobile device and after testing document you just need to put that User_GUID under Import parameters of SAP BAPI.

Regards:

Sumit

Former Member
0 Kudos

Sumit,

Are you able to download document on Mobile device.

Do you know how to open port 8282 on SMP Server. Do we need to specify it somewhere.

How do i check if my port is opened or not, do i need to maintain it in config file.

More over i guess mine is PORT issue.

Thanks,

Madhur

Former Member
0 Kudos

Madhur,

Still i'm having same problem "On client device its showing "Request to download document has already been made to this server".

In order to open port, contact to administrator because only administrator exposed port –TCP - 9292 of SMP server.

Former Member
0 Kudos

Sumit,

I have installed the server for development as developer server, Can you guide me or help me know where can i open port on my laptop in order to make it work.

Thanks alot.

Regards,

Madhur

Former Member
0 Kudos

Madhur,

Ask to company administrator whether your port : 8282 open or not. Once port opened then only you can go through further process.

Regards:

Sumit

Former Member
0 Kudos

Hello Manju,

I can see below message during download of attachment.

04/23/2015 15:49:01, 1,        25,         0, Thr       9984, No data received on socket: Local 127.0.0.1:9292, Remote 127.0.0.1:64193, httpListener.cpp#282:HTTPListener::receiveIncomingRequest

04/23/2015 15:49:21, 1,        25,         0, Thr      11680, No data received on socket: Local 127.0.0.1:9292, Remote 127.0.0.1:64192, httpListener.cpp#282:HTTPListener::receiveIncomingRequest

04/23/2015 15:49:21, 1,        25,         0, Thr      11260, No data received on socket: Local 127.0.0.1:9292, Remote 127.0.0.1:64191, httpListener.cpp#282:HTTPListener::receiveIncomingRequest

04/23/2015 15:49:22, 1,        25,         0, Thr      10628, No data received on socket: Local 127.0.0.1:9292, Remote 127.0.0.1:64198, httpListener.cpp#282:HTTPListener::receiveIncomingRequest

Any suggestions to solve this issue.

Thanks,

Madhur Kanungo

i834235
Product and Topic Expert
Product and Topic Expert
0 Kudos

Madhur,

Try to put break point in one of these function modules on SAP side during document download. /SMERP/CORE_DODMSDOCUMENT_GET or /SMERP/CORE_DOPUSH_DMSDOC_GET. During debug save test data for the above FM.  Once FM is executed you should see data getting downloaded.  if not then you need debug on SAP side as to why document is not getting download ?  you  may have to look at your SAP configuration and /syclo/configpanel settings related document.  Are you using external DMS by any chance ?

if this helps you to troubleshoot issue further.

Thanks

Manju.

Former Member
0 Kudos

Hello Manju / Daniel,

I am finally able to download document via PUSH now

Only issue i have now is when i click on document push, it does not push the object.

I need to manually go to HTTPRequestor and click on POST in order to receive document on mobile.

Any configuration or settings i need to make in order to receive the document without going to HTTPRequestor.

Thanks alot.

BR,

Madhur

syam_yalamati
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Madhur,

   Try to set-up a batch job '/SYCLO/CORE_OTRIG_RETRY_PROG' in SAP on particular time interval to resend push instances from the pending push queue. This is just an HTTP O/B trigger message informing SMP server that there is new push instances waiting in a push queue just like your HTTP requestor POST.

Regards

Syam

Former Member
0 Kudos

Hello Syam,

Even though running this program in background job or executing it manually in SAP, It is not pushing the attachment to Syclo.

I am getting attachment to Mobile device only when i run HTTPRequestor.

Please let me know.

Thanks,

Madhur

Former Member
0 Kudos

Hi,

most likely, this has to do with the network connection/configuration (routing, firewalls etc.). You can try to use Wireshark to determine whether the message from the SAP server is reaching the SMP server. If this is not the case, you will probably need help from the network experts in your company to finally resolve the issue. (Congratulations, you are this close to a working WM attachment download...)

Regards, Daniel

0 Kudos

Hi Madhur,

Change the outbound trigger URL Type in Admin portal to Use IP Address and Test again. Refer Page 14.

Thanks

Resmi

Former Member
0 Kudos

Hello Resmi,

It already being Set to Use IP address.

Please find snapshot.

Kindly let me know is there any other way.

I need to manually trigger using HTTP requester.

Thanks,

Madhur

Former Member
0 Kudos

Thanks Daniel.

I dont know how to use wireshark but is it due to Network configuration i am not able to download documents ??

Thanks.

Madhur

Former Member
0 Kudos

Hi,

let me try to expain the mechanism in a simplified manner (it really is more complicated than one might think):

1. WM: click on the attachment to send a push request ("Hi SAP, I want to have that document! Let me know when I can pick it up."; "Hi SMP, I have to search for it, I will text you when I found it.")

2. SAP: looks for the document and when found, sends an XML over HTTP on 8282 (Text message to SMP "Hi SMP, I found your document, you may get it whenever its convenient for you!"; SMP just ack's the message as received)

3. WM: sends a message to get the document ("Hi SAP, just wanted to pick up that document I ordered"; "Hi SMP, here you go. Have fun with your document")

If connection-wise, everything was okay, there would be no need for you to use the HTTP Requester, because the SMP would be able to receive the "text message" (i.e. using another communication channel than in step 1 and 3). By using the HTTP Requester, you are taking the role of SAP in Step 2. (you send a text message "Hi SMP, I happen to know that SAP found your document. Just go to SAP and pick it up.")

Am I making any sense to you?

Regards, Daniel

Former Member
0 Kudos

Thanks Daniel, Its great explanation.

Si i fill it out why my step 2 is not working. I have asked Network Team to look into this and help me out.

My SMP Server is not able to acknowledge back to SAP which is the issue and when i am using HTTP Requester its sending the document directly to WM.

Thanks alot for explanation.

BR,

Madhur

mark_pe
Active Contributor
0 Kudos

Hi.

Network connection may be too popular of an issue with WM attach documents.

You are not the only one.

Here is a picture of what I used to explain if the port is block.

So in essence, if you still cannot download the document is either you have:

  1. A port block or
  2. Your user does not have the authority to download documents (in the troubleshooting guide there is a link on authorization)

Solution:

Talk to your Security team who may know what software you can use. As suggested above, Daniel stated Wireshark. There are other tutorials in SAP on Wireshark (just not sure if it is available externally). I personally use Windows Power tools - Windows Explorer. I use this to determine which port is being used during transmit with the Work Manager. If the port is not use then it is missing during the transmit. Open an IT ticket to analyze your port that you defined as your Push port.

See picture and reference (picture is for CRM but replace it with ERP for WM).

Best Regards,

Mark Pe
Support

Former Member
0 Kudos

Hi Madhur,

I'm finally able to download document via PUSH Process.

when i click on document push, it does not push the object it display same popup like request already been sent to server..

I need to manually go to HTTPRequestor and click on POST in order to receive document on mobile.

But HTTPREQUESTER is working fine in case of local system but if i download document for SMP server then it does not receive any documents.

I want to ask what URL is need to put here for SMP-Server.

Regards:

Sumit

Former Member
0 Kudos

Hello Sumit,

Just check if you are able to telnet that port 9292 from your local system.

Looks like Port is not opened for you and that's why its not connecting.

Also see detailed log of SMP server, you will be able to get more information over there.

Try this and let us know if it works.

Thanks,

Madhur Kanungo

Former Member
0 Kudos

Madhur,

Using telnet you can check whether the port is open or not.

Go through this link https://kb.acronis.com/content/7503.

Regards:

Sumit

Former Member
0 Kudos

Hello Mark Pe and Daniel Klink ,

Your suggestion and explanation really helped me.Thanks alot for all the support, I am able to download attachment now

BR,

Madhur Kanungo

i834235
Product and Topic Expert
Product and Topic Expert
0 Kudos

Madhur,

Can you please close this thread if your questions is answered ?

Thanks

Manju.

agentry_src
Active Contributor
0 Kudos

Regards, Mike

SAP Technology RIG

agentry_src
Active Contributor
0 Kudos

Hi Madhur,

Please mark this Discussion with a Correct Answer (closes, but does not lock the Discussion) and Helpful Answer where appropriate. See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why   Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be.  Do not use Assumed Answered as it confuses anyone looking for the specific answer.


Thanks, Mike (Moderator)
SAP Technology RIG

mark_pe
Active Contributor
0 Kudos

Madhur,

Hi. There are a lot of steps in the troubleshooting guide (like 15+ steps).

Some ideas:

1) Your user name is not authorized to work with documents - check the troubleshooting guide pre-requisites. If you don't have authorization you would never get documents.

2) Your Push port is being blocked by your firewall.  <-- this needs to be checked. Can you ping the port from the SMP server area or from the area that will received the push data from SAP?

3) Did you setup your timezone correctly under the Agentry.ini or Cockpit? Let us say your client is 1 hour off than your SMP/SAP timezone, when you try downloading the document the system will think that your request is old and will not fire and just mark it as COMPLETE. (Resolution Item 11 in the link below).

~~~~~~~From your log above:~~~~~~~~

2015/04/08 11:27:57.246:         + Application=SAPWM62

2015/04/08 11:27:57.246:           Server timezone = Malay Peninsula Standard Time, Daylight Savings = No, Time difference = -28800

2015/04/08 11:27:57.249:           Received Client Time Info: client 11:27:57 AM 4/8/2015 server 3:27:57 AM 4/8/2015

~~~~~~~~~~~~~~end~~~~~~~~~~~~~~~~~~~

Your /SYCLO/ADMIN transaction code needs to be check for the push data if it is In Process or Completed. Item 3 above is going to show Completed but the document didn't get downloaded. If it is In process then you may have issues with Firewall.

- You may need to do the retry trigger as described in the troubleshooting guide and look at the GUI to see if you have any action.

I would still say that our troubleshooting guide has most of the recorded issues that ties customers in not getting their attach documents to work.

http://scn.sap.com/community/mobile/blog/2014/03/25/troubleshooting-sap-work-manager-60-attach-docum...

Please verify you checked step 1 to 15 plus the requirement section.

Regards,

Mark Pe
SAP Senior Support Engineer

Former Member
0 Kudos

Hi Mark,

Thanks for the response, i did went through the trouble shooting guide before posting this issue.

I don't understand why i am getting time difference.

I am currently in Kuala Lumpur, my timezone is UTC+8.00, i have set the same in agentry client. But still see there is difference in client and server timezone.

~~~~~~~From your log above:~~~~~~~~

2015/04/08 11:27:57.246:         + Application=SAPWM62

2015/04/08 11:27:57.246:           Server timezone = Malay Peninsula Standard Time, Daylight Savings = No, Time difference = -28800

2015/04/08 11:27:57.249:           Received Client Time Info: client 11:27:57 AM 4/8/2015 server 3:27:57 AM 4/8/2015

~~~~~~~~~~~~~~end~~~~~~~~~~~~~~~~~~~

I have installed SMP server on my laptop which is in Malaysia timezone, I am running the client from my laptop. Then why i am getting the difference in timezone.

Can you help me ?

Thanks,

Madhur

Former Member
0 Kudos

Hi,

please check the events.log for timezones not configured in the SMP Applications "App specific settings". In my case, the client time zone "Mitteleuropäische Zeit" (see events.log) must be matched with the server time zone, in my case "(UTC+01:00) ...".

Regards, Daniel

Former Member
0 Kudos

Hi Daniel,

Thanks for the response, Even after having that setting in SMP cockpit, I am getting different timezone error.

2015/04/08 11:27:57.246:           Server timezone = Malay Peninsula Standard Time, Daylight Savings = No, Time difference = -28800

2015/04/08 11:27:57.249:           Received Client Time Info: client 11:27:57 AM 4/8/2015 server 3:27:57 AM 4/8/2015


Kindly let me know if i am missing anything.


Thanks.

Madhur Kanungo

Former Member
0 Kudos

Could you please post your events.log - after restarting the SMP and performing a client sync?

Former Member
0 Kudos

Hello Daniel,

Please find events.log.

04/09/2015 08:54:18, 0,         0,         0, Thr       6464, New files opened events.log, messages.log

04/09/2015 08:54:18, 0,         0,         2, Thr       6464, Loading the Agentry Runtime's public/private key for password exchanges.

04/09/2015 08:54:18, 0,         0,         2, Thr       6464, Key pair loaded successfully.

04/09/2015 08:54:18, 0,         0,         2, Thr       6464, Agentry Startup

04/09/2015 08:54:18, 0,         1,         4, Thr       6464, Agentry Server Agent v7.8.0.5

04/09/2015 08:54:18, 0,        20,       150, Thr      10160, Loading Development application definitions

04/09/2015 08:54:44, 0,        24,         4, Thr      10160, Loaded HTTP-XML Back End (HTTPXML v7.8.0.5) from ag3httpxmlbe.dll

04/09/2015 08:54:51, 0,        23,         4, Thr      10160, Loaded Java Back End (Java v7.8.0.5) from ag3javabe.dll

04/09/2015 08:55:05, 0,        20,       152, Thr      10160, Loading Development application definitions for default localization

04/09/2015 08:55:05, 0,        20,       151, Thr      10160, Finished loading Development application definitions

04/09/2015 08:55:06, 0,        17,        14, Thr       6464, SAPWM62 v7.8.0.5

04/09/2015 08:55:06, 0,        20,         4, Thr       6464, SAPWM62 v7.8.0.5

04/09/2015 08:55:06, 0,        17,        10, Thr       6464, SAPWM62 v7.8.0.5

04/09/2015 08:55:06, 0,         0,         0, Thr       6464, Old log files moved into C:\SAP\MobilePlatform3\Server\log\agentry\rolled\2015-04-09-085415

04/09/2015 08:55:06, 0,         0,        23, Thr       6464, Agentry startup is complete.

04/09/2015 09:54:16, 0,         0,         7, Thr       9968,

04/09/2015 10:54:17, 0,         0,         7, Thr       9968,

04/09/2015 11:54:18, 0,         0,         7, Thr       9968,

04/09/2015 12:54:19, 0,         0,         7, Thr       9968,

04/09/2015 13:17:48, 0,         0,        24, Thr       2012, Agentry shutdown is beginning.

04/09/2015 13:17:48, 0,        17,        11, Thr       2012, SAPWM62 v7.8.0.5

04/09/2015 13:17:48, 0,         1,         5, Thr       2012, Agentry Server Agent

04/09/2015 13:17:49, 0,        20,         5, Thr       2012, SAPWM62

04/09/2015 13:17:49, 0,         0,        15, Thr       2012, SAPWM62

04/09/2015 13:17:49, 0,         0,         3, Thr       2012, Agentry shutdown complete

Thanks.

Madhur

Former Member
0 Kudos

Hi,

the log looks fine to me. Document download in the Work Manager is pretty complex stuff, there might be any number of problems. I would try to identify up to which point the download request "works"... /SYCLO/ADMIN might be useful to determine the status of the push messages...

Regards, Daniel

Former Member
0 Kudos

Hello Daniel,

In /n/Syclo/Admin the Status is NEW. Please find the screen shots.

One more thing i notice that my HTTP connection is closed for server MADHURPR1.

Is is that my port is closed ?

Thanks,

Madhur Kanungo

Former Member
0 Kudos

Hi,

you might try to send the XML in line "HTTP data set to" to your SMP server from your laptop (e.g. using HttpRequester for Firefox; make sure the XML is valid). If the HTTP connection between SAP server and SMP server is the problem, then this allows you to manually trigger the rest of the push process.

Regards, Daniel

Former Member
0 Kudos

Hello Daniel,

Can you help me how do we perform this step.

Thanks,

Madhur

Former Member
0 Kudos

Hi,

I am not quite sure what step you mean. You need to

- get the XML from your 2nd screenshot and add the missing part of the XML; here is a sample XML from my environment, yours should have a similar structure:

<SCS21_DMS_DOCUMENT_PUSH><SAPPushNotif><app>SAP_CUSTOMER_SERVICE_21</app><users><usr SCENARIO_ID="SCS21_DMS_DOCUMENT_PUSH" USER_GUID="xxx" USER_ID="xxx"/></users></SAPPushNotif></SCS21_DMS_DOCUMENT_PUSH>

- install HttpRequester (or a similar tool)

- "download" a document in the work manager and check with /SYCLO/ADMIN that the pushrequest reached the SAP system

- using HttpRequester, POST the XML as content type "text/xml" to the URL "http://yoursmpserver:8282"; the answer should look like this: <data><success>true</success></data>

- now, the workmanager will execute another bapi to fetch the document from sap... if all goes well, the work manager shows a message box stating that a document has been received

Regards, Daniel

Former Member
0 Kudos

Hello Daniel,

I followed the approach you mentioned but i dint got any document downloaded to device.

Please see steps followed:

1. XML format used:

<SWM62_BDS_DOCUMENT_PUSH>

<SAPPushNotif>

<app>SAP_WORK_MANAGER_62</app>

<users><usr SCENARIO_ID="SWM62_BDS_DOCUMENT_PUSH" USER_GUID="005056BA5FDD1ED4B1C39823C205A506" USER_ID="MADHUR"/>

</users>

</SAPPushNotif>

</SWM62_BDS_DOCUMENT_PUSH>

2. Requested download of attachment from Syclo, it reaches SAP.

3. I have run the request in HTTPRequestor, got the success message but no attachment got downloaded.

Request you to kindly let me know if i am missing anything.

Thanks,

Madhur Kanungo

Former Member
0 Kudos

Please find events.log file.

04/16/2015 14:40:45, 1,        25,         0, Thr       4780, No data received on socket: Local 127.0.0.1:8282, Remote 127.0.0.1:59435, httpListener.cpp#282:HTTPListener::receiveIncomingRequest

04/16/2015 14:50:15, 1,        25,         0, Thr       7848, No data received on socket: Local 127.0.0.1:8282, Remote 127.0.0.1:59770, httpListener.cpp#282:HTTPListener::receiveIncomingRequest

It says No Data received .

Thanks.

Madhur

Former Member
0 Kudos

I don't think I have seen that message before... sorry, but I guess I am out of ideas at this point.