on 04-08-2015 4:29 AM
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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Everyone,
I am still facing the attachment download issue. Please let me know if any one has any suggestions.
Thanks,
Madhur Kanungo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 .
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
Hi Manju
I Followed the troubleshooting guide for Attachment, did everything but still not able to get document.
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
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
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
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.
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
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
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
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
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
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:
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
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
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
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
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
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
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.
Please verify you checked step 1 to 15 plus the requirement section.
Regards,
Mark Pe
SAP Senior Support Engineer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
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
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
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
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
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.