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

Unicode error

Former Member
0 Likes
642

Hi All,

I am getting an error in upgradation.

The error is

"The column name "RLDNR" has two meanings . ."

The code is like this.

types: begin of t_fmifiit,

FMBELNR TYPE FMIFIIT-FMBELNR,

fikrs type fmifiit-fikrs,

fmbuzei type fmifiit-fmbuzei,

btart type fmifiit-btart,

rldnr type fmifiit-rldnr,

GJAHR TYPE FMIFIIT-GJAHR,

stunr type fmifiit-stunr,

FONDS TYPE FMIFIIT-FONDS,

HKONT TYPE FMIFIIT-HKONT,

TRBTR TYPE FMIFIIT-TRBTR,

KNBELNR TYPE FMIFIIT-KNBELNR,

KNBUZEI TYPE FMIFIIT-KNBUZEI,

ZHLDT TYPE FMIFIIT-ZHLDT,

WRTTP TYPE FMIFIIT-WRTTP,

end of t_fmifiit.

DATA I_FMIFIIT TYPE STANDARD TABLE OF T_FMIFIIT WITH HEADER LINE.

SELECT FMBELNR

fmifiit~fikrs

fmbuzei

btart

rldnr

fmifiit~GJAHR

stunr

FONDS

HKONT

TRBTR

KNBELNR

KNBUZEI

ZHLDT

WRTTP

INTO TABLE I_FMIFIIT

FROM FMIFIIT

inner join bkpf

on fmifiitbukrs = bkpfbukrs and

fmifiitknbelnr = bkpfbelnr

WHERE fmifiit~FONDS LIKE C_FONDS

AND fmifiit~WRTTP IN (C_54,C_66)

AND fmifiit~HKONT in s_hkont

AND bkpf~bukrs = c_copa

and bkpf~cpudt BETWEEN P_PRUNDT AND P_CRUNDT.

Please help me to solve this issue.

Thanks,

Naveen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
607

Hi,

The error means that RLDNR field is both the tables you ate trying to join.

Use fmifiitRLDNR or BKPFRLDNR instead of RLDNR.

Thanks,

Vamshi

4 REPLIES 4
Read only

Former Member
0 Likes
608

Hi,

The error means that RLDNR field is both the tables you ate trying to join.

Use fmifiitRLDNR or BKPFRLDNR instead of RLDNR.

Thanks,

Vamshi

Read only

0 Likes
607

Hi Vamshi,

Thanks for replying. I replaced with fmifiit~RLDNR. It is working.

Rob: I am using ECC 6.0. Upgraded from 4.6c to ECC 6.0

Thanks,

Naveen

Read only

0 Likes
607

RLDNR was added to BKPF in this upgrade, so it has nothing to do with Unicode.

Rob

Read only

Former Member
0 Likes
607

I think it's saying that RLDNR is a field in both FMIFIIT and BKPF. You need to qualify it in the field list. What release are you on?

Rob