05-23-2009 6:58 AM
Hi
While creating Billing Document (VF01) on Dev. I am getting an exception CX_SY_DYN_CALL_ILLEGAL_FORM .
What happened?
There exist various options:
Error in the ABAP Application Program
The current ABAP program "SAPLV60A" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
or
Error in the SAP kernel.
The current ABAP "SAPLV60A" program had to be terminated because the
ABAP processor detected an internal system error.
What could be the problem ? Already Seached on SDN .
thanks in Advance
05-23-2009 7:31 AM
Hi,
Could you give more details of the dump, it would be nice if you post the complete short text of the dump.
Regards
Karthik D
05-23-2009 7:43 AM
Hi Karthik
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FORM', was
not caught in
procedure "VBRK_VBRP_DATENTRANSPORT" "(FORM)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The program "SAPLV60A" is meant to execute an external PERFORM,
namely the routine "DATEN_KOPIEREN_601" of the program "SAPFV60C", but
this routine does not exist.
This may be due to any of the following reasons:
1. One of the programs "SAPLV60A" or "SAPFV60C" is currently being developed.
The name "DATEN_KOPIEREN_601" of the called routine may be incorrect, or
the routine "DATEN_KOPIEREN_601" is not yet implemented in the program
2. If the program SAPMSSY1 is involved in the runtime error, one of
the function modules called via RFC is not flagged as remote-capable.
(see Transaction SE37 Goto -> Administration -> RFC flag)
3. There is an inconsistency in the system. The versions of the
programs "SAPLV60A" and "SAPFV60C" do not match.
Missing RAISING Clause in Interface
Program SAPLV60A
Include LV60AA95
Row 16
Module type (FORM)
Module Name VBRK_VBRP_DATENTRANSPORT
Trigger Location of Exception
Program SAPLV60A
Include LV60AA95
Row 409
Module type (FORM)
Module Name VBRK_VBRP_DATENTRANSPORT
Line SourceCde
379 exceptions
380 warning_occurred = 1
381 error_occurred = 2
382 others = 3.
383
384 if sy-subrc = 2 and not ch_waerk is initial.
385 * no invoice is created
386 * because gn_invoice_create is used with expiring currency (conditions)
387 if vbrp-vgtyp = '2' and
388 ( not xkomfkko[] is initial ).
389 perform vbfs_hinzufuegen using
390 space '215' vbrk-waerk space space.
391 ts_subrc = 4.
392 else.
393 * new currency replaces expired currency without warning
394 clear vbrp-kursk.
395 vbrk-waerk = ch_waerk.
396 clear vbrk-kurrf.
397 endif.
398 endif.
399
400 * Datentransportmodul ausführen
401 if tvcpf-grurp ne 0.
402 cpymodul-nr = tvcpf-grurp.
403 perform (cpymodul) in program sapfv60c.
404 enhancement-point vbrk_vbrp_datentransport_03 spots es_saplv60a.
405 endif.
406
407 * Userexit number_range in order to determine invoice date
408 data: da_numki like tvfk-numki.
>>>> da_numki = tvfk-numki.
410 perform userexit_number_range_inv_date using da_numki.
411 perform tvfkd_lesen using da_numki.
412
413 * Vorgabedaten auf jeden Fall übernehmen
414 if kom-fkdat ne 0.
415 vbrk-fkdat = kom-fkdat.
416 endif.
417 if not tvfkd-fkdat is initial.
418 vbrk-fkdat = tvfkd-fkdat.
419 endif.
420 if kom-prsdt ne 0.
421 vbrp-prsdt = kom-prsdt.
422 endif.
423 enhancement-point vbrk_vbrp_datentransport_04 spots es_saplv60a.
424 if kom-fbuda ne 0.
425 vbrp-fbuda = kom-fbuda.
426 endif.
427
428 enhancement-point vbrk_vbrp_datentransport_05 spots es_saplv60a.
05-23-2009 7:55 AM
IT seems like you have created routine 601 in VOFM and its not generated/activated. So check in this regard.
-
Karthik D
05-23-2009 8:02 AM
Hi Karthik ,
I dont understand .Will you give detail explaination on this,please ?
05-23-2009 8:15 AM
I mean to ask if you have implemented any form routines in tcode VOFM, you may have to confirm this with your SD consultant.
Regards
Karthik D
05-23-2009 10:31 AM
thanks Karthik ,
I solved this problem . I Run program RV80HGEN & all routines activated . then I execute VF01 ,Now its working fine.