Where does the value of 'Last changed on/by' is stored for any element in 'se11' (Inside attributes tab) - sap-data-dictionary

I want to find out 'last changed on/by' for a large number of elements going in 'se11' and checking it's attribute value .
So instead of copying each elements name and checking it's attribute for the same value, is there any table or database in which i can get the values for multiple entries at once?
Picture is attached in the question for the reference.

With the cursor placed in the field you're interested in, press F1, then select the technical info. This will show you the table name or - as in this case - a structure named RSDXX, which is not what you're looking for - but it is the fastest way in some cases.
Alternatively, start transaction ST05, enable the SQL trace and navigate to the display in a separate window. Then stop the trace and examine it - you will find a list of all tables accessed for the process. Very near the top of the trace list, you will find a table named DD02L which is the one you're looking for in this case.

Related

Printing records with condition Crystal reports

I am using stored procedure in mssql as backend, vb.net as frontend (just info).
There are a lot of records in the database and I am printing in crystal reports.
Now I want to filter the records from crystal report and not by adding a new parameter to procedure or changing database structure or else.
For now,Say there are columns : Name , Amount.
I want to put filter in amount like only display records whose amount above 100 or something. So other records with less than 100 should not be displayed.
This filter will be passed by the user so it'll be random.
I can't find a proper answer on internet. Might be a duplicate question, if so please post the link of the question if it is duplicated.!
Thanx anyways...!
In general the idea is to:
Create the parameter (user choose what will be the input/value) - link
Set filters, what values should be displayed in regards to parameter - link
On right side there is a DataExplorer window, where You need to add a Parameter (define his name, what question will be shown to user and what type the param will be / what values can be set inside).
Once done, You can jump to Data tab of a report, click Interactive Filter and specify which column must fit what condition with what value = Parameter (that one user will enter in Report).
Example: I will create AmountParam, with message "What should be the minimum amount?". Type will be set to Integer. Going to Report->Data->Interactive Filter, choose Amount as a Column, AmountParam as a Parameter and set condition Greater then (>).

MS ACCESS Report - Using CODE to change a value in a field from an OPTION Group to a different value

I have a report in ACCESS that Is based on a query of a table populated by a form with an Option group. ( to try to explain this better - Table is inspector qualifications, the query pulls all of the qualifications for the inspector, the qualifications are selected via option group on a form that populates the fields of the inspector qualification table.) Of course, the choices are stored as numeric values, "1, 2, 3 or 4" in the table, but 4 actually designates a N/A or NONE. Since everything is already built out this way, I am trying to write a code that will run when the report is generated (or opened,) that will take the "4" value entered (if the field equals that) and change it to a Null value /blank in the report - not in the query or table. I still want this report to generate everything else as is - show all records - just change the value if that particular option is the one shown in that field for that particular record.
Anyone know of a good way to do this? Any help would be GREATLY appreciated!!!!
You would just place an 'IIF' in the query that tests for the value you want to change, then either changes it to something else, or retains the original value. The below will test field 'Nbr1' for the presence of a 4, and if found, change it to 'N/A', otherwise it stays the same.
Note! You will need to change the control source in the report to reflect the name you provide (i.e. 'MyChange') because you can't keep the original name.
SELECT Table1.ID, Table1.EMPID, Table1.TestResult,
IIf([Nbr1]=4,"N/A",[Nbr1]) AS MyChange, Table1.Nbr2
FROM Table1;

For the FileMaker Script Step "Set Next Serial Value", how can I specify the table and field name dynamically?

I'm writing a script that's intended to work for multiple layouts and table occurrences. For each, it will determine the primary key and then find the maximum value in any record for that primary key field. That's all working well. Now, I've computed my intended next serial value and would like to assign this to a field whose name I have saved in a variable. I am unable to specify the target field by using a variable. I only see an option for selecting the table and field from a list of existing fields.
My questions:
Is there a way to dynamically specify the target field?
Why is there a checkbox for "specify target field"? I see that I receive error 102 (missing field) when I do not specify a target field. I don't understand why it's optional but returns an error if it is not used. Why not make it mandatory?
I've tried:
The script step "Go to field". I was hoping that having this script step placed before "set next serial value" would allow me to leave "specify target field" blank. But there's still error 102 for "set next serial value". And "go to field" also cannot be specified dynamically.
I'm working with FileMaker 11, but I've also investigated FileMaker 15 and it's also not possible to specify a target field from a calculation. In both FM 11 and 15, it's possible to specify the number of repetitions from a calculation, but not the target.
I've considered various approaches for determining the next serial value but all of these hinge on being able to specify the target dynamically. In case this is not possible, I will need to re-think my strategy and write scripts for each table in the database separately.
Here's a discussion on the same question that I have. http://fmforums.com/topic/93934-set-dynamic-next-serial-value/ My question about why "specify target field" is optional was not answered there so I thought I would ask the question here in case anyone has additional information.
As you might notice, I'm relatively new here, so I would also appreciate any tips about how I can improve the formatting or content of this question.
Before we had Set Next Serial Value, we used Replace Field Contents to get the same effect, but it's more complicated, although it will allow you to do it dynamically. The basic idea is that you'll need to be on the record that has the maximum serial number, isolate that record, make sure you're on a layout with the serial number field, go to that field, and use Replace Field Contents to set the field to itself while also updating the next serial value. The script would look something like this:
Go to Layout [ // layout that has the target field ]
Enter Find Mode
Set Field By Name [ $_target_field ; $_max_serial ]
Perform Find
Loop
Go to Next Field
Exit Loop If [ Get(ActiveFieldTableName) & "::" & Get(ActiveFieldName) = $_target_field ]
End Loop
Replace Field Contents [ No Dialog ; Replace with serial numbers: Custom values ; Initial Value: $_max_serial ; Increment by: 1 ; Update serial number in Entry Options ]
No, I haven't tested this out on a sample file, but it's the basic technique we used before FileMaker, Inc. gave us Set Next Serial Value.

QlikView : get data filtered in pivot table

I found a great tutorial for building a nicer (dynamic) multibox, without extensions.
I was able to use it, and I really love it.
However, I have an issue:
if I use a multibox with a master detail table, then if I filter it from detail then master will automatically selected. The below example shows a normal multibox at the top, and dynamic/pivot multibox at the bottom:
How I can achieve this with my dynamic multibox?
For the label, I use:
=if(IsNull(GetFieldSelections(master)) = -1, 'Master',GetFieldSelections(master))
with this, I can set 'Master' as the label.
I can see data has seen filtered but I didn't find a function to get data that has been filtered to set it in the label, maybe someone here can give me an advice to solve this.
The GetFieldSelections() will only give you the list of explicitly selected items. By selecting items in the detail, you're only selecting from the master implicitly.
Try using Concat() instead. This will give you the list of possible values for a field that isn't being directly selected upon.
Your next big headache will be how to determine when to show 'Master' or not. One possible method is to compare the full list of possible values in Master to the possible list. In the example below, I do this by comparing the possible count of master count(master) with the full list of possible values in master count({1}master).
Combining these, one solution could be:
=if(count(master)=count({1}master),'Master',Concat(master,', '))

Excel array function return all fields found with index and match

Here is the array function I am using:
=IFERROR(INDEX('Master Data'!$D$2:$D$153,MATCH(1,(B9='Master Data'!$J$2:$J$153)*('Master Data'!$W$2:$W$153=1),FALSE)),"")
Where D is the name of a project, J is a persons name and W is a flag to check if they are assigned to a project either equal to 0 or 1. B is also an instance of the persons name that is built up from a seperate list.
It basically references the master data and returns any rows with the criteria specified. However a single person may have two instances where the assigned flag is equal to 1 and thus as the master data is filtered different results are given back by the function.
Another problem I have is that the persons name is not repeated either so maybe the best way would be to start populating the names in the assigned table from the master data as well.
As requested here is an slight example of the data. On the left is the master data, the middle is the assigned table thats being built and the right is the list of employees that builds up the names in the assigned table.
Please note that there is two instances of david smith in the master data but only one in the assigned table as its being built with the employees list.
What I was thinking was to build up the names in the assigned table from the master data using an array where the assigned indicator is equal to 1 and to completely scrap the employees list, but I'm really unsure if this is possible or how to go about it.
Or even if there was some sort of way to select a few columns from the master data where the assigned indicator = 1?
Not sure if I understood it right. But the problem how to list multiple lookup results is achievable with SMALL function in combination with getting an array of ROW numbers.
For example have a sheet like this:
Then formulas are:
F4 downwards:
=COUNTIFS($B:$B,$E4,$C:$C,1)
G4 and then copied in G4:J8:
{=INDEX($A$1:$A$1000,SMALL(IF($B$1:$B$1000=$E4,IF($C$1:$C$1000=1,ROW($1:$1000))),COLUMN(A:A)))}
But if the goal is only to have a filtered list of all assigned resources, then the formulas could be
E13:
{=INDEX($B$1:$B$1000,MATCH(1,($C$1:$C$1000=1)*1,0))}
E14 downwards:
{=INDEX($B$1:$B$1000,MATCH(1,(COUNTIF($E$13:$E13,$B$1:$B$1000)=0)*($C$1:$C$1000=1),0))}
Formulas in {} are array formulas. These are entered into the cell without the curly brackets and then [Ctrl]+[Shift]+[Enter] is pressed to finish.
I have not handled the error values for better understanding the formulas. You can later hide the error values with IFERROR. You seems to know how to do this.

Resources