Skip to Content
0
Apr 01, 2014 at 04:55 AM

oEditText.DataBind.Alias.ToString() Gives wrong field name in SAP 9.0

17 Views

Hi,

I have develop a small addon in which I call oEditText.DataBind.Alias.ToString() to Find Field Name of Related Item.

It is work well in 8.81 but in 9.0 PL9 it should not working and gives wrong value like 'SYS_106' .

My is

this.oEditText = (EditText)this.oForm.Items.Item("txtBPCode").Specific;

clsSBOUIGeneric.SetDataSourceValue(this.oDbHeaderDataSrc, 0, this.oEditText, strValue);

Class:

In Class clsBOUIGeneric

public static void SetDataSourceValue(DBDataSource oDataSrc, int iRecordNumber, EditText oEditText, string strValue)

{

oDataSrc.SetValue(oEditText.DataBind.Alias.ToString(), iRecordNumber, strValue);

}

Please help me.

Thanks