I'm searching the use of a SAP table. I want to know where the table S083 is used in SAP standard programs.
I've searched trough the Where-used list. But I only got the self-created programs and not the SAP standard programs.
Anyone know how to search for table use in SAP standard programs?
In order to be able to use the where-used functionality for SAP standard coding, the system administrator has to run the program SAPRSEUB in order to generate the indices for the programs. This program is a long-run program and also needs some disk space, so be sure that the system has enough hard drive space assigned.
More in SAP Note 401389.
Related
I am working using Tableau and have to write down multiple different SQL each time, while making new data sources.
I have to save all changes on SQL for every data source.
Currently I would paste the SQL on notepad and save them on separate folder in my computer, along with description of the changes.
Is there any better way to do this?
Assuming you have permission to create objects in the database, begin by creating database views, As #Nick.McDermaid commented.
Then, instead of using Custom SQL data source in Tableau, just connect to the View as if it were a table.
If you need to track the changes to these SQL views of your data, you will need to learn how to use source control for the .sql files that can be scripted from within SQL Server Management Studio:
Your company or school may have a preferred source control system already in use, in which case you should use that. If they don't, or if you are learning at home, then Git and Subversion are popular open source choices.
There are many courses available on learning platforms like Coursera that will teach you how to learn how to use those systems.
I had similar problem as you.
We ended up writing the queries in SQL Editor SQL Work bench (https://www.sql-workbench.eu/), then managed the code history and performed code peer-review (logic, error check, etc) in team shared space (like confluence).
The reasons we did that is
1) SQL queries are much easy to write on Work Bench
2) Code review is a must! You will find through implementing a review process more mistakes than you could ever think about
3) The shared space is just really convenient as it is accessible by everyone, and all errors are documented. After sometimes you get a lot of visible knowledge accumulated.
I also totally agree with Nick as this is one step to a reporting solution. But developing a whole reporting server is heavy, costly and takes time. Unless management are really convinced of the importance of developing a reporting solution, you may have to get a workaround with queries and Tableau (at least that was the case for us)
A little late to the party, but I would suggest you simply version the tableau workbook. The contents of the workbook are XML, so perfect for versioning using file based tools (Dropbox, One Drive, etc.) or source control (git, etc.). The workbooks themselves are usually quite small, so just make sure to keep the extract data separate if you use it.
Our application has a GUI for selecting devices by their MAC address. At this time I have to enter the MAC address in captial letters and with colons.
However, I often have the MAC address in Windows format, which is lower case and with hyphens instead of colons.
The developers keep telling me that it's not possible to apply an uppercase transformation and replace the hyphens by colons. In this project I'm working as QA and I'm neither familiar with SAP Query nor ABAP. But being a developer for C# and Java projects, I really can't believe this.
Is there a way in SAP Query to transform user input from e.g. aa-bb-cc-dd-ee-ff to match the database content AA:BB:CC:DD:EE:FF?
The datatype is C length 17. The program GUI at the time filling the query with the parameters is RSSYSTDB. The Program Dynpro at that time is AQZZ/xxx/yyy where xxx is our partner namespace and yyy corresponds to the transaction. The program GUI and Program DynPro when the result is displayed is SAPLAQRUNT.
If the data element is used exclusively to store MAC addresses (i. e. it's not some generic "device information data" field), the developers could implement a (very concise and easy to implement) conversion routine. That would also help users entering the data. Other than that, I believe the options provided by SAP Query are more than limited...
I have a large collection of SAS programs. Currently, I have lots of SAS modules licensed and installed (I've checked which ones via %sasinstallreporter), but I'm not sure whether I need all of them.
How can I determine which modules I actually need in order to run all of my code? They're rather expensive and I don't want to pay for modules that I'm not going to use. Is there a list of procs / libname engines somewhere that are tied to specific SAS modules?
Apologies if this is a duplicate, but some brief searches didn't turn up anything obvious.
I have posted a follow-up question here regarding what other things I should be looking for in my code.
1st, get a list of all the procedures your code uses. You can do this manually, or write a script in SAS/AWK/Perl to parse through your code.
Next, go to http://support.sas.com/documentation/ and search each for each of the unique Procedures.
For example, if I search for PROC REG, I get these results (http://support.sas.com/cdlsearch?charset=iso-8859-1&nh=25&ct=80000&qt=PROC+REG++&s1=3&searchterm=PROC+REG&sasreleasepart=&sasprodpart=&searchContains=). You will see under the results SAS/STAT(R), which tells you it is part of the SAS/STAT module.
You may also have things licensed that do not show up as PROC XXX in your code. Things like SAS/Integration Technologies are used for running and connecting to a SAS server. Talk to your SAS administrator about how those are used.
Happy hunting.
If you are paying for SAS, I would say send this question to SAS technical support, they should be able to help you with a list.
I don't think there is a definative list of modules and associated PROCS on the web.
Regards,
Vasilij
This question pertains to the i5/OS (mainframe, as400, etc.) and its programs that are written in CL. How does one access the parameters within a given .PGM extension file (RPGLE) outside the application itself and without admin privs?
I have tried all available and related functions within the as400 app itself. None of them work. At least not with my user privs.
Overall, this mainframe app utilizes hundreds of libraries within libraries. Add thousands of files to that and you have a daunting task of accessing relevant data outside of the limited menu functions / programs(.PGM file extensions) for which you are granted access.
Frankly, the programs just suck. I really like using a SSH connection and qshell to execute SQL statements to bring up tables within the libraries. I can customize what tables are accessed and how the information is fetched.
This particular program acts as a basic query that accesses data from several tables, presents it in a new table that and allows for realtime filtering based on a limited amount of criteria.
I have tried the CAT command as below:
$ cat someprogam (and several variations with and without extensions, I forget)
But these just give me error codes
I have also tried executing SQL statements at the db2 prompt, but I get SQL STATE return codes (this isn't a .FILE extension so yes it makes sense that it wouldn't work the same way as selecting tables would).
I'd prefer accessing the data within qshell. Perhaps I am doing something wrong? Any help is greatly appreciated. Thank you
Qshell is an alternative operating environment to what I'll call native for lack of a better name. Qshell is similar to AIX but not 100% identical. Qshell does not map the output of native programs to stdout, so you can't access the output of a native program via pipes.
If a native program writes to a display, the only reasonable way to redirect that output is to screen scrape it, which can be done by writing your own tn5250 emulator, intercepting the screen output and putting it where you want it to go, including stdout. This is not particularly simple if you're not comfortable with the 5250 communications protocol.
You have two vaguely practical options. 1) Write many SQL stored procedures which, coupled together, replicate the business logic embedded within the programs you want to execute. 2) Ask the midrange developers to refactor out the business logic into a service program (they should understand this) and write a stored procedure for you to use. This way, both the midrange programs and external consumers (you) can reuse the same business logic. And when (not if) that logic changes, it'll change in one place, and all consumers will see the new rules.
Here comes a simple question but hard to find its answer.
Is there an ABAP Workbench (also known by the transaction code SE80 in SAP R/3) in SAP Business One 2007?
The workbench should be open and not just for SAP use. I would like to know if it's possible to create custom ABAP programs in this SAP solution.
It's not hard to find the answer at all if you bother searching. There is no ABAP Workbench in B1 because B1 is not built on top of the NetWeaver/ABAP stack.
SAP Business One is not built on NetWeaver platform, so there will be no way you can have an ABAP application server. Also, for your information, SBO is not a R/3 Structure .About the technical part in SBO, it has a SQL database and you can only write SQL queries to retrieve data and generate reports. There is a query generator to help you write queries. To conclude, data processing in SBO is very limited comparing to ABAP.
You need to use either .NET/Java for customising or developing screens in SAP Business One.
It doesn't have any relation with ABAP and there are no transaction codes in SAP Business One.
About the technical part in SBO, it has a SQL database and you can only write SQL queries to retrieve data and generate reports. There is a query generator to help you write queries. To conclude, data processing in SBO is very limited comparing to ABAP.
But once you have the data you can do whatever you want with it, for e.g the now native Crystal Report rutime in SBO...Also it has a a pretty rich and mature COM-based SDK for putting data in as well, the DI API (as well as the DI Server which is XML-based). I create solutions for SBO with these all the time in my job...