Technical Articles
Multiple Payload Downloader for SAP PO/PI
Hello All,
Wishing you a Happy New Year.
Sometimes we need to look at more than one message log. As this number increases, the workload starts to increase. Therefore I created this tool and with this tool, you can download different versions of the messages between the two dates as you wish. After that, you can quickly find what you are looking for in the downloaded messages with any third-party software.
This tool works only for 7.4 and 7.5 versions. (for now)
Login
Host field should be: http(s)://<host>:<port>
If you have the right permissions, you can log in to the tool.
Usage and Features
You need fill all blank fields.
If your integration has not a party, you must fill Receiver/Sender Party field with ” * “.
*This tool limited with 500 messages.
You just can download the “Log version” of the message.
Supported Log Versions;
- MS
- AM
- BI
- Receiver JSON Response
- Sender JSON Request
- Polling JSON Request
t
You can see logs when downloading files. The name of the downloaded file comes from the message-id of the message.
Example 1
MS step from Message Monitor;
MS step from downloaded file;
Example 2
AM step from Message Monitor;
AM step from downloaded file;
Summary
This tool can help you download multiple messages. I wanted to be user friendly when developing this tool. In the coming days, I’m thinking of making improvements and updating for this tool to work on versions 7.31 and below.
Download
You can find the JAR file on GitHub
Thank you for reading!
Regards,
Sedat Goc
Hi Sedat;
Perfect. Thank you for sharing.
Hasan
Hi Hasan,
Thank you for your comment.
Regards,
Sedat.
Great post. I don't doubt that most companies will make messages payload search easier.
Thanks Sedat.
Hello Ramazan
Very good idea.
Are you able to share on Github the Java source code ?
I migth expand it to add filters like failed messages transmissions.
Thanks
Eurico
just use http://java-decompiler.github.io/
best regards, Peter
Hi Sedat,
a very useful tool, I will definitely use in the future.
keep it up and thank you very much.
Youssef El.
Thanks!
Hi,
Thanks for sharing your tool. What roles are needed for me to be able to download payloads? I was able to log in through the tool but I'm stuck when downloading - it just says "Downloading" and the first file is 0 bytes. My filters are correct so I'm assuming it has something to do with role/authorization.
Louie
Hi Louie,
Can you check exists a “Log Version” of the message you want to download?
I checked my code after your comment and i updated JAR file. You can download new version from GitHub. Thanks for feedback.
Sedat
Hi Ramazan,
I am using payload down loader it was fine and good but now while try to open am facing below error.
How can we need to resolve this .
A Java Exception has Occurred.
Hi thanks for this usefull tool 🙂
Is it possible to change the file number limit, as I have more to download?
Hi,
Thanks for your comment. I am using a standard PI web service and this service has a limit for messages. Web service's limit is 1000 but I limited 500 because sometimes the download process takes a long time. I can add a field for message limit one day:)
Sedat
Hi All,
Please you could explain how to install the .jar and exactly where this should be installed.
Thanks in advance.
Best Regards.
Maria Orellana
Please also how to run? is it possible to run from NWDS?
Awesome tool! It really helpful. just one comment. tool is not able to download JSON files. I am selecting Receiver JSON Response but still it download only XML files.
Hi Hemendra,
Thanks for your valuable comment 🙂
Did you see the JSON response log in message monitor as JSON format? If yes, I can check this feature.
Sedat.
Hello,
is the jar file from GitHub executable? I tried double clicking it and I have Java 10 installed. But it is not opening.
Best regards, Peter
Hello Peter,
Yes, the Jar file is executable. Can you try with Java 8?
Best Regards,
Sedat.
Hello Sedat, I have java version “1.8.0_144” as my default now, that should work, right?
java version
But when I double click the jar, nothing happens
Best regards, Peter
Hello Peter,
Sorry for the delay. Can you try to run with windows command?
1 - Open Command Prompt
2 - java -jar PayloadDownloader.jar
Best Regards, Sedat
Hello Sedat,
it is working, thank you for making this tool accessible for everyone.
Best regards, Peter
Hi, When I try to install, it says invalid or corrupt jar file, any suggestions?
Hi, I would like to use this tool for interfaces configured on ABAP Stack of PI System to download payloads. Please let me know how we can use it?
Regards,
Sachin
Hi,
We use OpenJDK version “1.8.0_262”
Java -jar PayloadDownloader.jar gives the folloing exception
java.lang.NoClassDefFoundError: javafx/application/Application
Fehler: Hauptklasse com.medepia.Login konnte nicht gefunden oder geladen werden
How to fix this ?
Regards
Ralf
Hi Ramazan,
Really a great work.
Thax a lot.
Great idea. I tried this tool out - but it looks like i am getting a lot of different payloads that does not match the selection criteria - is this behavior already known?
I am on PI 7.5
Kind regards
Helmut
Hi
This is exactly what I need right now.
when I run the jar file, I am able to connect to system, but when I try to download the payload, nothing happens. No log is captured nor the file is generated. I have made sure the message is logged in sap po (log version is there, sap po 7.5).
can anyone advise on the roles required or any other clue.
thanks
syeda