Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with strings in DBDatasource.SetValue

Hi everybody:

I have the next problem: I need show in a matrix object several data. The matrix fields are bounded by a Table. I have a string containing "Subgerente de sucursal", but when I apply DBDatasources.SetValue, I just see a tuncated string with 8 characters. I see in the matrix the string "Subgeren".

I watched the field in Database and it has 254 characters lenght.

Is this a bug? Can anyone help me, please?

My code example is:

Dim oFuenteDatosIncentivos As DBDataSource
Dim sDescripcionPuesto as string = "Subgerente de sucursal"

oFuenteDatosIncentivos = oForma.DataSources.DBDataSources.Item("@SYS_PDETALLEINCEN")

FuenteDatosIncentivos.SetValue("U_SYS_DEPU", iIndice, sDescripcionPuesto)

Thanks in advance.

Former Member
Not what you were looking for? View more on this topic or Ask a question