cancel
Showing results for 
Search instead for 
Did you mean: 

Re:Failed binding data

Former Member
0 Kudos

Hi all, i have created an edittext in aform and i bind the data to the datasource.While binding, it is showing the error as "Item - Failed binding data [66000-57]".How should i solve this problem.

This is my code.

Private oStatusTxt as SAPbouiCOM.EditText

oStatusTxt = Form.Items.Item("TxtSts").Specific

oStatusTxt.DataBind.SetBound(True, "@PSSIT_CMSAMHDR", "U_Status") // i got the error here

Regards

Mohana

Accepted Solutions (1)

Accepted Solutions (1)

Nussi
Active Contributor
0 Kudos

Hi,

maybe you forgot to add the Datasource

oDBDatasource = oForm.DataSources.DBDataSources.Add(tablename)

lg David

Answers (1)

Answers (1)

Former Member
0 Kudos

If the problem is still there, remove the edit text in screen painter and add another and check.. sometimes the SRF files get corrupted.

Hope it helps,

Vasu Natari.

Former Member
0 Kudos

Hi,

The problem is i have added validvalues for the field.but in screenpainter i used edittext and binded to the datadource.i have changed the edittext to combobox, then the problem get solved.

thanx.

Regards

Mohana