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

Strange message from change document ??

former_member194669
Active Contributor
0 Likes
888

All,

I am using function module CHANGEDOCUMENT_READ_RANGES after calling this fm i am getting the following message


FB: CHANGEDOCU_TABKEYLEN_GET RC:     2
Message no. CD121

Any Info?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
835

Hi,

You are getting this error from the FM CHANGEDOCU_TABKEYLEN_GET

which is internally called by another FM

CHANGEDOCU_FILLTABKEY254.

Put a break-point before this CHANGEDOCU_TABKEYLEN_GET and check the reason of error. Most likely, some wrong tablename is being passed to the FM to raise this exception of table key lenght error.

Cheers,

Vikram

All,

I am using function module CHANGEDOCUMENT_READ_RANGES after calling this fm i am getting the following message


FB: CHANGEDOCU_TABKEYLEN_GET RC:     2
Message no. CD121

Any Info?

4 REPLIES 4
Read only

valter_oliveira
Active Contributor
0 Likes
835

Hi.

Check note 521665. It's related to that message number.

Regards.

Valter Oliveira.

Read only

Former Member
0 Likes
835

Put break point on the statement


CALL FUNCTION 'DDIF_NAMETAB_GET'

in the include LSCD8F01

the function module returns error

Table description not available for pv_tabname

pv_tabname can be found from debugging

Reward points please

Read only

Former Member
0 Likes
836

Hi,

You are getting this error from the FM CHANGEDOCU_TABKEYLEN_GET

which is internally called by another FM

CHANGEDOCU_FILLTABKEY254.

Put a break-point before this CHANGEDOCU_TABKEYLEN_GET and check the reason of error. Most likely, some wrong tablename is being passed to the FM to raise this exception of table key lenght error.

Cheers,

Vikram

Read only

0 Likes
835

Thankyou all,

I find some invalid table names are in CDPOS table TABNAME field