cancel
Showing results for 
Search instead for 
Did you mean: 

NUMC and Edm.intXX

Former Member
0 Kudos

Hi all,

according to... http://help.sap.com/saphelp_gateway20sp06/helpdata/en/28/e3bfeeb1884032bfc48f19a53eaa0c/content.htm

...I want to use type Edm.int32 for a field that has ABAP type NUMC 12.

I left Precision and Scale as 0. When I check the Consistency however I get an error:

Conversion error possible; ABAP to EDM and EDM to ABAP

Message no. /IWBEP/SBOD202

The ABAP type NUMC can not handle negative signs

Message no. /IWBEP/SBOD257

Can anyone tell me what I'm doing wrong or how I can use Edm.intXX for my NUMC field as proposed by SAP Help?

The field is a key field btw (the only field).

Thanks!

Best regards,

Melanie

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi again  xD

Does this mean no-one really knows how to deal with NUMC in NetWeaver Gateway?

Seems kinda odd.

Any tip is very appreciated!

Best regards,

Melanie

kammaje_cis
Active Contributor
0 Kudos

Hi Melanie, As I understand, Edm types do not have a similar type as NUMC. I think Edm.String type may be used. And you may use custom validations at the UI level to allow only numbers.

Former Member
0 Kudos

Hi again,

Anyone got any idea?

If I leave Edm.String as type (or I even tried Edm.SByte) I get an error in the client instead saying:

..ERROR_INFO    The argument 1        cannot be interpreted as a number

I tried both; using CONVERSION_EXIT_ALPHA_OUTPUT  and not using it.

Debugging showed me that the gateway itself actually does the conversion (I guess since it's on the data element).

Does this mean I may have to remove the conversion from the data element?

Any other tips? On my above question?

Best regards,

Melanie