‎2007 Apr 16 8:06 AM
i have a subscreen which has two textfields and pushbutton and table control below it. if i enter the field press the button i should get updated in the table control. how can i do it...
‎2007 Apr 16 8:10 AM
hi karthik,
pushbutton can't be created in a subscreen. Try to make the pushbutton on the main screen instead of subscreen.
Regards...
Arun.
Reward points if useful.
‎2007 Apr 16 8:10 AM
hi karthik,
pushbutton can't be created in a subscreen. Try to make the pushbutton on the main screen instead of subscreen.
Regards...
Arun.
Reward points if useful.
‎2007 Apr 16 8:15 AM
hi arun,
i have table control in another subscreen...i have to update the value in the text field into the table control.. the data is updating in the internal table and base table.. but i need it in table control..
‎2007 Apr 16 8:22 AM
hi,,
Check this demo program <b>demo_dynpro_tabcont_loop_at</b> for updating data in table control.
regards,
veeresh
‎2007 Apr 16 10:48 AM
Hi karthikeyan kasiviswanathan ,
Yes it is possible to create a subscreen when ur press a pushbutton.
In the normal screen u can put the (insert)display pushbutton.
write the logic when u press the insert button it will update the database table.
go through this syntax:
Check this info.
syntax:
CONTROLS .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
Hope this resolves your query.
Reward all the helpful answers.
Rgds,
P.Nag
‎2007 Apr 16 3:28 PM
Hi,
Inorder to read screen field values, use function module DYNP_READ_VALUES and if you want that value to be shown in the table control field, then in the PBO event of that particular screen you can assign this value to the table control field.
thanks,
sksingh