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: 

Processing Routine Error

Former Member
0 Kudos

I am issuing the output for the document using my output type ZXXX

Th eoutput type is configured and connected to my program and a routine is sepecified as well in config.

In the program I have specified the routine as :

FORM ENTRY USING return_code us_screen.

code logic.

endform

I am getting the error in the output issue that the routine entry could not be found in the program.

The control is not reaching my program.

any idea?

regards

4 REPLIES 4

Former Member
0 Kudos

1.make sure that all ur programs in active

2.put a break point at <b>PERFORM ENTRY</b>in debuggung mode....

and check....

Ramesh.

0 Kudos

Perform Entry is dynamically invoked.

where can i put the breakpoint?

0 Kudos

Hello,

if you are triggering output via rsnast00 program ,then set a break-point at the forma routine.:FORM PROGRAMM_AUFRUFEN USING ...

This routine calls TNAPR entries. :TNAPR-RONAM & TNAPR-PGNAM field should provide you further details.

Hope this helps.

Mark points if helpful.

Thanks.

0 Kudos

Goto Tcode NACE and after selecting the application give ur message Type ZXXX

and check in processing routines what is the form name and program name (if present )

confirm this ..

if program name is there then double click on that program name and set the breakpoint in the code based on entry.

<b>like there might be a case in nace where i may refer to the same program with different entry name as

entry1

entry2

entry3</b>

and like that.

now the program will process this as

<b><i>FORM ENTRY1 USING RETURN_CODE US_SCREEN. "entry1

CLEAR RETURN_CODE.

SCREEN = US_SCREEN.

PERFORM PROCESSING USING US_SCREEN.

IF RETURN_CODE NE 0.

RETURN_CODE = 1.

ELSE.

RETURN_CODE = 0.

ENDIF.

ENDFORM.

FORM ENTRY2 USING RETURN_CODE US_SCREEN."entry2

.............

ENDFORM.

FORM ENTRY3 USING RETURN_CODE US_SCREEN.

.............

ENDFORM.</i></b>

so u need to look here and then put the breakpoint here on the entryn where n = entry number .

just check this ..

now u need to search the entry and place the breakpoint there

if form routine is there with a program then it has to stop.

and in the output mode for medium how is this going as a mail or printout or fax etc..

regards,

vijay