cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot assign a blank-padded string

Former Member
0 Kudos

Hi!

When I test a webService with the name CompGenService, Netweaver say me I have a problem with a string: com.sap.sql.log.OpenSQLException: Cannot assign a blank-padded string to host variable 49. But the variable 49 in the table CompGen is a short with the value of a Constant = 25, it is not a string....

Why occur this?? Someone can help me??

Thanks

Rose

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member441228
Active Participant
0 Kudos

If you turn OpenSQL tracing on then it will tell you the statement, the column names and the parameters used; most likely there is a string column that's either been assigned an empty string ('') or a blank-terminated string ('alal '). The numbering of the variables refers to their position in the statement, not the table.