Hello All,
I created a Z component in CRM2007.
I display the data in TableView form the custom table.
I am using VALUE TABLE only from the wizard.
My own custom table.
Just like ENO, ENAME, SAL.
For changing i put the Edit button inTable Header.
I write the code for Edit functionality.
Set the selection mode for the table
ME->TYPED_CONTEXT->ZTABLE20->SET_SELECTION_MODE( CL_BSP_WD_CONTEXT_NODE_TV=>SELMODE_LINEEDIT ).
It is working fine.
For Inserting new row in that Table View.
I provide a INSERT buttin in the Table Header.
I write the in INSERT like,
APPEND INITIAL LINE TO LT_TABLE.
It is also working Fine.
After enter the data in the Table then i provide a Button in the Table header for SAVE.
I click on SAVE button. I does not know exactly what code i have to write.
How I will capture the new Inserted Row Data.
When i press enter then new data will gone.
how i will capture New record data.
After capture I will write the Insert statement to store in the Data base table.
At First time when I display the Table it is having 5 records.
I am inseritng one row in the 3rd place and another row in the Last line.
How i can capture those New rows data from the table.
Please Give me the solutions for this problem.
Thank You.
B. Krishna.