Hi, I am veeery new to web dynpro and abap. I want to make 2 panel: 1 for user input and the other one for displaying user's input in a form of a table.
How can I display the user's input that he added in the first panel in the second panel. I want to display that input as a table (kind of a dynamic table, as soon as user enters the field values in the first panel and presses Add Entry button, the values should appear in the second panel as a new row in the table.
How hard is it to accomplish this and please give some reference or some guidelines how can I achieve this.
Thank you in advance and please go soft on me it's my first SCN appearance:)
Request clarification before answering.
Hi German,
check out this tutorial video on youtube: Build a Simple WebDynpro ABAP App: SAP Tutorial (Part 2) - YouTube
You´ll just have to change the output view to bind the context node element to a table instead of a textview.
Hope that helps,
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That and the dropdown video really helped a lot, thank you! I managed to create 2 panels in the same view: 1) for getting input and the 2) for displaying the input in a table.
BUT, upon pressing the button to submit the input values it only uses the first row of the table, overwriting the previous values. I would like to be able to add new values as a new row of the table in the second panel, not replace the old ones.
Any suggestions?
Just in case: I created 1 inbound and 1 outbound binding and then dragged and dropped them red to blue.
Hi German,
BUT, upon pressing the button to submit the input values it only uses the first row of the table, overwriting the previous values. I would like to be able to add new values as a new row of the table in the second panel, not replace the old ones.
Any suggestions?
Just in case: I created 1 inbound and 1 outbound binding and then dragged and dropped them red to blue.
As you can able to display the input values in your panel2(provide first time in input field of panel1).
For second time, Check if the table in panel2 is not intial and append the new value to the existing value(itab) and bind the itab.
As you're newbie to the webdynpro, Pls go through this LINK
Then it'll not override any values.It will resolve your issue.
Thanks
Katrice
Dear German,
take a look at the next one from Brandon about table append: WebDynpro ABAP Internal Table: SAP Tutorial (Part 😎 - YouTube
You can do it by clicking on the code wizard (magic wand at the application toolbar) and selecting append as table operation for the context node in order to generate the code to achieve your requirement. Then insert the table in the output view layout using the wizard to bind the context attributes to the table fields.
Hope it solves your issue.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
please go through basic material for webdynpro .
very basic level we need check about the controllers, layout design , data binding and to connect out put, input we have input plug, output plug.
pls check out and try to create by using to view controllers to take create layouts.with min coding youcan finish ur requirement.
Webdynpro Tutorials: Webdynpro Tutorials for Beginners in pdf
Webdynpro Tutorials: Webdynpro Tutorials for Beginners in pd
please find the above links,
very simple understanding way.yu can follow the screenshots also to meet your requirement.
thanks .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go through the below link it looks similar to your requirement.
SAPTechnical.COM - WebDynpro for ABAP
In the above example,in second view add a table and write the insert statement as needed.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.