cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member331942
Discoverer
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

pedro_magueija
Active Contributor
0 Kudos

Hi Ravi,

This was a know issue with patch level 09 IIRC. You should update to PL10 HF1.

Good luck.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

former_member331942
Discoverer
0 Kudos

Hi,

Thanks for help.

I will going to update PL10.

You save me to rewrite lot of code.

thank you very much