on 02-05-2007 4:16 AM
Hi
I have a requirement that when i click a colum of a table it should give me a popup window..This popup window contains data which is taken from the R3 by calling BAPI's..Now when i select one of the row it should be displayed in the column of the table..
Can anybody help me on this..
Monika
Hi BP
I have created the context and also bind it to the input fields..
Bt wn i run it i see the table with columns and rows bt they are not
input fields..
Thanks
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use this code in ur doInit() method
IPrivateUserView.ITableElement tableElement;
for (int count = 0; count < 5; count++) {
tableElement = wdContext.createPracticeDetailsElement();
tableElement.setInputField("Give ur input here");
wdContext.nodePracticeDetails().addElement(
practiceDetailsElement);
I have my view named as "UserView".
And my table Value node as "Table".
So change the first line accordingly.
Do let me know the ouput
Regards
BP
Thanks BP
My problem is solved..
I hv assigned u 10 pts for this..
Can u give me the solution for my next problem too..
how to link the column of table to the pop up
Kindly help
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi BP
I have already assigned you the points..
Thnx for ur help.
Bt my problem is not solved
Thanks
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi BP
Ya i have assigned the input fields(TablecellEditor which r taken as input field) to the attribute..
Thanks
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi BP
I have done the same thing as you told bt wn i run the application
i dont get any input field..that is i am not able to input anythng
and abt the popups u r correct tht is wat i want
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi BP
I think u have not read my previous question properly..
It clearly indicates that i want a table where i can enter the value..
These values will be inserted to R3..
I want 2 or three columns in the table as a pop up window that means whenever i click the particular column it gives me a pop up window which takes the data from R3..An when i select one of the data it shuld be displayed in the colum of the table in UI..I knw how to make pop up bt how to make the colum of a table like that..
i dint find any option for that..
and i dint get any option for inserting input field to the table
Kindly help
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Monika
In the iView
1)u can out a new ui element for table.
2)Now u can create a column inside the table
3)in the column insert a table cell editor of type input field.
Now with this i think one of ur problems might be solved
Now coming back to the first question
<i>I want 2 or three columns in the table as a pop up window that means whenever i click the particular column it gives me a pop up window which takes the data from R3..An when i select one of the data it should be displayed in the colum of the table in UI</i>.
This is what i understand from the scenario u have explained
1)U want 2 or 3 columns as <b>link or button</b> to open a new pop window rt?
2)the opened pop up window will contain an iView with values from an executed RFC
3)this iView will enable user to select one value and the value will be populated some where in the table in the main iVIew rt?
Correct me if my assumptions are wrong
Regards
BP
<b>Award points if found usefull</b>
Hi BP
My reqmt is
1) I want a column of my table a pop up window..
2) And I want to ask one more thing that can i make the column of the table a input field.If yes how??
The table cloumn values are being used here as a input to the BAPI.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Monika
1) I want a column of my table a pop up window..
what does this mean?
opening a pop up from a click on one of the row in table or what?
2) And I want to ask one more thing that can i make the column of the table a input field.If yes how??
In the table u can put an input field. Here u can get the user inputs and probably a button which will execute the bapi.
Regards
BP
<b>Award points if found usefull</b>
Hi Monika,
Opening a pop up window from WDP coding is simple.
First you have to create a window by name"YourWindowName".
Then make an iView inside it.
Now u write this code in an action of a button ar any thing.
The pop up window will open up.
Here is the code snippet
IWDWindowInfo info1 =
wdComponentAPI.getComponentInfo().findInWindows(
"YourWindowName"
IWDWindow win1 =
wdComponentAPI.getWindowManager().createWindow(info1, false);
win1.open();
win1.setWindowPosition(WDWindowPos.CENTER);
win1.setWindowSize(100, 100);
wdContext.currentContextElement().setPopupWindowConfirmation(win1);
Please give more clarity to ur req which will lead to much more specific answers
Award points if found helpfull
BP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Hope these links will help you
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/exporting%20context%20data%20into%20excel%20using%20the%20web%20dynpro%20binary%20cache.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/exporting%20context%20data%20into%20excel%20using%20the%20web%20dynpro%20binary%20cache.pdf</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/dialog%20boxes%20in%20web%20dynpro%20applications.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/dialog%20boxes%20in%20web%20dynpro%20applications.pdf</a>
Best Regards
Ravi Shankar B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.