How to get datatype and label of columns in a record group
Hi all,
I need to create a generic block which displays data of any query. For this, I was thinking at runtime I'll create a recordgroup. For this I was hoping to get the datatypes and label of various columns in the records.
Please help me in this regard
Thanks
Hi everyone,
Can you please tell me that Is it possible to get the datatype and name of columns of a recordgroup during run-time or not. So that I don't waste my time in searching for this solution. If you are not getting my question then please let me know but I need this help very badly.
Thanks
Subodh
Similar Messages
-
How to Get ZERO and Non-ZERO Values in rowcount using Group by?
Dear All,
How can I get Non-ZERO and ZERO row count values in SQL using Group by? I can get non-zero values but when I want NULL should be returned to non-zero values it is ignoring ZERO values in output?
Any hint?
Thanks
GQHi,
Something like
select count(case col
when 0
then 1
end) zero_count,
count(case nvl(col,1)
when 0
then null
else 1
end) nonzero_countRegards
Peter -
How to get length of data on column with long datatype
How to get length of data on column with long datatype without using pl/sql block
...another reason not to use LONG datatype for columns.
Oracle advises to switch to LOB columns instead
SQL> create table t
2 (x long)
3 /
Table created.
SQL> insert into t values (rpad ('x', 10000, 'x'))
2 /
1 row created.
SQL> alter table t
2 modify x clob
3 /
Table altered.
SQL> desc t
Name Null? Type
X CLOB -
Datatypes and names of columns of recordgroup during run-time
Hi everyone,
Can you please tell me that Is it possible to get the datatype and name of columns of a recordgroup during run-time or not. So that I don't waste my time in searching for this solution. If you are not getting my question then please let me know but I need this help very badly.
Thanks
SubodhAfter the call of the methods GET_COLUMN_WIDTH or GET_ROW_HEIGHT
You need to add this command :
CALL METHOD cl_gui_cfw=>flush.
This will send back from the SAPGUI to your ABAP program the new values.
Found in this Thread : Method GET_ROW_HEIGHT
Eric -
How to get ALV Display with First column alone in sort
How to get ALV Display with First column alone in sort
HI,
You can build Internal Table and send this to the parameter "IT_SORT".
eg:
"the sorting Internal Table structure is as whown below.
DATA: t_sort_info type slis_t_sortinfo_alv.
"Build the Sort Internal Table
t_sort_info-fieldname = 'CARRID'.
t_sort_info-subtot = 'X'.
append t_sort_info.
t_sort_info-fieldname = 'FLDATE'.
t_sort_info-subtot = 'X'.
append t_sort_info.
Then pass this "IT_SORT_INFO" table to the Function module "Reuse_alv_*". (Note send the body of the Internal table only like "<b>IT_SORT = IT_SORT_INFO[]</b>".
Here i am making ALV output sorted on CARRID & FLDATE.
You can specify only the First Column name for sorting.
Regards,
Manju
Message was edited by:
MANJUNATHA KS -
How to get fourthly row (row4) first column value (col1) in matrix
Hi to all,
In FMS, how to get fourthly row (row4) first column value (col1) in matrix in document.
select $[$38.1.4]
But it display the first row
Please give me hint.
Thank youHi Eric,
FMS may only apply to current row. There is no way to get any other fixed row.
Thanks,
Gordon -
How to get gui_download and gui_upload with popup filename?
how to get gui_download and gui_upload with popup filename?
Here is a short example.
report zrich_0003 .
data: ifiletab type filetable.
data: xfiletab like line of ifiletab.
data: xstring type string.
data: rc type i.
data: itab type table of string.
data: xtab type string.
start-of-selection.
call method cl_gui_frontend_services=>file_open_dialog
changing
file_table = ifiletab
rc = rc.
read table ifiletab into xfiletab index 1.
xstring = xfiletab-filename.
check not xstring is initial.
call method cl_gui_frontend_services=>gui_upload
exporting
filename = xstring
changing
data_tab = itab.
loop at itab into xtab.
write:/ xtab.
endloop.
Regards,
Rich Heilman -
How to get nodes and its attributes of an XML file usiong DOM parsing?
how to get nodes and its attributes of an XML file usiong DOM parsing?
i am new to XML parsing.......
Thanking you........import org.w3c.dom.Document;
import org.w3c.dom.*;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException; ...
//Setup the document
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse (new File("MY_XML_FILE.xml"));
//get elemets by name
String elementValue = doc.getElementsByTagName("MY_ELEMENT").item(0).getTextContent();
//This method can return multiple nodes, in this instance I get item(0) , first nodeRead the api for other methods of getting data. -
How to get vendor and company code based on logistic invoice document
how to get vendor and company code based on logistic invoice document in abap/4?
Hello Kumar
When you call BAPI_INCOMINGINVOICE_GETDETAIL using
INVOICENUMBER = <number of invoice>
FISCALYEAR = <fiscal year>
the returned HEADERDATA contains what you are looking for:
HEADERDATA-COMP_CODE
HEADERDATA-DIFF_INF
Regards
Uwe -
How to get tools and other bars back in view after deleting show-bar?
How to get tools and other bars back in view after deleting show-bar?
Hello Jouko.
You can go into View > Toolbars and select the ones you want to see. If you can't see the menu bar you can simply tab ALT on your keyboard (I think F10 works too) to show it. -
How to get max and min salary in a table
How to get max and min salary in a table
SQL> select max(sal),min(sal) from emp;
MAX(SAL) MIN(SAL)
5512 800
SQL> -
How to get instrument and plug in files to logic8?
How to get instrument and plug in files to logic8?
I lost mine in a hard drive crash.
I cant use my DVD jam pack
This is my spec
Modellnamn: iMac
Modellidentifierare: iMac8,1
Processornamn: Intel Core 2 Duo
Processorhastighet: 2,4 GHz
Antal processorer: 1
Totalt antal kärnor: 2
L2-cache: 6 MB
Minne: 3 GB
Busshastighet: 1,07 GHz
Boot ROM-version: IM81.00C1.B00
SMC-version (system): 1.29f1
iMac, OS X Mountain Lion (10.8.2)I think you want to get the latitude and longitude information of client accessing the web application. In the web application you cannot directly get the client location information as the nature of the web application is different from windows applications.
I advise you to develop a Silverlight component and in that Silverlight component use geolocation classes to get client location. Please refer this article for getting data in Silverlight http://www.c-sharpcorner.com/UploadFile/82b980/getting-geo-location-of-user-in-silverlight/
And once you get the location information you can send that data back to ASP.net webpage or call any javascript method as shown here http://ovaismehboob.wordpress.com/2013/06/22/bridging-data-between-asp-net-and-silverlight/
Hope this helps!
Ovais Mehboob Ahmed Khan http://ovaismehboob.wordpress.com -
Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?
Today my money is deducted Rs.60 when I try to download paid applications of any amount and I am getting message transaction declined, so why my money is deducted. I lost almost Rs 480 rupees . So how to get refund and how to make card working?
-
How to fetch Quartile and Comp Ratio columns
Hello all
How to fetch Quartile and Comp Ratio columns which are present in Enter and maintain -> Assignment screen -> Salary screen.Are they direct columns from any table or calculation columns.
Someone please suggest me how to fetch those columns
Thanks in advanceCan anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..1. define "junk" values.
2. usually it does not matter what values are in ID, because it is used internally by application, to maintain uniqueness or relations, not having any semantical meaning. End users usually should not see IDs, such IDs are generated automatically. There is no need to cleanse them from "junk" values.
3. If you made a typo, and you are looking for "junk" values in Name column, it is a different story. You can use TRANSLATE to search such values, as already advised, translating all "junk" characters to one "junk" character and searching for the latter.
select id, name from T where translate(name,'?@#$%^<>','~~~~~~~~~') like '%~%';
Edited by: Mark Malakanov (user11181920) on Jan 4, 2013 11:40 AM -
anyone.know.how.to.get.spacebar.and.delete.button.to.work??
I think you are asking this in the wrong forum. This is for TBD issues.
Maybe you are looking for
-
hi guys, i faced a weired problem, i got this error in the monitoring it's about processing empty files, i have to process empty files but without having this exception <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during appli
-
Hi, I have a little problem, I have a small approval process, which is started by a requestor and then the next step is, that the direct line manager of the requestor has to approve or reject the request. So I find out who is the line manager (by an
-
how can i convert my song into .mr4 for making it my ringtone, just renaming it is not working?
-
Going to get a I-Phone, to setup I Cloud on my Mac do I have to upgrade from OSX Leopard, version 10.5.8 to OSX Snow Leopard and then to OSX Lion ?
-
Mac OS X could not be installed in your computer - Install failed
Wasup.. I have a macbook pro 13" (latest version) on mac os x 10.6.5 I was trying to reinstall the mac os x and I can't !! Here is the log file: http://img818.imageshack.us/i/erro1r.jpg/ The error appears in the beginning of the installation: http://