05-26-2006 10:34 AM
Hi All,
I have created one Z* output type and attached it with Z* program. and it is having routine called ENTRY_N. Now when i execute a transaction which will trigger my output type, is giving me error saying "Processing routine ENTRY_N in program Z* does not exist".
Can anyone help.
Regards,
Dharmesh
05-26-2006 10:36 AM
05-26-2006 10:41 AM
Program ZPROGRAM
FORM routine ENTRY
Form ZFORM
give the Form Routine as <b>ENTRY</b>.
Regards
Vijay
05-26-2006 10:43 AM
Hi,
in the Driver Program have a routine with name ENTRY. just paste it.
FORM ENTRY USING RETURN_CODE US_SCREEN.
CLEAR RETCODE.
XSCREEN = US_SCREEN.
PERFORM PROCESSING.
IF RETCODE NE 0.
RETURN_CODE = 1.
ELSE.
RETURN_CODE = 0.
ENDIF.
ENDFORM.
and put the aboce code in it.
regards
vijay
05-26-2006 10:50 AM
> Hi,
>
> in the Driver Program have a routine with name ENTRY.
> just paste it.
>
>
FORM ENTRY USING RETURN_CODE US_SCREEN.
>
> CLEAR RETCODE.
> XSCREEN = US_SCREEN.
<i>> PERFORM PROCESSING.</i>
> IF RETCODE NE 0.
> RETURN_CODE = 1.
> ELSE.
> RETURN_CODE = 0.
> ENDIF.
>
> ENDFORM.
>
> and put the aboce code in it.
>
in the above code Perform processing you need include all your open_forms and write_forms, close_form. the data you are trying to pass it to script. i hope it is clear.you need to put that logic in the <b>form ENTRY</b>.
regards
vijay
05-26-2006 10:43 AM
Put a break-point in the standard program RSNAST00 at line 936
i.e PERFORM (tnapr-ronam) IN PROGRAM (tnapr-pgnam) USING returncode us_screen
IF FOUND.
check whether your program is being identified.If not check whether the Z prgm is activated.Also check whether the routine assignment has been saved.
Cheers
Nishanth
05-30-2006 6:13 AM
Hi All,
Do we really need to have form name start with 'ENTRY'.
If you look in transaction M706 and select any of output type, you can find routine name as "ENTRY_WA01". So i dont think my program should have routine named "ENTRY".
Pls throw some light.
05-30-2006 6:16 AM
Hi,
It need NOT be ENTRY. It should be the same name as what you have specified in the configuration settings.
Regards,
Ravi
Note :Please mark all the helpful answers
05-30-2006 6:24 AM
routine name is same in configuration as well as in my progrm. But then also my program is not getting called