How to show specific data for user on redirected page once they logged in
I and fairly new, but have a general understanding of Dreamweaver. Using CS3 or CS4, how do you get the redirected page after the user logges in to show only the data for that user? I have creater the login page and it works fine but i dont know what needs to be on the redirected page for it to show only the data for the user that just logged in.
I am not very good with the coding part so if it requires it any help with that would also be helpful.
thank all.
I should be able to get the understanding if explained.
As for scripting i believe its PHP. at lease thats the page i created the login page with.
As for user-specific information: basiclly there account information.
As for database i have dreamweaver linked to a MySQL database. it pulls from 2) tables
1st table has the following: ID - User Names - Password - account number
2nd table has the following: ID - account number - names - address - ect
So basiclly i want when a user loges in for it to redirect them to a page which then only shows the data for that users. if i can link the data the pulls up by the account number that would be ideal
Thank you Murry
Similar Messages
-
How to show popup help for user
i have made a bar graph for my database in jpanel. now i want to show the proper data in popup when user moves mouse over apprpriate bar in jpanel. i would like to know is there is any way to do this. i need help as i m new in the field of java. i am making birthday remainder service for user.
The javax.swing.Popup class might be usable.
-
SEM-BPS how to load additional data for special users at runtime?
Let´s assume you have a transactional info cube which contains SD Data from the source system.
If you want to show additional data, let´s say the attributes of the sold materials which can be read in the table MARA of the source system (provided you use R/3, etc.)
and you only want to show this data for a small amount of users, which need to see it, then i wonder how to do this.
am i right, that i can use the exit functions to init key figures, i.e. i could write some code which connects to the source system over RFC, downloads the data at runtime and presents it at the users excel sheet????
moreover, is it necessary to extend the existing cube, just to achieve this aim?
Message was edited by: Gideon LenzHello Gideon,
there's no need to program anything. You can display any attribute in planning layouts. In your case you would extract the master data from material from SAP R/3 (MARA) into BW. The setup the layout to show the required attribute(s) in the layout in BPS.
If the attribute is relevant only for a specific user group, just give them access to this "special" layout (create a planning folder or web interface for this group).
Regards
Marc
SAP NetWeaver RIG -
How to set the filter on a report to show the data for the Current Month
Hi all,
I am working on a report, which currently has this filter: Date First Worked is greater than or equal to 10/01/2010. This reports show the data for the current month, so at the beginning of each month we have to remember to change the date on the filter.
Does anyone know what the criteria should say, so that it automatically changes and shows the information for the current month, without us having to go in and change anything?
Any help would be greatly appreciated!
Thanks,
AAYou need to add a session variable to date fir worked assuming that this is a date field.
To do this open up the filter on the field then at then press add Variable then "session" and enter the following CURRENT_MONTH into the Server Variable section. -
How to show only date in BO webi 3.1 text box
how to show only date in BO webi 3.1 text box for e.g:-
01/01/2005 (no time only date)hi,
just check by which format your date is coming
just create a one variable and check =UserResponse("Transaction Date From (mm/dd/yy)")
if your output is in format of("mm/dd/yyyy hh:mm:ss a")
then some format we have to write in todate syntax
then your final formula for date would be
=FormatDate(ToDate(UserResponse("Transaction Date From (mm/dd/yy)");"mm/dd/yyyy hh:mm:ss A");"dd/mm/yyyy") -
How to name the data for each column I am acquiring in lvm file
does anybody hint How to name the data for each cloumn I am acquiring in lvm file.
I want to tag or name ,eg temperature at top of a column which shows the temperature readings .I am writing into a labview measurement file.
ThanksUse Set Waveform Attribute on each channel of your data. Set an attribute with name "NI_ChannelName". The value is a string containing the name you wish to call the channel.
This account is no longer active. Contact ShadesOfGray for current posts and information. -
LastDataRefresh(ROLLUPTIME)-does not show correct date for multiprovider
Hi,
The Last data refresh (Rolluptime) shows incorrect date for multiprovider and we use lot of multiproviders.
Removing the last data refresh from the "Information" button of the Bex Web Analyzer which is using the "Information field web item", shows an empty space and a colon ":" and an empty box.
Please let me know if there is any other way to remove the last data fresh without showing the empty space.
We are on SPS 7 and FEP 7. Is this problem still exist in SPS 8/FEP 8?
Thankyou,
-Sini
Message was edited by: Sini KumarDepends on your definition of correct. Your initial question was that this time does not display. This time should display. For a multprovider, it uses this formula
first(last(<All InfoProviders under Multi - ROLLUPTIME>))
It uses the earliest rollup time from the last rolluptime of all the base providers. -
How to show multiple values for Unique records in Report
Here's my question/problem:
I've joined two tables, one table (TBL1) contains an object id (OBJ_ID) that repeats and the other table (TBL2) contains a date (DT), object type id (OBJ_TYP_ID), and object type description (OBJ_TYP_DES). The tables are joined by an inventory id (INV_ID).
The OBJ_ID repeats and has a Date value for each record. I want to report an unique OBJ_ID and show each Date for a particular OBJ_ID in multiple Columns.
An example of the current resultset looks like this:
OBJ_ID OBJ_TYP_ID OBJ_TYP_DES DATE
1 1 TYPE1 4/1/2009
2 1 TYPE1 4/1/2009
3 1 TYPE1 4/10/2009
1 2 TYPE2 5/3/2009
3 1 TYPE1 3/30/2005
4 1 TYPE1 4/1/2009
5 1 TYPE1 4/1/2009
5 2 TYPE2 5/1/2009
1 1 TYPE1 4/3/2007
1 1 TYPE1 3/30/2005
I want to express the resultset like this:
OBJ_ID OBJ_TYP_ID OBJ_TYPE_DES DATE1 DATE2 DATE3
1 1 TYPE1 4/1/2009 4/3/2007 3/30/2005
1 2 TYPE2 5/3/2009
2 1 TYPE1 4/1/2009
3 1 TYPE1 4/10/2009 3/30/2005
4 1 TYPE1 4/1/2009
5 1 TYPE1 4/1/2009
5 2 TYPE2 5/1/2009
What technique is best to use to do this? I know I could create another table and populate the rows/columns by reading data from this query, but is there a better way?Hi,
cclemmons wrote:
I want to express the resultset like this:
OBJ_ID OBJ_TYP_ID OBJ_TYPE_DES DATE1 DATE2 DATE3
1 1 TYPE1 4/1/2009 4/3/2007 3/30/2005
1 2 TYPE2 5/3/2009
2 1 TYPE1 4/1/2009
3 1 TYPE1 4/10/2009 3/30/2005
4 1 TYPE1 4/1/2009
5 1 TYPE1 4/1/2009
5 2 TYPE2 5/1/2009
What technique is best to use to do this? I know I could create another table and populate the rows/columns by reading data from this query, but is there a better way?Absolutely! You seem to have an instictive feeling that creating a separate table just for a query is inefficient. You instinct is 100% correct. Maybe in Oracle 7 there was a reason to do that, but today you can query results of other queries as if they were tables, so temporary tables like you describe are very rarely necessary, let alone convenient.
What you want to do is pivot the date columns. Here's one way
WITH original_query AS
SELECT obj_id
, obj_typ_id
, obj_typ_des
, dt -- date is not a good column name
FROM ... -- the rest of your original query goes here
, got_rnum AS
SELECT oq.*
, ROW_NUMBER () OVER ( PARTITION BY obj_id
, obj_typ_id
, obj_typ_des
ORDER BY dt DESC
) AS rnum
FROM original_query oq
SELECT obj_id
, obj_typ_id
, obj_typ_des
, MAX (CASE WHEN rnum = 1 THEN dt END) AS dt1
, MAX (CASE WHEN rnum = 2 THEN dt END) AS dt2
, MAX (CASE WHEN rnum = 3 THEN dt END) AS dt3
, MAX (CASE WHEN rnum = 4 THEN dt END) AS dt4
, MAX (CASE WHEN rnum = 5 THEN dt END) AS dt5
FROM got_rnum
GROUP BY obj_id
, obj_typ_id
, obj_typ_des
;As you can see, this adds two layers of queries on top of your original query. One of those layers is probably not needed; depending on what you're doing in your original main query, you can probably compute rnum there, and omit the got_rnum sub-query.
Also, depending on the relationship of obj_id, obj_typ_id and obj_typ_des, some of what I posted above may not be needed but including it won't really hurt.
If you want to know more about this technique, search for "pivot" or "rows to columns". A <tt>SELECT ... PIVOT ...</tt> keyword was introduced in Oracle 11, but most of what you'll find when you search for "pivot" doesn't assume you have Oracle 11 (nor does the query above require Oracle 11).
This assumes you know an upper limit (5 in the example above) of dts that can appear in any line of output.
See [this thread|http://forums.oracle.com/forums/thread.jspa?messageID=3527823�] for a discussion of some alternatives. -
How to show a data in Higher fonts with write statement
Hi.
how to show a data in Higher fonts with write statement
I want to show a statement in large fonts with write statement.How can I do that.
write : 'Company Address'.
Regards
MaveMave,
I would precribe you to use the FORMAT options available with the WRITE Statement.
Because this allows us to differentitate between the HEADIngs and the LINEs in the report.
Here u go dear:
http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9e7135c111d1829f0000e829fbfe/frameset.htm
Thanks
Kam -
How to Get Missing Dates for Each Support Ticket In My Query?
Hello -
I'm really baffled as to how to get missing dates for each support ticket in my query. I did a search for this and found several CTE's however they only provide ways to find missing dates in a date table rather than missing dates for another column
in a table. Let me explain a bit further here -
I have a query which has a list of support tickets for the month of January. Each support ticket is supposed to be updated daily by a support rep, however that isn't happening so the business wants to know for each ticket which dates have NOT been
updated. So, for example, I might have support ticket 44BS which was updated on 2014-01-01, 2014-01-05, 2014-01-07. Each time the ticket is updated a new row is inserted into the table. I need a query which will return the missing dates per
each support ticket.
I should also add that I DO NOT have any sort of admin nor write permissions to the database...none at all. My team has tried and they won't give 'em. So proposing a function or storable solution will not work. I'm stuck with doing everything
in a query.
I'll try and provide some sample data as an example -
CREATE TABLE #Tickets
TicketNo VARCHAR(4)
,DateUpdated DATE
INSERT INTO #Tickets VALUES ('44BS', '2014-01-01')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-05')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-07')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-03')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-09')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-11')
So for ticket 44BS, I need to return the missing dates between January 1st and January 5th, again between January 5th and January 7th. A set-based solution would be best.
I'm sure this is easier than i'm making it. However, after playing around for a couple of hours my head hurts and I need sleep. If anyone can help, you'd be a job-saver :)
Thanks!!CREATE TABLE #Tickets (
TicketNo VARCHAR(4)
,DateUpdated DATETIME
GO
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-01'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-05'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-07'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-03'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-09'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-11'
GO
GO
SELECT *
FROM #Tickets
GO
GO
CREATE TABLE #tempDist (
NRow INT
,TicketNo VARCHAR(4)
,MinDate DATETIME
,MaxDate DATETIME
GO
CREATE TABLE #tempUnUserdDate (
TicketNo VARCHAR(4)
,MissDate DATETIME
GO
INSERT INTO #tempDist
SELECT Row_Number() OVER (
ORDER BY TicketNo
) AS NROw
,TicketNo
,Min(DateUpdated) AS MinDate
,MAx(DateUpdated) AS MaxDate
FROM #Tickets
GROUP BY TicketNo
SELECT *
FROM #tempDist
GO
-- Get the number of rows in the looping table
DECLARE @RowCount INT
SET @RowCount = (
SELECT COUNT(TicketNo)
FROM #tempDist
-- Declare an iterator
DECLARE @I INT
-- Initialize the iterator
SET @I = 1
-- Loop through the rows of a table @myTable
WHILE (@I <= @RowCount)
BEGIN
-- Declare variables to hold the data which we get after looping each record
DECLARE @MyDate DATETIME
DECLARE @TicketNo VARCHAR(50)
,@MinDate DATETIME
,@MaxDate DATETIME
-- Get the data from table and set to variables
SELECT @TicketNo = TicketNo
,@MinDate = MinDate
,@MaxDate = MaxDate
FROM #tempDist
WHERE NRow = @I
SET @MyDate = @MinDate
WHILE @MaxDate > @MyDate
BEGIN
IF NOT EXISTS (
SELECT *
FROM #Tickets
WHERE TicketNo = @TicketNo
AND DateUpdated = @MyDate
BEGIN
INSERT INTO #tempUnUserdDate
VALUES (
@TicketNo
,@MyDate
END
SET @MyDate = dateadd(d, 1, @MyDate)
END
SET @I = @I + 1
END
GO
SELECT *
FROM #tempUnUserdDate
GO
GO
DROP TABLE #tickets
GO
DROP TABLE #tempDist
GO
DROP TABLE #tempUnUserdDate
Thanks,
Shridhar J Joshi
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
How to get the date for the first monday of each month
Dear Members,
How to get the date for the first monday of each month.
I have written the following code
SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
But it look bith complex.
Abhishek
Edited by: 9999999 on Mar 8, 2013 4:30 AMUse IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
select sysdate current_date,
trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
from dual
CURRENT_D FIRST_MON
08-MAR-13 04-MAR-13
SQL> Below is list of first monday of the month for this year:
with t as(
select add_months(date '2013-1-1',level-1) dt
from dual
connect by level <= 12
select dt first_of_the_month,
trunc(dt + 6,'iw') first_monday_the_month
from t
FIRST_OF_ FIRST_MON
01-JAN-13 07-JAN-13
01-FEB-13 04-FEB-13
01-MAR-13 04-MAR-13
01-APR-13 01-APR-13
01-MAY-13 06-MAY-13
01-JUN-13 03-JUN-13
01-JUL-13 01-JUL-13
01-AUG-13 05-AUG-13
01-SEP-13 02-SEP-13
01-OCT-13 07-OCT-13
01-NOV-13 04-NOV-13
FIRST_OF_ FIRST_MON
01-DEC-13 02-DEC-13
12 rows selected.
SQL> SY. -
EHP5 - Counntry specific language for users in ESS
Hi Experts
We are using EHP5 and facing problem while enabling country specific language for users in ESS .
Here we have .
u2022 Made language field blank in JCO
u2022 Have maintained country specific language in SU01-Default and in UME
u2022 We have maintained country specific language in browser u2026also .
u2022 We have maintained entry in IMG (SAPDEFAULTESS_ERP2005 )
But itu2019s not working for us either in portal or in NWBC ( we have both connection available to our sandbox ). Other than English it works only for Germen (but not completely few services still appears in English e.g My processes )
Your advice will be greatly appreciated .
Thanks
AdityaHi Deepak And Siddharth
Thanks for your reply . I checked language packages in SMLT and here we have status for all languages other than English and German is yellow ( Warning ) Also
for NWBC in role menu only display translation options is available only for English and German and hence we have asked basis team to look into this ..Will keep you posted .
Thanks again
Aditya -
In mdx how to get max date for all employees is it posible shall we use group by in mdx
in mdx how to get max date for all employees is it posible shall we use group by in mdx
example
empno ename date
1 hari 12-01-1982
1 hari 13-06-2000
by using above data i want to get max dataHi Hari3109,
According to your description, you want to get the max date for the employees, right?
In your scenario, do you want to get the max date for all the employees or for each employee? In MDX, we have the Max function to achieve your requirement. You can refer to Naveen's link or the link below to see the details.
http://www.sqldbpros.com/2013/08/get-the-max-date-from-a-cube-using-mdx/
If this is not what you want, please provide us more information about the structure of you cube, so that we can make further analysis.
Regards,
Charlie Liao
TechNet Community Support -
Time Series Graph Show Inappropriate Data for Continuous Analysis
Hi All,
I have marked Month as the Chronological Key in my BMM Layer but still I am unable to view the data correctly in my Time Series graph because it shows Inappropriate Data for Continuous Analysis at the time of creating the Graph. Can anybody help me out with the same.
ThanksWhat data type is your key? The chronological key is required for the time series formulas (ago etc.).
The time series chart requires a date or datetime data type to work - perhaps a new column with the first of the month/period would help? Regards,
Robret -
How to get current date for posting date
hi,
how to get current date for posting date ? any sample code ?
ThanksHi......
Use
Select getdate()
for current date.......
Regards,
Rahul
Maybe you are looking for
-
My sister and I each have an ipod touch. We use the same computer and itunes but each have our own apple id. Everytime I want to update an app on my ipod it asks for my sisters apple id login!? help!
-
[SOLVED].xinitrc - some entries doesn't work
Hey. There are problems with my .xinitrc. I tried to turn off the DPMS with it (configuring xorg.conf never changed the behaviour of dpms) by inserting the line "xset s off && xset -dpms". But it just doesn't do what I expecting from it, DPMS is stil
-
Dominant blue overlay in all photos on Satellite L550
I bought an L550 a week ago and all is great except the dominant blues on all photos. I use Microsoft Windows 7 Viewer, ADOBE Elements, Cannon Browser and Olympus Master 2.. The blue major colour is not evident in the 'sample pictures' on my PC, so I
-
Accessing Syslog on LMS 3.0.1
Hello Hopefully quite a straight forward question Is there a way of viewing the syslog through the LMS portal as opposed to viewing the syslog directly from within \NMSroot\CSCOpx\log ? Many Thanks
-
Add Query Reports to My Cockpit
Hello Experts, Is it possible to add query reports to My Cockpit in SAP 8.81 under the Common Functions window? If so, how? Currently these reports reside under the My Menu tab which is not enabled when My Cockpit is active. If this not possible I