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: 

output type and Routine

Former Member
0 Kudos

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

8 REPLIES 8

Former Member
0 Kudos

hi

hav u checked the activation status

0 Kudos
Program           ZPROGRAM           
FORM routine      ENTRY              
Form              ZFORM 

give the Form Routine as <b>ENTRY</b>.

Regards

Vijay

0 Kudos

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

0 Kudos

> 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

nishanthbhandar
Contributor
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

routine name is same in configuration as well as in my progrm. But then also my program is not getting called