Dynamic IView displaying using Table
Hi
I hava a web dynpro application . In which i have
a table with 2 columns.
when i am selecting a row in the table it should
display different Iviews depending on the column values.
replay ASAP
Hi,
Use WDPortalNavigation.navigateAbsolute() or WDPortalNavigation.navigateRelative() method
to navigate to your respective iView.
Check out these link
http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/2eafd8d2f30d24e10000000a1553f7/frameset.htm
Check out the API help in your NW Developer Studio
Help->SAP NWDS Doc->SAP WAS for java Applns->API WAS->
com.sap.tc.webdynpro.clientserver.navigation.api
Retrieve the column value as described by Rohit and use
it in the methods in WDPortalNavigation.
Thanks
Senthil
P.S: Reward Points for useful answers
Similar Messages
-
Dynamic iView Display in a Page
Hi Experts !
Help me displaying an iView on portal page dynamically based upon an event from another iView on the same page. Where both the iViews are developed using Web Dynpro ABAP.
-Kalyan.If you're using java (Dynpage or WedDynpro), you could access the PCD and modify the page where your iview belongs :
you got the "base" iview visible, and all others iview are present, but set as invisible. Depending on the situation, your "base" iview can then modify the visibiliy of the others iview in the page. a link about it here : [Sap Library|http://help.sap.com/saphelp_nw04/helpdata/en/44/6aaf92f5a23672e10000000a114a6b/content.htm]
Another possibility is to use eventing for the same effect, each iview waiting for a set of event, and displaying nothing if this is not the event that is supposed to make them appears.
Regards
Guillaume -
Dynamic JNLP - displaying using java web start
Hi,
I am creating a dynamic JNLP in a servlet at the server side. Please see below.
String someJnlpString = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n" +
"<jnlp ..... > </jnlp>";
String attachment = "inline; filename=\"launch.jnlp";
String ct = "application/x-java-jnlp-file";
OutputStreamWriter out = new OutputStreamWriter(response.getOutputStream());
response.setContentType(ct);
response.setHeader("Cache-Control", "max-age=30");
response.setHeader("Content-disposition", attachment);
out.write(someJnlpString);{code}
Then in my JSP, I am trying to open this JNLP by using the following code
{code} window.open('servlet/DisplayImage?arg=first-arg");The exception that I am getting is JNLParseException could not parse launch file. Error at line 0. If I open the downloaded file then its working.
Can somebody please advise me how can I directly open that JNLP from the servlet by using java web start?
Thanks a ton,
SubhashI am able to run it now after clearing the java cache
-
Error in Dynamic Data display using Visual Design in ADF Richclient Demo
Hi,
I am using JDeveloper Studio Edition Version 11.1.1.1.0 with build Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
I have found a reference to this ADF faces richclient demo on the following link:
http://jdevadf.oracle.com/adf-richclient-demo/faces/visualDesigns/index.jspx?_afrLoop=2181068810216756#%2FvisualDesigns%2Fdashboard.jspx%40
I downloaded the WAR file and deployed in the server and running smoothly. But when I added, for example, EmployeesView1, by drag and drop from datacontrol,
on one of the panels (.jsff page) and ran the application. Now its throwing an exception like:
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'bindings' resolved to null
Can any guru shed the light on this and help me out?
Looking forward to any replies.
Thanks in advance.
Yadava RaoHi,
My faces project is having the following libraries under WEB-INF/lib folder:
adflogginghandler-JDEVADF_MAIN_GENERIC_070917.1906.4699.jar
adf-richclient-api-11-r1-SNAPSHOT.jar
adf-richclient-impl-11-r1-SNAPSHOT.jar
adfsharebase-JDEVADF_MAIN_GENERIC_070917.1906.4699.jar
adfshare-JDEVADF_MAIN_GENERIC_070917.1906.4699.jar
commons-beanutils-1.6.jar
commons-lang-2.1.jar
dms-11.1.1.jar
indexer-080909.1801.375.jar
jsf-facelets-1.1.11.jar
trinidad-api-1.2.11.1-SNAPSHOT.jar
trinidad-api-1.2.11.1-SNAPSHOT-sources.jar
trinidad-impl-1.2.11.1-SNAPSHOT.jar
xercesImpl-2.6.2.jar
xmlparserv2-11.1.1.JM7_4119.jar
Apart from this, my model project contains the following libraries (shows in Project Properties):
ADF Model Runtime
BC4J Oracle Domains
BC4J Runtime
BC4J Security
BC4J Tester
MDS Runtime
MDS Runtime Dependencies
Oracle JDBC
So, please suggest me if something is missing apart from these.
Appreciate your help or a soultion to get the data from databse in jsff page of dashboard visual design in adf-richclient-demo.
Thanks -
ALV display using dynamic field catalog and dynamic internal table
hi ,
please guide me for ALV display using dynamic field catalog and dynamic internal table.
Thank you.Hi Rahul,
maybe thread dynamic program for alv is helpful for you. More information about the [SAP List Viewer (ALV)|http://help.sap.com/saphelp_nw70/helpdata/EN/5e/88d440e14f8431e10000000a1550b0/frameset.htm]. Also have a look into the example programs SALV_DEMO_TABLE*.
Regards Rudi -
What is the right way to display a table in Java web dynpro using a node.
Hi experts,
I am trying to show a node of cardinality 0...n as a table in an adobe form in Java web dynpro. But its not showing it properly. Can anybody please tell me what is the right way to display a table on adobe form using a node of cardinality 0...n or 1...n in Java Webdynpro. In ABAP webdynpro, we can drag and drop a node of cardianlity 0...n or 1...n to show as a table and it works fine. Is the same possible in Java webdynpro also. Please help.
Thanks and Regards.
Vaibhav Tiwari.Please refer to my post.. you will get the answer
Dynamic Table - same data repeating in all rows
Special care should be taken in designing the context for table attribute.
The attribute type singletone also plays a important role. I have this doubt from the beginning when you have reported this problem for the first time but finally you marked it as solved so i thought there might be some other issues but again when you reported that again i did some analysis.
Now coming to final solution :
For designing a table in adobe interactive form you have consider following
You have to design the view context upto three level, I am explaining you the properties
PDFDataSource (Parent Level1) - Cardinality 1:1 - Signetone -True - This is assigned to datasource
TableList (Parent Level2) - Cardinality (1:1) - Signetone -True
TableWrapper(Parent Level3) - Cardinality (0:n) - Signetone -True
TableData (Parent Level4) - Cardinality (0:1) - Signetone - false (This is the main point)
Then under TableData value node, you have to put all your table attributes.
This Value Node name can be anything but hierarchy should be same as I have mentioned above.
Please try out these steps and get back to me if you have any doubt. -
Dynamic color selection in Smartforms using tables
I am printing a smartform in pdf, i am using tables in smartforms where the number of column is dynamic, and say there can be cases where there will be no data in a particular column and if that is the case than i have to print a particular color say grey, so my question is how to achieve this functionality in smartform dynamically, i am printing it in PDF.
Regards & thank,
Pritam.you need to create the 2 text elements , and put the condtion like below
if not value is initial.
display text1
else
display text2.
endif.
in text2 element > Output options> put the color. which you want... -
hello,
how to refresh table display using slis and 'reuse_alv_grid_display method'.
when i'm refreshing table display it performs once again reuse_alv_grid_display.and when i back the previous value appear.how to solve it?
neonare you chaning any value in the gird if so use this..
Pass the user_command form name to the Import parameter
I_CALL_BACK_USERCOMMAND .
and have the Dynamic form implementation..
FORM user_command USING ucomm TYPE sy-ucomm
selfield TYPE slis_selfield.
"The below is important for Editable Grid.
DATA: gd_repid LIKE sy-repid, "Exists
ref_grid TYPE REF TO cl_gui_alv_grid.
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
IF NOT ref_grid IS INITIAL.
CALL METHOD ref_grid->check_changed_data .
ENDIF.
CASE ucomm.
WHEN 'REFRSH'.
ENDCASE.
selfield-refresh = 'X'.
ENDFORM. "user_command -
Need to display Internal table records on screen without using table contro
Hi Experts,
I have a requirement to display internal table on screen which is having three columns (Material no, Serial No and quantity).
But I can't use table control as it is not supported by hand held devices.
They are going to use this transaction on hand held devices.
Thanks In advance.
GauravYou should be able to use the good old STEP LOOP processing for this... create your three fields in the row then convert them to a STEP-LOOP.
You can look up in the help how to work with STEP-LOOPs if you are not familiar with it. It was the way to manage table-like information before the age of table controls -
Problem in using table name dynamically in PL/SQL
I tried to create a procedure to use table name dynamically and got the following error. Anything wrong with my procedure?
NFADV>declare
2 cnt number;
3 cursor cur is select table_name from user_tables where table_name in ('EMP','DEPT');
4 begin
5 for c1 in cur
6 loop
7 execute immediate select count(*) into cnt from c1.table_name;
8 dbms_output.put_line('Count is : '||cnt);
9 end loop;
10 end;
11 /
declare
ERROR at line 1:
ORA-06550: line 7, column 21:
PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:
( - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
<an alternatively-quoted string literal with character set specification>
<an alternatively-quo
ORA-06550: line 8, column 5:
PLS-00103: Encountered the symbol "DBMS_OUTPUT"
ORA-06550: line 8, column 45:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
. ( , * % & - + / at mod remainder rem <an identifier>
<a double-quoted delimited-identifier> <an exponent (**)> as
from into || multiset bulkThanks and Regards
KaustubhHi,
The wrong part is in execute immediate, it should be as follows:
execute immediate ('select count(*) from '|| c1.table_name)
into cnt
(not tested)
Regards
AK -
How to use table name dynamically in report procedure
Hello every body
I want to use table name dynamically means at runtime i want to pass table name.
I can do this by lexical parameter in main query.
But my problem is that i want to crate new format trigger or new function that use 1 cursor in which that lexical parameter : table name is used.
so how to do that?
i can not use that lexical parameter it is giving error.
please help me how to do that.Call a database function which you pass the lexical parameter. Then in the database function you use dynamic sql or the execute immediate option to build the SQL string.
Return the information from this function to build your business logic on in your format trigger.
Marcos -
Standard program to display which tables are used by Webdynpro ABAP program
Hi Gurus,
I am working on a couple of enhancements in SAP Promotion Management for Retail (SAP PMR) which works on the principle of Floor Plan Management.
I was wondering if anyone would know of a standard program to display the tables used by Webdynpro ABAP?
(or)
Where can I get info of SAP Tables associated to SAP PMR?Hi,
I am not aware of any standard reports that displays the tables.
If I have to view the tables, I would go to se80, give the package and view all the tables in the package.
Regards,
Daz. -
How to display multiple tables from database using netbeans swing gui
plz reply asap on how to display multiple tables from database using netbeans swing gui into the same project
Layered Pane with JTables or you can easily to it with a little scripting and HTML.
plzzzzzzzzzzzzzzzzz, do not use SMS speak when posting. -
Can I use table function inside Dynamic query ?
Dear Gurus,
I have following code
DECLARE
TYPE CRITERIA_LIST_TABLE AS TABLE OF VARCHAR2(20);
OtherNoList CRITERIA_LIST_TABLE; /* CRITERIA_LIST_TABLE is index by table*/
QUERY_STRING VARCHAR2(4000);
BEGIN
OtherNoList := CRITERIA_LIST_TABLE();
SELECT DISTINCT REGEXP_SUBSTR('1,5,6,4', '[^\,]+',1, LEVEL ) BULK COLLECT INTO OtherNoList
FROM DUAL
CONNECT BY LEVEL <= REGEXP_COUNT('1,5,6,4', '\,') + 1 ;
QUERY_STRING := 'INSERT INTO TAB1 (C1,C2) '||
'SELECT C1,'||
'C2 '||
'FROM TAB1 ,'||
'TABLE( '||
'CAST (OtherNoList AS CRITERIA_LIST_TABLE) '||
') OTHRNOS '||
'WHERE TAB1.C1 = OTHRNOS.COLUMN_VALUE ';
DBMS_OUTPUT.PUT_LINE('Query String is '||QUERY_STRING);
EXECUTE IMMEDIATE QUERY_STRING;
END;
Can I use Table function inside dynamic query.
Thanking in advance
SanjeevTry:
DECLARE
TYPE CRITERIA_LIST_TABLE AS TABLE OF VARCHAR2(20);
OtherNoList CRITERIA_LIST_TABLE; /* CRITERIA_LIST_TABLE is index by table*/
QUERY_STRING VARCHAR2(4000);
BEGIN
OtherNoList := CRITERIA_LIST_TABLE();
SELECT DISTINCT REGEXP_SUBSTR('1,5,6,4', '[^\,]+',1, LEVEL ) BULK COLLECT INTO OtherNoList
FROM DUAL
CONNECT BY LEVEL <= REGEXP_COUNT('1,5,6,4', '\,') + 1 ;
QUERY_STRING := 'INSERT INTO TAB1 (C1,C2) '||
'SELECT C1,'||
'C2 '||
'FROM TAB1 ,'||
'TABLE( '||
'CAST (:OtherNoList AS CRITERIA_LIST_TABLE) '||
') OTHRNOS '||
'WHERE TAB1.C1 = OTHRNOS.COLUMN_VALUE ';
DBMS_OUTPUT.PUT_LINE('Query String is '||QUERY_STRING);
EXECUTE IMMEDIATE QUERY_STRING using OtherNoList;
END;p.s. not tested
Amiel Davis -
Using TABLE type,display '???'
Recently,I want pass a TABLE as parameter from PLSQL to java.
the TABLE is consisted of Object;
Following is source code:
step1:
CREATE OR REPLACE TYPE o_obj AS OBJECT
id number,
name varchar2(50),
CONSTRUCTOR FUNCTION obj008 RETURN SELF AS RESULT
step 2:
CREATE OR REPLACE TYPE nt_rec_objs IS TABLE OF o_obj
step 3:
create or replace package PKG_PUB_SCD_BATCH is
procedure p_test(
o_param1 in number,
o_rs out nt_rec_objs
)as
begin
end;
step4:
In java,call the procedure by oracle.jdbc.*
If the value is number,Java will print it .
If the value is other predefined type(varchar,varchar2,char etc) .Java will print '???'.
First I think it caused by different character set.
when I change procedure P_TEST,make it pass directly a varchar2,not a TABLE,
Java can print it normally.
I do know why it is .Who can help me??Hi,
I am using table emp having fields id,name,,,,,,,,,photo,mimetype,filename,last_update_date.
photo is of type BLOB. I updated photo (text item) on form.
I Used BLOB DOWNLOAD Format Mask with appropriate entries & selected display as Attachment.
So my problem is partially solved. Now if DOWNLOAD link on Form is clicked it displays Excel sheet
in different window. But still, DOWNLOAD link on my Interactive report not working properly.
DOWLOAD on interactive if it is clicked it has two problems
1) It opens image or notepad file in same window.
2) Not able to open Excel sheet.
thanks for reply.
Maybe you are looking for
-
How to Install Windows 7 or 8 to Imac if you have never owned these OS's before?
Hi Guys / Girls. I hope someone can help me. I recently bought a new Imac (no optical drive). My OS is Mountain Lion. I have seen many topics / videos on how to install Windows 7 or Windows 8 on my Imac, however I have a problem! I don't own a copy o
-
? Photoshop CS2 on Windows Vista. On start-up PS refuses access. Decided to un-install and re-install, unfortunately not thinking of de-activation. Now, on start-up, window offers registration which always fails. I am not offered help>de-activation,
-
good evening, I bought a mobile (Nokia 6500 slide) with SFR in France. I missed six months and I wanted to unblock it but the code to disable the restriction, is not good and he told me that this is a problem that needs to be addressed at Nokia. So I
-
Employee Discount and Loyalty Plan
Back in June of this year I contacted customer service to change my plan. I was told about the new Loyalty Plan. My concern was whether or not my employee discount would still apply. The customer service rep checked into it and told me yes. So I made
-
hi guyz, when include is included in a program iam getting an error saying 'report or program already exists'. plz advise regards