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

Created routine cannot be found NACE

Former Member
0 Likes
1,958

Hi Gurus,

I created a custom program that will be called by the nace transaction.

However, I am having a problem "Processing routine ENTRY in program ZPROGRAM does not exist." when I save my SO. But I have the ENTRY form in the program.

The output type used has been configured to call my program and my routine name.

Am I missing some configurations here?

Anyone can help me on this?

Thanks in advance.

Benedict

7 REPLIES 7
Read only

former_member191735
Active Contributor
0 Likes
1,324

Make sure you have ENTRY Subroutine in your zprogram. well, if you have everything then check out the output config....

check the subroutine... is it like this'

FORM entry USING return_code us_screen.

  • process logic....

ENDFORM. "entry

Read only

0 Likes
1,324

thanks abap,

Yes. The code is like that.

Anyone?

Thanks in advance.

Benedict

Read only

former_member191735
Active Contributor
0 Likes
1,324

can you put a break-point and check if it is calling the same program.

Read only

former_member191735
Active Contributor
0 Likes
1,324

did you define smartform name in smartform field in NACE. if it is a script then define the same in form.

program: zprogram

form routine: entry

form: sapscript

smartform: smartform name.

put a break point and check it out.

Read only

0 Likes
1,324

Hi Abap,

I have already put many break points. Even before the form and after the form.

But is not breaking in the break-points.

Thanks for the response.

Benedict

Read only

former_member191735
Active Contributor
0 Likes
1,324

Hi,

First give your program name in program field and then use f4 help to get form routine. also check for access sequence and output type config. give the standard program name and check it first.

Read only

Former Member
0 Likes
1,324

Clearing the RETCODE answers the issue. I don't know why this should be done... Anyone can explain this?

If you should clear the RETCODE passed to the subroutine, why did not SAP just send a RETCODE with a value of 0.

Anyone has a clear mind about this issue?

Anyway, thanks for the replies.