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: 

Unicode error while upgrading to ECC6 - dfies

Former Member
0 Kudos

hi all,

i have a error in the func module : ZPOPUP_TO_GET_VALUES

which is in the statement below

PERFORM GET_FIELD(RDDFIE00) USING TABNAME FIELDNAME SY-LANGU DFIES

SY-SUBRC.

it reads

DFIES is unknown.it is not specified in any table

i am actually unaware whether it is a field or not...

help me in this issue

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Quite few things you need to observe: Starting Unicode the syntax checks more strict. So you can find complexities in the coding compared to earlier versions. Check below extract which i can see is differing from the documentation: 1. CANNOT USE PERFORM FORM(PROG) You cannot declare an external subroutine using the syntax form(prog) in ABAP Objects. In ABAP Objects, the following statement causes an error message: PERFORM form(prog) ... Correct syntax: PERFORM form IN PROGRAM prog ... Cause: The PERFORM form IN PROGRAM prog has replaced the PERFORM form(prog) statement. The name declaration form IN PROGRAM prog (unlike form(prog)) allows you to declare dynamic program names using the form IN PROGRAM (name) variant. Conversely, the static form, form(prog)does not comply with standard ABAP semantics, in which the dynamic variant is differentiated from the static variant using parentheses. 2. DFIES is a structure, which might not have been declared in the FM. Pleace check. For more information, please check the documenation node: Replacement of Obselete Statements in ABAP Programs.

3 REPLIES 3

Former Member
0 Kudos

I think that PERFORM statement should end with a (.) period

Former Member
0 Kudos

Quite few things you need to observe: Starting Unicode the syntax checks more strict. So you can find complexities in the coding compared to earlier versions. Check below extract which i can see is differing from the documentation: 1. CANNOT USE PERFORM FORM(PROG) You cannot declare an external subroutine using the syntax form(prog) in ABAP Objects. In ABAP Objects, the following statement causes an error message: PERFORM form(prog) ... Correct syntax: PERFORM form IN PROGRAM prog ... Cause: The PERFORM form IN PROGRAM prog has replaced the PERFORM form(prog) statement. The name declaration form IN PROGRAM prog (unlike form(prog)) allows you to declare dynamic program names using the form IN PROGRAM (name) variant. Conversely, the static form, form(prog)does not comply with standard ABAP semantics, in which the dynamic variant is differentiated from the static variant using parentheses. 2. DFIES is a structure, which might not have been declared in the FM. Pleace check. For more information, please check the documenation node: Replacement of Obselete Statements in ABAP Programs.

Former Member
0 Kudos

Hi,

dfies is a structure. U can see this by Tcode Se11.

Reward pts if helpfull