HOw can i show a table(name given in parameters) in a report program
I made a report in which there is a paremeter asking for a table name ....
PARAMETERS TBLLE_NAME(10) OBLIGATORY.
Now when I enter the table namke then how can i show its values....
HINT:- We have to use fiels symbols....AND THE USER CAN ENTER ANY DDIC TABLE NAME having some records ...........
You can display the contents of the DB table inputted using ALV.
Pass the Structure name as the DB table name inputted.
Use CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE to create the dynamic table of the same structure as the DB table passed.
Once the above steps are done, the internal table with data can be displayed using ALV.
Reward points for all helpful answers.
Thanks,
Balaji
Similar Messages
-
When sending e-mails, how can I show only the name and not include the e-mail address?
When sending e-mails, how can I show only the name of the recipient and not include their full e-mail address?
Hi beverlyfromnull,
Have you added the recipients to your address book? -
How can I show Foreign Key name in the Data model Table window
Hi,
In one of my table, I had a Foreign Key, but that is not indexed. I want to display the name with in the table second window in realtional data model. If it is indexed, then it is showing in third window. How I can show without indexing that column?
Thanks.I want to show Foreign Key name in the second window.
Thank you for considering my question,
Sundar -
How can we get the table name...
Hi All,
How can we get the actual table name for an argument if its datatype is %ROWTYPE.
For Ex :
function ACCOUNT_UPDATE (account_no number,
person person%rowtype,
amounts dbms_describe.number_table,
trans_date date)
return accounts.balance%type;
In the above function 'ACCOUNT_UPDATE', for argument person the datatype is 'person%rowtype'.
Is there any way to get the name from Data Dictionary tables.
I tried using All_Arguments and DBMS_DESCRIBE, I can able to get all the individual fields of %ROWTYPE by I could not able to know the exact table name thru the DD.
my requirement is dynamically I need to declare a variable for the argument datatype.
Your help is highly appreciated.
Thankshi vinay,
this is the easiest way to find the tablename of a particular field.
t.code:XD01.
enter.
select the kunnr field.
press F1.
the top of the screen u will get 'Technical setting icon.
select that one.then u will get tablename,fieldname,parameter id also.
if helps give the rewards.
regards,
akash.k -
How can we show only display name with out showing email adress
Guys
Can you please tell me as to How we can show only display name with out showing email adress
Thks&Rgds
--Venkathttp://java.sun.com/products/javamail/javadocs/javax/mail/internet/InternetAddress.html#getPersonal()<<<<<<<<<<<<<<<<
could you please elobarate it. I could not understand it properly
Thank you
--Venkat -
How can I get the table name of my column?
I'm using the JDK 1.3 trying to get a table name of a column from a result set. Regardless of what driver I'm using (ODBC Bridge/Oracle) I always get a null returned. Does this method work?
If not, if I'm doing an SQL query that uses more than 1 table and each table has a return of the same column name, how do I distinguish which table the column is from. ThanksYou can use ResultSetMetaData interface and method
String getTableName(int column)
This should return you the table name.
To get ResultSetMetaData object, you can use
ResultSetMetaData getMetaData()
method of ResultSet interface.
HTH -
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 -
How can one find the table name of the Delta Que and setup table?
Hi !
Is there any method to find the table name of the delta que and Extraction que ?setup table = <extract structure>_setup
example: setup table for MC11VA0ITM = MC11VA0ITM_SETUP
Delta Queue is based on following 3 tables:
ARFCSDATA
ARFCSSTATE
TRFCQOUT
assign points if useful ***
Thanks,
Raj -
How can I show the file name of the photo?
Shouldn't this meda data show load with the photo. When i'm sharing similar photos with people, I would like them to be able to reference a file name.
Display of filenames is not a current revel feature. Some users have asked for metadata to be displayed and this is on the wishlist for consideration.
-
How can I show my pictures' (files') name in Adobe Muse lightbox?
How can I show my pictures' (files') name in Adobe Muse lightbox?
For example: DSC_0022.jpgHello,
Muse does not pick up and display the file name by default.
However, the slideshow Lightbox has a Caption option in which you can manually type the file name there and display it anywhere on/around the picture.
Regards,
Sachin -
C Programming: How can we get the filesystem name for a given file-path?
C Programming: How can we get the filesystem name for a given file-path?
Say I have a filepath=/mnt1/file1
Using some OS API like stat, can I get the Filesystem /mnt ?
Thanks in advance,
-VEnter the command up to the point of entering the file path and add a space, then drag the file into the terminal window. It will fill out the path.
If you need to go further into the contents of the Application package, you can continue with /Contents...
Another way is to start typing and then hit Tab to auto-complete. It will stop where it can't determine the next letter.
So, type /App tab and it will fill in /Applications. Type a / and start with the name of the app, then tab and it should complete. Continue till you have the correct path.
Spaces will be replaced with \<space>, so, App Store would end up as /Applications/App\ Store.app -
How can we delete SID table data and Text table data
Hi,
How can we delete SID table data and Text table data of any
InfoObject.Hi,
Go to transaction SE14, give the technical name if the table:
/BIC/T<InfoObject Name> for Text Table
/BIC/S<InfoObject Name> for SID Table
Select "Table" in the given 4 options below & hit Edit button.
in the next screen select "Direct"
& also select "detele data" radio button.
& hit "Activate & adjust database".
this will delete the complete data from the tables.
Note: before deleting the SID's make sure of the consequences & after effects.
Also the SID gets generated the next time you load master data/transaction data only for those records which were loaded..
Regards,
Iliyas -
I have strucked with a simple but a complex problem.
I have a Report with data in vertical rows..need of the hour is how can we show that data into column structure.
here is the table sample which i have in Database..
Location chrg_type Effective_date
xxxxxxx xxxx xx-xx
thhis is the structure in effective date we have several months in it in a single column i want show the effective date or effective month in various columns instead of a single column.
my required table is....
Effective_date Effective_date
Location chrg_type xx-xx xx-xx
xxxxxxx xxxx xx-xx
any tough heads?????Hi Sunil,
Your 1st problem is that you are going to need one more field to accomplish you goal. What type of data do want under your new date columns?
Anyway, once you have that you need to move on to how to move the data out into columns based on date.
Try something like this.
0_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',CurrentDate) AND
DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',CurrentDate)
THEN {tbl.DataField}
1_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -1, CurrentDate)) AND
DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -1, CurrentDate))
THEN {tbl.DataField}
2_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -2, CurrentDate)) AND
DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -2, CurrentDate))
THEN {tbl.DataField}
... Repeat this process until you have all of the columns you need, following this format.
Hope this works for you,
Jason -
How to look for the Table Name
Hi Friends,
Sometimes we need to download the table for the desired information if the same is not available from a particular report. How to look for the table name? Is there a report or a particular feild, where we can find the name of the particular table?
Thanks for the assistance.
RegardsHi Friend,
If you want to see the structures then go to SE11. Sometimes it happens that you cannot find the table names but only fields. In such case, if you want to find the Table names which is not available, then go to SE90.
Abap Dictionary > Fields > Table Fields.
Now Enter the Field name in Right Hand Side of the screen then Execute. You will see the all tables by which that Fields are used.
Regards,
Jigar -
How can I assign image file name from Main() class
I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
Here is the Main class
import org.me.lib.MyJNIWindowClass;
public class Main {
public Main() {
public static void main(String[] args) {
MyJNIWindowClass mw = new MyJNIWindowClass();
mw.s = "clock.gif";
And here is the library class
package org.me.lib;
public class MyJNIWindowClass {
public String s;
ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
public MyJNIWindowClass() {
JLabel jl = new JLabel(image);
JFrame jf = new JFrame();
jf.add(jl);
jf.setVisible(true);
jf.pack();
I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
Thank you.Your problem is one of timing. Consider this simple example.
public class Example {
public String s;
private String message = "Hello, " + s;
public String toString() {
return message;
public static void main(String[] args) {
Example ex = new Example();
ex.s = "world";
System.out.println(ex.toString());
}When this code is executed, the following happens in order:
1. new Example() is executed, causing an object to constructed. In particular:
2. field s is given value null (since no value is explicitly assigned.
3. field message is given value "Hello, null"
4. Back in method main, field s is now given value "world", but that
doesn't change message.
5. Finally, "Hello, null" is output.
The following fixes the above example:
public class Example {
private String message;
public Example(String name) {
message = "Hello, " + name;
public String toString() {
return message;
public static void main(String[] args) {
Example ex = new Example("world");
System.out.println(ex.toString());
}
Maybe you are looking for
-
We're in the process of converting from WL 8.1 to 10.2. Previously both static and dynamic content was served up from the app server. I'm in the process of correcting that so the 400+ meg of static content does not have to be in the WAR file. I have
-
Color Range option in Photoshop Elements 10
I tried to search "Color Range" option in Photohop Elements 10 but i could not able to find it. Let me know, if any one could find it. Thanks, sandeep
-
Pc won't boot after cmos reset
Hi i was working on my m92p thinkcentre and everything worked properly, after i finished working i powered off my computer properly(start->shutdown). The next day when i pressed the power button it booted but than showed a message saying that it coul
-
File transfer Problem with open dataset
I am transfering file in ECC6.0 unicode system to nonsap.In al11 transaction the file has the '#' symbol in the text field.But while downloading to local system to upload other legasy it is taking as Tab.so the file is corrupting.I have tried with fi
-
Conectar Cisco UCS via Nexus a NFS via IP
Tenemos una solución Cisco UCS la cual esta conectada a los Switches de Agregación Nexus y cuando se trata de conectar un o unos ServidoresVirtuales o SX a un NFS via IP no establece la conexión generando time-out, pero si la solución Cisco UCS es co