‎2007 Apr 02 5:23 AM
Hi experts,
please claer my doubts the below
1.what is a tableview?
2.how to capture a new record in table control?
3. what is a custom control?
and please let me know how to reward.
Thanks in advance
Regards
Ranga
‎2007 Apr 02 5:53 AM
Hi srinivas,
1.
for table view plese refer to the thread:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration</a>
2. to capture a new record in table control write this code in pai
LOOP AT itab.
MODULE modify_itab.
ENDLOOP.
in the module modify_itab write the foolowing line
MODIFY itab INDEX tabcontrol-current_line.
this will pick all the values of table control into internal table itab.
3. for custom control refer to folloing link.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/86/2d61d859c711d29bd90000e8a47b2e/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/86/2d61d859c711d29bd90000e8a47b2e/frameset.htm</a>
Hope it helps
And if you want to reward points mark this thread as 'Problem Solved' or with appropriate points on the side of ur post.
Regards
Gaurav
reward points accordingly.
‎2007 Apr 02 5:31 AM
hi,
2.To capture a new record in table control you need to give push button to read the table when user enters data and clicks pushbutton you have to read that table using loop statement and modify the table.
3.A custom control is an area on a screen. You create them in the Screen Painter, and, like all other screen objects, they have a unique name. You use custom controls to embed controls. A control is a software component on the presentation server, which can be either an ActiveX control or a JavaBean, depending on the SAPgui you are using. They allow you to perform tasks, such as editing texts, locally on the presentation server. The control is driven by the application logic, which still runs on the application server.
regards,
veeresh
‎2007 Apr 02 5:53 AM
Hi srinivas,
1.
for table view plese refer to the thread:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration</a>
2. to capture a new record in table control write this code in pai
LOOP AT itab.
MODULE modify_itab.
ENDLOOP.
in the module modify_itab write the foolowing line
MODIFY itab INDEX tabcontrol-current_line.
this will pick all the values of table control into internal table itab.
3. for custom control refer to folloing link.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/86/2d61d859c711d29bd90000e8a47b2e/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/86/2d61d859c711d29bd90000e8a47b2e/frameset.htm</a>
Hope it helps
And if you want to reward points mark this thread as 'Problem Solved' or with appropriate points on the side of ur post.
Regards
Gaurav
reward points accordingly.
‎2007 Apr 02 5:55 AM
Hi,
Here is step by step explaination to your query.
1. Table view are created on 1 table or by combinning many tables. They can be used to view details from various tables in one go .that's called Projection view. and they also can be used to maintain data of the table called maintainance view.
2. Maintainance view is also used to add new record to table. If you are discussing table control in Module pool programming you have to do codding in PAI. Inside the loop of Table control.
3. As pervious answers gives perfact details I am not repeating.
Cheers,
DARSHAN PATEL.
**Please reward points to helpful answers.
‎2007 Apr 02 7:18 AM
still it is not cleared but i came to know that table view means a collection of tables
please give me some detail on that
in module pool programs we declare table controls as tableview but
i couldnt find the tableview object in data dictionary
what could be the reason?
Thanks