‎2006 Mar 12 2:52 AM
Hi all,
could you pls help to check this? tkx in advance.
Missing parameter with PERFORM.
What happened?
A routine call specifies fewer parameters than the number
given when defining the routine.
The current ABAP/4 program "SAPMV50A " had to be terminated because
one of the statements could not be executed.
source code;
-
001340 FORM ZMAIL_PARAMETER USING PARAFELD PARAWERT
> PNAST STRUCTURE NAST.
001360
001370 DATA: LV_VBELN LIKE LIKP-VBELN,
001380 LV_POSNR LIKE LIPS-POSNR.
001390 * Besorgen der Positionsdaten
001400 LV_VBELN = PNAST-OBJKY(10).
001410 LV_POSNR = PNAST-OBJKY+10(6).
001420 READ TABLE XLIPS WITH KEY VBELN = LV_VBELN
001430 POSNR = LV_POSNR.
001440 CHECK SY-SUBRC = 0.
001450 PERFORM LIPS_BEARBEITEN_VORBEREITEN(SAPFV50P).
001460 * Textsymbolersetzung
001470 PERFORM MAILAKTIONSPARAMETER USING PARAFELD PARAWERT
001480 PNAST.
001490
001500 ENDFORM.
-
kind regards, susan
‎2006 Mar 12 3:34 AM
Hi,
Pl verify the program that calls this routine. It looks like the actual & formal parameters are out of sync. The perform statement in the calling program should be like this..
PERFORM ZMAIL_PARAMETER USING
PARAFELD PARAWERT PNAST.
Regards,
Suresh Datti