Check table in data type AFNAM (Name of Requisitioner/Requester)
Hello,
To satisfy a customer's requirement, I changed data type AFNAM so that it would have a search help. The search help name of this data type now points to the ZAFNAM view - this view is based on table ZQQPVS001, where I keep the valid entries for the field.
Here.'s my problem: at least in one of the standard transactions ( ME5A - List Display of Purchase Requisitions), I can get help pressing F4 on the field but I cannot see the help button on the right side of the field. In other transactions (namely ME22n ), I can see the small round button.
Any clues?
Regards,
Joã
Hello,
Problem solved.
Similar Messages
-
Create List of Tables/Columns/Data Types
I am new to Oracle (from SQL Server) and I am looking for a query that will create a list of tables, columns, data types, etc. (data dictionary) in an Oracle database -- one that I can import into, say, MS Access or use Crystal reports and create a report that shows the same.
I had a query to do this in SQL Server -- but it was specific to SQL Server. Does anyone have one to do the same in Oracle? I'm hoping not to have to re-invent the wheel.
Thanks!Hi user653145!
The Data Dictionary has many queries to view informations. Some of these view are
dba_tables
dba_tab_columns
dba_views
etc.
Look for the "Oracle Database Referenc" in the Oracle Onlinedocumentation at
http://tahiti.oracle.com
to get a full list of all data dictionary views.
hope this helps! -
How to call a stored procedure that has Table Of data types in VB6?
Hi everyone,
I need to call a stored procedure that has a Table Of data type as an input parameter (possibly even several Table Of input parameters). I can't seem to find any example of how to do this in VB6 using ODBC. Is this even possible?
Thanks you!
SteveThanks,
but I need to test stored procedures that uses type defined in the package.
e.g.
if I have s.p.
PROCEDURE get_risultati_squadra
( in_squadra IN VARCHAR2,
out_serie OUT tab_varchar2_5,
out_tiporisultato OUT tab_varchar2_5,
out_n_giornata OUT tab_varchar2_5,
out_squadre OUT tab_varchar2_200,
out_risultato OUT tab_varchar2_10,
out_marcatore OUT tab_varchar2_50,
out_punti OUT tab_varchar2_3,
out_rimbalzista OUT tab_varchar2_50,
out_rimbalzi OUT tab_varchar2_3,
out_esito OUT tab_varchar2_2);
I have to define every type external to the package, in this case five new TYPE !!
Is there another way to solve this problem?
Thanks -
Dear All,
We have one user contains more than 100 tables(Production). I need to change some of table columns data types without affect data's.
Please suggest me to do that.
Thanks in advance,
Moorthy.GSDear Sybrand,
Thanks for your reply.
I tried below ways to modify the datatypes.
1) Tried to modify datatype FLOAT to NUMBER while data is persists.
2) Tried to take a export of that user and import the dump without data's and modify the datatype. After that, i tried to import the dump with rows=y option. But it failed due to constraint problems.
Please advise...
Cheers,
Moorthy.GS -
HELP!!! Name of requisitioner/requester
Hi, experts
I need to put the name of requisitioner/requester, I only have GE but I need to know wich table may I use to show the name of requisitiones / requestes.
It's urgent,thank in advance.
Regards
TokioHi,
Go to SE11.
Give the table name EKPO..Press display..
Go to the field AFNAM..
Double click on the corresponding data element for AFNAM...
Then double click on the domain..
Then choose the value range tab..
There either you can see fixed values OR a value table...
If it is fixed values you can use the FM GET_DOMAIN_VALUES to get the texts..
If it is a value table...Go to that table and check for texts...If it is not there...Add T and end of the value table...Ex..IF the value table is T005..By adding T at end will be T005T...
Check that table for texts..
Thanks,
Naren -
Need help :: how to search in nested table/varray data type
I have the following structure...
CREATE TYPE lang_con AS VARRAY(15) OF VARCHAR2(50);
CREATE TYPE rel_con AS VARRAY(15) OF VARCHAR2(50);
CREATE TABLE Country_n(
"NAME" VARCHAR2(40 BYTE) CONSTRAINT "COUNTRY_NAME_NOTNULL_N" NOT NULL ENABLE,
"CODE" CHAR(2 BYTE),
"CAPITAL" VARCHAR2(40 BYTE),
"PROVINCE" VARCHAR2(40 BYTE),
"POPULATION" NUMBER,
"AREA" NUMBER,
"LANGUAGES" lang_con,
"RELIGIONS" rel_con
after inserting data from 3 different table (country, language, religion) the table looks like this....
Cyprus cy Nicosia Government controlled area 775927 9250 VARCHAR(English,Greek,Turkish) VARCHAR(Greek Orthodox,Muslim)
Czech Republic cz Prague Prague 10246178 78866 VARCHAR(Czech) VARCHAR(Orthodox,Protestant,Roman Catholic)
Germany de Berlin Berlin 82424609 357021 VARCHAR(German) VARCHAR(Muslim,Protestant,Roman Catholic)
Djibouti dj Jibuti Jibuti 466900 23000 VARCHAR(Afar,Arabic,French,Somali) VARCHAR(Christian,Muslim)
Denmark dk Copenhagen Frederiksberg Kommune 5413392 43094 VARCHAR(Danish,Faroese,German,Greenlandic) VARCHAR(Evangelical Lutheran,Muslim)
now I want to get the countries in which german language is being spoken. Actually I need to know how to search in this custom data type of mine....I also need to perform other operation further so really need to know how can I search in this custom data type...
when I execute the following query....
select * from country_n cn where cn.languages like '%German%' order by name
I got the following error....
Error starting at line 1 in command:
select * from country_n cn where cn.languages like '%German%' order by name
Error at Command Line:1 Column:33
Error report:
SQL Error: ORA-00932: inconsistent datatypes: expected NUMBER got AHMADM.LANG_CON
00932. 00000 - "inconsistent datatypes: expected %s got %s"
*Cause:
*Action:
let me know please...looking forward to your replies....
Thanks,Hi,
Try this:
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL>
SQL> SELECT t1.*
2 FROM country_n t1,
3 TABLE(t1.languages) t2
4 WHERE column_value LIKE '%German%';
NAME CODE CAPITAL PROVINCE POPULATION AREA LANGUAGES RELIGIONS
Germany de Berlin Berlin 82424609 357021 <Object> <Object>
SQL> Regards, -
Decimal data type package name oracle 9i
Dear Friends,
Can any one tell me , Package name of decimal datatype in oracle 9i.please........
Thank younot clear
check to this
ANYDATA TYPE A self-describing data instance type containing an
instance of the type plus a description
ANYDATASET TYPE Contains a description of a given type plus a set of data
instances of that type
ANYTYPE TYPE Contains a type description of any persistent SQL type,
named or unnamed, including object types and
collection types; or, it can be used to construct new
transient type descriptions -
Error when insert data in Sql Server table(DateTime data type)
Hello all,
I have created a database link in oracle 11g to SQL Server 2008 using Sqlserver gateway for oracle,Oracle run on Linux and SQL Server run on Windows platform.
I have queried a table and it fetches rows from the target table.
I am using this syntax for insert a row in Sql Server table.
Insert into Prod@sqlserver (NUMITEMCODE, NUMPREOPENSTOCK, NUMQNTY, NUMNEWOPENSTOCK, DATPRODDATE , TXTCOMPANYCODE, "bolstatus", NUMRESQNTY )
Values (1118 , 1390.0 , 100.0 ,1490 , '2012-06-23 12:37:58.000','SFP' ,0 , 0 );
but it give me error on DATPRODDATE,The data type of DATPRODDATE column in Sql Server is DATETIME.
My Question is how can i pass the date values in INSERT statement for Sql Server DateTime data type.
RegardsJust as with Oracle, you have to specify the date using the to_date() function or use the native date format for the target database (if you can figure out what that is). This is good practice anyway and a good habit to get into.
-
Database adapter not importing table having data type as WF_EVENT_T
Hi All,
I have a requirement to import a table in the Database adapter. That table is having a column of data type “WF_EVENT_T”.
When I tried to import the table in database adapter I got the error as "The following tables are not supported in the Database Adapter and were not imported".
Then I modified the table by adding one more column with some other data type and tried to import that table.
It got imported successfully but I was not able to see the column with data type WF_EVENT_T in the table.
Any pointers to this would be of great help.
Thanks.Hi Harish
Thanks for your response.
I can create the table with the data type 'String'. However, the problem is when I try to update the table from a program in SE38 or a Function Module in SE37.
When I try to activate the PROGRAM or FUCNTION, I GET A MESSAGE THAT I MENTIONED EARLIER.
Here is the simple program that I have created that I am not able to activate
==========================================
REPORT ZTEST_STRING1.
tables: ztest.
ztest-zid = 2.
ztest-zstring1 = 'ABC'.
insert ztest.
===========================================
ztest has two fields
zid which is NUMC type
and zstring1 which is STRING type.
When I try to activate I get an error message as follows:
'ztest' must be a flat structure. You cannot use internal tables,
strings, references, or structures as components.
Edited by: Ram Prasad on Mar 20, 2008 6:08 PM -
How to enter values to a database table with data type 'LCHR'?
Hello All,
I have created a database table with five fields, of which the last field is 'Value' field in which i have to enter text with a maximum of 1000characters. I have also specified a 'Length' field preceding the 'Value' field.
The datatype specified for the 'Length' field is 'INT2' and for the value field is 'LCHR' with length 1000.
When i tried inserting values to the table through a report, the report is giving an error that 'Literals that take up more than one line are not permitted', which means 255characters.
Also, when i entered a short text which is less than 250 characters to the 'Value' field,, the report is working fine and the table entry is visible.
Can anyone help me in this?
It would be really helpful if you explain how to use 'LCHR' data type in tables and how to enter values to such a field with more than 255characters.
Thanks in Advance,
ShinoHi shino,
Alternatively,
you can use STRING instead of LCHR.
I too have tried with LCHR and am facing the same issue.. i am not sure why its coming..
i have tried STRING and its working perfectly.
wa-key_field = 'IN4'.
CONCATENATE 'Long text over 200 chars length '
'another Long text over 200 chars length '
'another Long text over 200 chars length '
INTO wa-long_text.
wa-len = strlen( wa-long_text ).
INSERT zshino_table from wa.
SELECT * FROM zshino_table INTO table it.
clear wa.
LOOP AT it INTO wa.
WRITE:/ wa-len, ' ' , wa-long_text.
ENDLOOP.
Also, remember to set the type of the database field as String.
hope this was of some help,
thanks and regards,
Sagar. -
Retrieve data on table with data type
Hello,
I want ask, there is query to retrieve data with data type on table SQL Server 2008 R2 ?Please take a look at sp_describe_first_result_set,sp_describe_undeclared_parameters,
and sys.dm_exec_describe_first_result_set. -
System table contains data types
Hi all,
I am migrating queries from SqlServer 7.0 to Oracle. I found a system tabel Systypes in SqlServer 7.0 which contains all the avaliable datatypes. Is there any similar table in Oracle from which we can get all data types. Any reply will be appreciated.Not only at least in 10g R2:
SQL> select type_name from dba_types where predefined = 'YES';
TYPE_NAME
KOKED
KOKED1
KOTAD
KOTADX
KOTMD
KOTMI
KOTTB
KOTTBX
KOTTD
BFILE
BINARY ROWID
TYPE_NAME
BINARY_DOUBLE
BINARY_FLOAT
BLOB
CANONICAL
CFILE
CHAR
CLOB
CONTIGUOUS ARRAY
DATE
DECIMAL
DOUBLE PRECISION
TYPE_NAME
FLOAT
INTEGER
INTERVAL DAY TO SECOND
INTERVAL YEAR TO MONTH
LOB POINTER
NAMED COLLECTION
NAMED OBJECT
NUMBER
OCTET
OID
PL/SQL BINARY INTEGER
TYPE_NAME
PL/SQL BOOLEAN
PL/SQL COLLECTION
PL/SQL LONG
PL/SQL LONG RAW
PL/SQL NATURAL
PL/SQL NATURALN
PL/SQL PLS INTEGER
PL/SQL POSITIVE
PL/SQL POSITIVEN
PL/SQL RECORD
PL/SQL REF CURSOR
TYPE_NAME
PL/SQL ROWID
PL/SQL STRING
POINTER
RAW
REAL
REF
SIGNED BINARY INTEGER(16)
SIGNED BINARY INTEGER(32)
SIGNED BINARY INTEGER(8)
SMALLINT
TABLE
TYPE_NAME
TIME
TIME WITH TZ
TIMESTAMP
TIMESTAMP WITH LOCAL TZ
TIMESTAMP WITH TZ
UNSIGNED BINARY INTEGER(16)
UNSIGNED BINARY INTEGER(32)
UNSIGNED BINARY INTEGER(8)
UROWID
VARCHAR
VARCHAR2
TYPE_NAME
VARYING ARRAY
67 rows selected. -
Hello All,
In my Dynamic Internal Table I've certain fields.
Now I want to check whether those fields are of type Currency or Quantity .
How to do this ?
Using Describe Field syntax I'm getting as TYPE C for both CURRRENCY as well as CHARACTER.
Any clues ?
Regards,
Deepu.KHello Vikram,
Thanks for ur reply !
But when I pass my Internal table data Name to ur said FM I'm not getting any data.
So I tried with one more FM :
* Get the Layout Fields Content
call function 'LVC_VARIANT_SELECT'
exporting
i_dialog = ' '
i_user_specific = 'A'
it_default_fieldcat = gt_fcat
importing
et_fieldcat = gt_fcat
tables
it_data = gt_final
changing
cs_variant = ls_variant
exceptions
wrong_input = 1
fc_not_complete = 2
not_found = 3
program_error = 4
data_missing = 5
others = 6.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
By using the above FM i got my required content.
In the FIeldcatalog I have all the DATATYPES, INTTYPEs, Decimals etc. and so by reading the values from the field catalog I coud resolve my isssue.
Regards,
Deepu.K -
VC table display date type error
hi,
i want to display member's data in table of vc, the column type is 'Date', and i want format it to YYYY/MM/DD.
steps such like the link
https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/stepbyStep
no matter how i tried, it always display wrong information.
for example, an member's birthday is 1949/08/20(August 20), it will display 1950/08/08.
i found vc always read the Date to Month, that is way it display '1950/08/08'(it the 20 is Month, it main 1 year and eight months)
i tried format it such like 'DSTR(DVAL(TRIM(@birthday)),'YYYY/MM/DD')', doesn't work
is anyone can help?
what's wrong and how can i fix it?
thanksMr./Ms. Govindu Nagotla
thank you very much for your reply
could you also tell me how to check the sp's release note, where i can download it and where i can find the install guide?
thank you again,
have a nice day
vic -
Problem creating cache group for a table with data type varchar2(1800 CHAR)
Hi,
I am using TimesTen 7.0 with Oracle 10.2.0.4 server. While creating Cache Group for one of my table I'm getting the following error.
5121: Non-standard type mapping for column TICKET.DESCRIPTION, cache operations are restricted
5168: Restricted cache groups are deprecated
5126: A system managed cache group cannot contain non-standard column type mapping
The command failed.
One of my filed type in oracle table is Varchar2(1800 CHAR). If I change the filed size to <=1000 it (E.g. Varchar2(1000 CHAR)) then the Create Cache command works fine.
MyDatabase Character Set is UTF8.
Is it possible to solve without changing the filed size in the Oracle Table?
Request your help on this.
Thanks,
SunilHi Chris.
The TimesTen server and the Oracle Client is installed on a 32-bit system.
1. ttVersion
TimesTen Release 7.0.5.0.0 (32 bit Linux/x86) (timesten122:17000) 2008-04-04T00:09:04Z
Instance admin: root
Instance home directory: /appl/TimesTen/timesten122
Daemon home directory: /var/TimesTen/timesten122
Access control enabled.
2. Oracle DB details
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Oracle Client - Oracle Client 10.2.0.4 running in a 32 bit Linux/x86
3. ODBC Details
Driver=/appl/TimesTen/timesten122/lib/libtten.so
DataStore=/var/TimesTen/data
PermSize=1700
TempSize=244
PassThrough=2
UID=testuser
OracleId=oraclenetservice
OraclePwd=testpwd
DatabaseCharacterSet=UTF8
Thanks,
Sunil
Maybe you are looking for
-
When I clicked on itunes it didn't open. When I rebooted my computer it said it couldn't close itunes but as far as I could make out it wasn't even open. I reinstalled it to repair whatever was wrong and this time it said it needed to close because i
-
Hi you experts, I have a problem with sending, better receiving Mails vom SAP. I send mails from SAP System to an SMTP-Mail-Address. I´checked in transaction SCOT, that the mails are send, but i dont't receive them? In SAP System the status is "Mail
-
I want to use a Netgear router instead of Airport Express...
I'm trying to create a network of my Mac and my wife's Windows (Vista) laptop, really just so we can print wirelessly from the laptop. Currently my cable broadband modem is linked to Airport Express which "feeds" the Mac. I'd like to remove the Airpo
-
Do I have to install the updates to CS4 in order?
Or does 6.0.5 contain all the updates in the previous 4 versions? Thanks, Harry
-
Best solution to the flash border in IE
Hi, I've scoured the net looking for the solution and there seems to be quiite a few ways to get round the flash border problem in IE. Just like to ask, whats the best solution; easiest and quickest? I know this topic has been done to death but I'm n