A table contains user data.
Is there a table that contains User data(logon account).
At SU01->Address , There are 'Person' box.
I'm looking for a table contains those contents..
Thank you
hi Seung,
have a look:
DATA : lv_name TYPE adrp-name_text,
lv_persnr TYPE usr21-persnumber.
User personal number
SELECT SINGLE persnumber
INTO lv_persnr
FROM usr21
WHERE bname EQ sy-uname.
User full name
IF sy-subrc EQ 0.
SELECT SINGLE name_text
INTO lv_name
FROM adrp
WHERE persnumber EQ lv_persnr.
ENDIF.
hope this helps
ec
Similar Messages
-
Table containing Model Data Information
Hi Gurus,
I need your urgent assistance in identifying a specific table in SAP. What table contains Model Data Information? Our users are entering vehicle related data in Model Text 2 field in the Model Data screen and I need to extract it in a report.
Many thanksHai,
Thanks.... I have used the same tables and have got all data except GRN Quantity.
Many fields are therefor quantity in table MSEG like.... 'MENGE' , 'LSFMG' , 'BAMNG' , 'ERFMG' etc.
But no field is giving the perfect data.
Pls help me if u have any idea on this. -
Table contain user name and tcode
Dear Experts,
Can you tell me which Table contained user name and tcode field?
Thanks and Best regards,
wilsonYou need to be even more carefull with parameter transactions.
If SU24 is not maintained for them, PFCG will pull the proposals from the core transaction (via which the parameters are used in the skip screen feature...). If the core transaction has authority proposals for S_TCODE, then you will get those tcodes and their proposals as well.
A carefull choice of menu objects (not only limited to Tcodes), taking heed of SU24 defaults and tuning it to meet your needs is the key. But it requires organizational discipline and good training, otherwise rather dont use it for anything other than important objects which you want to control manually only, even if your business roles are a mess.
You can also restrict the authorizations of the security admins for example (as unpopular as that may sound... to segregate authorization concept development (SU24 etc), role building development (PFCG etc) and user administration (SU01 etc). Object S_USER_TCD also has a field called TCD...
There are also other objects (as Dipanjan has pointed out) which have TCD as a field of an object which is not S_TCODE. In addition to I_TCODE, Q_TCODE, P_TCODE, see also S_IDOCMONI for example.
To be honest I have given up on trying to find them all
The easiest solution is to use the menu and maintain SU24 when the transaction is configured or the application is developed and tested. That is what SAP does as well in SU22. It is more work upfront, but more sustainable in the long run.
If your users (and auditors) only see the menu (and use the SUIM --> Executable transactions) options, then you can get away with it in the short or even medium term. Latest when someone else need to maintain the roles they will hate it...
My 2 cents,
Julius -
Tables containing user details.
Hi,
Which table can I use to view all the users available on the SAP system and their details e.g. Username, user's contact details and etc.
Regards,
Thandiplz check the table:USR03.
Also,you get the Mail-ID in table ADDSMTP
plz chk this link:
Table for user details. -
Range partition the table ( containing huge data ) by month
There ia a table with huge data ard 9GB.This needs to range patitioned by month
to improve performance.
Can any one suggest me the best option to implement partitioning in this.I have a lot of tables like this. My main tip is to never assign 'MAXVALUE' for your last partition, because it will give you major headaches when you need to add a partition for a future month.
Here is an example of one of my tables. Lots of columns are omitted, but this is enough to illustrate the partitioning.
CREATE TABLE "TSER"."TERM_DEPOSITS"
( "IDENTITY_CODE" NUMBER(10), "ID_NUMBER" NUMBER(25),
"GL_ACCOUNT_ID" NUMBER(14) NOT NULL ,
"ORG_UNIT_ID" NUMBER(14) NOT NULL ,
"COMMON_COA_ID" NUMBER(14) NOT NULL ,
"AS_OF_DATE" DATE,
"ISO_CURRENCY_CD" VARCHAR2(15) DEFAULT 'USD' NOT NULL ,
"IDENTITY_CODE_CHG" NUMBER(10)
CONSTRAINT "TERM_DEPOSITS"
PRIMARY KEY ("IDENTITY_CODE", "ID_NUMBER", "AS_OF_DATE") VALIDATE )
TABLESPACE "DATA_TS" PCTFREE 10 INITRANS 1 MAXTRANS 255
STORAGE ( INITIAL 0K BUFFER_POOL DEFAULT)
LOGGING PARTITION BY RANGE ("AS_OF_DATE")
(PARTITION "P2008_06" VALUES LESS THAN (TO_DATE(' 2008-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
TABLESPACE "DATA_TS_PART1" PCTFREE 10 INITRANS 1
MAXTRANS 255 STORAGE ( INITIAL 1024K BUFFER_POOL DEFAULT)
LOGGING NOCOMPRESS , PARTITION "P2008_07" VALUES LESS THAN (TO_DATE(' 2008-08-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS',
'NLS_CALENDAR=GREGORIAN'))
TABLESPACE "DATA_TS_PART2" PCTFREE 10 INITRANS 1 MAXTRANS 255
STORAGE ( INITIAL 1024K BUFFER_POOL DEFAULT) LOGGING NOCOMPRESS )
PARALLEL 3 -
Hi all
i want DB tables which stores user information like name, telephone no etc.
specifically i want table which stores users email id.
user means which we create in SU01.Hi Vishal,
Yo can try the following tables:
1. USER_ADDR = USER_ADDR = USR21 =-> to get the user info (name and address)
You can mapped data via fields BNAME (User ID)
2. ADR2-ADDRNUMBER = USR21-ADDRNUMBER
ADR2-PERSNUMBER = USR21-PERSNUMBER -> to get User Telephone Number -
Hi all,
I trying to export html table which contains images into pdf through java script but after downloading pdf file am unable to see images.Is this problem with plugins are any other.Can any one help me out from this.
Thanx in advance.Another option will be
window.print(); as pdf.
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
ISA_Rs_db Database which tables contain logging data?
I am working first time on TMG Server and Database.
user gave me .W3C file which is very large enough (3GB)file which can not open in notepad or word.
i can not load into SQL Server Database using SQL import wizard . throwing errors
I have this ISA_Rs_db but do not know which table has all same log as .w3c file or all logging events.
how can we convert .w3c file to excel? or from which table we can see all logging events in sql database? or how can extract information from .w3c file ?
So if any has work around for this would be great help.
Thanks
Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.ShahHi,
check the following article it should answer your question:
http://blogs.technet.com/b/isablog/archive/2010/03/31/how-to-view-tmg-logs-when-using-sql-server-express-for-logging.aspx
Greetings
Christian
Christian Groebner MVP Forefront -
Table for user data of Material attched in Project
Dear All,
When we attached a material in Project, on Assignment tab of a material we can get the administrative data like Created on & Created by and Changed by & Changed on.
I want to develop a report in which I need above two data's. Let me know from which table I can get this details.
Thanks and Regards,
Atul R. RajmaneHi,
I can get str RESBD...
But I cant use it for Report devlopment.
Is possible to get name of table and field for same....
Regards,
Atul -
Table containing due date and billing amount of a vendor
Dear Friends,
I need to get the due date and billing amount of the vendors.So please let me know which DDIC table will give me this information.
thanks,
jeevan.Hai madhu,
Thanks for ur time .
pls be there i am working on ur sugesstions and will let you abt the progress...
So do u say we cannt fetch the due date for a vendor payment.
thanks,
jeevan -
Modelling Time Dimension with Fact Table containing Start Date and End Date
Hi Gurus,
I have a time dimension with Year till Date. I have a fact table which consists of Start Date, End Date, Person ID, Department ID.
How do i design Time dimension with fact table the below scenario
In the dashboard i have start Month and End month as prompts.
In the report i need to display Count(Person ID) > Start Date and < End Date along the trend.
For instance, i have selected Jan-2009 as start date and Apr-2009 as End Date, then i need to display Count(Person ID) of Jan-2009, Feb2009, Mar-2009 andApr-2009.
I Can not connect Time dimension with only Start Date or only with End Date to get the trend along the months.
Please advice on the issue which i am having.Hi,
Thanks for the response, Infact i tried using Complex join in physical layer. I have considered Time table joined with Fact table, and used >= and took and alias of the Time table and joined fact table using <=. When coming to BMM, i am not knowing how do i design this as if i merge the both the time dimensiona and its alias into single table, values will not be correct and if i make them as seperate columns. i can not show the trend as both are different columns.
Can you please let know where i am going wrong.
Thanks -
Which table contains user name
Dear all,
For certain travel expense(T-Code:TRIP), I would like to know who created it and checked table PTRV_HEAD, but it seems no corresponding field exist. would anyone help me?
thanks,
Ben WuHi Ben,
The process of travelling starts with <b>Planning</b>. It is expected that every employee would plan for their own trip, except probably for Bosses whose Secretaries/PA have been given authorisation to enter trip plans on behalf of their bosses in the system. Therefore, it may be safe to assume that the <b>Creator</b> would be the field PERNR - Personnel Number.
Because HR module uses the concept of <b>Infotypes</b>, the creator (PERNR) would be the same as <b>Last Change by</b> (UNAME) when the plan for a trip is first entered into the system. So, the logic you are going to use in your program depends on what you are trying to achieve. The tables listed earlier are the main ones used in the Logical Database selection for Travel Management. If you display each of the tables, you would be able to see other <b>check tables</b> used to validate some of the entries in this tables.
I hope the above helps to clarify some issues.
Do not forget to award the points please.
Regards,
Jacob -
How do you Select data from two tables with similar data amd merge the output together.
I have two Tables containing Sales Data. I want to read the Table a sort by date and accumulate dollars by order date. Then I want to read the second table and accumulate these dollar amounts by date and then merge the records together so that I gave 1 row
with amounts for type A and amounts for type b.
Here are the tables I am looking at.
Select Cast(J.Order_Date As Varchar(11))) As [Order Date]
,Sum(Case when Sales_Code like '%Comm%' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Comm]
,Sum(Case when Sales_Code = '5-Day' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Auto]
,Sum(Case when Sales_Code like '%Auto%" then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Auto]
,Sum(Case when Sales_Code = '' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Fixed]
,Sum(Case when Sales_Code = 'XX' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [SO Comm)
,Sum(Case when Sales_Code = 'YY' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [SO Auto)
,Sum(Case when Sales_Code = 'ZZ' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [SO Fixed)
from [PRODUCTION].dbo.Job As J
union all
Select Cast(SH.Order_Date As Varchar(11))) As [Order Date]
,Sum(Case when Sales_Code like '%Comm%' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Comm]
,Sum(Case when Sales_Code = '5-Day' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Auto]
,Sum(Case when Sales_Code like '%Auto%" then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Auto]
,Sum(Case when Sales_Code = '' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Fixed]
,Sum(Case when Sales_Code = 'XX' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [Job Comm)
,Sum(Case when Sales_Code = 'YY' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [Job Auto)
,Sum(Case when Sales_Code = 'ZZ' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [Job Fixed)
from [PRODUCTION].dbo.SO_Detail As SD
Inner Join [PRODUCTION].dbo.SO_Header As SH
on SD.Sales_Order = SH.Sales_Order
Group by J.Order_Date
Order by J.Order_Date Desc
Looking for output like
Order Date Job Comm Job AUto Job Fixed SO Comm SO AUto SO Fixed
Mar-11-2014 100.00 250.00 50.00 200.00 300.00 400.00
Mar-10-2014 500.00 340.00 0.00 110.00 400.00 500.00
Mar-09-2014 600.00 333.00 56.00 210.00 500.00 300.00
Thanks for your help
SWProductionSeeing the output it looks like what you need is this
select COALESCE(p.[Order Date],q.[Order Date]) AS [Order Date],
COALESCE([Job Comm],0) AS [Job Comm],
COALESCE([Job AUto],0) AS [Job AUto],COALESCE([Job Fixed],0) AS [Job Fixed],COALESCE([SO Comm],0) AS [SO Comm],COALESCE([SO AUto],0) AS [SO AUto],COALESCE([SO Fixed],0) AS [SO Fixed]
from
Select Cast(J.Order_Date As Varchar(11))) As [Order Date]
,Sum(Case when Sales_Code like '%Comm%' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Comm]
,Sum(Case when Sales_Code = '5-Day' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Auto]
,Sum(Case when Sales_Code like '%Auto%" then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Auto]
,Sum(Case when Sales_Code = '' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [Job Fixed]
,Sum(Case when Sales_Code = 'XX' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [SO Comm)
,Sum(Case when Sales_Code = 'YY' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [SO Auto)
,Sum(Case when Sales_Code = 'ZZ' then (J.Order_Quantity * J.Unit_Price) Else 0 end) As Decimal(11,2) As [SO Fixed)
from [PRODUCTION].dbo.Job As J
)p
full join
Select Cast(SH.Order_Date As Varchar(11))) As [Order Date]
,Sum(Case when Sales_Code like '%Comm%' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Comm]
,Sum(Case when Sales_Code = '5-Day' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Auto]
,Sum(Case when Sales_Code like '%Auto%" then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Auto]
,Sum(Case when Sales_Code = '' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [SO Fixed]
,Sum(Case when Sales_Code = 'XX' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [Job Comm)
,Sum(Case when Sales_Code = 'YY' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [Job Auto)
,Sum(Case when Sales_Code = 'ZZ' then SD.Ext_Amt Else 0 end) As Decimal(11,2) As [Job Fixed)
from [PRODUCTION].dbo.SO_Detail As SD
Inner Join [PRODUCTION].dbo.SO_Header As SH
on SD.Sales_Order = SH.Sales_Order
Group by J.Order_Date
)q
on p.[Order Date] = q.[Order Date]
Order by COALESCE(p.[Order Date],q.[Order Date]) Desc
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Reporting on table with multiple dates.
I've tried several different ways to work this out, and I'm stuck. Hoping for some help.
I have a table containing three Dates that require reporting. Here is my table:
CustomerID
Loan Officer
Met_Date
Applied_Date
Approved_Date
1234
Joe Smith
20130501
20130505
20130520
1235
Joe Smith
20130505
1236
Jane Doe
20130505
20130510
20130515
I also have a typical time dimension: Date, Week, Month, Quarter, Year.
My goal is to produce this report (Count of all of these things by Date and Loan Officer):
Date
Loan Officer
Customers Met
Customers Applied
Customers Approved
20130501
Joe Smith
1
0
0
20130505
Joe Smith
1
1
0
20130505
Jane Doe
1
0
0
20130510
Jane Doe
0
1
0
20130515
Jane Doe
0
0
1
20130520
Joe Smith
0
0
1
This is eluding me how I would add up all of these. I've tried creating copies of my time dimension table in the physical table. However, this seems to not work every time I add in Loan Officer.
Can someone help me figure out how to structure this in my physical and logical model?Hoping to give this a bump in case someone is able to help.
-
Displaying an internal table with raw data in an ALV
Hi Experts,
Can you please help me out I'm retrieving an ABAP Report List which i submitted to memory, I'm using the function module LIST_FROM_MEMORY to retrieve the list from memory and storing it in an internal table. The problem is i'm struggling to display the List using an ALV coz the internal table contains raw data. Your help wil be much appreciated.My ASCII internal table is empty. Below I have included a code sample of what I want to do.
Type-pools slis.
DATA: MTAB_REPORT_LIST LIKE ABAPLIST OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF MTAB_REPORT_ASCII OCCURS 0,
LINE(255) TYPE C,
END OF MTAB_REPORT_ASCII.
START-OF-SELECTION.
*-- Submit a report. This one is the chart of accounts
SUBMIT ZPRINTREPORT
EXPORTING LIST TO MEMORY " Save list in memory
AND RETURN. " Return control to this program
END-OF-SELECTION.
*-- Get the list from memory
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = MTAB_REPORT_LIST
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
if sy-subrc <> 0.
write / 'unable 2 retrieve list from memory'.
else.
"REFRESH MTAB_REPORT_ASCII.
CALL FUNCTION 'LIST_TO_ASCI'
TABLES
listasci = MTAB_REPORT_ASCII " list converted to ASCII
listobject = MTAB_REPORT_LIST
EXCEPTIONS
empty_list = 1
list_index_invalid = 2
OTHERS = 3.
if sy-subrc = 1.
write 'list ASCII list empty'.
else.
WRITE: MTAB_REPORT_ASCII, ' ff'.
" perform build_alv tables MTAB_REPORT_LIST.
endif.
endif.
"CALL FUNCTION 'WRITE_LIST'
" TABLES
" LISTOBJECT = MTAB_REPORT_LIST
" EXCEPTIONS
" EMPTY_LIST = 1
" OTHERS = 2.
FORM build_alv tables MTAB_REPORT_ASCII.
ALV required data objects.
"DATA: w_title TYPE lvc_title,
" w_comm TYPE slis_formname,
" w_status TYPE slis_formname,
" x_layout TYPE slis_layout_alv,
" t_event TYPE slis_t_event,
" t_fieldcat TYPE slis_t_fieldcat_alv,
" t_sort TYPE slis_t_sortinfo_alv.
data int_fcat type SLIS_T_FIELDCAT_ALV.
Layout
x_layout-zebra = 'X'.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_INTERNAL_TABNAME = 'MTAB_REPORT_ASCII'
I_INCLNAME = sy-repid
CHANGING
CT_FIELDCAT = int_fcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = sy-repid
IT_FIELDCAT = int_fcat
I_SAVE = 'A'
TABLES
T_OUTTAB = MTAB_REPORT_ASCII
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM.
Maybe you are looking for
-
Why does my apple TV say it needs hdcp compatibility. It never said that before. Now my apple tv is not working.
-
PHP OCI8 1.4.0 Alpha is now available
I just released an Alpha version of PECL OCI8 1.4 on http://pecl.php.net/package/oci8 The code is also merged to what will eventually be the PHP 5.3.2 and PHP 6.0 releases. Documentation will appear on http://www.php.net/manual/en/ref.oci8.php in the
-
Bell's next step was for me to connect to iTunes. I downloaded iTunes and can't figure out how to proceed from there. The basic info in the Apple site for "unlocking" only addresses a SIM card that doesn't work. My SIM card is correct. How do I go on
-
Separating stereo tracks already on a timeline
I'm running CC 2014. I recorded all of my audio using a stereo track - there's a lav in the left and a shotgun mic in the right. I need to be able to adjust the volume of the channels independently. My problem is that I imported all of my footage usi
-
Hi, here is a link to FLA files www.fulek.com/bug/BUG_report.rar (This is another X-file's example, FLA's are actually empty but they have 2MB each when extracted). Short description of problem: StartFile.swf has one big button which is instance of B