Application Development and Automation 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: 
Read only

BDC problem in CN22

Former Member
0 Likes
577

HI,

I am doing a BDC to create resource in transaction CN22. In that one field called afvgd-arbei should pick the amount of work. I have declared a internal table having the field arbei type afvgd-arbei. But in BDC its not populating the arbei field.

When I change the arbei field in the internal table into char field it's populating the field but it's not updating the database. It's showing an error "Runtime error MESSAGE_TYPE_X" has occured.

what is the solution?

regards.

sandeep

HI,

I am doing a BDC to create resource in transaction CN22. In that one field called afvgd-arbei should pick the amount of work. I have declared a internal table having the field arbei type afvgd-arbei. But in BDC its not populating the arbei field.

When I change the arbei field in the internal table into char field it's populating the field but it's not updating the database. It's showing an error "Runtime error MESSAGE_TYPE_X" has occured.

what is the solution?

regards.

sandeep

3 REPLIES 3
Read only

Former Member
0 Likes
505

hi

good

try to run the BDC in mode A , then check when that partiular screen is coming what mess it is giving below,i hope there would be some OK-CODE is missing so it is not accepting that particular value.

thanks

mrutyun^

Read only

0 Likes
505

HI,

thanks for the reply. I run that in 'A' mode . when that screen comes on the buttom line it shows a message ' input value is longer that the screen field '. I declared that field in internal table as the corresponding structure-fieldname. but while running BDC it's showing the message and the field is not populating.

But if i declare that particular field as character string it's populating!!! Why so? is it due to the field is a quantity field or some other reason.

I

Read only

Former Member
0 Likes
505

Hi,

Check your internal table to make sure data is populating in your internal table at 1st place.