05-06-2008 6:51 AM
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
05-06-2008 7:06 AM
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.
05-06-2008 7:00 AM
05-06-2008 7:06 AM
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.
05-06-2008 7:15 AM
Hi,
dfies is a structure. U can see this by Tcode Se11.
Reward pts if helpfull