on 09-26-2008 12:04 PM
Hi ,
i created one matrix using screen painter.. all my columns are binded
with user defined fields.(Doc Rows Table). if my total row count is 5.
and i deleted 2 rows using rightclick deleterow event. after adding if i see the same document it display the 2 empty rows and 3 rows with my details.. actually its showing that deleted row also.my UDT also having empty row details..
how to resolve this?
Regards,
Ganesh K
Hi Ganesh,
Try using FlushToDataSource method of the matrix and then take the data from the datasource to write to DB (via DI API, of course)
HTH
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ganesh,
In BeforeEvent false of "Add/Update" button click, please explicitly delete the empty rows from the matrix.
(This situation is not handled automatically by SAP)
This will resolve your issue.
Regards,
Geetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Geetha,
i think you misunderstood my scenario. while adding no empty rows
are displayed, even if i deleted some added row details.After adding,
while retriving the same document the problem occurs.if am not clear let me know..
As you told, beforeAction = false of Add will be new form with Add mode.so not possible to check that old matrix. otherwise we can delete the empty details from database using query..in beforeaction false pval.actionsucess true part...
regards,
Ganesh k.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.