From Table name how to find cube/dso ?
guys,
How do i find cube name from the table ?
i have something like thid.../BIC/B00004500023 , what is it? and which cube does it belongs?
thanks
Hi,
As suggested enter the values in ODSNAME_TECH filed of table RSTSODS in SE16.
From which you will find PSA table name in ODSNAME field which will guids you to see Info Source then the related cube.
I hope it will help.
Thanks,
S
Similar Messages
-
Table name required to find tax value in each PO items
Hi Guys,
Need table name where the Tax percentage or amount is maintained for each po line items.
I tried in KOMG but it a structure and i cannot able to fetch the values.
Let me know if more details are required for better requirement identification
Regards
palanihi
TAX TABLES
for excise check table J_1IEXCHDR for header
J_1IEXCDTL for item excise
The Table name used to find the Tax Values are
KOMV: Pricing Communications-Condition Record
KONV: Conditions (Transaction Data)
From the above tables you can refer the fields below.
KAWRT
KBETR
Fetch the corresponding records based on the field
KNTYP
regards
kunal -
Hi Gurus,
I am trying to load a HANA column table using the import function and get the following error even though the mappings from the file to the table are 1:1.
I get the following errors:
Error 1: SAP DBTech JDBC: Result set is positioned before first row.
Error 2: SAP DBTech JDBC: [259] (at 26): invalid table name: Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)
With the following stack trace:
com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [259] (at 26): invalid table name: Could not find table/view RS_POOL_CLUSTER_TABLES in schema SYSTEM: line 1 col 27 (at pos 26)
at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:334)
at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:165)
at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:100)
at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1141)
at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:888)
at com.sap.db.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:929)
at com.sap.db.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:978)
at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:256)
at com.sap.db.jdbc.StatementSapDB.executeQuery(StatementSapDB.java:401)
at com.sap.db.jdbc.trace.Statement.executeQuery(Statement.java:131)
at com.sap.ndb.studio.bi.dataprovisioning.util.DBUtil.getPoolTables(DBUtil.java:200)
at com.sap.ndb.studio.bi.dataprovisioning.util.DBUtil.getTablesToHide(DBUtil.java:188)
at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.SelectTableDialog.createDialogArea(SelectTableDialog.java:108)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:775)
at org.eclipse.jface.window.Window.create(Window.java:432)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.SelectTableDialog.create(SelectTableDialog.java:186)
at com.sap.ndb.studio.bi.filedataupload.ui.wizards.pages.ImportFileSelectionWizardPage$14.widgetSelected(ImportFileSelectionWizardPage.java:779)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:152)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:420)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
I'm sure many of you have come across this before. Any help will be much appreciated.
Thanks in advanceHello Akhtar,
Have you tryed to delete the heador row from your file?
I received the same error when loading a csv file, but when I delete the heador row it worked.
Best Regards,
Juliana Genova -
From my session how to find out the version of my oracle client ?
From my session how to find out the version of my oracle client ?
Thanks in advanceClient version?
BTW, trying all forums? -
If we dont know the request no and program name how to find that program
hi gurus
can anyone suggest me
if we dont know the request no and program name how to find that program
thank you
regards
kals.Hi,
If u forget all the details It is very difficult to find, u have to remember at least some details regarding to that program.. for that
1.. goto SE80 give u r package name u will get all the programs which r u developed according to the discription u can get some idea which u want.. and
2... go to SE09 trcode.. display all tr numbers..here all trs are there what u developed, u can get some idea by looking the description of the tr numbers..
I hope so u can get at least some thing .
Thanks and Regards,
Surya -
Dynamic table name, how to query?
Hi!
There is a table name that is decided dynamically. the name is:
someNameYYY where YYY denotes the client number.
I get the client number by sy-mandt and concatenate it with someNameYYY to lc_table_name but then comes the problem:
I cannot do
SELECT *
FROM lc_table_name
because I get compiler error "lc_table_name" is not defined in ABAP dictionary.
How do I query a table with the name decided dynamically?
regards
BaranYou can have do something like this :
REPORT ZTABLE_DOWNLOAD .
tables :
dd02l, "SAP Tables
dd03l, "Table fields
dd04t. "R/3 DD: Data element texts
constants : c_activation_status(1) value 'A',
c_tabclass(6) type c value 'INTTAB',
c_language(2) type c value 'EN'.
type-pools : slis.
selection-screen begin of block b1 with frame title text-003.
*parameters :p_mandt like t001-mandt obligatory default '560'.
parameters :p_table like dd03l-tabname obligatory.
selection-screen end of block b1.
data:
table_desc(70) type c,
table_field like dd03l-fieldname,
total_rows type i,
t_rows(20) type c.
field-symbols:
<fs_line> type any,
<fs_field> type any.
at selection-screen.
*Check for the existence of the table
select single * from dd02l where tabname = p_table
and as4local = c_activation_status.
if sy-subrc ne 0.
*Table is not active in dictionary
message e999(zs) with 'Table is not active in dictionary'.
elseif dd02l-tabclass = c_tabclass.
*It is a structure not a table
message e999(zs) with 'This is a structure not a table'.
endif.
start-of-selection.
perform table_data_display.
end-of-selection.
form table_data_display.
data:
l_long_type type i,
lx_struct type ref to data,
lt_table type ref to data,
lcl_sdescr type ref to cl_abap_structdescr,
lx_lvc_cat type lvc_s_fcat,
lt_lvc_cat type lvc_t_fcat, "Field catalog
lx_fieldcat type slis_fieldcat_alv,
lt_fieldcat type slis_t_fieldcat_alv,
lx_layout type slis_layout_alv,
lt_sort type slis_t_sortinfo_alv, "Sort table
ls_sort type slis_sortinfo_alv.
field-symbols :
<fieldcat> type slis_fieldcat_alv,
<lt_table> type table,
<fs> type any,
<components> type abap_compdescr.
*Dynamic creation of a structure
create data lx_struct type (p_table).
assign lx_struct->* to <fs>.
*Get the field structure
lcl_sdescr ?= cl_abap_typedescr=>describe_by_data( <fs> ).
loop at lcl_sdescr->components assigning <components>.
*Do not display field "MANDT"
IF sy-tabix = 1 AND <components>-name = 'MANDT'.
CONTINUE. "next loop
ENDIF.
*Build fieldcatalog
lx_lvc_cat-fieldname = <components>-name.
lx_lvc_cat-ref_table = p_table.
append lx_lvc_cat to lt_lvc_cat.
lx_fieldcat-fieldname = <components>-name.
lx_fieldcat-ref_tabname = p_table.
append lx_fieldcat to lt_fieldcat.
endloop.
*Create an internal table
call method cl_alv_table_create=>create_dynamic_table
exporting it_fieldcatalog = lt_lvc_cat
importing ep_table = lt_table.
assign lt_table->* to <lt_table>.
*Read the data
select * from (p_table)
into corresponding fields of table <lt_table>
order by primary key.
loop at <lt_table> assigning <fs_line>.
assign component 'MANDT' of
structure <fs_line> to <fs_field>.
<fs_field> = p_mandt.
endloop.
if <lt_table>[] is initial.
*No table enties are existing
message e003(zdynamictable) with p_table.
exit.
else.
describe table <lt_table>[] lines total_rows.
t_rows = total_rows.
shift t_rows left deleting leading space.
endif.
*Specify the layout
lx_layout-zebra = 'X'.
lx_layout-colwidth_optimize = 'X'.
*Display the ALV List
select single ddtext into table_desc from dd02t
where tabname eq p_table and ddlanguage eq c_language.
check not table_desc is initial.
concatenate 'Entries from table:'
p_table '(' table_desc ')' '-:' t_rows 'Entries Found' into
table_desc
separated by space.
*Start - Download the data to excel sheet by validating the file path.
data:
*lv_filename type string,
lv_fname_validate like rlgrap-filename.
*CONCATENATE 'C:\ZTABLE_DWN\' P_TABLE '.Xls' INTO LV_FILENAME.
*CONCATENATE '
Pc-p31061\Harman\Tasks\ZTABLE_DWN\' P_TABLE '.xls' INTO
CONCATENATE 'C:\ZTABLE_DWN\' P_TABLE '.xls' INTO
LV_FNAME_VALIDATE.
call function 'WS_FILE_DELETE'
exporting
file = lv_fname_validate
IMPORTING
RETURN =
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
CODEPAGE = ' '
FILENAME = LV_FNAME_VALIDATE
FILETYPE = 'DAT'
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = <lt_table>.
*call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = lv_fname_validate
filetype = 'ASC'
write_field_separator = 'X'
IMPORTING
FILELENGTH =
tables
data_tab = <lt_table>.
End of Download.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_background_id = 'ALV_BACKGROUND'
i_grid_title = table_desc
is_layout = lx_layout
it_fieldcat = lt_fieldcat
tables
t_outtab = <lt_table>
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.
clear table_desc.
endform. " table_data_display -
Globally removing an illegal symbol from file names in the finder
I recently discovered that my method of dating files makes use of the illegal symbol, '/'. Now I have thousands of files with that symbol in them and am having trouble transferring them to my new hard drive. Is there a was that I can globally remove that symbol from the file names via the finder?
Hi
download filelist.dmg
Double click on it to open it. Drag the Filelist app' into your Application Folder, a good a place as anywhere to keep it.
Open the FileList application, it should show as a window.
Drag a file or a group of files onto that open window- the left hand side pane.
... and there you can manipulate the prefix and suffix of the files to give them new file names.
Create a file in text edit, type something in it, save is as test.rtf, and then drag it into the FileList app and experiment with changing its name.
When you get the hang of it, do a group of files as a batch.
I tried to do what you wanted to do in your initial post and was successful, so just have a play around with it.
regards roam -
Table component - how to find out which cell is clicked
Hello!
I have a couple of questions regarding table component
1. Is there any way to find out which table cell is clicked on?
2. And is it possible to paint clicked cell programmatically?
Possible solution might be a Select Boolean Checkbox inside a cell, but anyway, i'd have to determine which cell contains this checkbox (some kind of cell coordinates, etc...)
Thank you1. Is there any way to find out which table cell is clicked on? It would be easy to suggest the way, if you can share us the requirement
2. And is it possible to paint clicked cell programmatically?You can do it through javascript by setting contentStyle property.
Sample Code:
<af:table ...>
<af:column>
<af:inputText ...>
<af:clientListener method="paintCurrentCell" type="click"/>
</af:inputText>
</af:column>
</af:table>
<!-- javascript method -->
function paintCurrentCell(event){
event.getSource().setContentStyle("background-color:red");
}Sireesha
Edited by: Sireesha Pinninti on Nov 10, 2009 7:01 PM -
My iphone has started shwoing an icon besides service providers name how to find what is that icon
this icon was not there previously
look in the users guide. page 11 since you did not describe the icon.
Users Guide iPhone iOS 6 -
From which tables the data is coming in to transaction fields, how to find?
Hi abapers,
I am new to abap,
I have some data in one transaction.
I want to know that one particular record in a field from which table the data is coming, how do i know?
How to find that for the transaction is haveing header and item tables?
How to find that what are tables used for that transaction?
by presseing f1 on a field we can find table name or structure name along with field name of that particular field?
If structrure means how to find that field from which table it is coming?
I found table name for some of the fields like this by pressing f1,double clicking on structure name?
but some fields in another transaction does not showing the table names only structure it is showing?
Moderator Message: Basic Question. Please search.
Edited by: kishan P on Nov 13, 2010 3:20 PMhi ,
you can do that by Transation st05
where you have to 1) activate trace ,
2) execute transaction
3) deactivate trace after transaction complete
4) display trace
there you can find all step by step flow from where data has been retirved and tables also .
if you dont no take help from Basis People .
Regards
Deepak. -
How To Find Out Table Name At Database Level Trigger
Table Name
How do I will come to know the name of table on which currently DML statement is fired ?
e. g. My current user is SCOTT. So Scott should realize the event of DML Statement fired. Hence my question is how the trigger on User Level is to be written & how to catch the event & table name on which the statement is being executed.
Suppose my table is as follows
Table Name : EMP
EMPNO number
ENAME varchar2(10)
JOB varchar2(9)
MGR number
HIREDATE date
SAL number
COMM number
DEPTNO number
Bcd number
Brcd number
Rec_id number
Scn_no number
Sequences for above table
1. EMP_REC_ID - minimum value is 1 increment by 1 & max value is unlimited
2. EMP_SCN_NO - minimum value is 1 increment by 1 & max value is unlimited
I have written a trigger as follows :
CREATE OR REPLACE TRIGGER UPD_EMP_REC_SCN BEFORE INSERT OR UPDATE OR DELETE ON EMP REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW
DECLARE
BEGIN
IF (INSERTING) THEN
SELECT EMP_REC_ID.NEXTVAL INTO :NEW.REC_ID FROM DUAL;
ELSIF (UPDATING) THEN
SELECT EMP_SCN_NO.NEXTVAL INTO :NEW.SCN_NO FROM DUAL;
ELSIF (DELETING) THEN
INSERT INTO DELETED_ROWS (TAB_NAME, BCD, BRCD, REC_ID)
VALUES (‘EMP’, :OLD.BCD, :OLD.BRCD, :OLD.REC_ID);
END IF;
END;
Hence My problem is
If my database user contains 800 tables then I have to write down 800 triggers (i.e. for each table).
I want to write only one trigger at database level so that I can dynamically take actions, for this I need table name and the event on which the dml event has taken place.
Any help in this matter will be greatly appreceiated.
Regards
VikrantYou cannot write a single trigger that applies to multiple tables. If you need a trigger for every table, you will need to generate 800 triggers.
Rather than manually generating 800 triggers, you might write a code generator that generates triggers for each of the tables by querying the data dictionary (i.e. DBA_TABLES, DBA_TAB_COLS, etc).
Justin -
How to find table information for a datasource?
Hi,
Can you please tell me how to find table information for a datasource. I am not getting much help from help.sap.
I am trying to find table information for below datasources. We are creating DSO's for the below mentioned datasources, for some we have standard DSO's(0WBS_O06), for others I am trying to create
0CO_OM_NWA_1,
0CO_OM_NWA_2,
0CO_OM_WBS_1,
0CO_OM_WBS_6
Please help me.
Regards,
Bob.Hi BOB,
Another option to find the table information...
inorder to get the tables names involved in that particular data source follow the below steps.
1) ST05 --> activate the Trace
2) RSA3 --> enter your data source (for ex: 0CO_OM_NWA_1)
3) Execute
4) Now goto ST05 -> deactivate the trace
5) click on Display trace(F7) button
6) Execute
7) It will display the complete SQL trace
8) Now from the Menu "Trace list" --> select "Combined Table Access"
it will display the complete tables list involved in that data source...
From Table name section you can get the list of tables involved in that data source.
I had traced and took the information of tables involved in that data source 0CO_OM_NWA_1
0CO_OM_NWA_1
AFKO Order header data PP orders
AFVC Operation within an order
AUFK Order master data
COSP CO Object: Cost Totals for External Postings
COSPP Transfer of the Order in the COSP Table to the Project
COSS CO Object: Cost Totals for Internal Postings
COSSP Transfer of the Order COSS Table to the Project
COVREF Coverage Reference Table: All Processing Blocks
COVRES Table of Coverage Results
You can follow the same steps and find the tables for the rest.
Regards
KP -
How to find out list of variants in TVARV table
hi!
can anybody can guide me on the following issues? plz
How to list all variants in TVARV table?
How to find out any Z* programs that writes to TVARV table, using the variant name?
How to find out the programs which are reads the TVARV data into a program variant?
Thanks & Regards,
vijayOr some help might be useful:
http://help.sap.com/saphelp_47x200/helpdata/en/c0/98037ae58611d194cc00a0c94260a5/frameset.htm
Regards,
Subramanian V. -
How to find the database table for this screen field
hi in XD02
There is a scrren field customer
name1 (firt line under name)
and email id fields
i wnat to know where the data stores goes w hen user eners in this screen i mean in which table and how to find it
for kunnr name1 i suppose it goes to kna1 but how to find it?
and f or email id whre it gots which table
regards
AroraHi,
when you press F1 it will give the necessary information
but some times it may give the structure names also
those structures are being used by the back end module pool
programm
so every time we can get the exact information about the
data type or length
but not sure that every time we get the exact database table name
and field name
according to me, if i dont know where some field are getting stored in
database ( if the field name and table is structure )
then i will ask my functional consultant ...
thanks & regards,
Venkatesh -
How can I get the table name of a field..
Hi,
If we know the table name we can find all the fileds from it
using desc <tablename>.
But, I would like to find table name of a known field's name.
Where all these fields are storing in the database.
THanks in Advance,
Srinivasulu.ALL_TAB_COLUMNS
rgds, APC
Maybe you are looking for
-
I have recently received an error msg stating: Windows cannot access the specified device, path, or file. You may not have appropriate permission to access them." because of this I could not open any app on my pc. I am running windows 7 ultimate. Whe
-
Hi all I use a non Latin letters Language and I do not have any problems with the interface but my problem is with data; after I insert or update data and Press Commit the data displays and Saved as a Rubbish . Note : my O/S windows XP and I use Jdev
-
Hi Can anybody please tell is there any setting to be done to use my bb style as an evdo modem.In my phone I am getting evdo speeds but when work as a modem it is giving cdma 1x speed only? My carrier is reliance india.
-
Itunes not installed correctly error 7
itunes will not load as it is not installed correcely error 7
-
I need help Cause my Iphone4S Did this screen where Is says Plugin the USB Cable to a computer and Open up ITunes