"mode" can be field name ?
I migrate sql server to oracle.I have a table having a field named "mode".I can't rename it because application can't work with it.what can i do.?
Have you added the following values to <i>com.sap.aii.ib.client.properties</i>:
com.sap.aii.ibrep.core.cms.*
com.sap.aii.ibdir.core.cms.*
Also, try restarting the J2EE engine
Cheers
Manish
Similar Messages
-
Hi all,
While I am writing a program for object model listing, I need to get "Short Description" for each fields. I can get Field name, Data Element, Length, Type, Decimal but not Short Description. I thought it is DD03T-DDTEXT. But cannot get the data. Can anyone tell me how can I get the data?
Regards,
Nathan
Will Reward if useful.hi .. here is the program to get the values and text of the domain
report Z_FIND_DOMAIN_FIXED_VALUES.
tables : DD03L . " txw_c_soex .
type-pools: slis.
TYPES : BEGIN OF ty_tables,
FIELDNAME LIKE DD03L-FIELDNAME ,
* include structure DD03L . "txw_c_soex.
END OF ty_tables.
TYPES : tt_xdfies TYPE TABLE OF dfies.
TYPES : tt_tables TYPE TABLE OF ty_tables.
DATA : gt_tables TYPE TABLE OF dd07v ,
gt_dart_tables TYPE tt_tables,
gs_tables LIKE LINE OF gt_tables,
gs_dart_tables LIKE LINE OF gt_dart_tables.
DATA : lt_values TYPE TABLE OF dd07v,
ls_values LIKE LINE OF lt_values ,
lt_values1 TYPE TABLE OF dd07v,
ls_values1 LIKE LINE OF lt_values1.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*select-options: s_struct for txw_c_soex-src_struct.
select-options: s_FIELD for DD03L-FIELDNAME.
*SELECT src_struct FROM txw_c_soex INTO TABLE gt_dart_tables Where
* src_struct in
*s_struct
select FIELDNAME from DD03L iNTO TABLE gt_dart_tables Where
FIELDNAME in
s_FIELD
SORT gt_dart_tables BY FIELDNAME . "src_struct.
DELETE ADJACENT DUPLICATES FROM gt_dart_tables COMPARING FIELDNAME .
"src_struct.
LOOP AT gt_dart_tables INTO gs_dart_tables.
* PERFORM get_checktable USING gs_dart_tables-FIELDNAME .
CALL FUNCTION 'DD_DOFV_GET'
EXPORTING
GET_STATE = 'M'
LANGU = SY-LANGU
* PRID = 0
WITHTEXT = 'X'
DOMAIN_NAME = gs_dart_tables-fieldname
" ls_xdfies-FIELDNAME
* IMPORTING
* GOT_STATE =
TABLES
DD07V_TAB_A = lt_values
DD07V_TAB_N = lt_values1
* EXCEPTIONS
* ILLEGAL_VALUE = 1
* OP_FAILURE = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT Lt_values by DOMNAME DDLANGUAGE VALPOS .
loop at lt_values into ls_values .
move-corresponding ls_values to gs_tables .
append gs_tables to gt_tables .
endloop .
CLEAR : lt_values , ls_values , gs_tables .
SORT Lt_values1 by DOMNAME DDLANGUAGE VALPOS .
loop at lt_values1 into ls_values1 .
move-corresponding ls_values1 to gs_tables .
append gs_tables to gt_tables .
endloop .
CLEAR : lt_values1 , ls_values1 , gs_tables .
*endloop .
ENDLOOP.
SORT gt_tables BY DOMNAME DDLANGUAGE VALPOS .
DELETE ADJACENT DUPLICATES FROM gt_tables COMPARING DOMNAME VALPOS
DDLANGUAGE.
PERFORM display_data.
perforM ALV .
FORM display_data.
fieldcatalog-fieldname = 'DOMNAME'.
fieldcatalog-seltext_m = 'Domain name'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 30.
fieldcatalog-key = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'VALPOS'.
fieldcatalog-seltext_m = 'Domain value key'.
fieldcatalog-col_pos = 1.
fieldcatalog-outputlen = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DDLANGUAGE'.
fieldcatalog-seltext_m = 'Language key'.
fieldcatalog-col_pos = 2.
fieldcatalog-outputlen = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DOMVALUE_L'.
fieldcatalog-seltext_m = 'Values for domains: Single value/upper
limit'.
fieldcatalog-col_pos = 3.
fieldcatalog-outputlen = 10.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DOMVALUE_H'.
fieldcatalog-seltext_m = 'Values for domains, upper limit'.
fieldcatalog-col_pos = 4.
fieldcatalog-outputlen = 10.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DDTEXT'.
fieldcatalog-seltext_m = 'Short text for fixed values'.
fieldcatalog-col_pos = 5.
fieldcatalog-outputlen = 60.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
ENDFORM. " display_data
*& Form ALV
* text
* --> p1 text
* <-- p2 text
FORM ALV.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
* i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
* it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
* is_variant = z_template
tables
t_outtab = gt_tables
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. " ALV
reward points if it is usefull ....
Girish -
Oracle can not support upto 32 characters table name and field name ?
hi
oracle up limitation ?
create table aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(a char);
Error
ORA-00972:identifier too long
or
create table a (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa char);
Error
ORA-00972:identifier too long
Oracle can not support upto 32 characters table name and field name ?
It is true?
nullHello All
It's been a year after those posts about the limit of identifiers in Oracle Database. Does anybody know what can be done to get rid of that primitive limit? We are developing using Application Servers, Java, generated Code and a very nice object model, in which we can't just use abreviations because of early database age memory shortcomings.
We are currently using 8i in a very large organization. Is there any chance this version can be configured to allow larger identifiers? Is upgrading to 9i going to solve this problem? Is Oracle Databases really doomed forever because of a 20-year-ago limitation?
Please, I do like Oracle Databases. I don't want to be flooded with quick answers like "just use 32 character identifiers". I would like to hear a serious solution. Is anybody there still locked in the 8.3 filename paradigm of MS/PC-DOS? Does anybody has to fit an entire Enterprise System in segmented 640Kb of memory? Does anybody has to use monochrome character mode interfaces? Of course not those in the mainstream.
I also know that other hadrware and software products have lots os limitations. Take Windows 2000. Its command line has a limit of 255 characters! You can't have more than 4GB of memory in a PC! However, one can't expect one mistake to justify others.
I wish I were very wrong in this respect, and all it should be necessary is to turn on some kind of configuration parameter in 8i to allow us to develop high quality code.
Thanks for your attention.
Please, feel free to contact me if you have a solution.
[email protected] -
Can you make an enter event in topmostsubform that gets the field name of any field thats entered
Looking for some help.
I have a modified Enter Event I'm trying to use. What my expected results are: When you click on a field on the PDF, it would open up a certain webpage or file depending on what field is entered. I currently have:
if (xfa.host.name == "Acrobat") {
app.launchURL("www.cnn5.com" + "/" + event.target.documentFileName + "&" + this.name, true);
else {
xfa.host.gotoURL("www.cnn5.com");
In this example, i'm using a bogus address obviously. "event.target.documentFileName" gives me the PDF name which is what I want, but I need to scrub off the ".pdf" at the end of it. I know I can use this in every field that I want it in, but I'm looking to see if I can get this code in just the topmostsubform only due to having hundreds of forms I might be using this form and to save time.
When this is used in the topmostsubform, it gives me the URL: "www.cnn5.com/PDFname.pdf&TopmostSubform" no matter what field i click into. Is there something i can change this.name to? Any help would be greatly appreciated.
Also, i'll need to have this event to be able to use multiple times, because currently in the topmostsubform, it only activates on the first field that I enter and doesn't activate on fields after that. Suggestions please? Thank youHi,
Are you using event propagation? If you are try
xfa.event.target.name
Otherwise have a look at this http://blogs.adobe.com/formfeed/2009/03/xfa_30_event_propagation.html
Regards
Bruce -
Hi all,
I used the following code to create a new Database (ScottChangDB) and a new Table (marvel) in my SQL Server 2012 Management Studio (SSMS2012) successfully:
-- ScottChangDB.sql saved in C://Documents/SQL Server XQuery_MacLochlainns Weblog_code
-- 14 April 2015 09:15 AM
USE master
IF EXISTS
(SELECT 1
FROM sys.databases
WHERE name = 'ScottChangDB')
DROP DATABASE ScottChangDB
GO
CREATE DATABASE ScottChangDB
GO
USE ScottChangDB
CREATE TABLE [dbo].[marvel] (
[avenger_name] [char] (30) NULL, [ID] INT NULL)
INSERT INTO marvel
(avenger_name,ID)
VALUES
('Hulk', 1),
('Iron Man', 2),
('Black Widow', 3),
('Thor', 4),
('Captain America', 5),
('Hawkeye', 6),
('Winter Soldier', 7),
('Iron Patriot', 8);
SELECT avenger_name FROM marvel ORDER BY ID For XML PATH('')
DECLARE @x XML
SELECT @x=(SELECT avenger_name FROM marvel ORDER BY ID FOR XML PATH('Marvel'))--,ROOT('root'))
SELECT
person.value('Marvel[4]', 'varchar(100)') AS NAME
FROM @x.nodes('.') AS Tbl(person)
ORDER BY NAME DESC
--Or if you want the completed element
SELECT @x.query('/Marvel[4]/avenger_name')
DROP TABLE [marvel]
Now I am trying to create my first XML Schema Collection to do the Validation on the Field Name (Column Title) of the "marvel" Table. I have studied Chapter 4 XML SCHEMA COLLECTIONS of the book "Pro SQL Server 2008 XML" written by
Michael Coles (published by Apress) and some beginning pages of XQuery Language Reference, SQL Server 2012 Books ONline (published by Microsoft). I mimicked Coles' Listing 04-05 and I wanted to execute the following first-drafted sql in
my SSMS2012:
-- Reference [Scott Chang modified Listing04-05.sql of Pro SQL Server 2008 XML by Michael Coles (Apress)]
-- [shcColes04-05.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress]
-- [executed: 2 April 2015 15:04 PM]
-- shcXMLschemaTableValidate1.sql in ScottChangDB of SQL Server 2012 Management Studio (SSMS2012)
-- saved in C:\Documents\XQuery-SQLServer2012
tried to run: 15 April 2015 ??? AM
USE ScottChangDB;
GO
CREATE XML SCHEMA COLLECTION dbo. ComplexTestSchemaCollection_all
AS
N'<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="marvel">
<xsd:complexType>
<xsd:all>
<xsd:element name="avenger_name" />
<xsd:element name="ID" />
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>';
GO
DECLARE @x XML (dbo. ComplexTestSchemaCollection_all);
SET @x = N'<?xml version="1.0"?>
<marvel>
<avenger_name>Thor</name>
<ID>4</ID>
</marvel>';
SELECT @x;
GO
DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_all;
GO
I feel that drafted sql is very shaky and it needs the SQL Server XML experts to modify to make it work for me. Please kindly help, exam the coding of my shcXMLTableValidate1.sql and modify it to work.
Thanks in advance,
Scott ChangHi Scott,
2) Yes, FOR XML PATH clause converts relational data to XML format with a specific structure for the "marvel" Table. Regarding validate all the avenger_names, please see below
sample.
DECLARE @x XML
SELECT @x=(SELECT ID ,avenger_name FROM marvel FOR XML PATH('Marvel'))
SELECT @x
SELECT
n.value('avenger_name[1]','VARCHAR(99)') avenger_name,
n.value('ID[1]','INT') ID
FROM @x.nodes('//Marvel') Tab(n)
WHERE n.value('ID[1]','INT') = 1 -- specify the ID here
--FOR XML PATH('Marvel') --uncommented this line if you want the result as element type
3)i.check the xml schema content
--find xml schema collection
SELECT ss.name,xsc.name collection_name FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
select * from sys.schemas
--check the schema content,use the name,collection_name from the above query
SELECT xml_schema_namespace(N'name',N'collection_name')
3)ii. View can be viewed as virtual table. Use a view to list the XML schema content.
CREATE VIEW XSDContentView
AS
SELECT ss.name,xsc.name collection_name,cat.content
FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
CROSS APPLY(
SELECT xml_schema_namespace(ss.name,xsc.name) AS content
) AS cat
WHERE xsc.name<>'sys'
GO
SELECT * FROM XSDContentView
By the way, it would be appreciated if you can spread your questions into posts. For any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
Can I display or export a list of all field names on a PDF
In Designer 7, is there a way to display all field names (text fields and checkboxes)? Or is there any way to obtain a list of all field names used on a form?
In Acrobat 7, all the field names used on the PDF will appear when you select the Text Field Tool. However, this will only happen when the fields were added using the form tools in built into Acrobat. These forms tools are not accessible in Acrobat when the PDF was created using Designer.
For a PDF created with Designer, you can hover over a field in Acrobat to have a ToolTip display the field name. Unfortunately, this can only be done one field at a time.
Thanks in advance for any info.Here is an example of how to get all the form objects' names within a node in the hierrachy. For a more complex form (with subforms), you will need to check to see if the node is a container. If it is, you will to use this code below to iterate that node.
var objNode = xfa.resolveNode("xfa.form.form1.page1")
for (var i = 0; i < objNode.nodes.length; ++i)
app.alert(objNode.nodes.item(i).name);
Here is an example:
http://66.34.186.88/LiveCycleSamples/.3bbb371.pdf -
Can anyone tell me the field name, table name for the following scenario?
Hi All,
Can anyone tell me the field name and the respective table name for the following scenario's?
1. A report to list all the materials to which Invoice is done and delivery is pending.
2. A report for Order tracking.
3. A report, which gives PO(Purchase Order), Pricing details.
4. A report, which calculates the MATERIAL COST. It will select all the material issued for the entered service order number from stock.
Thanks & Regards,
P.Gowrishanker
Edited by: Gowrishanker pari on Jun 1, 2008 8:58 AMI believe that OmniVision Technologies has the contract for the 3gs.
-
Can you change the field names in the address book?
Can you change the Pager field name to read 2nd cell?
No.
This add-on https://freeshell.de//~kaosmos/morecols-en.html allows you to modify the labels of the 4 custom fields of the contact card -
How can i get value when the field name is user's defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyYou should give the user defined name in the ResultSet.getXXX method to retrieve the column value.
Example
SQL:
Select ename as employeename from emp;
You should say :
ResultSet.getString("employeename"); to get the value.
Alternatively you can retrieve it using column number:
ResultSet.getString(1);
Chandar -
Can we display the field name vertically
Hi BI Experts ,
Iam using Bex Analyzer to run reports.
1.in report i want to display the field name vertically. is there any possibilities.
2.i had tried using format cells in excel settings , but i have to make settings every time after running the report.
3. i need this settings should be done before running the report and user can see the report such a way that field name should be displayed vertically.
Please suggest me is there any way to do this.
Thanks
TulsiHello,
You can create a workbook, do the necessary format and turn off the format refresh in the Bex Tool bar property. You can turn off the same in Query Property.
[Thanks|http://chandranonline.blogspot.com/]
[Chandran|http://chandranonline.blogspot.com/] -
How can i get the value when the field name is user defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count(*) as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyHi Ricky
To access pseudo columns you can specify an alias or use the index on the column (e.g. getInt(1)).
Chris
NB: you should use bind variables instead of concatenating the id to the SQL statement. -
Can I use a field name in text module
Hi,
I get a object name of the standard text in a field. Can I use that field in Text module.
Thanks,
Srinivas.Go to t-code SMARTFORMS->Text Module->Create or Edit-> choose add icon and type your field name (used in your smartform) like this &fieldname&, then use this Text module in your smartform.
-
How can i read the field name in the internal table
Hi friends
i want to read the internal table filed name.
my requirement is like this:
data: begin of t_header occurs 0,
extno(12),
priotiy(5),
ecnumber(10).
end of t_header.
loop at t_header.
if the field name is priority i want to write some other
logic here.....
endloop.
Please tell me how can i do this.data: wf_fld_cat type slis_t_fieldcat_alv .
data: wf_repid like sy-repid .
data: int_tab_name type slis_tabname .
move: sy-repid to wf_repid ,
'INT_OUTPUT' to int_tab_name .
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = wf_repid
i_internal_tabname = int_tab_name
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = wf_repid
i_bypassing_buffer = 'X'
I_BUFFER_ACTIVE =
changing
ct_fieldcat = wf_fld_cat[]
exceptions
inconsistent_interface = 1
program_error = 2
others = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
wf_fld_cat[] will hold the itab definition.
Regards
Raja -
How can I find transactions using list of field names
Hi,
I do have some field names . I wanted to know how can I find the list of transactions that uses those fields in SAP?
Regards,
AmanAman,
It will be hard work, take the where-used list from SE11 for program, function groups and etc.
Take the object name and go to SE80 and check in the tree if it has any transaction assigned.
regards,
Alexandre
It -
How can I modify the display field names on the output port of my bi query
Hello,
I integrate my bi query in the visual composer storyboard.
Then I click on my output port of the query and see the output fields.
The display field names are very strange.
For example:
ABZCNQMDOPWJGHS1Q5Q27090
I have never save such a field name while I create my query in the query designer.
Have somebody an idea, where I can modify my displayed field names??
Thanks.
ThomasHi Thomas,
the cryptical names are the technical names of your query components. If there is no decription available (depends also on your portal language) then the technical names are displayed. Check your portal language in your user settings and then check if you have entered a description in the query designer for this language.
Best Regards,
Marcel
Maybe you are looking for
-
How to come out of loop at last record?
As I told in my previous posts,Iam transferring data from excel to zgkmaster tabel table structure: eid ename First I did SHDB(recording) and then made my BDC program.There are 10 records in table with names gopi,hari,rajesh.... with eid 1 to 10.My t
-
...I think? I upgraded so I could use my new iPod. After installation I was checking everything out and noticed that I only have 6.08GB of free space. Is that enough to run efficiently or do I need to do some Spring cleaning on my HDD? I'd like t
-
How do i put notes into my ipod
i need to put notes in the ipod because i loose sometimes notes at home . how do i put notes in ipod
-
Queue Reference on a DVR?
Hi All, I am trying to track down a bug in my code to no avail (so far). I wanted to check if my problem is caused by a 'feature' in LabVIEW while I continue to tear (whats left of) my hair out..... Here is what I'm doing: I create my 'communication
-
Hi i cannot buy or download because i do not remember my security questions. i logged into my account, went to the privacy and security page, but there is no option for a rescue email. Even though i have one registered. There is also no support in So