cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure NACE for Smartforms?

Former Member
0 Kudos

Hi ,

I need to configure O/p type for PO in NACE.I have attached it to Application EF created a output type.

But I am not able to find out what to give in processing routine.i am giving form routine print_form which is a subroutine used to call smartform in my driver program.

When i give that it gives me a runtime error,while executing Print preview in PO.

Short Dump :

Short text

Too many parameters specified with PERFORM.

What happened?

In a subroutine call, there were more parameters than in the

routine definition.

Error in the ABAP Application Program

The current ABAP program "RSNAST00" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was

not caught in

procedure "PROGRAMM_AUFRUFEN" "(FORM)", nor was it propagated by a RAISING

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

A PERFORM was used to call the routine "PRINT_FORM" of the program

"ZZMM_PO_FORM".

This routine contains 0 formal parameters, but the current call

contains 2 actual parameters.

Useful answers will be rewarded and appreciated.

Thanks in Advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks..

Former Member
0 Kudos

Hi

In NACE, First you choose the application EF, then you click on output types and then select the output type you use..and click on processing routines....folder...here you have to give the print program...and smartform:

If you have an custom print program and smartform, then give it like this:

Program:                          Form Routine:                                                  Smartform:
ZZ_                                  Entry_Neu                                                        zz_

P.S: the code you write in the Print Program should be between form entry_neu and endform like this:

Form Entry_Neu.

Call function SSF_function....

Enform.

Vishwa.