Getting data out of SAP information box with vba - vba

I'm automating a process with VBA, and I'm using SAP Scripting to do so.
The process is basically go to VA01, input the Orders Data and save the order.
But there is a variant in saving the order that is cracking up my head.
The SAP displays a popup message with relevant informations about the order, and I need that information and can't figure out how to get the Text out of the infobox that is displaying when you save the order.
Infos are: Blocked on price, No limit etc... And when it displays that message, I need to save it on a TXT file (i've already got a code for that), I just need a help in manage how to get that text out of the infobox.

If you had an access to the messages you can use MESSAGE - INTO (check info about it)
if i got your task incorrect pls write here. Good luck

I reproduce here the answer of the OP (#zanniboni):
"Hey, thanks for your help. I managed to do what I wanted with this code session.FindById("wnd[1]/usr/txtMESSTXT1").Text".

Related

VSTS - uploading via an excel macro and getting #mentions to work

I am using VSTS and would like numerous people to get sent the notification when a work task is created.
I am creating a lot of stencils that can just automate and upload work tasks through the TEAM add-in in excel, but don't know how to make the "#mention" function work.
I have written all sorts of styles of syntax in the history field, then publish but nothing seems to work.
Has anyone figured this out?
Cheers Dave
The format is like:
You can To get the userid through User Entitlements-Lists REST API:
GET https://{accountName}.vsaex.visualstudio.com/_apis/userentitlements?api-version=4.1-preview

Value Suggestion for SAP Dynpro input field

I need to show suggestions when someone types something into my input field.
It's a field for a transport request. So if someone starts to type something in it shows at the moment last entered entries but it should make suggestions what to type in (like it happens for example in transaciton VA02 ). I want a dropdown of a selection of the table E070 where I can see the request and the short text.
I did use google but i just found this, but i've got a normal dynpro and no WebDynpro.
The keyword you are looking for is Enhanced Search. You can provide your own enhanced search implementation by creating a search help and activating the proposal search feature. Note that the enhanced search can be turned off in the GUI Settings, though - and many users and organizations do so because it tends to be irritating for long-time experienced users.

Is there anyway to get this table data into iOS app?

I work with a company who outsources their website. I'm trying to retrieve data from the site without having to contact those who run it directly. The table data I'm trying to retrieve can be found here:
http://pointstreak.com/prostats/scoringleaders.html?leagueid=49&seasonid=5967
My methodology thus far has been to use google chrome's Developer Tools to find the source page, but when I filter under the network tab for XHL, only the info of the current games can be found. Is there anyway to scrape this data (I have no idea how to do that; any resources or direction would be appreciated) or another way to get it? Am I missing it in the developer tools?
If I had to contact those who run the website, what exactly should I ask for? I'm trying to get JSON data that I can easily turn into my own UITableViewController.
Thank you.
Just load the page source and parse the html.
Depending on your usage there may well be a copyright issue, the page has an explicit copyright notice so you will need to obtain explicit permission for your use.

An automated email response system to incoming faxes

This is a theoretical question but any specific technical knowledge that could help will also be appreciated.
I am an IT Assistant with not much knowledge in programming (apart from EasyPattern and super-simple batch files) but have been given an opportunity to start getting into it by having been given a task to create a step in our document management system which is vaguely defined by the title of this question.
CONTEXT:
So, we have incoming faxes with short digit codes on them, these code correlate to identifying information in our database (relevantly; email addresses). In a watched folder environment we have software that upon auto-acknowledging these fax/image files being dropped into a designated incoming location (from a fax server) it initiates Microsoft Digital Imaging (MODI, runs in the background) to find these codes (using OCR, Optical Character Recognition) and places them into CSV files (one .csv file per code per fax page). Our database admin assures me that he can have the email addresses that correlate to the codes automatically placed into their correlating csv file.
GOAL:
It is from this point that I am being asked to find a way to have a universal unchanging email message ("We have received your fax") automatically sent to those email addresses. Upon a "way" being known, I am then to actually accomplish it.
QUESTION:
How to do this? As I said, a valid theoretical answer will suffice, for that will tell me how it can be done, which would in turn tell me what to learn, which would in turn tell me where to look.
WHERE I'M AT NOW:
I understand VBA to be a programming model within an 'event-driven' paradigm and that VBA programming projects are possible and supported in both Microsoft Outlook and Access. Does herein lie my answer? Can VBA used to accomplish this? (maybe auto import the email addresses from the csv file into the "To:" field of a outgoing email?) I'm hoping it'll be easier since the message can always stay the same (something along the lines of: We received your message). I'm reading two text books that introduce the reader to VBA in Access with one, and VBA in Outlook with the other.
I hope this message makes sense, this whole question might be naive, incoherent, or maybe even outright ignorant. But any patient and understanding response would be GREATLY appreciated.
You want something like this.
For posterity's sake, here is a summary of what it entails:
In Outlook, add a handler for the Application-level NewMailEx event.
Load each MailItem by its EntryID and handle it appropriately.
You would create your new email with Application.CreateItem(oMailItem), define its subject/body/recipients and then send it.

SQL Report Server URL growing out of control (ExecId & PingId)

I have a report that allows users to drill into sub reports and then come back to the main report and enter new criteria. I'm noticing that with each drill down and then back to the main report that the following information is added to my URL with each link clicked:
&ExecId=xq4pydfqqc3eqkygktfx0uah&PingId=f3kthzre4mbyg0mfjsfe0qmu
That is what I get after my first link followed, each additional link produces another:
&PingId=f3kthzre4mbyg0mfjsfe0qmu
After a user has been doing this for a while, the link starts to look like this:
&PingId=hbtv1gyagv4tsx55cdfc1on5&PingId=ghdx5b45fn4qk045zggkpi45&PingId=ykb5ku2jhy1d11iyaguann45&PingId=eryqw4eg3md2bsmsmxmqce45&PingId=3l4ppd45nl1t3355o0cbzij4&PingId=bxcp4l45cosufzba2o5cj355&PingId=oyqnea55wfkefv4552kj1045&PingId=nrhjfxjinnvmgl45rcqqbk55&PingId=44yavxb0rcldabuqzdeekl3a&PingId=3o4mtxy0e4hise454zfvp055&PingId=r1pjxf55o1yy0f55pfd1u345&PingId=m5j5xa550y4dmrqfrsfmczua
We're noticing not only performance issues, but eventually IE just craps out and I assume this is due to hitting the 2083 character URL max (roughly 20 links clicked).
I can find NO information about what the PingId is or what its purpose is. I believe it's like a GUID that tracks what you've done allowing you to drill back out of a report. Maybe that GUID is a representation of a variable being passed into the sub report, I don't know. Is there a way to scrub the URL when you click on a sub report or to drop the tracking that RS is doing? What I do know is that it's giving us a headache.
Thanks in advance.
I found a solution to my problem... This DOES NOT explain what the PingId is and why it's growing. Rather than setting the Action of a field to "jump to report" I changed it to "jump to url". Then I created a formula (see below) that takes the user back to the original report passing the arguments needed. This changes how the report is viewed (notice that it's ReportServer/Pages vs Reports/Pages). I found this article to be helpful: http://dobrzanski.net/2008/08/11/reporting-services-problem-with-passing-parameters-directly-in-the-url/
http://rs/ReportServer/Pages/ReportViewer.aspx?%2fDepartment+Reports%2fOperations%2f.Receiving+Stuff%2fPaperless+Receiving&rs:Command=Render&po_number="&Fields!po_number.Value