How to Implement table view if I not know table columns ?
I need to create table with WebDynPro IView, columns of which is defined by user input.
I'm nivice.
Better if you provide sample how to do it.
Or, any detailed explanation is welcome.
And, how to create Hierancical table - format of which depends from user input?
Hierancical table - sectioned table made by 'group by' SQL operation.
thanks
thanks Pedro
but I did not understand one important thing, to some complete understanding:
does a way to visualize SQL Select query - to define big? dynamically hand coded program?
Or -does exist table controls that can show result of SQL query ?
Does exist class structures that can own abstract Data from query,
like result set which includes scheme of data, (collection of fields and types) ?
does exist such a third-party libaries?
evidently, such dynamic programming is used in almost every task ,
using same and well known methods in pure programming languages (not WedDynPro)
so must they exist methods to automate such a big programming ?
something useful
Re: Table binding at runtime
How to add columns in table at runtime?
Similar Messages
-
How to Export from table view to Excel (not BI query)?
There is a 'How to' document explaining how to export from an iView using a BI query:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123
However:
This 'How-To' document is using an example of a BEx query. I am not using a BEx query, therefore I do not have an "Info port". How can I download to Excel from a table view that is not an iView of a BI query? (It is just a internal table coming from a BAPI).keenneth,
i am using the query from SQL server, i am having the same problem of not having info port. so did you find a work around for exporting to excel with filters for non sap queries ?
any body who had come across this situation , plz guide me.
thanks in advance
ravi -
How to implement the View V_SEPA_CUST in SAP 4.7 ?
Hi SAP Experts,
We are going to implement SEPA in our project and currently using SAP 4.7.
Is there any way to implement the View V_SEPA_CUST in SAP 4.7.
I came to know that there is an OSS Note available for this implementation but I couldn't find the same.
Please suggest me how to Implement the View V_SEPA_CUST in our SAP system, since we need this View for SEPA implementation.
Many Thanks in Advance.
Yogesh.
Moderator message: one thread only per issue, please.
Edited by: Thomas Zloch on Jan 31, 2012Dear Yogesh,
SAP has just recently released a note you might want to consider: 1834272. One of the preliminary notes for this note is 1784060...
This works for SAP 6.4. I can not help you where it is specifically related to SAP 4.7
Hoping it is of use.
Best regards,
Raymond -
How come the current view button does not work?
How come the current view button does not work?
Sorry, I have no idea what you are asking; please provide some details, and/or a screenshot if possible: https://forums.adobe.com/thread/1070933
-
My 6 year old was playing on an app we have used for ages then last night i recieved numerous emails stating about $600 of in app purchases had been made! i dont know how this happened as my child does not know my apple i.d. password!
You can try contacting iTunes support and see if they give you a refund or credit for some/all of it : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchaes, Billing & Redemption.
To stop it happening again you can turn off in-app purchases on your iPad via Settings > General > Restrictions > In-App Purchases, and also in Restrictions change Require Password to 'Immediately' - the default is 15 minutes during which it doesn't need to be re-entered. -
I Want manage cluster table view . I control this table
Hi Abaper ;
I Want manage cluster table view . I control this table ( which cell change or delete or add ) I use total internal table ( creating by system ) but total table has a line and some data is incorrect .
for example :
in database data :
term stundet_name lesson_id lesson_name
2005 ahmet 1 Matematik
2005 yasin 2 Tarih
I view data
term stundet_name lesson_id lesson_name
2001 ahmet 1 Matematik
2001 yasin 2 Tarih
(term data false)Hi Turgut
Check this out ; I dont try but maybe useful for you.
http://help.sap.com/saphelp_nw2004s/helpdata/en/a1/e4521aa2f511d1a5630000e82deaaa/content.htm -
How to implement Inline Views in ODI?
Hi,
How to implement the following query (inline view) in ODI?
Query:
SELECT *
FROM Table_one t1,
(SELECT * FROM Table_two (includes some where conditions) t2
WHERE conditions;
How to set the conditions at the table level (not at the interface level) i.e., How to set the conditions used in Sub Query Table_two in ODI?
Thanks in Advance,
-Vencythere is no native way to use hierarchical queries.
you will have to modify KM
It depends on your exact needs. -
How to create a view consisting of data from tables in2 different databases
Using Oracle 10.2g
I have 2 databases Gus and haggis on Comqdhb schema.
glink indicates a databse link between Haggis and Gus
In Gus there are tables student,subject,grade,school containing columns like upn...
STUDENT
upn
academicYear
SUBJECT
subject
GRADE
examlevel
grade
SCHOOL
sn
In HAGGIS there are tables student,grade,teacher containing columns upn...desc below.
STUDENT
upn
GRADE
grade
upn
academicyear
level
Create view in your HAGGIS database which will join all of the exam grades together. You should have one view which will produce the following relation :
examGrade(upn, subject, examlevel, sn, grade,academicYear)
so I need to create a view which gets the data from both the tables in both the databases.
create view as examGrade(upn, subject, examlevel, sn, grade,academicYear) as select s.upn
But i am not getting how to select a column from 2 tables in different databases
I mean if i said
select upn from comqdhb.student@glink,comqdhb.student;
select upn from comqdhb.student@glink,comqdhb.student
ERROR at line 1:
ORA-00918: column ambiguously defined
help me out,Thank you.Thank you for the reply will follow up the code format
Create views in your HAGGIS schema database which will join all of the exam grades together. You should have one view which will produce the following relation :
examGrade(upn, subject, examlevel, sn, grade,academicYear)
I understand that there wont be duplication when we use conditions
If i query
select count(upn)
from comqdhb.student@glink I get 9000
but after the union
create view examGrade(upn, subject, examlevel, sn, grade,academicYear)
as
select distinct s.upn as upn
, g.subject as subject
, g."LEVEL" as examlevel
, g.grade as grades
, '9364097'
, to_number(g.academicyear) as academicyear
from comqdhb.student s
, comqdhb.grade g
where s.upn=g.upn
union
select s.upn
, sb.subject
, g.elevel
, g.grade
, s.acyr
, sc.sn
from comqdhb.subject@glink sb
, comqdhb.student@glink s
, comqdhb.gradevalues@glink g
, comqdhb.school@glink sc,
, comqdhb.studentingroup@glink sg
, comqdhb.teachinggroup@glink tg
where sb.sid=tg.sid
and tg.gid=sg.gid
and sg.upn=s.upn
and g."LEVEL"=tg.elevel
and s.school=sc.id
and sc.id=tg.id; returns
count(upn) from exam gradeIt gets stuck actually sometimes it returns
932002 some results.
2:
Another problem i am having which i am trying to solve and written up my ideas but haven't been getting the expected results.Hope you can help.Thank you.
Information:
=======
All children take exams at the age of 16 called a General Certificate of SecondaryEducation (GCSE).
They have to study and take exams in Mathematics, English and Science, and can take other subjects such as History, French, Art etc. Most students will study between 5 and 10 different subjects before taking their GCSEs.
For each exam, a student is awarded a grade from A*, A, B,C,D,E,F,G,U,X An A* grade is the best grade achievable and an X is the worst grade.
In order to analyze how students have performed, each grade is mapped to a numeric value as follows:
Grade Numerical score
A* 8
A 7
B 6
C 5
D 4
E 3
F 2
G 1
U 0
X 0
Now why i need this avgGCSE is because i have to create a view containing avgGCSE of the students it is used in the next question where a condition is avgGCSE is between 6.5 and 7
In order to calculate the avgGCSE the idea is to calculate the grades of the students and map the grades to their corresponding scores/values
add them all up and div by the total no of grades to get the avg.
desc comqdhb.STUDENT@glink;
STUDENT
=======
UPN
FNAME
CNAME
DOB
GENDER
PREVIOUSSCHOOL
XGCSE
SCHOOL
ACYR
STUDENTINGROUP
=============
UPN
GID
STARTDATE
ENDDATE
GRADE
GRADEVALUES
===========
GRADE
LEVEL
VALUE
I have a opinion that xgcse in STUDENT table refers to the avgGCSE which i want to calculate as when i asked my professor as to what xgcse he said that he forgot to take it out of the table and it is not necessary while creating avggcse.
select *
from comqdhb.student@glink
where xgcse<6.5; Displaying a result
returns:
UPN FAMILYNAME COMMONNAME DATEOFBIR GENDER PREVIOUSSCHOOL XGCSE SCHOOL ACYR
===========================================================================
1011 KIMBERLY ABBOT 07-JUL-79 f none 3.93500948 2 2
select *
from comqdhb.student@glink
where xgcse between 6.5 and 7 and upn = 1386; Displaying a result
returns:
UPN FAMILYNAME COMMONNAME DATEOFBIR GENDER PREVIOUSSCHOOL XGCSE SCHOOL ACYR
===========================================================================
1386 STEPHANIE AANNESSON 15-JAN-79 f none 6.88873 2 2 so if xgcse is the avgGCSE then upn 1011 has avggcse<6.5 and 1386 has avggcse >6.5
my idea was backward strategy like so now if we find out upn 1368 has suppose xgcse(avggcse)>6.5 how to extract the avggcse for the particular upn We need to map grades from GRADEVALUES to grade in STUDENTINGROUP and map upn from studentingroup to upn in student to output the values for the corresponding grades from GRADEVALUES
select grade
from comqdhb.studentingroup@glink
where upn = 1011;
Result:
GRADE
=====
D
F
B
E
C
E
E
B
8 rows selected. Mapping each grade to the corresponding value and calculating we get
32/8=4 total(values to corresponding grades)/no of grades.
But the xgcse for upn 1011 is 3.935 and i am getting 4!! maybe xgcse isn't avggrade but ? is the procedure by me correct for calculating avggcse
select grade
from comqdhb.studentingroup@glink
where upn = 1386;
Result:
GRADE
======
A*
A*
A*
A*
B
A*
A*
A
B
B
B
11 rows selected. grade to the corresponding value and calculating we get
79/11=7.12 total(values to corresponding grades)/no of grades.
But the xgcse for upn 1011 is 6.88... and i am getting 7.12!!
But another problem
when i say
select g.value,g.grade
from comqdhb.gradevalues@glink g
, comqdhb.studentingroup@glink sg
where g.grade=sg.grade
and sg.upn=1011;
result:
======
VALUE GRADE
===========
100 B
100 B
80 C
60 D
40 E
40 E
40 E
20 F
6 B
6 B
5 C
VALUE GRADE
=============
4 D
3 E
3 E
3 E
2 F
16 rows selected.
select distinct g.value,g.grade
from comqdhb.gradevalues@glink g
, comqdhb.studentingroup@glink sg
where g.grade=sg.grade
and sg.upn=1011;
result:
======
VALUE GRADE
============
2 F
100 B
6 B
3 E
60 D
5 C
4 D
80 C
40 E
20 F
10 rows selected. I am getting only 8 for the query
select grade
from comqdhb.studentingroup@glink
where upn = 1386; here its becomming 10 and also its displaying values as 100 and ...
select distinct *
from comqdhb.gradevalues@glink;
GRADEVALUES
===========
LEVEL GRADE VALUE
================================
a A 120
a B 100
a C 80
a D 60
a E 40
a F 20
a U 0
a X 0
g A 7
g A* 8
g B 6
LEVEL GRADE VALUE
================================
g C 5
g D 4
g E 3
g F 2
g G 1
g U 0
g X 0
18 rows selected. I was hoping if i could map the grades and get the values and calculate avggrade by total(values)/count(values)that would be it but here there are values like 100...
select sum(g.value)/count(g.grade) as avggrade
from comqdhb.gradevalues@glink g
, comqdhb.studentingroup@glink sg
where g.grade=sg.grade
and sg.upn=1386;
avggrade
========
37.4375 the avggrade cant be this big and when i map each grade i obtained for 1368 like a to 7+b to 6 so on i get avggrade 7.12
kindly help.
Edited by: Trooper on Dec 15, 2008 4:49 AM -
Set a colour to a row in a table view which does not use an iterator
Hi ,
I have an application , which displays data using a table view.
How can i set colour to a row based on the value of one of its coloums.
The table view does not use an itertator.
Thanks
Arunyou can use the following code in the ONMANIPULATION event to modify the color of the row. but be aware that if SAP changes rendering ot htmlb:tableview it may not work.
this code sample set the bgcolor of row 2 to blue.
DATA: httpbody TYPE string .
CALL METHOD response->if_http_entity~get_cdata
RECEIVING
data = httpbody.
REPLACE ALL OCCURRENCES OF '<tr rr="2"' IN httpbody WITH '<tr rr="2" bgcolor="blue"' IGNORING CASE .
CALL METHOD response->if_http_entity~set_cdata
EXPORTING
data = httpbody.
Regards
Raja -
How to convert maintenance view 'v_t001k_assign' to inner join tables
Dear friends,
I found I could not select the fields of view 'v_t001k_assign' using SQL, and I found there are some tables joined together as below:
T001 MANDT = T001K MANDT
T001 BUKRS = T001K BUKRS
T001K MANDT = TASSIGN_MM_T001W MANDT
T001K BWKEY = TASSIGN_MM_T001W BWKEY
T001W MANDT = TASSIGN_MM_T001W MANDT
T001W WERKS = TASSIGN_MM_T001W WERKS
T001W_EXT MANDT = TASSIGN_MM_T001W MANDT
T001W_EXT WERKS = TASSIGN_MM_T001W WERKS_EXT
So how to convert this maintenance view 'v_t001k_assign' to inner join tables for SQL selection?
Thanks a lot!
Edited by: Qiwei Yin on May 27, 2009 10:35 AMHi,
You should use the 'Search help exit' to select the data for yourself from the database. Go into the search help maintenance screen and press F1 on field 'search help exit'; follow the links. There is actually a pretty good documentation.
Regards, Gerd Rother -
How to prevent materialized views from refreshing if source table is zero
any ideas?
Probably not what you were hoping for but here are a couple of ideas.
Your account shows - 113 (85 unresolved)
1. How about helping to keep the forum clean by reviewing your 85 unresolved previous questions and giving HELPFUL or ANSWERED credit to those that helped you in the past.
2. Read the FAQ at the top right of the page and post the information about your system and software so that we know what you are working with.
3. Ask your question in the body of the thread. Don't just say 'Any ideas'.
What exactly is your question? Is this an academic question or do you have an actual problem that needs to be addressed?
If you have an actual problem produce the DDL for the materialized view and information about the type of refresh that has been set up for it. Is there a materialized view log on the base table(s)?
The simple answer to your quest is to use REFRESH ON DEMAND and check the base table(s) before you do a manual
refresh. The best answer depends on what version of Oracle you are using and what your actual setup is. Are your
MVs in REFRESH GROUPS?. That can make a difference in the answer.
How can anyone help with this question if you won't provide the information needed(FAQ)? Why SHOULD anyone help if you show you don't appreciate the help by marking questions answered once you have been helped. -
Tables, views, packages, etc. not showing for most users
11.1.0.7
trying sqldeveloper 2.1.1 & 3.0.02 (64 bit)
jre 1.6
Started getting blanks this morning when expanding the nodes of most of my local users (cleared filters). Seeing no tables, views, packages. However, if I login sqlplus as that user and select * from tabs, I CAN see all tables are there.
I can use sqldeveloper to view all the SYSTEM user objects and one recent user that I imported (impdp) from a 10g database. However, every other user appears empty in sqldeveloper.
I grant connect, resource to all users since this is just a development database. Also tried granting CREATE SESSION and even ALL PRIVILEGES, no luck. All tried restarting.self is also facing the same issue. workstation is install WINDOWS 7 Pro and 10g client is not available as of now for Windows 7 Pro so oracle client 11.2.0.1.0 installed. Database pertains to one datacenter is serving as desired but databases lying with remote data center, none of objects are shown even not as SYS also where as sqlplus is showing all objects. tried with TNS option and without TNS as well but objects not listed. don't understand the behavior of SQLDeveloper 2.1.1.64 Build-Main 64.45. for information all DBs are of 10.2.0.4 with mix flavour of non windows o/s.
Edited by: 824691 on Dec 30, 2010 10:33 PM -
Is it ok to query tables/views that are not in the reporting database?
I have a requirement to show when a resource submitted/modified each of the items in their time sheet I found that we can get in this information by going directly to the publishing table MSP_Assignment_Transactions but it is well documented that accessing
the publishing tables directly is not supported by Microsoft.
What other options are there to get the data from this table or for that matter any table other than the reporting tables that Microsoft would support?
Just as an FYI we do not want to write to them we just want to select the data we need.Even though accessing published DB is not supported for several reason, depending upon query you may start experiencing performance problems, if a later CU/SP alters the DB schema your reports may fail, but personally haven't experienced it in long
time,
Also in my personal experience if you are not acquiring lock on the table while querying, it doesn't harms but then there are downside of it
However as an alternate as Rod suggested use PSI to get the data and stage it in staging table or something and then use it for reporting or you can replicate the publish DB and use that for reporting purpose
Thanks | Sunil Kr Singh | http://epmxperts.wordpress.com -
"kern" table ignored? -- technical note "OpenType tables used by Windows"
The technical note "OpenType tables used by Windows"<br /> http://partners.adobe.com/asn/developer/type/otfdk/<br /> techdocs/OT_tables_in_Win_ATM.html<br />says that the <kern> table (Kerning) is "Ignored". Is it true? Does the ATM<br />driver really ignore "flat" kerning?<br /><br />Also, are there any significant updates for Windows 2000 and XP? (I think<br />the ATM font driver built in Windows 2000 and XP is referred to as "5.0" --<br />true?)<br /><br />Adam
"Thomas Phinney" <[email protected]> wrote in message<br />news:[email protected]..<br />> Hi, Adam,<br />><br />> Yes, the kern table is ignored in favor of the GPOS kern feature, for<br />OTF-flavored OpenType fonts.<br />><br />> The GPOS kern feature can be used to represent pair-based "flat" kerning<br />as well as class-based kerning.<br />><br /><br />Thomas,<br /><br />this does imply, however, that non-OT apps only get kerning within the Roman<br />character set because of the virtual "mapping" done by ATM? I.e., it's not<br />possible at all to provide OTF fonts with kerning for CE characters that<br />would work in non-OT apps?<br /><br />Thanks,<br />Adam
-
How to implement a view or access implementation file in webDynpro?
Hello,
I'm actually working on developping a simple component with webDynpro, enabling user to fill two inputfields and send the answers by clicking on a button. The problem is when i'm trying to open the view with java editor, i get the error:
"The implementation file for ...View was not found and the implementation editor could not be opened" plus possible explanations for the problem not very helpful. I thought that when i'm adding methods and events, there is a file that is generated. And if not, how will i implement my methods?
Cheers.Hi,
Assuming your installation of the NWDS was successfull.
You can right click on your project and select repair class path and project structure.
If this doesnt help, try to create a new project in different workspace.
Regards
Ayyapparaj
Maybe you are looking for
-
Hello, I have nokia 5800 expressmusic but my GPS is wrong I click on "auto-coordinates " for example where I am now but GPS it say around 400metros distance from me, I already update GPS but still same anyone have same problem as me ? I live in Portu
-
File upload from form using cf8 file functions within cfscript?
essentially, i'm wondering if anyone can give me an example of a way to replicate cffile upload using cf8's native file manipulation functions within a cfscript tag? more specifically, i am wondering if anyone had any code examples for uploading a fi
-
Hi Experts, I have updated OInvoices object through DTW which was sucessful without any error. But when I'm trying to open the document in SAP Screen it is giving an error as follows Invalid query tree [300-33]. The SQL error is 942 Please help me on
-
Updating data from multi record blocks and database
Hi when the user presses a button, records are retrieved from the database and put into multi record item. User can change the data that is retrieved from the database by pushing update button.I tried this code inside update button but it isnt workin
-
ROTATE VIEW TOOL QUESTION-CS-6
First time I've tried using this tool (That's my excuse): I used the tool to rotate the image, as desired, but saw no "Commit" / confirm command, as with the Crop Tool. I wished to crop the image after applying Rotate View Tool, but when I select the