Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ADBC and NULL

Former Member
0 Kudos

Hi,

I try to insert into extarnal database (Oracle database) a field with null value from ABAP with ADBC

INSERT INTO TABLE (COLUMN1, COLUMN2, COLUMN3, ..) VALUES (?, ?, ?, ...). I want that second column was a null value in the external database.

Anyone know how can I do that??

2 REPLIES 2

Former Member
0 Kudos

Hello,

I found the solution, in clas CL_SQL_STATEMENT, method SET_PARAM, parameter IND_REF = -1 --> Null in the external Database

abo
Active Contributor
0 Kudos

For the record, -1 is not even type-compatible with the formal parameter. (SAP_BASIS SAPKB74003)