Application Development and Automation 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: 
Read only

output type and Routine

Former Member
0 Likes
2,290

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

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
Read only

Former Member
0 Likes
1,617

hi

hav u checked the activation status

Read only

0 Likes
1,617
Program           ZPROGRAM           
FORM routine      ENTRY              
Form              ZFORM 

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

Regards

Vijay

Read only

0 Likes
1,617

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

Read only

0 Likes
1,617

> 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

Read only

nishanthbhandar
Contributor
0 Likes
1,617

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

Read only

Former Member
0 Likes
1,617

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.

Read only

0 Likes
1,617

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

Read only

Former Member
0 Likes
1,617

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