cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while inserting data as / into a field of type NUMC using JCO3

Former Member
0 Kudos

Hi,

We are using JCO3 to send IDOC to the SAP sytem ECC6.0 using following method:

       com.sap.conn.idoc.jco.JCoIDoc.send(IDocDocument idoc, char idocVersion, JCoDestination destination, String tid) throws JCoException

We want to send data to BBBNR field which is of type NUMC (07) of DEBMAS (DEBMAS03) IDOC.

When we try to send any numeric value to BBBNR field then it works FINE whereas

if we try to send any non-numeric value OR "/" (slash which is meant to retain the original field value) then we get following exception : IDOC_ERROR_FIELD_CONVERSION.

We get this error while executing  following method.

      com.sap.conn.idoc.IDocRecord.setValue(String arg0, String arg1)

Can anyone help us on this issue. 

Thank you.

Regards

- Bhagyashree

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bhagyashree,

We also had similar requirement and when SAP was contacted they referred to SAP note 1649086.

Regards.

Sowmya

Former Member